rev your engines - sharepoint 2013 performance enhancements

Upload: eric-shupps

Post on 14-Oct-2015

15 views

Category:

Documents


0 download

DESCRIPTION

Rev Your Engines - SharePoint 2013 Performance Enhancements

TRANSCRIPT

  • 5/31/2018 Rev Your Engines - SharePoint 2013 Performance Enhancements

    1/25

    SharePoint 2 13 Performance Enhancements

  • 5/31/2018 Rev Your Engines - SharePoint 2013 Performance Enhancements

    2/25

    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 satisfaction

    Avoid downtime and costly outages

    Meet or exceed service level agreements

    Maximize investment in current infrastructure

  • 5/31/2018 Rev Your Engines - SharePoint 2013 Performance Enhancements

    3/25

    CKS:DEV

    TheSharePointCowboy

    Patterns&

    Practices

    Eric Shupps

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

  • 5/31/2018 Rev Your Engines - SharePoint 2013 Performance Enhancements

    4/25

    DistributedCache

    ShreddedStorage

    RequestManagement

    UserInterface

  • 5/31/2018 Rev Your Engines - SharePoint 2013 Performance Enhancements

    5/25

    BuildTo

    Suit

    TheDatabase

    IsKing

    CacheIn

    Make theNetworkWork for

    You

    SqueezeThoseBits

    LookGood ButPerformBetter

  • 5/31/2018 Rev Your Engines - SharePoint 2013 Performance Enhancements

    6/25

    Database

    Search BI App

    Users

    Web Web

  • 5/31/2018 Rev Your Engines - SharePoint 2013 Performance Enhancements

    7/25

    Database

    Users

    Search BI App

    Web Web

    Database

    DistribCache

    DistribCache

    RequestManager

    RequestManager

    RequestManager

    OfficeWeb Apps

    Workflow

    Apps

    Azure

    O365

  • 5/31/2018 Rev Your Engines - SharePoint 2013 Performance Enhancements

    8/25

    CapacityLoad

    Traffic Isolation Web

    Database Service Applications

    Search

    Caching

    Workflow

    WAC

    Indexing

  • 5/31/2018 Rev Your Engines - SharePoint 2013 Performance Enhancements

    9/25

    IndependentCache

    ConfigurableMemory

    Allocation

    NoDatabase

    Persistence

    Dedicatedor

    Collocated

  • 5/31/2018 Rev Your Engines - SharePoint 2013 Performance Enhancements

    10/25

    LoginTokenCache

    AccessCache

    Feeds(Activities,Likes,Mentions,Doc

    Actions)

    SearchQuery

    Web Part

    LastModified

    Cache

    SecurityTrimming

    Cache

    OneNoteThrottling

    AppTokenCache

    View StateCache

    DefaultCache

  • 5/31/2018 Rev Your Engines - SharePoint 2013 Performance Enhancements

    11/25

    Deployment size Small farm Medium farm Large farmTotal number of users < 10,000 < 100,000 < 500,000

    Recommended cache sizefor the Distributed Cacheservice

    1 GB(Default 10% RAM)

    2.5 GB(Manual adjustment)

    12 GB(Limit of16GB per server)

    Total memory allocationfor the Distributed Cacheservice (double therecommended cache sizeabove)

    2 GB(Memory size mustmatch in all servers)

    5 GB24 GB(32GB Max Limit)

    Recommendedarchitectural

    configuration

    Dedicated server or co-located on a front-end

    server

    Dedicated server Dedicated server

    Minimum cache hosts perfarm

    1 1 1

  • 5/31/2018 Rev Your Engines - SharePoint 2013 Performance Enhancements

    12/25

    DEMO

    Configuring the DistributedCache

  • 5/31/2018 Rev Your Engines - SharePoint 2013 Performance Enhancements

    13/25

    SP aware rule basedtraffic shaping

    Throttling

    Prioritization

    Routing

    LoadBalancing

  • 5/31/2018 Rev Your Engines - SharePoint 2013 Performance Enhancements

    14/25

  • 5/31/2018 Rev Your Engines - SharePoint 2013 Performance Enhancements

    15/25

    Machine Pool

    RoutingTarget

    RoutingTarget

    Execution Group

    Throttling Rules

    HealthWeightStaticWeight HealthWeightStaticWeight RoutingRuleRoutingRule RoutingRuleRoutingRule

  • 5/31/2018 Rev Your Engines - SharePoint 2013 Performance Enhancements

    16/25

    Throttling Rules

    Rule1 Rule2 Rule3

    Execution Group 0

    Rule1 Rule2 Rule3

    Execution Group 1

    Rule5 Rule6 Rule7

    Execution Group 3

    Rule8 Rule9 Rule

    Machine Pool 1

    Server1 Server2 Server3

    Machine Pool 2

    Server4 Server5 Server6

  • 5/31/2018 Rev Your Engines - SharePoint 2013 Performance Enhancements

    17/25

    Counter name Description

    Connections Current The total number of connections that arecurrently open by Request Manager.

    Connections Reused / SecThe number of connections per second that arereused when the same client connection makesanother request without closing the connection.

    Routed Requests / SecThe number of routed requests per second. Theinstance determines the application pool andserver 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 TimeThe time to process the request that is, the timeto evaluate all the rules and determine a routingtarget.

    Last Ping LatencyThe last ping latency (that is, Request Manager'sPING feature) and the instance determine whichapplication pool and machine target.

    Connection Endpoints Current The total number of endpoints that areconnected for all active connections.

    Routed Requests CurrentThe number of unfinished routed requests. Theinstance determines which application pool andmachine target.

  • 5/31/2018 Rev Your Engines - SharePoint 2013 Performance Enhancements

    18/25

    DEMO

    Configuring RequestManagement

  • 5/31/2018 Rev Your Engines - SharePoint 2013 Performance Enhancements

    19/25

    2x I/OReduction

    Client(Office XML)

    IncrementalChanges

    Server(SQL)

    FileReadChunkSize

    FileWriteChunkSize

  • 5/31/2018 Rev Your Engines - SharePoint 2013 Performance Enhancements

    20/25

  • 5/31/2018 Rev Your Engines - SharePoint 2013 Performance Enhancements

    21/25

    Client-SideRendering

    MinimalDownload

    DeviceChannels

    OptimizedMarkup

    ImageRenditions

    ContentBy

    Search

  • 5/31/2018 Rev Your Engines - SharePoint 2013 Performance Enhancements

    22/25

    Page 1

    ControlsChromeContent

    Page 2

    ControlsChromeContent

    First Request

    Second Request

    Page 1

    ControlsChromeContent

    Page 2

    ControlsChromeContent

    woa

    woa

    First Request

    Second Request

  • 5/31/2018 Rev Your Engines - SharePoint 2013 Performance Enhancements

    23/25

  • 5/31/2018 Rev Your Engines - SharePoint 2013 Performance Enhancements

    24/25

    29 Requests / 570KB 21 Requests / 321KB

  • 5/31/2018 Rev Your Engines - SharePoint 2013 Performance Enhancements

    25/25

    DistributedCache

    ShreddedStorage

    RequestManagement

    UserInterface