Post on 14-Apr-2017
PowerPoint Presentation
SharePoint Online PerformancePatrick GuimonetSerge Luca
1
Hi Im Serge Luca !Brussels, Belgiumhttp://www.shareql.com8 x SharePoint MVPWorks with SharePoint since 2002@sergelucahttps://sergeluca. wordpress.com
2
Hi Im Patrick Guimonet !Paris, Francehttp://abalon.fr5 x SharePoint MVP2 x Office 365 MVP
Microsoft Regional Director@patricghttps://yos365. wordpress.com
3
Agenda
Part 1 From End User to SharePoint Online
Get technical understanding on how you access data and services in Office 365.
Be able to use the first level tools to get some metrics on your access.
Know how to investigate further
Part 2 Within SharePoint Online
SharePoint Online Performance
How to diagnostic
What is causing perf issues in SharePoint Online (top 5)
4
Understanding the way to your data
Microsoft perspectiveSource: MVA Course Office 365 Performance management
5
Internet Service providers networks
Access to Office 365, from a customer perspective
Serverworkloads
Rich clientapplicationsContent delivery network (CDN)
Microsoft network + edge nodes peering and routing
Customer Internal network
Internet egress pointPublicDNS
Office 365 endpoint
6
Growing networks to cloud-scale10x GrowthGeo-Redundant Service/Application DesignAll nodes active, all nodesstatelessTop 3 Most Connected Networks in the WorldPeer in more than 23 countries with over 2000 ISPs globallyDC-to-Internet BackboneMultiple Terabits, Over 50 Points of Presence globallyGlobal backbone connecting MS Datacenter to the InternetDC-to-DC BackboneMultiple Terabits of CapacityDark fiber based DC-DC backbone to enable high bandwidth between DatacentersDark FiberTens of thousands of Route Miles of owned Dark Fiber BackboneMillion+ 10G DWDM Route Miles of capacity deployed Cache NodeHosting Services collocated at User location (metro)Edge NodesMultiple Terabits of Edge Interconnect capacityDirectly connected to more than 2000 networks with over 4,000 connectionsDecoupled DCsSeparation of CPUs Storage, SQL ServicesIT Capacity Unit = STAMPDC Capacity Unit or Workload Appliance
Microsoft
MS high-performing network is one of the top 3 in the world with public peering in 23 countries with 1,500 ISPs.
7
Rule 1: The power of the backbone!Demo 1: Data transfer between Azure and Office 365
On dmarre 7268
Direct versus Azure upload (6 MB)From my PC in Stockholm to an EMEA tenant
From an Azure VM in the North Europe region5 s to 7 s to 4 s
Our high-performing network is one of the top 3 in the world with public peering in 23 countries with 1,500 ISPs.
9
Direct versus Azure upload (10 MB)From my PC in Stockholm to an EMEA tenant
From an Azure VM in the North Europe region5 s to 14 s to 5 s
Our high-performing network is one of the top 3 in the world with public peering in 23 countries with 1,500 ISPs.
10
Direct versus Azure upload (42 MB)
From my PC in Stockholm to an EMEA tenant
From an Azure VM in the EMEA region
5 s to 51 s to 16 s
Our high-performing network is one of the top 3 in the world with public peering in 23 countries with 1,500 ISPs.
11
Rule 2: Know your Office 365 Datacenter and the fastest way to it
http://azurespeedtest.azurewebsites.net/ http://www.azurespeed.com/Test which Microsoft Datacenters are the closest to you
ping .sharepoint.compsping -n 20 .sharepoint.com:443tracert -4 .sharepoint.com
Microsofts global datacenter footprint
Microsofts network is one of the three largest in the world1 million+ servers 100+ Datacenters in over 40 countries 1,500 network agreements and 50 Internet connections
SAN ANTONIOCHEYENNEQUINCYDES MOINESCHICAGOBOYDTONBRAZILDUBLINAMSTERDAMINDIABEIJINGSHANGHAIJAPANHONG KONGSINGAPOREAUSTRALIA
*Operated by 21Vianet
AUSTRIA
FINLANDBRK 2161
Our high-performing network is one of the top 3 in the world with public peering in 23 countries with 1,500 ISPs.
13
From a legal perspective
http://www.microsoft.com/online/legal/v2/en-us/MOS_PTC_Geo_Boundaries.htm
14
Office 365 Microsoft Edge is live in 30 locations
http://www.priasoft.com/solutions/office_365_endpoint_testing_tool/
BRK 2161
Internet Network peering locationsSite data is published at http://www.peeringdb.com/view.php?asn=8075
Some cities have multiple peering points
Peering locations may be on-net or off-net
Peering may involve physical connection and/or routing advertisements
Data as of July 2014 is subject to changeBrisbaneAustraliaMelbourneAustraliaPerthAustraliaSydneyAustraliaViennaAustriaLuxembourgLuxembourgSao PauloBrazilMontrealCanadaTorontoCanadaPragueCzechoslovakiaParisFranceFrankfurtGermanyHong KongHong KongDublinIrelandMilanItalyTurinItalyTokyoJapanSeoulKorea
Kuala LumpurMalaysiaAmsterdamNetherlandsAucklandNew ZealandWellingtonNew ZealandMoscowRussiaSingaporeSingaporeStockholmSwedenZurichSwitzerlandTaipeiTaiwanLondonUKAshburnUSAAtlantaUSABostonUSAChicagoUSADallasUSADenverUSAHonoluluUSALas VegasUSA
Los AngelesUSAMiamiUSANew YorkUSAPalo AltoUSASan JoseUSASeattleUSA
BRK 2161
16
Azure CDN
This topic lists current Microsoft Azure CDN point of presence (POP) locations.https://azure.microsoft.com/en-us/documentation/articles/cdn-pop-locations/
17
Demo 2: Measure RTT to Office 365
On dmarre 172418
Measure Internal and External RTT (TCP Ping here)
Source: How to measure the Network Round Trip Time to Office 365 by Paul Collinge
Internal should be less than 100 ms, ideally 50 msEMEA to EMEA should be less than 150 ms
Outlook in cached mode can cope well with worse RTTBut for SharePoint 350 to 400 ms is the tipping between good and bad performancesaka Edge or Egress point
202519
Client connectivity to Office 365
From support.office.com/en-us/article/Client-connectivity...
The SharePoint wayThe Exchange way
20
Rule 3: Check REORGANIZED TOP 10 tips for optimising and troubleshooting Office 365 Network Connectivity6. TCP Window Scaling7.TCP Idle time settings8. TCP Max Segment size (Should be >= 1300)9.Selective Acknowledgement
10.Application Level troubleshooting1.Latency/Round Trip Time (RTT)
2.DNS Geo location3.DNS performance
4.Proxy Scalability5.Proxy Authentication
Top 10 tips for optimizing and troubleshooting your Office 365 network connectivityby Paul Collinge
21
TCP Max SegmentSize and SACK (Selective Acknowledgement)
MaxSegmentSizeshouldnt be significantly smaller than 1460.
Sack should be permitted
22
Demo 3: Perform network diagnostics with Microsoft Office 365 Client Performance Analyzer (OCPA)
Dmarre 2723
OPCA from Stockholmsmssan Wifi
Microsoft Network
24
OPCA from a North Europe based VM
25
Some OPCA results (1/2)
DNS Rsolution TimeNetwork HOPS to Office 365Network Latency ( HTTP Ping) to Office 365Http latency to CDNClient download bandwith (Kbps)Should bereferenced from the master page->every page will make the 30 requests49
Top 5 performance issues
Top 1Navigation
Top 2Content Rollup
Top 3Large Files
Top 4Many Requests to Server
Top 5
A lot of Web Parts
Impact on aspx page
50
Front end Caching in SPO :a huge problem for MS
51
Use Azure Redis CacheUse the Azure Redis cacheEx to store session state data like to SharePoint contextBy default the SharePointContext class requires ASP.Net session state
In Proc mode ->not ok if several ASP.Net servers
More details here http://tinyurl.com/osst9xj
http://blogs.msdn.com/b/kaevans/archive/2014/09/28/making-sharepoint-apps-scale-with-azure-redis-cache.aspx52
53
Avoid ThrottlingSPO does user throttlingLimit number of user actions or concurrent callsIn 99% throttling is caused by custom code -> see throttling patternError 429 (too many requests) followed by Error 503 (service not available)Use the Office 365 Migration api (preview)Throttling patternReduce number of oepration per requestReduce number of requestsIncremental back off
54
SPO does user throttlingLimits number of concurrent calls99% throttling : custom codeError 429 (Too many requests)Error 503 (service not available)
O365 Migration API (Preview)
Throttling PatternReduce number operation /requestReduce number of RequestsIncremental Back Off
Workflow and throttling https://support.microsoft.com/en-us/kb/3076399Ex code that sync User profile info from HR (LOB system) if refresh rate is too highStatus indicator on team site that refreshes too frequently
55
O365 PnP Throttling pattern(incremental backoff)
429 = too many requests503 = service not available56
Predictive capacity:forecastingForecasts are for groups of farms in a zoneRequests in zoneRequests per farm
2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must reSharePoint Onlinend to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.11/11/201557
Predictive capacity: managing farmsAverage front end CPU load% CPUMonday Tuesday Wednesday ThursdayFriday
0% to 40 % - Operating zone40% to 85 % - Buffer85 to 100 % - Danger Zone
Front ends in content farms run at 40% CPUAs load increases, weadd capacity
2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must reSharePoint Onlinend to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.11/11/201558
Solution : rollout to all users in wavesDont do performance testings in SPOYou will be throttled
59
Thank You !
Questions ?
DocumentationSupport.office.comNetwork planning and performance tuning for Office 365
On MSDNNetwork planning and performance tuning for Office 365
https://www.microsoftvirtualacademy.com/en-us/training-courses/office-365-performance-management-841661
Sources (Part 1)MVA Course Office 365 Performance management
Office 365 Client Performance AnalyzerMicrosoft Azure Speed TestTop 10 Tips for Optimising & Troubleshooting your Office 365 Network Connectivity from Paul CollingeMS Ignite 2015 BRK4121 - Office 365 Network Performance Troubleshooting
https://www.microsoftvirtualacademy.com/en-us/training-courses/office-365-performance-management-841662