Apr 21, 2010

SharePoint Performance Tuning

To improve SharePoint Performance, as a site or collection or farm administrator you can:
  • Enable Output and Page Caching from Site Admin Page.
  • Turn on Http compression and Content Expiration at IIS Level (Browser Caching and content compression)
  • Turn on Blob Caching on all WFE Servers, In web.config (look for blobcache and make it true)
    • < BlobCache location="C:\blobcache" path="\.(gif¦jpg¦png¦css¦js)$ " maxSize="10" enabled="true" />
  • Use Warmup script
  • Use SharePoint Dispose Check utility for memory leak
  • Can use Ant profiler for memory issues or to find out memory bottlenecks.
  • Hardware in the farm                   
    • 32 bit vs 64 bit, what is the server memory metrics. Use 64 bit if the memory consumption is more then 50% and you have hit the 4 GB limit on the 32 bit operating system.
  • Load test via Visual Studio Team Suite or link
  • Collect server metrics using perfmon
  • Look for the Network Contention (most common),
    •  network in the farm (NIC card, etc)
    •  network bandwidth between the farm and client
  • Best Development and Coding Practices to avoid slow performance (i.e. performance degradation)
    • Custom Code (Object Model)
    • SharePoint Farm (Architecture / Hardware / Software)
  • Use SQL Profiler to determine if database is the bottleneck

          No comments:

          Pages