Your SlideShare is downloading. ×
SharePoint Server 2013 performance optimization
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

SharePoint Server 2013 performance optimization

3,181

Published on

Maximize the performance of Microsoft SharePoint Server 2013 and its components like SQL Server, Windows Server or IIS.

Maximize the performance of Microsoft SharePoint Server 2013 and its components like SQL Server, Windows Server or IIS.

Published in: Technology
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,181
On Slideshare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
112
Comments
0
Likes
4
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. SharePoint 2013 Performance optimization Roger Haueter, ADVIS AG
  • 2. we care about IT Speaker Roger Haueter SharePoint Consultant Microsoft Certified Solutions Expert: SharePoint Microsoft Certified Solutions Expert: Windows Infrastructure Microsoft Certified IT Professional: Enterprise Administrator Microsoft Certified IT Professional: SharePoint 2010, Administrator Community Leader of SharePoint Community Schweiz http://www.sharepointcommunity.ch Founder of SharePoint Community Mittelland http://www.sharepointmittelland.ch
  • 3. we care about IT Agenda  Definition of performance  Performance optimization • • • • • • • Clients Network Server IIS SQL Storage SharePoint
  • 4. we care about IT Definition of performance • End-user perspective • IT department perspective
  • 5. we care about IT End-user perspective First page hit <5 seconds Subsequent page hits <3 seconds Create a site, list or library <5 seconds File upload (3 MB) <5 seconds
  • 6. we care about IT IT department perspective Latency Data throughput Processor / RAM Software boundaries and limits for SharePoint 2013 http://technet.microsoft.com/en-us/library/cc262787.aspx Reliability
  • 7. we care about IT Client performance optimization • Important performance factors
  • 8. we care about IT Client Operating system Install latest updates Antivirus Exclude files from real-time scan http://support.microsoft.com/kb/822158 Microsoft Office Use newest Office version for best compatibility Internet Explorer Add your domain to «Local Intranet Zone», disable «Auto Detect Proxy Settings»
  • 9. we care about IT Network performance optimization • Important performance factors
  • 10. we care about IT Network Latency <1 ms Co-Location Between SharePoint and SQL servers Host all servers in the same data center Number of NICs Use multiple network cards per server (teaming) Traffic Isolation Configure a separate VLAN
  • 11. we care about IT Server • Important performance factors
  • 12. we care about IT Windows Server OS Windows Server performance options Choose «Best performance» http://www.techtask.com/?p=2126 Determine page file size Use the proper power plan Factor 1,5 of the server RAM. Ex: 8192 MB RAM x 1,5 = 12288 MB page file «High performance» instead of «Balanced» http://www.techtask.com/?p=2126 http://www.techtask.com/?p=2126 Create a SQL alias Create one for content and search on every SP Server (cliconfg.exe) http://www.techtask.com/?p=80
  • 13. we care about IT Windows Server OS Stop / disable unused services Spooler, AudioSrv, TabletInputService, WerSvc services Disable loopback check Load balancing != NLB on test servers or use Use a hardware load BackConnectionHost balancer Names in a productive environment http://www.techtask.com/?p=1147 Patching Install latest OS and SharePoint updates http://www.techtask.com/?p=2767
  • 14. we care about IT Windows Server OS Index and log files on separate disks Spread system, log files and index files on separate disks Antivirus Exclude files from real-time scan http://support.microsoft.com/kb/952167 Reduce I/O Spread system, log files and index files on separate disks Windows Firewall Manually define the SQL rules on the Windows Firewall http://www.techtask.com/?p=1937
  • 15. we care about IT Internet Information Services (IIS) Wake-up script Authentication Compression Blob Cache Reduce loading time on first page hit Claims authentication with kerberos For slow connections use compression (such as mobile phones) Files are cached on the Web Front-end servers disks http://www.techtask.com/?p=2388
  • 16. we care about IT SQL performance optimization • Installation • Settings • Storage • Databases
  • 17. we care about IT SQL installation Dedicated SQL server Named SQL instance Latin1_General_ CI_AS_KS_WS Use a separate SQL instance on a cluster Do not use the default instance Use the correct collation http://www.techtask.com/?p=2126 http://www.techtask.com/?p=2126 http://www.techtask.com/?p=1751 Windows Authentication Use best practices
  • 18. we care about IT SQL installation Create databases with PowerShell Pre-configure the model DB Dedicated search instance Features and components Use a dedicated search instance if you have more than 10’000’000 items in the search index Install only features and components you need http://www.techtask.com/?p=2126 Antivirus Exclude data files, transaction logs and backup files from real-time scan http://www.techtask.com/?p=2126
  • 19. we care about IT SQL settings Server Memory Set min. and max. server memory (spare 3 GB for operating system) http://www.techtask.com/?p=2126 Max Degree of Parallelism (MAXDOP) = 1 Default Index Fill Factor = 80% Activate backup compression Maximum fill factor per index It’s faster and needs less disks space Serial execution of queries http://www.techtask.com/?p=2126 http://www.techtask.com/?p=2126 http://www.techtask.com/?p=2126
  • 20. we care about IT SQL storage Use different LUNs Use separate database volumes http://www.techtask.com/?p=2126 RAID 10 Alternatively you can also use RAID 5 (lower perfmance) http://www.techtask.com/?p=2126 NTFS allocation unit size Sector alignment Set on 64K Best practice: 64K http://www.techtask.com/?p=2126 http://www.techtask.com/?p=2126
  • 21. we care about IT SQL storage  Data prioritization among faster disks (descending) • • • • • • • • Temp DB data files Temp DB logs Content DB logs Search DB data files Content DB data files Search DB logs Weitere SharePoint data files Weitere SharePoint logs  Separate transaction logs of search and content DBs
  • 22. we care about IT SQL Model DB settings Pre-configure Set meaningful values Initial size MDF Use a valid assumption (for example 512 MB) Initial size LDF 1/8 of the initial MDF file size Autogrowth 25-50% of the initial MDF/LDF file sizes, as a fix value in MB
  • 23. we care about IT SQL TempDB settings Initial size 25% of the biggest content DB Data file size Use the same size for all data files Number of data files = Number of processor cores Min. 4 / Max. 8 Set T-Flag 1117 http://www.techtask.com/?p=2126 Autogrowth 10% of the assigned TempDB size, as a fix value in MB
  • 24. we care about IT SQL Content DB settings Pre-grow Increase the database size to the size you expect in 12-24 months http://www.techtask.com/?p=2126 Autogrowth in MB Set the size in MB http://www.techtask.com/?p=2126 Number of data files = Number of processor cores Recovery model Min. 4 / Max. 8 Set T-Flag 1117 Use the same size for all data files Simple Full when using HA with log shipping or DB mirroring http://www.techtask.com/?p=2126 http://www.techtask.com/?p=2126
  • 25. we care about IT SharePoint performance optimization • Architecture • Settings • Search • Caching • Performance killer
  • 26. we care about IT SharePoint architecture Content DBs <200 GB Avoid long-running backup and restore jobs 5’000 Site Collections Maximum per content database 10 application pools Maximum per Web Front-end server 20 web applications Maximum per SharePoint farm
  • 27. we care about IT SharePoint settings Set quotas Set quotas on all web applications Certificate revocation list checks Disable the CRL checks if the server has no internet connection http://www.techtask.com/?p=1967 Authentication Performance (descending): Anonymous, Claims Auth, Kerberos, NTLM, Forms, ADFS Wake-up script Sites are loading faster on first hit http://www.techtask.com/?p=2388
  • 28. we care about IT SharePoint search Number of search servers Distribute the load on multiple crawl servers (loop on localhost in bigger environments) Throttling Throttle crawling, adjust crawl scheduling Incremental vs. continuous crawl Continuous crawling needs more system ressources Content sources Group by speed
  • 29. we care about IT SharePoint caching Distributed cache <5% of RAM is used for newsfeeds, micro blogging, security trimming, FedAuth cookie etc. Object cache Configure cache users (SuperUser, SuperReader) Client cache Websites with images, CSS, javascripts etc. are cached on the client Output cache Caches site collections and subsites. Requires the publishing feature.
  • 30. we care about IT Ressource-intensive SharePoint service applications Excel services Search Usage and health data collection User profile service application
  • 31. we care about IT SharePoint performance killer Application pools recycle Crawl jobs Backup jobs Large list operations
  • 32. we care about IT SharePoint load test Before the go-live Test the performance immediately prior the go-live Productive farm or on an equivalent pre-production farm Simulate the expected amount of users Define goals: Loading time should be less than 3 secs with 5’000 active users Visual Studio team system Available in Visual Studio Ultimate 2013. Or use the SP 2010 Admin Toolkit v2.0
  • 33. we care about IT Further information  TechTask // SharePoint Blog (Wake-up script & SQL best practices) http://www.techtask.com  ADVIS Blog http://blog.advis.ch  SharePoint Community Mittelland (SPCM) http://www.sharepointmittelland.ch  Slides of the SPCM presentation «Pimp my SharePoint» http://is.gd/Cc2MXJ
  • 34. we care about IT Q&A

×