SharePoint 2013 Performance and Capacity Management · SharePoint 2013 Performance and Capacity...
Transcript of SharePoint 2013 Performance and Capacity Management · SharePoint 2013 Performance and Capacity...
![Page 1: SharePoint 2013 Performance and Capacity Management · SharePoint 2013 Performance and Capacity Management John Naguib Technical Architect, Consultant and TL MCITP, MCPD, MCTS and](https://reader030.fdocuments.in/reader030/viewer/2022040402/5e7d9cd3f8919b213234564c/html5/thumbnails/1.jpg)
SharePoint 2013 Performance and Capacity Management
John Naguib
Technical Architect, Consultant and TL
MCITP, MCPD, MCTS and MCT
![Page 2: SharePoint 2013 Performance and Capacity Management · SharePoint 2013 Performance and Capacity Management John Naguib Technical Architect, Consultant and TL MCITP, MCPD, MCTS and](https://reader030.fdocuments.in/reader030/viewer/2022040402/5e7d9cd3f8919b213234564c/html5/thumbnails/2.jpg)
2
Agenda
• Who am I
• Introduction
• Performance Monitoring
• Capacity Management
• Performance Optimization
• My Contact
• Questions
![Page 3: SharePoint 2013 Performance and Capacity Management · SharePoint 2013 Performance and Capacity Management John Naguib Technical Architect, Consultant and TL MCITP, MCPD, MCTS and](https://reader030.fdocuments.in/reader030/viewer/2022040402/5e7d9cd3f8919b213234564c/html5/thumbnails/3.jpg)
3
Who am I
- Technical Consultant, Architect and Technical Leader in HP
- BSc. Computer Science
- MCITP, MCPD, MCTS and MCT
- TOGAF Foundation 9.1 Certified
![Page 4: SharePoint 2013 Performance and Capacity Management · SharePoint 2013 Performance and Capacity Management John Naguib Technical Architect, Consultant and TL MCITP, MCPD, MCTS and](https://reader030.fdocuments.in/reader030/viewer/2022040402/5e7d9cd3f8919b213234564c/html5/thumbnails/4.jpg)
4
SharePoint to a User
![Page 5: SharePoint 2013 Performance and Capacity Management · SharePoint 2013 Performance and Capacity Management John Naguib Technical Architect, Consultant and TL MCITP, MCPD, MCTS and](https://reader030.fdocuments.in/reader030/viewer/2022040402/5e7d9cd3f8919b213234564c/html5/thumbnails/5.jpg)
5
SharePoint to Consultants/Operations
![Page 6: SharePoint 2013 Performance and Capacity Management · SharePoint 2013 Performance and Capacity Management John Naguib Technical Architect, Consultant and TL MCITP, MCPD, MCTS and](https://reader030.fdocuments.in/reader030/viewer/2022040402/5e7d9cd3f8919b213234564c/html5/thumbnails/6.jpg)
6
SharePoint Traditional Topology
![Page 7: SharePoint 2013 Performance and Capacity Management · SharePoint 2013 Performance and Capacity Management John Naguib Technical Architect, Consultant and TL MCITP, MCPD, MCTS and](https://reader030.fdocuments.in/reader030/viewer/2022040402/5e7d9cd3f8919b213234564c/html5/thumbnails/7.jpg)
7
SharePoint Streamlined Topology
![Page 8: SharePoint 2013 Performance and Capacity Management · SharePoint 2013 Performance and Capacity Management John Naguib Technical Architect, Consultant and TL MCITP, MCPD, MCTS and](https://reader030.fdocuments.in/reader030/viewer/2022040402/5e7d9cd3f8919b213234564c/html5/thumbnails/8.jpg)
8
What to Monitor
Performance Counters
Slow Pages Software Boundaries
RPS
![Page 9: SharePoint 2013 Performance and Capacity Management · SharePoint 2013 Performance and Capacity Management John Naguib Technical Architect, Consultant and TL MCITP, MCPD, MCTS and](https://reader030.fdocuments.in/reader030/viewer/2022040402/5e7d9cd3f8919b213234564c/html5/thumbnails/9.jpg)
9
What to Monitor (2) # Counter
1 % Processor Time
2 Disk-Average Disk Queue Length
3 Disk-% Idle Time
4 Disk-% Free Space
5 Memory- Available Mbytes
6 Memory- Cache Faults/Sec
7 Memory- Pages/Sec
8 Paging File % Used
9 Paging File %Used Peak
10 Network Interface Card- Total Bytes/Sec
11 Process(w3wp and owstimer.exe) -Working Set
12 Process(w3wp and owstimer.exe) -%Processor Time
13 Application Pool Recycles
14 ASP.net- Requests Queued
15 Request Wait Time
16 Request Rejected
![Page 10: SharePoint 2013 Performance and Capacity Management · SharePoint 2013 Performance and Capacity Management John Naguib Technical Architect, Consultant and TL MCITP, MCPD, MCTS and](https://reader030.fdocuments.in/reader030/viewer/2022040402/5e7d9cd3f8919b213234564c/html5/thumbnails/10.jpg)
10
How to Monitor
SCOM
3rd Party Tools
Performance monitor Dataset Collectors
power shell script and export to CSV
Adding counter to usage DB
![Page 11: SharePoint 2013 Performance and Capacity Management · SharePoint 2013 Performance and Capacity Management John Naguib Technical Architect, Consultant and TL MCITP, MCPD, MCTS and](https://reader030.fdocuments.in/reader030/viewer/2022040402/5e7d9cd3f8919b213234564c/html5/thumbnails/11.jpg)
11
How to Monitor (2)
SQL Server Tools (SQL Diagnostic, SQL Trace, SQL Server Profiler)
IIS Logs
http://gallery.technet.microsoft.com/sharepoint/The-SharePoint-Flavored-5b03f323#content
Capacity planning limits http://gallery.technet.microsoft.com/Maxer-for-SharePoint-2013-52208636
SharePoint Health Analyzer
![Page 12: SharePoint 2013 Performance and Capacity Management · SharePoint 2013 Performance and Capacity Management John Naguib Technical Architect, Consultant and TL MCITP, MCPD, MCTS and](https://reader030.fdocuments.in/reader030/viewer/2022040402/5e7d9cd3f8919b213234564c/html5/thumbnails/12.jpg)
12
Demo
Performance Counters
• PowerShell to generate Counters • How to Analyze counters
Data Set Collectors
• How to Analyze Data Set Collectors blg files
IIS Log Files • How to Analyze log files
Boundaries • How to Analyze Software Boundaries
Diagnostics Studio
• Use Microsoft Diagnostic Studio
![Page 13: SharePoint 2013 Performance and Capacity Management · SharePoint 2013 Performance and Capacity Management John Naguib Technical Architect, Consultant and TL MCITP, MCPD, MCTS and](https://reader030.fdocuments.in/reader030/viewer/2022040402/5e7d9cd3f8919b213234564c/html5/thumbnails/13.jpg)
13
Capacity Management # Counter Potential Bottleneck
Condition
Action
1 % Processor Time Persistently greater than 75%
· Upgrade processor, Add additional processors, Add additional servers
2 Disk-Average Disk Queue Length Gradually increasing · Upgrade to faster disks, Increase number of disks, Implement data striping, Move some data to alternative servers
3 Disk-% Idle Time Persistently less than 90% · Increase number of disks, Move some data to alternative disks or servers
4 Disk-% Free Space Persistently less than 30% · Increase number of disks, Move some data to alternative disks or servers
5 Memory- Available Mbytes Less than 2 GB on WFE server · Add memory, Remove unnecessary services,
6 Memory- Cache Faults/Sec Persistently greater than 1 • Add Memory, Increase Cache size Move some data to alternative disks or servers
7 Memory- Pages/Sec Persistently greater than 10
• Add Memory
8 Paging File % Used Greater than 50% • Add Memory
9 Paging File %Used Peak Greater than 75% • Add Memory
10 Network Interface Card- Total Bytes/Sec Persistently greater than 40% of capacity
• Upgrade NICs,· Investigate further (outgoing traffic, incoming traffic, and memory buffers)
11 Process(w3wp and owstimer.exe) -Working Set greater than 80% of total memory
• Add Memory
12 Process(w3wp and owstimer.exe) -%Processor
Time
Persistently Greater than 75%
• Upgrade processor, Add additional processors, Add additional servers
13 Application Pool Recycles Several per day · Verify application pool settings, Ensure application pools are not set to
automatically recycle unnecessarily
14 ASP.net- Requests Queued Persistently Large numbers (100s)
Add WFEs servers
15 Request Wait Time Persistent delays Add WFE servers
16 Request Rejected Greater than 0 Add WFE servers
![Page 14: SharePoint 2013 Performance and Capacity Management · SharePoint 2013 Performance and Capacity Management John Naguib Technical Architect, Consultant and TL MCITP, MCPD, MCTS and](https://reader030.fdocuments.in/reader030/viewer/2022040402/5e7d9cd3f8919b213234564c/html5/thumbnails/14.jpg)
14
Performance Optimization
1 ms Latency between SQL and SP
20 ms latency to retrieve the first byte
stretched Farms !!
![Page 15: SharePoint 2013 Performance and Capacity Management · SharePoint 2013 Performance and Capacity Management John Naguib Technical Architect, Consultant and TL MCITP, MCPD, MCTS and](https://reader030.fdocuments.in/reader030/viewer/2022040402/5e7d9cd3f8919b213234564c/html5/thumbnails/15.jpg)
15
Performance Optimization (2)
Minimal and optimal CPU requirements for SharePoint and SQL servers
Minimal and optimal memory requirements for SharePoint and SQL servers (minimal 12GB SharePoint Server; 16GB SQL server, but depends on the deployment size
![Page 16: SharePoint 2013 Performance and Capacity Management · SharePoint 2013 Performance and Capacity Management John Naguib Technical Architect, Consultant and TL MCITP, MCPD, MCTS and](https://reader030.fdocuments.in/reader030/viewer/2022040402/5e7d9cd3f8919b213234564c/html5/thumbnails/16.jpg)
16
Performance Optimization (3)
Create a SQL alias cliconfg.exe
Disable loopback check
Latest OS updates
SP Service Packs
Use Hardware Load Balancers
![Page 17: SharePoint 2013 Performance and Capacity Management · SharePoint 2013 Performance and Capacity Management John Naguib Technical Architect, Consultant and TL MCITP, MCPD, MCTS and](https://reader030.fdocuments.in/reader030/viewer/2022040402/5e7d9cd3f8919b213234564c/html5/thumbnails/17.jpg)
17
Performance Optimization (4) Log Files on different than primary (system) disk
Use naming convention for service accounts, services and database names
Disable unused Windows services (eg.: Spooler, AudisoSrv, tabletInput, WerSvc)
WarmUp Scripts
![Page 18: SharePoint 2013 Performance and Capacity Management · SharePoint 2013 Performance and Capacity Management John Naguib Technical Architect, Consultant and TL MCITP, MCPD, MCTS and](https://reader030.fdocuments.in/reader030/viewer/2022040402/5e7d9cd3f8919b213234564c/html5/thumbnails/18.jpg)
18
Performance Optimization (5)
Set Quotas on Web Applications
Compression
Caching
Avoid Long Backup Jobs
Code Check
![Page 20: SharePoint 2013 Performance and Capacity Management · SharePoint 2013 Performance and Capacity Management John Naguib Technical Architect, Consultant and TL MCITP, MCPD, MCTS and](https://reader030.fdocuments.in/reader030/viewer/2022040402/5e7d9cd3f8919b213234564c/html5/thumbnails/20.jpg)
20
Thanks