Shannon Bray Technical Architect Planet Technologies SESSION CODE: OSP310 Mike Watson Principal...

Post on 11-Dec-2015

217 views 0 download

Tags:

Transcript of Shannon Bray Technical Architect Planet Technologies SESSION CODE: OSP310 Mike Watson Principal...

Fine Tuning Your Microsoft SharePoint Server 2010 Environment Shannon BrayTechnical ArchitectPlanet Technologies

SESSION CODE: OSP310

Mike WatsonPrincipal ConsultantSeriousLabz

IntroductionsShannon Bray

SharePoint 2010 MCM Candidate: Oct. RotationMCT, MCITP, MCPD (e), MCSD, MCDBA, …President of COSPUG Technical Architect for Planet TechnologiesProud member of the WHO DAT Nation!!!

IntroductionsMike Watson

Owner & Principal Consultant SeriousLabzSpecialties

Performance/Health analysis & mitigationHigh Availability & Disaster RecoveryDesign, deployment, and monitoring

FormerlyProduct Manager for Quest SoftwareMicrosoft

SharePoint Customer Advisory Team vTeamCenter of ExcellenceBPOS-D & BPOS-SMicrosoft IT (Internal SharePoint)

10 Years in SharePointas handsome as ever!

SharePoint 2010 is Cool! Most awesome SharePoint yet!Broader functionality

Cross browser support, BCS, complianceDeep feature improvements

Fast SearchEntirely new capabilities

Office Web AppsEasier to deploy & manage

Service apps, PowerShell, monitoring, reportingEasier to build & extend

Visual Studio 2010 templates, SP Designer, No code solutions

Coolness Comes at a Cost

More complexitySteeper learning curveMore concurrencyMore tweak points

What You Will Learn

SharePoint 2010 ramifications on Hardware/Software How to optimize the frontendHow to optimize the backend

What’s New in SharePoint 2010Deployment Considerations on Capacity and Performance

Frontend OptimizationsHow to optimize web and application servers for better capacity and performance

CapacityDefinition

“Actual or potential ability to perform, yield, or withstand”

CapacityQuestions

How much hardware do we need?Do we need SQL Server? How much data can we store?How many users can our environment support?How should we set up our Service Applications?How do we validate our design?

CapacityComponents

End-User LatencyThroughputData Sets and Storage

LatencyDefinition

“The measure of time delay experience in a system”

LatencyTools

IE8 JS Profiler – Hit [F12] in IE8VRTA (Virtual Round Trip Analyzer)Visual Studio Team System 2010Fiddler 2

Latency ToolsShannon BrayTechnical ArchitectPlanet Technologies

DEMO

ThroughputDefinition

“The quantity of amount of raw material processed within a given time”

ThroughputTools

Logging DatabaseDeveloper DashboardLarge List ThrottlingThrottling Excessive Client Load

Throughput ToolsShannon BrayTechnical ArchitectPlanet Technologies

DEMO

Capacity Issues

Server Processing Latency, Throughput, StorageWire Transfers Latency, ThroughputBandwidth, Size of Downloads Latency, ThroughputNetwork Security LatencyNetwork Configurations LatencySoftware Boundaries Latency, ThroughputSecurity Trimming LatencyCode: Round Trips, AJAX, JavaScript, CSS, etc. Latency, Throughput

Tweaking the System

Validating RequirementsNetwork SecurityNetwork ConfigurationsBoundariesCustom SoftwareCaching

Tweaking the SystemValidating Requirements

SharePoint 2010Component Minimum Requirements

Processor 64-bit, four-core, 2.5 GHz per core

RAM 4 GB for developer or evaluation use8 GB for single server and multiple server farm installation for production use

Hard Disk80 GB for installationFor production, you need additional free disk space for day-to-day.Add twice as much free space as you have RAM for production environments

Tweaking the SystemNetwork Security

AnonymousKerberosNTLMBasicForms

Tweaking the SystemNetwork Configurations

Network Interface Card (NIC)NIC SettingsInbound / Outbound

SwitchesRoutersDomain Controllers

Tweaking the SystemBoundaries

Software ScalabilityHardware Scalability

Tweaking the SystemBoundaries Limits

Improved100 Million Items per Search Index (1 Billion with FAST)Tens of Millions of Documents / Items in a single listView/Query 5000 items at a time

Remains150,000 Site Collections per WebApp50,000 Site Collections per Content DB100 GB Content DB (W/R)

Tweaking the SystemBoundaries Limits

Service ApplicationsApplication PoolsZonesContent DatabasesSite CollectionsSitesHost-Name Site Collections

Tweaking the SystemPhysical Limits

ProcessorProcessor Queue LengthMemory: Available in MbytesMemory: Page / Sec

Tweaking the SystemCustom Code

Custom Web PartsSQL Server round tripsSQL Server CPU utilizationPage download sizeClient-side code efficiencyAJAX callbacks

Tweaking the SystemCaching

BLOB CacheOutput CacheObject Cache

Tweaking the SystemHTTP Request

• User Request• HTTP.sys• WAS• WWW Service• Worker Process• Authentication in IIS• ASP.NET Page• SharePoint 14• Page Handler• ASP.NET engine• Page Class• IIS

No Cache

CachingShannon BrayTechnical ArchitectPlanet Technologies

DEMO

Backend OptimizationsHow to optimize SQL server and storage for better capacity, health, and performance

“In Soviet Russia we have saying… meet the new boss. Same as the old.”

It’s JUST SQL!2010 Supports:SQL Server 2005 SP3 X64 or SQL Server 2008 SP1 X64 CU2For SQL in general:The more processors the better (4 – 8 or more cores)The more memory the better (16GB – 129GB)The more disks the better (> 2000 IOPS)Read SQL Requirements: http://technet.microsoft.com/en-us/library/cc298801.aspx

BLOB StorageMike WatsonPrincipal ConsultantSeriousLabz

DEMO

SQL FileStream Performance

It’s all about the providerThe provider is the key to your happiness and potential As usual, in the box or “free” is not bestLimitations of SQL Filestream provider

Can’t mirrorCan’t specify multiple blob locations per DBMUST use local NTFS storageNO business logic

Optimization Strategy

Identify the workload

Minimize the workload

Segment the workload

Optimize the workload

CheapFast

Good

Pick 2!

Identify the Workload

READ WRITE

Workload CharacteristicsREAD Centric

Less disk intensive – Optimize for data readsFocus on minimization through caching on the frontend

WRITE CentricMore disk centric – Optimize for loggingScale across disks

Calculate total size in 6months

Create 5 to 10 databases Pregrow those DB’s. Distribute across

disks

Pregrow and Never Autogrow

Temp

8KB Random writes

1:1 read/write

Logs

8KB sequential writes

1:1 read/write

Search

64KB Random reads/writes

5:1 read/write

Data

64KB random reads

5:1 read/write

Temp Logs Search Data

#x Allocate as many disks as needed to SQL

Spindle Count

X Spindle IOPS

= Total IOPS capability

Think Disk IO! Not Disk Capacity!

10 spindles

X 200 IOPS per spindle

= 2000 IOPS

Calculating Disk IOAn Example

Allocate separate and dedicated disks with the following specifications:

* Raid 1 or variants (0+1, 1+0)** Depends on type and amount of content being indexed*** 2000 IOPS minimum. Plan on 1500 IOPS per simultaneous crawl. (e.g. 3 crawls = 4500 IOPS)**** Use Raid 5 when redundancy needs are met with replication

Workload Size Raid Type IOPS

TempDB 300GB or 10% Raid 1* 800 or 2 IOPS/GB

Logs 25% of data storage Raid 1* 2 IOPS/GB

Search ** Raid 1* 2000 IOPS ***

Data 110% of stored blobs Raid 1* or 5**** .75 to 1 IOPS/GB

Best PracticesSQL Disk IO

Use RAID 10

Good• Better redundancy• Faster less impacting rebuilds• 2X write performance• Optimized for IO

Bad• Expensive• Lower’s your capacity

<Contacts><MikeWatson>

<email> mike.watson@seriouslabz.com /><twitter> www.twitter.com/mikewat /><blog> www.sharepointmadscientist.com /><web>www.seriouslabz.com />

</MikeWatson><ShannonBray>

<email> sbray@go-planet.com /><twitter> www.twitter.com/noidentity29 /><blog> www.shannonbray.com /><web> www.go-planet.com />

</ShannonBray>

</Contacts>

Play the Microsoft Office & SharePoint Track Tag Contest

Download the Microsoft Tag ReaderOpen the internet browser on your mobile phone and visit http://gettag.mobi

Come to the Expo Hall – Yellow Section OSP Info Desk for Official Rules & Collect Additional Tags from all OSP Track Sessions, Speakers and Expo Hall!

Grand Prize (1)Xbox 360 Prize Package

and Microsoft® Office 2010

Daily Prizes40 copies of

Microsoft® Office 2010

Q & AQuestions?

Resources

www.microsoft.com/teched

Sessions On-Demand & Community Microsoft Certification & Training Resources

Resources for IT Professionals Resources for Developers

www.microsoft.com/learning

http://microsoft.com/technet http://microsoft.com/msdn

Learning

Track Resources

For More Information: http://sharepoint.microsoft.com

SharePoint Developer Center: http://msdn.microsoft.com/sharepoint

SharePoint Tech Center: http://technet.microsoft.com/sharepoint

Official SharePoint Team Blog: http://blogs.msdn.com/sharepoint

Related Content

Breakout Sessions – See Conference Guide for full list of OSP Track Sessions

Interactive Sessions – OSP Track has 10 Interactive Sessions – OSP01-INT – OSP10-INT

Hands-on Labs – OSP01-HOL – OSP20-HOL

Product Demo Stations: Yellow Section, OSPOffice 2010, SharePoint 2010, Project Server 2010, Visio 2010 have kiosks & demos

Complete an evaluation on CommNet and enter to win!

JUNE 7-10, 2010 | NEW ORLEANS, LA