sharepoint 2013 performance and capacity … 2013 performance and capacity management john naguib...

20
SharePoint 2013 Performance and Capacity Management John Naguib Technical Architect, Consultant and TL MCITP, MCPD, MCTS and MCT

Upload: lytram

Post on 29-May-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

SharePoint 2013 Performance and Capacity Management

John Naguib

Technical Architect, Consultant and TL

MCITP, MCPD, MCTS and MCT

2

Agenda

• Who am I

• Introduction

• Performance Monitoring

• Capacity Management

• Performance Optimization

• My Contact

• Questions

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

4

SharePoint to a User

5

SharePoint to Consultants/Operations

6

SharePoint Traditional Topology

7

SharePoint Streamlined Topology

8

What to Monitor

Performance Counters

Slow Pages Software Boundaries

RPS

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

10

How to Monitor

SCOM

3rd Party Tools

Performance monitor Dataset Collectors

power shell script and export to CSV

Adding counter to usage DB

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

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

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

14

Performance Optimization

1 ms Latency between SQL and SP

20 ms latency to retrieve the first byte

stretched Farms !!

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

16

Performance Optimization (3)

Create a SQL alias cliconfg.exe

Disable loopback check

Latest OS updates

SP Service Packs

Use Hardware Load Balancers

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

18

Performance Optimization (5)

Set Quotas on Web Applications

Compression

Caching

Avoid Long Backup Jobs

Code Check

20

Thanks