+ All Categories
Home > Documents > SharePoint 2013 Performance and Capacity Management · SharePoint 2013 Performance and Capacity...

SharePoint 2013 Performance and Capacity Management · SharePoint 2013 Performance and Capacity...

Date post: 20-Mar-2020
Category:
Upload: others
View: 5 times
Download: 0 times
Share this document with a friend
20
SharePoint 2013 Performance and Capacity Management John Naguib Technical Architect, Consultant and TL MCITP, MCPD, MCTS and MCT
Transcript
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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

20

Thanks


Recommended