SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

25
SharePoint 2013 Performance Enhancements

description

 

Transcript of SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

Page 1: SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

SharePoint 2013 Performance Enhancements

Page 2: SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

CKS:DEV

The

SharePoint

Cowboy

Patterns

&

Practices

Eric Shupps

www.sharepointcowboy.com [email protected] facebook.com/sharepointcowboy @eshupps

Page 3: SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

Distributed

Cache

Shredded

Storage

Request

Management

User

Interface

Fundamentals

Page 4: SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

Build

To

Suit

The

Database

Is

King

Cache

In

Make the

Network

Work for

You

Squeeze

Those

Bits

Look

Good But

Perform

Better

Page 5: SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

Database

Search BI App

Users

Web Web

Page 6: SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

Database

Users

Search BI App

Web Web

Database

Distrib

Cache

Distrib

Cache

Request

Manager

Request

ManagerRequest

Manager

Office

Web AppsWorkflow

Apps

Azure

O365

Page 7: SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

• Capacity

• Load

• Traffic Isolation• Web

• Database

• Service Applications

• Search

• Caching

• Workflow

• WAC

• Indexing

Page 8: SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

Independent

Cache

Configurable

Memory

Allocation

No

Database

Persistence

Dedicated

or

Collocated

Page 9: SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

Login

Token

Cache

Access

Cache

Feeds(Activities,Likes,

Mentions,Doc

Actions)

Search

Query

Web Part

Last

Modified

Cache

Security

Trimming

Cache

OneNote

Throttling

App

Token

Cache

View State

Cache

Default

Cache

Page 10: SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

Deployment size Small farm Medium farm Large farm

Total number of users < 10,000 < 100,000 < 500,000

Recommended cache size

for the Distributed Cache

service

1 GB

(Default 10% RAM)

2.5 GB

(Manual adjustment)

12 GB

(Limit of16GB per server)

Total memory allocation

for the Distributed Cache

service (double the

recommended cache size

above)

2 GB

(Memory size must

match in all servers)

5 GB24 GB

(32GB Max Limit)

Recommended

architectural

configuration

Dedicated server or co-

located on a front-end

server

Dedicated server Dedicated server

Minimum cache hosts per

farm1 1 1

Page 11: SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

DEMO

Configuring the Distributed

Cache

Page 12: SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

SP aware rule based

traffic shaping

Throttling

Prioritization

Routing

Load

Balancing

Page 13: SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements
Page 14: SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

Machine Pool

Routing

Target

Routing

TargetExecution Group

Throttling Rules

Health

Weight

Static

Weight

Health

Weight

Static

Weight

Routing

Rule

Routing

Rule

Routing

Rule

Routing

Rule

Page 15: SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

Throttling Rules

Rule

1

Rule

2

Rule

3

Execution Group 0

Rule

1

Rule

2

Rule

3

Execution Group 1

Rule

5

Rule

6

Rule

7

Execution Group 3

Rule

8

Rule

9

Rule

0

Machine Pool 1

Server

1

Server

2

Server

3

Machine Pool 2

Server

4

Server

5

Server

6

Page 16: SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

Counter name Description

Connections CurrentThe total number of connections that are

currently open by Request Manager.

Connections Reused / Sec

The number of connections per second that are

reused when the same client connection makes

another request without closing the connection.

Routed Requests / Sec

The number of routed requests per second. The

instance determines the application pool and

server for which this counter tracks.

Throttled Requests / Sec The number of throttled requests per second.

Failed Requests / Sec The number of failed requests per second.

Average Processing Time

The time to process the request that is, the time

to evaluate all the rules and determine a routing

target.

Last Ping Latency

The last ping latency (that is, Request Manager's

PING feature) and the instance determine which

application pool and machine target.

Connection Endpoints CurrentThe total number of endpoints that are

connected for all active connections.

Routed Requests Current

The number of unfinished routed requests. The

instance determines which application pool and

machine target.

Page 17: SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

DEMO

Configuring Request

Management

Page 18: SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

2x I/O

Reduction

Client

(Office XML)

Incremental

Changes

Server

(SQL)

FileRead

ChunkSize

FileWrite

ChunkSize

Page 19: SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements
Page 20: SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

Client-Side

Rendering

Minimal

Download

Device

Channels

Optimized

Markup

Image

Renditions

Content

By

Search

Page 21: SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

Page 1

Controls

Chrome

Content

Page 2

Controls

Chrome

Content

First Request

Second Request

Page 1

Controls

Chrome

Content

Page 2

Controls

Chrome

Content

Do

wn

load

Man

ag

er

Do

wn

load

Man

ag

er

First Request

Second Request

Page 22: SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements
Page 23: SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

29 Requests / 570KB 21 Requests / 321KB

Page 24: SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

Master

Page

Scripts

Branding

Style

Assets

Content

Query

Content

Search

List

Views

Apps

Navigation

Stuff

You

Can’t

Control

Page 25: SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

Distributed

Cache

Shredded

Storage

Request

Management

User

Interface

Fundamentals