Download presentation
Presentation is loading. Please wait.
Published byFrancis Green Modified over 8 years ago
1
Gokan Ozcifci Microsoft Regional Lead, Offices and Servers MVP @xgokan
2
@xGokan GOLD Thank You Sponsors! BRONZE / PRIZES SILVER
3
@xGokan Gokan OZCIFCI SharePoint Architect. Microsoft Regional Lead. MVP @xGokan
4
Hi. I’m Gokan. Brussels, BELGIUMneoxy.be Most Valuable Professional Microsoft Regional Lead@xGokanhttp://gokan.ms
5
SharePoint on-premises Performances Find this session and all others here: https://docs.com/gokanozcifci https://docs.com/gokanozcifci
6
@xGokan just not possible to achieve a zero According to Microsoft: there are a few methods available to minimize the amount of downtime; however it’s just not possible to achieve a zero downtime solution for your upgrade. A common way to minimize downtime is via implementation of a parallel upgrade farm. I’ve the best topologie…
7
@xGokan Your job has changed It’s up to you to manage all components
8
Windows Server 640K ought to be enough for anybody. Bill Gates.
9
@xGokan Windows Server | Performance Windows Server performance options Computer > Properties > Advanced system settings > Performance > Settings > Visual Effects
10
@xGokan Windows Server | Page File Determine page file size Factor 1,5 of the server RAM. Ex: 8192 MB RAM x 1,5 = 12288 MB page file
11
@xGokan Windows Server | Power Options Use the proper power plan | High Performance Start > Control Panel > Power Options
12
@xGokan System, Log and Index files: C:\ G:\ H:\ Reduce Disk I/O System Index Logs
13
@xGokan 1ms Latency between servers should be less than 1ms Host all the servers in the same datacenter. /!\ If the datacenter has a problem, your SharePoint farm can be down /!\ Use a real Load Balancer N+1 Importance of a Load Balancer
14
@xGokan 3 is the new 2 | 7 is the new 5
15
@xGokan 3 is the new 2 | 7 is the new 5
16
@xGokan 3 is the new 2 | 7 is the new 5
17
@xGokan 3 is the new 2 | 7 is the new 5
18
SQL Server SELECT * FROM [Users] WHERE [Clue] > 0 No records found.
19
@xGokan SQL Server Collation Dedicated SQL Server For optimal performance when operating server farms, we recommend that you install SQL Server 2008 R2 with SP1 and SQL Server 2012 on a dedicated server that is not running other roles of farm and n 'not host databases for other Collation: Latin1_General_CI_AS_KS_WS
20
@xGokan SQL Server NTFS NTFS Allocation Unit Size: 64K 30% improvement in speed SQL reads and writes 64K at a time, but your disk allows only 4K by default. This change alone may show you up to 30% improvement in speed. Cannot be changed after wise. Format disk is necessary. “chkdsk [DRIVE]”. Move the LDF and MDFs to another drive. Vlad Catrinescu SQL Server eBook
21
@xGokan Set min. and max. Server /!\ Total amount memory x 0,80 /!\ The default value of SQL Server for Maximum Memory is : 2147483647 MB Maximum fill factor per index (80%) Autogrowth in MB and not % Activate backup compression It’s faster and needs less disks space Max Degree of Parallelism (MAXDOP) = 1 Prerequisite for SharePoint 2013/2016 SQL Server options
22
@xGokan 0 – Comply with CPU and memory 1 – Page file 3 – Disks 3.1 Allocation size 3.2 Alignment 2 – Power option « high perf. » 4.1 A dedicated server 4.2 RBS only if needed 4.3 Use an alias 5 – Instance parameters 5.1 Collation 5.2 Installation directory 5.3 Memory limits 5.4 Backup compression 5.5 Default directory 5.6 MAXDOP = 1 6 – System DBs 5.1 TEMPDB 5.2 MODEL 6 – SharePoint DBs 6.1 Autogrowth 6.2 Recovery option 6.3 Auto*
23
SharePoint Server I always take SharePoint with a grain of salt, …plus a slice of lemon, …and a shot of tequila.
24
@xGokan Web Application tier Set Quotas on all Web Applications Disable Certificate Revocation List Authentication Anonymous, Claims, Kerberos, NTLM, Forms, ADFS Wake-Up Scripts, WAF F5, AppDynamics Only extend if you have a different authentication protocol. 200 GB Fastest to slowest Limitation of Application Pools
25
@xGokan Web Application Tier 10 Application Pools (can be extended depending hardware) 20 web Applications per SharePoint Farm CRUD operations can cause downtime if more than 20 http://gokan.azurewebsites.net/2016/02/27/sharepoint-2016-quand-iis- server-fait-un-stopstart-sur-vos-application-pool-a-chaque-manipulation- sur-lapplication-web/ http://gokan.azurewebsites.net/2016/02/27/sharepoint-2016-quand-iis- server-fait-un-stopstart-sur-vos-application-pool-a-chaque-manipulation- sur-lapplication-web/
26
@xGokan SharePoint Server Distribute the load on multiple crawl servers If enterprise search is used /!\ Adjust crawling schedule Search driven websites are not as critical as Public facing websites. Content Crawling Group by Crawl outside business hours Days & Weekends
27
@xGokan Resource Requirements ComponentCPUNetworkDiskMemory Search administration *** Crawler ***** ** Content processing (CPC) ******** Analytics processing (APC) ******** Index ******** Query processing (QPC) ****
28
@xGokan Components Placement Search is the most resource intensive SharePoint service For Enterprise search env. what we do is: CPC & APC Admin & Crawl Index & Query Together on one server Together on second server Together on third server Credits Thomas Vochten Search Session
29
@xGokan Performance Level Explained Reduced PartlyReduced Maximum By default Total number of threads = 16 times the number of processors Set-SPEnterpriseSearchService -PerformanceLevel Reduced Total number of threads = number of processors Total number of threads = 4 times the number of processors
30
@xGokan Take advantage of caching Distributed cache Object cache Output cache Blob cache provides caching functionality to features (Authentication, Page Load…) Is used internally store properties of sites, page layouts, and pages. reduces the amount of traffic between the WFE and SQL Stores rendered output of all controls on a given page, and it also stores several different versions of this pre- rendered page. Disk-based cache that stores files that are used by web pages to help them load quickly in the browser, and reduces the load on the database server when it uses those files. https://karinebosch.wordpress.com/
31
@xGokan Logical decomposition Stop unnecessary services / Install only what you need Product Configuration Wizard, SQL Server Installation… Separate user and database traffic Create a Maintenance Plan IIS compression Between 0 and 10 Index degrafmentation 2 NICs
32
@xGokan Antivirus Check your Real time scan & Exclusions = /15 Drive:\ Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions Drive:\ Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Logs Drive:\ Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Data\Applications
33
@xGokan Using BranchCache to optimize WAN performance BranchCache is a feature of the Windows 7, 8, Windows Server 2008 R2 and 2012 Valuable in a geographically distributed SharePoint Server 2013 environment OneDrive for Business, OneNote, Word, Excel, Visio, PowerPoint F(x) = Every time a branch office user requests a cached file from SharePoint Server 2013, BranchCache checks to see if a more recent file exists on the server. If not, BranchCache will serve the cached version of the file. Will optimize WAN performance by caching large files
34
@xGokan SharePoint Health Score and Throttling Health Score Between 0 and 10, where 0 is the healthiest value
35
@xGokan SharePoint Health Score and Throttling Health Score Every HTTP Request, creates a threat and every threat calculates the value within the 5 seconds Between 0 and 10, where 0 is the healthiest value
36
@xGokan SharePoint Health Score and Throttling Health Score Every HTTP Request, creates a threat and every threat calculates the value within the 5 seconds Get-SPWebApplicationHttpThrottlingMonitor 11 Buckets Between 0 and 10, where 0 is the healthiest value Between 0 and 10
37
@xGokan SharePoint Health Score and Throttling Add a new category Add an array of buckets
38
@xGokan SharePoint Health Score and Throttling You can enable/disable the throttling via CA If the server can’t handle the requests
39
@xGokan MinRole
40
@xGokan MinRole In SharePoint 2013, the Distributed Cache size is set to half of ten percent of the total RAM on the server 8Gb RAM, the Cache Size (the allocation for data storage) is 410Mb. In SharePoint 2016, the Distributed Cache size is set to half of 80 percent of the total RAM so on a Server with 8Gb this will be 3276Mb. http://www.harbar.net/archive/2016/04/15/SharePoint-2016-Nugget-2-Distributed-Cache-Size-in-MinRole-Farms.aspx
41
@xGokan The top 5 performance killers are: Indexing and crawling SQL / SharePoint Backup Think cloud mon Backend Applications Storage state After Business hours if possible After Business hours Before Business Hours and once To be monitored Everything is behind the NAS/SAN
42
Office 365 Performances ALL ALL credits: Patrick Guimonet (@patricg) Helsinki Airport, Finnair Airbus A330-300 OH-LTU arriving from Bangkok as AY89.
43
@xGokan Tuning targets quick comparison Infrastructure should be configured following best practices and fully tuned Local network access is usually not an issue even if its configuration is sub-optimal Infrastructure is fully tuned and optimized by Microsoft Network access is critical and should be checked, and optimized if necessary Application code and logic should always be checked, and optimized – this is where we can find the greatest improvements Application code and logic should always be checked, and optimized – this is where we can find the greatest improvements
44
@xGokan Quick comparison made for ESPC15 Test 2 : From a VM hosted in Azure North Europe Region Test 1 : From a PC in Stockholm
45
@xGokan http://azurespeedtest.azurewebsites.net http://www.azurespeed.com Office Client Performance Analyzer /!\ Deprecate /!\ Know your nearest Office 365 Datacenter
46
@xGokan
47
From a legal perspective…
48
@xGokan
49
ExpressRoute for Office 365
50
@xGokan Measure Internal and External RTT Internal should be less than 100 ms, ideally 50 ms EMEA to EMEA should be less than 150 ms But for SharePoint 350 to 400 ms is the tipping between good and bad performances aka Edge or Egress point
51
@xGokan And inside SharePoint online ? SPRequestDuration This is the amount of time that the request took on the server to be processed. This is the best insight you have into how much work the server is doing to serve the page. X-SharePointHealthScore This indicated the health of the server Diagnosing performance issues with SharePoint Online https://support.office.com/en-us/article/Diagnosing-performance-issues-with-SharePoint-Online-3c364f9e-b9f6-4da4-a792-c8e8c8cd2e86
52
@xGokan You can’t rely on the object cache
53
@xGokan Optimization best practices in SharePoint online Navigation Adapt navigation method to your sites structure OOTB structural navigation Managed metadata navigation Search-driven navigation Adapt content rollup method to your needs (From Slowest to Fastest) Content By Query web part (CQWP) Content By Search web part (CSWP) Static content Static content in CDN Image renditions complex structure of multiple subsites Not automatically updated to reflect site structure Requires customization of the master page
54
@xGokan How Microsoft do capacity planning and How you should deploy to SharePoint Online
55
@xGokan Documentation Support.office.com Network planning and performance tuning for Office 365 On MSDN Network planning and performance tuning for Office 365
56
Questions? hello@neoxy.b e © 2015 Neoxy SPRL-S, tous droits réservés Toute reproduction interdite sans l'autorisation de l'auteur.
57
@xGokan Thank you! Toronto Enterprise Collaboration User Group Change Management, Governance, SharePoint, Office 365, Yammer, PowerBI, etc http://www.meetup.com/TSPBUG/ http://www.meetup.com/TSPBUG/ Toronto SharePoint Users Group http://tspug.com/ THANK YOU & See you next year! Join us for SharePint after the event @ 5:30pm 6982 Financial Dr. and don’t forget to submit feedback after each session for your chance to win great prizes at the end of the day! https://www.surveymonkey.com/r/spstoronto2016
58
hello@neoxy.b e © 2015 Neoxy SPRL-S, tous droits réservés Toute reproduction interdite sans l'autorisation de l'auteur. Merci!
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.