SharePoint Top Performance Killers & Best Practices<br />Ivan Sanders<br />SharePoint ArchitectDimension Solutions inc.<br...
Agenda<br />Top Performance Killers<br />Best Practices<br />
Speed as perceived by the end user is driven by multiple factors, including how fast results are returned and how long it ...
Top SharePoint Performance Killers<br />Search <br />Search uses SQL in a very I/O intensive fashion.  It is sensitive to ...
Top SharePoint Performance Killers<br />Profile Import <br />Profile imports are used with NGES to sync your AD user detai...
Database Best Practices<br />Optimize TempDb, Content, &  SSP Dbs<br />Creating secondary files for each db<br />Move tran...
VM Best Practices<br />Web Front End (WFE) servers can be virtualized<br />Query Server(s) can be virtualized<br />Index S...
SharePoint Best Practices<br />Tune the content of all crawls <br />NGES, Coveo, SharePoint, and DocAve all crawl content....
Remove the Central Administration server from NLB rotation since it is also indexing</li></ul>Optimize web Design<br />Lim...
Network Best Practices<br />Load Balancing:  Implement Caching to minimize traffic to database and application services.  ...
All other things being equal, more usage, as measured by number of page views & searches reflects more satisfied users. <b...
Q & A<br />
Most Common WaitsParallelism<br />CXPACKET<br />Direct result of inefficient parallel processing<br />Occurs when 1 or mor...
Most Common WaitsLocking<br />LCK_M_xx<br />LCK_M_SCH_xx<br />Results from Locking & Blocking<br />Long running transactio...
Most Common WaitsNetwork<br />ASYNC_NETWORKIO<br />Indicates that the client is not absorbing the data as fast as SQL Serv...
Most Common WaitsI/O<br />PAGEIOLATCH_xx<br />IO_COMPLETION<br />WRITELOG<br />Indicates slowness reading or writing data ...
Upcoming SlideShare
Loading in...5
×

Ep share point top performance killers and best practices draft.v4

416

Published on

Speed as perceived by the end user is driven by multiple factors, including how fast results are returned and how long it takes a browser to display the content

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

  • Be the first to like this

No Downloads
Views
Total Views
416
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Ep share point top performance killers and best practices draft.v4

  1. 1. SharePoint Top Performance Killers & Best Practices<br />Ivan Sanders<br />SharePoint ArchitectDimension Solutions inc.<br />ivan@dimension-si.com<br />
  2. 2. Agenda<br />Top Performance Killers<br />Best Practices<br />
  3. 3. Speed as perceived by the end user is driven by multiple factors, including how fast results are returned and how long it takes a browser to display the content<br />
  4. 4. Top SharePoint Performance Killers<br />Search <br />Search uses SQL in a very I/O intensive fashion. It is sensitive to I/O latencies on the TempDB and the Query and Crawl file groups. One of the more difficult and time consuming jobs for a Search Administrator is to schedule the Crawls so they are not over lapping while keeping Search results fresh<br />Indexing/Crawling <br />Crawling and indexing a large volume of information, documents, and Web pages requires a large amount of computer processing. The crawl process also consumes network and other resources. The SharePoint environment must be configured properly and monitored, to ensure that the crawling and indexing process does not adversely affect the service available to users. For example, content is usually crawled and indexed during off-peak hours when servers are underused in order to maintain peak-hour services for users. <br />
  5. 5. Top SharePoint Performance Killers<br />Profile Import <br />Profile imports are used with NGES to sync your AD user details to provide access to your feed subscriptions and with SharePoint to sync your AD user details with your SharePoint User Profile<br />Large List Operations <br />Having large lists by itself is not necessarily a performance issue. When SharePoint Server renders the many items in those lists, that can cause spikes in render times and database blocking. One way to mitigate large lists is to use subfolders and create a hierarchical structure where each folder or subfolder has no more than 3,000 items. Identify large lists and work with the owners of the sites and lists to archive items or pursue other mitigation strategies<br />Heavy User Operation List Import/Write <br />Another scenario of users having power they don’t realize they have.  Importing large lists using excel or synchronizing an access db. In SQL there’s little difference between these types of user operations. <br />Backup (SQL & Tape) <br />Serious CPU and write disk I/O performance hit. SQL Litespeed or SQL 2008 backup with compression all help to lessen the performance hit. <br />
  6. 6. Database Best Practices<br />Optimize TempDb, Content, & SSP Dbs<br />Creating secondary files for each db<br />Move transaction logs to a separate unique Volumes<br />Move data in primary file so that all files arte the same size<br />Fragmentation <br />occurs quickly with Dbs and Indexes that are constantly updated or in use. There are 2 types of Fragmentation that will cause SQL to slow down: <br />File System <br />Db Index/Statistics<br />Monitoring <br />Weekly reports to confirm trending on wait & performance stats<br />DB Fill factor <br />When an index is created or rebuilt, the fill factor value determines the percentage of space on each leaf level page to be filled with data, therefore reserving a percentage of free space for future growth. Based on past performance and index expansion rates, Microsoft has found the fill factor should be 70 percent on all content databases.<br />Storage<br />Allocate adequate storage for versioning and the recycle bin, and Defrag SQL will perform poorly. When designing the environment, CA should consider business needs, such as versioning, and ensure that adequate disk space and I/O are available to accommodate them and leave space to perform defragmentation<br />
  7. 7. VM Best Practices<br />Web Front End (WFE) servers can be virtualized<br />Query Server(s) can be virtualized<br />Index Server should DEFINITELY NOT be virtualized<br />SQL Server should NOT be virtualized<br />Allocate RAW LUNs for the high performance volumes <br />In the absence of RAW storage volumes, you should pre-allocate the storage space <br />
  8. 8. SharePoint Best Practices<br />Tune the content of all crawls <br />NGES, Coveo, SharePoint, and DocAve all crawl content. Tune the applications to reduce overlap.<br />This is one of the most time consuming jobs of a SharePoint administrator<br /><ul><li>Use Dedicated WFE for crawling
  9. 9. Remove the Central Administration server from NLB rotation since it is also indexing</li></ul>Optimize web Design<br />Limit the Page Load size <br />Maximize performance on Webparts displaying data<br />Cleanup HTTP response codes of 300 and up (* excluding 304 & 401)<br />Minimize HTTP Requests<br />Plan and Enforce Site & Content Sizes<br />Monitor Content and perform Cleanup<br />Recycle App Pools <br />For each WebSite on Each WFE at different times <br />Periodically run Best Practice Analyzer BPA, <br />Trends should be transparent<br />
  10. 10. Network Best Practices<br />Load Balancing: Implement Caching to minimize traffic to database and application services. <br />Secure Sockets Layer: Use hardware enabled services instead of software services.<br />Implement WAN Acceleration anytime you are geographically dispersed across continents or where network latency must be mitigated.<br />Dedicated Network Interface Cards: NIC to SQL, Dedicated NIC to Load Balancer. Avoid Shared IO.<br />
  11. 11. All other things being equal, more usage, as measured by number of page views & searches reflects more satisfied users. <br />
  12. 12. Q & A<br />
  13. 13. Most Common WaitsParallelism<br />CXPACKET<br />Direct result of inefficient parallel processing<br />Occurs when 1 or more threads are waiting on another thread to finish before they can proceed<br />Hyper-Threading can add to the problem<br />Consider adjusting MAXDOP (at Server or Query Level)<br />
  14. 14. Most Common WaitsLocking<br />LCK_M_xx<br />LCK_M_SCH_xx<br />Results from Locking & Blocking<br />Long running transactions<br />Improper or lack of indexes<br />Poorly configured or underpowered hardware<br />
  15. 15. Most Common WaitsNetwork<br />ASYNC_NETWORKIO<br />Indicates that the client is not absorbing the data as fast as SQL Server can send it<br />This may be related to problems with the Network itself<br />But more likely it is the client that is to blame<br />
  16. 16. Most Common WaitsI/O<br />PAGEIOLATCH_xx<br />IO_COMPLETION<br />WRITELOG<br />Indicates slowness reading or writing data to physical disk<br />These are definite signs that you have a problem with your storage subsystem or drivers<br />WRITELOG waits should be kept as low as possible<br />
  17. 17. Most Common WaitsLatches<br />PAGELATCH_xx<br />Not related to physical IO<br />Can indicate contention for internal resources other than the Buffer Pool<br />PAGELATCH_UP typically indicates contention in Tempdb<br />Heaps and LOB’s can cause latching<br />Heavy Inserts onto the same pages<br />Page splits<br />
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×