sharepoint 2013 performance enhancements

25
SharePoint 2013 Performance Enhancements Eric Shupps SharePoint Server MVP

Upload: eric-shupps

Post on 29-Nov-2014

3.155 views

Category:

Technology


3 download

DESCRIPTION

 

TRANSCRIPT

Page 1: SharePoint 2013 Performance Enhancements

SharePoint 2013 Performance Enhancements

Eric Shupps

SharePoint Server MVP

Page 2: SharePoint 2013 Performance Enhancements

Sponsored by:

Visit us on the web at www.binarywave.com

Real-time application monitoring, event management, and operational health metrics for Microsoft SharePoint

Reduce troubleshooting time by up to 30%Increase efficiency and improve user satisfactionAvoid downtime and costly outagesMeet or exceed service level agreementsMaximize investment in current infrastructure

Page 3: SharePoint 2013 Performance Enhancements

About Me

CKS:DEV

The

SharePoint

Cowboy

Patterns

&

Practices

Eric Shupps

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

Page 4: SharePoint 2013 Performance Enhancements

Agenda

Learn something you

might if pay attention

you will.

Architecture

Distributed

Cache

Shredded

Storage

Request

Management

User

Interface

Page 5: SharePoint 2013 Performance Enhancements

The Old Rules Still Apply

Build

To

Suit

The

Database

Is

King

Cache

In

Make the

Network

Work for

You

Squeeze

Those

Bits

Look

Good But

Perform

Better

Exciting new is but regret

it you will if old rules are

forgotten.

Page 6: SharePoint 2013 Performance Enhancements

Architecture

Database

Search BI App

Users

Web Web

Page 7: SharePoint 2013 Performance Enhancements

Architecture

Database

Users

Search BI App

Web Web

Database

Distrib

Cache

Distrib

Cache

Request

Manager

Request

ManagerRequest

Manager

Office

Web AppsWorkflow

Apps

Azure

O365

Page 8: SharePoint 2013 Performance Enhancements

Distributed Cache

Independent

Cache

Configurable

Memory

Allocation

No

Database

Persistence

Dedicated

or

CollocatedFaster things are if

cached they become.

Page 9: SharePoint 2013 Performance Enhancements

Distributed Cache Dependencies

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: SharePoint 2013 Performance Enhancements

Distributed Cache Guidelines

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: SharePoint 2013 Performance Enhancements

Distributed Cache

DEMO

Configuring the Distributed Cache

Page 12: SharePoint 2013 Performance Enhancements

Request Management

SP aware rule based

traffic shaping

Throttling

Prioritization

Routing

Load

Balancing

Seek not too much data

or throttled you will be.

Page 13: SharePoint 2013 Performance Enhancements

Request Management Modes

Page 14: SharePoint 2013 Performance Enhancements

Request Management Components

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: SharePoint 2013 Performance Enhancements

Request Management Rules

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: SharePoint 2013 Performance Enhancements

Request Management Counters

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: SharePoint 2013 Performance Enhancements

Request Management

DEMO

Configuring Request Management

Page 18: SharePoint 2013 Performance Enhancements

Shredded Storage

2x I/O

Reduction

Client

(Office XML)

Incremental

Changes

Server

(SQL)

FileRead

ChunkSize

FileWrite

ChunkSize

Mmmm.

Make your documents

chunky it will.

Yes.

Page 19: SharePoint 2013 Performance Enhancements

Shredded Storage

Page 20: SharePoint 2013 Performance Enhancements

User Interface

Client-Side

Rendering

Minimal

Download

Device

Channels

Optimized

Markup

Image

Renditions

Content

By

Search

Deceptive is the power

of design. Seek not

form over function.

Page 21: SharePoint 2013 Performance Enhancements

Minimal Download

2010Page 1

Controls

Chrome

Content

Page 2

Controls

Chrome

Content

First Request

Second Request

2013Page 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: SharePoint 2013 Performance Enhancements

Page Rendering

Page 23: SharePoint 2013 Performance Enhancements

Page Weight

29 Requests / 570KB 21 Requests / 321KB

Page 24: SharePoint 2013 Performance Enhancements

Summary

Architecture

Distributed

Cache

Shredded

Storage

Request

Management

User

Interface

Awake are you still?

Page 25: SharePoint 2013 Performance Enhancements

Sponsored by:

Visit us on the web at www.binarywave.com

Real-time application monitoring, event management, and operational health metrics for Microsoft SharePoint

Reduce troubleshooting time by up to 30%Increase efficiency and improve user satisfactionAvoid downtime and costly outagesMeet or exceed service level agreementsMaximize investment in current infrastructure