SharePoint 2013 Hunting
Performance Issues
Margriet Bruggeman
Nikander Bruggeman
About Nikander…
• Experienced Web Developer
and .NET Architect
• SharePoint Specialist/MVP
• Author SharePoint books
• Aut...
About Margriet…
• Experienced Web Developer and
.NET Architect
• SharePoint Specialist/MVP
• Author 13 SharePoint books
• ...
Approach Justification

• http://www.sharepointdragons.com
Agenda
•
•
•
•
•
•
•
•
•
•
•

Anti-Patterns
Optimizing SQL Server for SharePoint
The Mind Reader
SQL DMVs
Analyzing IIS
Pe...
Anti-Patterns
•
•
•
•

Look for the Magic button
Use SQL Server Profiler
Optimize configuration settings
Collect as much p...
Optimizing SQL Server for SharePoint
• Dedicated SQL Server Instance
• Content Database size
(http://technet.microsoft.com...
The Mind Reader
• 2013: finish before release
• The magic number 5
• No memory problems for the WFE
SQL DMV Queries
• Queries running in a specified
period of time
• Finding Wait Causes
• Finding Slowest Queries
• Longest ...
Finding Wait Causes
•
•
•
•
•
•
•
•
•
•
•

ASYNC_IO_COMPLETION
IO_COMPLETION
LATCH_x
PAGEIOLATCH_x
PAGELATCH_x
WRITELOG
CX...
Relations wait types and performance
counters
Wait Type

Performance Counters

ASYNC_IO_COMPLETION

Physical Disk: Avg. Di...
Query Result
Don’t forget it’s Web Based!
• Analyze IIS Log Files
(http://gallery.technet.microsoft.com/office/Set-IIS-Log-Fields-viaee...
SFWR
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•

The max request time per URI
The min request time per URI
The average request ...
Performance Counters
• http://gallery.technet.microsoft.com/office/Po
werShell-script-for-59cf3f70
• http://sharepointdrag...
Boundaries Thou Shalt Not Cross
• Maxer
• http://gallery.technet.microsoft.com/office/Po
werShell-Maxer-for-cd9e13d6
Performance Testing Tools
• PressurePoint Dragon for SharePoint 2013
• http://gallery.technet.microsoft.com/office/Pr
essu...
What is in your performance kit?
•
•
•
•
•
•
•
•
•
•

SQL DMVs
Fiddler - http://fiddler2.com/
Maxer
PAL - http://sharepoin...
The Most Useless Slide of the Deck
• Radar for SharePoint 2013
Contact info
Margriet Bruggeman
margriet@loisandclark.eu
Nikander Bruggeman
nikander@loisandclark.eu
Lois & Clark IT Servi...
SPCA2013 - Hunting Performance Issues
SPCA2013 - Hunting Performance Issues
Upcoming SlideShare
Loading in...5
×

SPCA2013 - Hunting Performance Issues

573

Published on

Hunting Performance Issues

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

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

No notes for slide
  • http://www.microsoft.com/en-us/download/details.aspx?id=24659Log Parser 2.2 Log parser is a powerful, versatile tool that provides universal query access to text-based data such as log files, XML files and CSV files, as well as key data sources on the Windows® operating system such as the Event Log, the Registry, the file system, and Active Directory®. LogParser Studio athttp://gallery.technet.microsoft.com/office/Log-Parser-Studio-cd458765
  • Performance Analysis of Logs (PAL) Tool
  • SPCA2013 - Hunting Performance Issues

    1. 1. SharePoint 2013 Hunting Performance Issues Margriet Bruggeman Nikander Bruggeman
    2. 2. About Nikander… • Experienced Web Developer and .NET Architect • SharePoint Specialist/MVP • Author SharePoint books • Author SharePoint articles • Author MOC courseware • Speaker TechNet, HeliView • Manning Technical Reviewer
    3. 3. About Margriet… • Experienced Web Developer and .NET Architect • SharePoint Specialist/MVP • Author 13 SharePoint books • Author SharePoint articles • Author MOC courseware • Speaker TechNet, SharePoint Connections, MS Launch Event • Manning Technical Reviewer • TechNet Forum Moderator • TechNet Wiki Community Council
    4. 4. Approach Justification • http://www.sharepointdragons.com
    5. 5. Agenda • • • • • • • • • • • Anti-Patterns Optimizing SQL Server for SharePoint The Mind Reader SQL DMVs Analyzing IIS Performance Counters Maxer PressurePoint What’s in the Performance Toolkit? The Most Useless Slide of the Deck Q&A
    6. 6. Anti-Patterns • • • • Look for the Magic button Use SQL Server Profiler Optimize configuration settings Collect as much performance data as you can
    7. 7. Optimizing SQL Server for SharePoint • Dedicated SQL Server Instance • Content Database size (http://technet.microsoft.com/en-us/library/cc298801.aspx) • Shrinking Database (http://www.sqlskills.com/blogs/paul/why-you-should-not-shrink-yourdata-files/) • TempDB • I/O • Memory • MAXDOP (http://technet.microsoft.com/en-us/library/cc298801.aspx) • Statistics • http://www.microsoftvirtualacademy.com/training-courses/tuning-sqlserver-2012-for-sharepoint-2013-jump-start#fbid=97fCQYgsi9z
    8. 8. The Mind Reader • 2013: finish before release • The magic number 5 • No memory problems for the WFE
    9. 9. SQL DMV Queries • Queries running in a specified period of time • Finding Wait Causes • Finding Slowest Queries • Longest Running Queries • Longest Blocked Queries • Reads and Writes per Database • Queries that use the most I/O • Queries executed most often • State of Statistics • Find Current SQL Statements • DMV Snapshots • Effect Queries on Performance Counters • Relation between Performance Counters and Wait States • SQL Queries, Performance Counters, and Wait States • Queries that use the most CPU • Finding Missing Indexes • Queries with missing statistics • Find databases with most missing indexes • Queries running slower than normal http://www.manning.com/stirk/
    10. 10. Finding Wait Causes • • • • • • • • • • • ASYNC_IO_COMPLETION IO_COMPLETION LATCH_x PAGEIOLATCH_x PAGELATCH_x WRITELOG CXPACKET LCK_x ASYNC_NETWORK_IO SOS_SCHEDULER_YIELD SQLTRACE_BUFFER_FLUSH
    11. 11. Relations wait types and performance counters Wait Type Performance Counters ASYNC_IO_COMPLETION Physical Disk: Avg. Disk Queue Length Physical Disk: Current Disk Queue Length Memory: Available Bytes Memory: Pages/sec Physical Disk: Avg. Disk Queue Length Physical Disk: Current Disk Queue Length Memory: Available Bytes Memory: Pages/sec Memory: Available Bytes Memory: Pages/sec Physical Disk: Avg. Disk Queue Length Physical Disk: Current Disk Queue Length Physical Disk: Avg. Disk Queue Length Physical Disk: Current Disk Queue Length Physical Disk: Avg. Disk Queue Length Physical Disk: Current Disk Queue Length IO_COMPLETION LATCH_x PAGEIOLATCH_x PAGELATCH_x WRITELOG
    12. 12. Query Result
    13. 13. Don’t forget it’s Web Based! • Analyze IIS Log Files (http://gallery.technet.microsoft.com/office/Set-IIS-Log-Fields-viaee9c19b3) • SharePoint Flavored Weblog Reader (SFWR, http://gallery.technet.microsoft.com/office/The-SharePointFlavored-5b03f323) • Log Parser (http://www.microsoft.com/enus/download/details.aspx?id=24659) • Log Parser Studio (http://gallery.technet.microsoft.com/office/Log-Parser-Studiocd458765) • Splitting IIS Log Files via Gsplit (http://www.gdgsoft.com/gsplit/)
    14. 14. SFWR • • • • • • • • • • • • • • • • • • • The max request time per URI The min request time per URI The average request time per InfoPath URI The max request time per InfoPath URI The min request time per InfoPath URI The average request time per Report Server URI The max request time per Report Server URI The min request time per Report Server URI Browser percentage Dead links Failed pages Failed InfoPath pages Most busy days of the week Most requested pages Requested pages per day Percentage error page requests Requests per hour per day Requests per hour Requests per user • • • • • • • • • • • • • • • • Requests per user per month Requests per user per week Slowest requests Slowest failed requests Slowest successful requests Slowest requests per URI Top requests per hour Top visitors Traffic per day in MB Traffic per week in MB Unique visitors Unique visitors per day Unique visitors per week Unique visitors per month Searches per user Slowest requests for a specific user
    15. 15. Performance Counters • http://gallery.technet.microsoft.com/office/Po werShell-script-for-59cf3f70 • http://sharepointdragons.com/2013/02/27/w orking-with-blg-files/
    16. 16. Boundaries Thou Shalt Not Cross • Maxer • http://gallery.technet.microsoft.com/office/Po werShell-Maxer-for-cd9e13d6
    17. 17. Performance Testing Tools • PressurePoint Dragon for SharePoint 2013 • http://gallery.technet.microsoft.com/office/Pr essurePoint-Dragon-for-87572ee1
    18. 18. What is in your performance kit? • • • • • • • • • • SQL DMVs Fiddler - http://fiddler2.com/ Maxer PAL - http://sharepointdragons.com/2011/12/30/when-you-haveperformance-troubles-you-need-a-pal/ Performance Counters PressurePoint SharePoint Flavored Weblog Reader (SFWR) SharePoint 2010 Admin Toolkit - http://www.microsoft.com/enus/download/details.aspx?id=20022 SharePoint Log Viewers Set of test documents
    19. 19. The Most Useless Slide of the Deck • Radar for SharePoint 2013
    20. 20. Contact info Margriet Bruggeman margriet@loisandclark.eu Nikander Bruggeman nikander@loisandclark.eu Lois & Clark IT Services Web site: http://www.loisandclark.eu Blog: http://www.sharepointdragons.com
    1. A particular slide catching your eye?

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

    ×