SharePoint 2013 Performance Analysis - Robi Vončina

Performance Analysis 
SharePoint 2013 
Robi Voncina 
SharePoint Server MVP
SharePoint 2013 Performance Analysis - Robi Vončina
Robi Vončina 
• Degree in economics 
• Started as MS Office instructor 
• System administrator 
• I started working with SharePoint from 2003 
version on 
• Leader of SloSPUG 
• MVP, MCSE, MCT
Agenda 
• Intro 
• Tools 
• Perfmon 
• Client Tools 
• SP Tools 
• IIS Tools 
• VS 
• Configuration
Measure the end user experience
Performance Pyramid 
User 
LAN & WAN 
Traffic 
Configuration 
Server Performance
Tools
Performance Monitor
Performance Monitor 
LAN & 
WAN 
Traffic 
User 
Configuration 
Server Performance
Performance Monitor settings 
• The Process object in Performance Monitor can display Process IDs (PIDs) 
• http://support.microsoft.com/kb/281884 
• Click Start, click Run, type regedit, and then click OK. 
• Locate and then click the following registry subkey:HKEY_LOCAL_MACHINESYST 
EMCurrentControlSetServicesPerfProcPerformance 
• On the Edit menu, click New, and then click DWORD Value. 
• Right-click New Value #1, click Rename, and then type ProcessNameFormat to 
name the new value. 
• Right-click ProcessNameFormat, and then click Modify. 
• In the Data value box, type one of the following values, and then click OK: 
• 1: Disables PID data. This value is the default value. 
• 2: Enables PID data. 
• Exit Registry Editor.
Performance Monitor 
• .NET CLR Exceptions 
• .NET CLR Loading 
• .NET CLR Memory 
• .NET Networking 
• ASP.NET 
• ASP.NET Applications 
• Memory 
• Network Interface 
• Physical Disk 
• Process 
• Processor 
• System 
• Web Service 
• Web Service Cache 
• Office Server Search Archival Plugin 
• Office Server Search Gatherer 
• Add the Threads object when 
troubleshooting CPU Spikes/CPU 
high utilization. 
• Make sure to use "Run As" so we 
can accurately capture the .NET 
counters. This should be run as the 
same account as the application 
pool. 
• Setup performance logging at 5 
second intervals. 
• Select the Log Files tab and 
Configure button and set 
the preferred directory path and 
file name. Limit the log file size to 
250 MB and hit OK.
Using Perfmon 
• Create baseline performance monitoring 
• Compare baseline to performance monitoring when troubleshooting
• Generic Counters 
• Counter NameLook for… 
• MemoryAvailable BytesMore than 500 MB (SQL is different) 
• MemoryPages/SecAre we paging? 
• Processor(_Total)% Processor TimeAnywhere above70% means you 
might 
• having queuing 
• PhysicalDisk%perdisk%)Avg. Disk Queue 
• Length 
• Less than 2-5 per cluster 
• Drill down to reads/writes queue length 
• PhysicalDisk(%perdisk%)Disk Writes/secLook for constanthigh values 
• PhysicalDisk(%perdisk%)Avg.Disk 
• sec/Transfer 
• Less than 20milliseconds 
• Network Interface([network 
• interface])Output Queue Length 
• 0 
• Network Interface([network 
• interface])Bytes Total/sec 
• make sure you’re up to 50% of network 
• capacity 
• ASP.Net 
• ASP.NET Apps v4.0.30319(__Total__)Request 
• Execution Time < 0.5 seconds 
Keepin mind network and rendering times 
• ASP.NET Apps v4.0.30319 (__Total__)Requests/Sec 
• Rough indication of RPS 
• ASP.NET Apps v4.0.30319 (__Total__)Request Wait 
Time 
• Are requests gettingqueued? 
• ASP.NetWorker Process Restarts 
• Are we crashing often? 
• ProcessVirtual Bytes> 4GB is suspicious
Counters to look for: 
SharePoint 
Monitor cache performance in SharePoint 2013 
http://technet.microsoft.com/en-us/library/ff934623(v=office.15).aspx 
• SharepointPublishing Cache(/)Object cache flushes 
/ second 
• Cache flushes are bad! 
• SharepointPublishingCache(/)Object Cache Hit 
Ratio 
• >99% (cache hit vs cache miss) 
• SharepointPublishing Cache(/)Object Cache Misses 
/ sec 
• Close to 0 
• BLOB cache, ASP.NET output cache, object cache 
SQL 
• Focus on CPU and Disk IO 
• SQLServer:Locks(_Total)Average Wait Time 
(ms) 
• 0 
• SQLServer:Locks(_Total)Number of 
Deadlocks/sec 
• 0 
• SQLServer:AccessMethodsFull Scans/sec 
• < 100. Full scans are bad 
• SQLServer:GeneralStatisticsUser Connections 
Look at trend: make sure we’re not leaking 
• SQLServer:CacheManagerCache Hit Ratio 
• > 85% 
• Do we need to add more memory?
DEMO
Client Tools
Browser Timers 
LAN & 
WAN 
Traffic 
User 
Configuration 
Server Performance
Fiddler 
• Flagging performance bottlenecks 
• Profiling the performance of your web app 
• Timeline for performance analysis 
• Simulate HTTP compression 
• Taking advantage of HTTP caching
Fiddler Add-Ons 
• Fiddler Html Inspector Part 3 | elastacloud = azurecoder + bareweb 
• http://blog.elastacloud.com/2010/12/09/fiddlerhtmlinspector/ 
• Download Microsoft neXpert Performance Analysis Plugin from Official 
Microsoft Download Center 
• http://www.microsoft.com/en-us/download/details.aspx?id=11729 
• StresStimulus | Load Testing Tool - Fiddler Extension 
• http://stresstimulus.stimulustechnology.com/
Fiddler Performance evaluation 
• Statistics 
• Request count 
• Bytes received 
• Session list 
• Body 
• Caching 
• Consolidation 
• Inspectors 
• Compression 
• Minification 
• Timeline
DEMO 
• Load Test Reports 
• file:///C:/Users/robi/Documents/Fiddler2/StresStimulus/SPCAdriatics_20 
14_10_15_16_19_18_997.htm 
• file:///C:UsersrobiDesktopXnetTecajiSPCAdriatics2014neXpert_151 
02014163139.html
Network Sniffers 
LAN & 
WAN 
Traffic 
User 
Configuration 
Server Performance
Visual Round Trip Analyzer and Network Monitor 
• Analyses Web against list of known best 
practices 
• Expiration Date 
• Bandwidth Efficiency 
• Time to First Byte 
• Image clustering 
• Utility Spotlight: 12 Steps To Faster Web 
Pages With Visual Round Trip Analyzer 
• http://msdn.microsoft.com/en-us/ 
magazine/dd188562.aspx
DEMO
SharePoint Tools
Developer Dashboard 
• Enable Dev Dashboard – Off by default 
$svc = 
[Microsoft.SharePoint.Administration.SPWebService]::ContentService 
$dds = $svc.DeveloperDashboardSettings 
$dds.DisplayLevel = "On" 
$dds.Update() 
• All request 
• SQL queries running against each request 
• ULS Logs 
• MDS
DEMO
IIS Tools
Log Parser 
• Log parser is a powerful, versatile tool that provides universal query 
access to text-based data such as log files, XML files and CSV files, as well 
as key data sources on the Windows operating system such as the Event 
Log, the Registry, the file system, and Active Directory 
• Demo queries 
Log Parser Rocks! More than 50 Examples! | LichtenBytes 
http://mlichtenberg.wordpress.com/2011/02/03/log-parser-rocks-more-than-50- 
examples/ 
• Uses SQL statements to query logs
Log Parser Charts 
• Download Office 2003 Add-in: Office Web Components from Official 
Microsoft Download Center 
• http://www.microsoft.com/en-us/download/details.aspx?id=22276
DEMO
Load Testing with Visual 
Studio
Load Testing 
LAN & 
WAN 
Traffic 
User 
Configuration 
Server Performance
What You Need 
• Visual Studio Ultimate 
• Windows 7/8 
• Windows Server 2012/2012 R2 
• A test environment 
• Nerves of steel
Terms 
• Performance Testing 
• Does it work? 
• Load Testing 
• Does it really work? 
• Stress Testing 
• When does it stop working? 
• Capacity or Scale Testing 
• Will it work for us?
More Terms 
• Solution 
• One or more projects 
• Project 
• One or more tests 
• Web Test 
• A series of web requests 
• Can be one or more pages or actions 
• Load Test 
• Execution of one or more web tests 
• Has settings like browser, networks, users
Project
Create Web Test 
• Record steps in Internet Explorer 
• Make sure recording bits work 
• Easier on workstation 
• One type of request per web test 
• Can also create with Fiddler
Create Load Test 
• Add web tests to load test 
• Pick network profile 
• Pick browser profile 
• Can add multiple workstations to test 
• Can monitor servers from VS 
• Can export results to Excel
Add Network Shims 
• Needed to simulate network connections 
• C:Program Files (x86)Microsoft Visual Studio 
12.0Common7IDEVSTestConfig.exe networkemulation /install 
• Save results to SQL 
• C:Program Files (x86)Microsoft Visual Studio 
12.0Common7IDEloadtestrepository.sql
DEMO
Configuration
Infrastructure 
• Capacity planning for SharePoint 
Server 2013 
• http://technet.microsoft.com/en-us/ 
library/ff758645(v=office.15).aspx 
• Hardware and software 
requirements for SharePoint 2013 
• http://technet.microsoft.com/en-us/ 
library/cc262485(v=office.15).asp 
x 
Component Minimum requirement 
Processor •64-bit, 4 cores for small deployments (fewer 
than 1,000 users) 
•64-bit, 8 cores for medium deployments 
(between 1,000 to 10,000 users) 
RAM •8 GB for small deployments (fewer than 1,000 
users) 
•16 GB for medium deployments (between 1,000 
to 10,000 users) 
For large deployments over 10,000 users, see the 
"Estimate memory requirements" section 
in Storage and SQL Server capacity planning and 
configuration (SharePoint Server 2010). This 
document does not apply to search in SharePoint 
2013. 
These values are larger than those recommended 
as the minimum values for SQL Server because of 
the distribution of data that is required for a 
SharePoint 2013 environment. For more 
information about SQL Server system 
requirements, see Hardware and Software 
Requirements for Installing SQL Server 2008 R2. 
Hard disk 80 GB for system drive 
Hard disk space depends on how much content 
that you have in your deployment. For 
information about how to estimate the amount of 
content and other databases for your 
deployment, see Storage and SQL Server capacity 
planning and configuration (SharePoint Server 
2010).
Database maintanance 
• Download Database Maintenance for Microsoft SharePoint 2010 Products 
from Official Microsoft Download Center 
• http://www.microsoft.com/en-us/download/details.aspx?id=24282
SharePoint Caching 
• Page 
• First request served from DB 
• Subsequent requests for same 
resource read from memory 
• Disk 
• File system objects 
• Database objects not cached 
• Object 
• Cross site queries 
• Publishing Features Enabled 
• Output cache 
• Object cache 
• Max Cache Size 
• Disk cache – Web.config 
• BLOBs
IIS Compression 
• Turned On but not configured 
• Reduces size of files 
• Caches compressed content on disk 
• Increases CPU utilization 
• Compression range from 0-9 
• Does not effect dynamic content 
retrieved from Database 
• No UI, must run script 
Appcmd set config /section:httpCompression – 
[name='gzip'].dynamicCompressionLevel:9 
Appcmd set config /section:httpCompression – 
[name='gzip'].staticCompressionLevel:9
Throttling and Locks 
• SQL Server escalates row locks to table locks >5000 items 
• Query throttling reduces the impact of any single request by limiting the 
amount of data queried
Branding 
• Minify javascript and CSS files 
• Images stiching (CSS sprites) 
• Better perfomance with few large 
files than lots of small files 
• Store CSS, master pages on file 
system 
• („/_layouts“ folder) 
• SpriteMe 
• http://spriteme.org/ 
• Images Folder or Layouts -- 
_layoutsimages 
• Cache-Control: max-age=31536000 
• Client does not always ask if newer 
version exists 
• Document or Images Library 
• Cache-Control: Max-age=0 
• Expires: Current Date minus 2 weeks 
• Client always ask if newer version 
exists –fix use blob caching
List items 
• List and libraries can hold millions of items – doesn‘t mean they should 
• All user content in entire site collection is stored in single table in the 
content database 
• Folders improve view performance NOT query performance
List definitions 
• Columns 
• Lookup columns 
• More columns more SQL rows 
• Can drastically reduce performance
Custom code 
• Web.Lists[“Documents”] 
• 1 RT, 252 Read IOps 
• Web.GetList(“/Shared Documents”) 
• 1 RT, 8 Read IOps 
• ScriptLink.Register(“sp.js”); 
• 2.0 second delay of page content 
display (at 1mbps) 
• 3 other JS files automatically registered 
• ScriptLink.RegisterOnDemand(“sp.js 
”); 
• 0.0 second delay of page content 
display 
• List.Items.Count vs. List.ItemCount 
• SPQuery is your friend 
• Disposing objects
Free Tool for Monitoring 
• SharePoint Performance Monitor 
• http://www.idera.com/productssolutions/freetools/spperformancemonitor
questions? 
Hvala za pozornost… 
Vprašanja??
thank you. 
SHAREPOINT AND PROJECT CONFERENCE ADRIATICS 
ZAGREB, 10/15/2014 - 10/16/2014
1 de 54

Recomendados

SharePoint Performance Optimization In 10 Steps for the IT Professional por
SharePoint Performance Optimization In 10 Steps for the IT ProfessionalSharePoint Performance Optimization In 10 Steps for the IT Professional
SharePoint Performance Optimization In 10 Steps for the IT ProfessionalJoel Oleson
21K vistas44 diapositivas
SharePoint Performance: Best Practices from the Field por
SharePoint Performance: Best Practices from the FieldSharePoint Performance: Best Practices from the Field
SharePoint Performance: Best Practices from the FieldJason Himmelstein
3K vistas26 diapositivas
SharePoint 2010 Boost your farm performance! por
SharePoint 2010 Boost your farm performance!SharePoint 2010 Boost your farm performance!
SharePoint 2010 Boost your farm performance!Brian Culver
3.9K vistas49 diapositivas
SharePoint 2013 Performance Enhancements por
SharePoint 2013 Performance EnhancementsSharePoint 2013 Performance Enhancements
SharePoint 2013 Performance EnhancementsEric Shupps
8.9K vistas23 diapositivas
SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about... por
SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about...SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about...
SharePoint Saturday St. Louis 2014: What SharePoint Admins need to know about...J.D. Wade
1.7K vistas72 diapositivas
Tuning SQL Server for Sharepoint 2013- What every sharepoint consultant need... por
Tuning SQL Server for Sharepoint 2013-  What every sharepoint consultant need...Tuning SQL Server for Sharepoint 2013-  What every sharepoint consultant need...
Tuning SQL Server for Sharepoint 2013- What every sharepoint consultant need...serge luca
2.4K vistas50 diapositivas

Más contenido relacionado

La actualidad más candente

What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013 por
What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013
What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013J.D. Wade
3.3K vistas96 diapositivas
SharePoint Topology por
SharePoint Topology SharePoint Topology
SharePoint Topology Information Technology
4.7K vistas39 diapositivas
SharePoint Microsoft IT - Swiss Presentation with Joel and Andre por
SharePoint Microsoft IT - Swiss Presentation with Joel and AndreSharePoint Microsoft IT - Swiss Presentation with Joel and Andre
SharePoint Microsoft IT - Swiss Presentation with Joel and AndreJoel Oleson
594 vistas11 diapositivas
Developing a provider hosted share point app por
Developing a provider hosted share point appDeveloping a provider hosted share point app
Developing a provider hosted share point appTalbott Crowell
4K vistas28 diapositivas
Boost the Performance of SharePoint Today! por
Boost the Performance of SharePoint Today!Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!Brian Culver
2.4K vistas49 diapositivas
Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016 por
Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016
Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016Alistair Pugin
906 vistas26 diapositivas

La actualidad más candente(20)

What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013 por J.D. Wade
What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013
What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013
J.D. Wade3.3K vistas
SharePoint Microsoft IT - Swiss Presentation with Joel and Andre por Joel Oleson
SharePoint Microsoft IT - Swiss Presentation with Joel and AndreSharePoint Microsoft IT - Swiss Presentation with Joel and Andre
SharePoint Microsoft IT - Swiss Presentation with Joel and Andre
Joel Oleson594 vistas
Developing a provider hosted share point app por Talbott Crowell
Developing a provider hosted share point appDeveloping a provider hosted share point app
Developing a provider hosted share point app
Talbott Crowell4K vistas
Boost the Performance of SharePoint Today! por Brian Culver
Boost the Performance of SharePoint Today!Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!
Brian Culver2.4K vistas
Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016 por Alistair Pugin
Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016
Effective SharePoint Architecture - SharePoint Saturday Stockholm 2016
Alistair Pugin906 vistas
SharePoint On-Premises Nirvana por John Calvert
SharePoint On-Premises NirvanaSharePoint On-Premises Nirvana
SharePoint On-Premises Nirvana
John Calvert576 vistas
What SQL DBAs need to know about SharePoint-Indianapolis 2013 por J.D. Wade
What SQL DBAs need to know about SharePoint-Indianapolis 2013What SQL DBAs need to know about SharePoint-Indianapolis 2013
What SQL DBAs need to know about SharePoint-Indianapolis 2013
J.D. Wade4.3K vistas
Upgrading to SharePoint 2010 - Teched Middle East por Joel Oleson
Upgrading to SharePoint 2010 - Teched Middle EastUpgrading to SharePoint 2010 - Teched Middle East
Upgrading to SharePoint 2010 - Teched Middle East
Joel Oleson1K vistas
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M... por Datapolis
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...
Datapolis Guest Expert Presentation: Top 15 SharePoint Server Configuration M...
Datapolis537 vistas
SharePoint 2010 Upgrade Drill Down por Joel Oleson
SharePoint 2010 Upgrade Drill DownSharePoint 2010 Upgrade Drill Down
SharePoint 2010 Upgrade Drill Down
Joel Oleson1.3K vistas
SharePoint 2016 Adoption - Lessons Learned and Advanced Troubleshooting por John Calvert
SharePoint 2016 Adoption - Lessons Learned and Advanced TroubleshootingSharePoint 2016 Adoption - Lessons Learned and Advanced Troubleshooting
SharePoint 2016 Adoption - Lessons Learned and Advanced Troubleshooting
John Calvert568 vistas
SharePoint 2010 Upgrade Best Practices Teched Brazil by Joel Oleson por Joel Oleson
SharePoint 2010 Upgrade Best Practices Teched Brazil by Joel OlesonSharePoint 2010 Upgrade Best Practices Teched Brazil by Joel Oleson
SharePoint 2010 Upgrade Best Practices Teched Brazil by Joel Oleson
Joel Oleson1.6K vistas
SPS Kansas City: What SharePoint Admin need to know about SQL por J.D. Wade
SPS Kansas City: What SharePoint Admin need to know about SQLSPS Kansas City: What SharePoint Admin need to know about SQL
SPS Kansas City: What SharePoint Admin need to know about SQL
J.D. Wade1.6K vistas
What SharePoint Admins need to know about SQL-Cinncinati por J.D. Wade
What SharePoint Admins need to know about SQL-CinncinatiWhat SharePoint Admins need to know about SQL-Cinncinati
What SharePoint Admins need to know about SQL-Cinncinati
J.D. Wade630 vistas
SharePoint 2010 Upgrade Best Practices Croatia por Joel Oleson
SharePoint 2010 Upgrade Best Practices CroatiaSharePoint 2010 Upgrade Best Practices Croatia
SharePoint 2010 Upgrade Best Practices Croatia
Joel Oleson2K vistas
Ultimate SharePoint 2013 Infrastructure Best Practices Session - SPKSLO 2012 por Michael Noel
Ultimate SharePoint 2013 Infrastructure Best Practices Session - SPKSLO 2012Ultimate SharePoint 2013 Infrastructure Best Practices Session - SPKSLO 2012
Ultimate SharePoint 2013 Infrastructure Best Practices Session - SPKSLO 2012
Michael Noel26.8K vistas
O365con14 - sharepoint 2013 and office 365 upgrade and migration por NCCOMMS
O365con14 - sharepoint 2013 and office 365 upgrade and migrationO365con14 - sharepoint 2013 and office 365 upgrade and migration
O365con14 - sharepoint 2013 and office 365 upgrade and migration
NCCOMMS555 vistas
Best Practice SharePoint Architecture por Michael Noel
Best Practice SharePoint ArchitectureBest Practice SharePoint Architecture
Best Practice SharePoint Architecture
Michael Noel7.8K vistas

Destacado

Optimizing ASP.NET application performance: tough but necessary por
Optimizing ASP.NET application performance: tough but necessaryOptimizing ASP.NET application performance: tough but necessary
Optimizing ASP.NET application performance: tough but necessarySergejus Barinovas
4.3K vistas26 diapositivas
SharePoint Server 2013 Farm Architecture and Performance by Ben Curry - SPTec... por
SharePoint Server 2013 Farm Architecture and Performance by Ben Curry - SPTec...SharePoint Server 2013 Farm Architecture and Performance by Ben Curry - SPTec...
SharePoint Server 2013 Farm Architecture and Performance by Ben Curry - SPTec...SPTechCon
16.5K vistas54 diapositivas
Sharepoint saturday philly james tramel presentation por
Sharepoint saturday philly james tramel presentationSharepoint saturday philly james tramel presentation
Sharepoint saturday philly james tramel presentationCapTech Ventures Inc
463 vistas40 diapositivas
SPS Toronto - Troubleshooting On-Premises SharePoint por
SPS Toronto - Troubleshooting On-Premises SharePointSPS Toronto - Troubleshooting On-Premises SharePoint
SPS Toronto - Troubleshooting On-Premises SharePointJason Warren
583 vistas23 diapositivas
SharePoint in Clouds - Autoprovisioned apps with SharePoint 2013 por
SharePoint in Clouds - Autoprovisioned apps with SharePoint 2013SharePoint in Clouds - Autoprovisioned apps with SharePoint 2013
SharePoint in Clouds - Autoprovisioned apps with SharePoint 2013Adis Jugo
616 vistas31 diapositivas
ESPC15 T8 - SharePoint Online performances - Serge Luca & Patrick Guimonet por
ESPC15 T8 - SharePoint Online performances - Serge Luca & Patrick GuimonetESPC15 T8 - SharePoint Online performances - Serge Luca & Patrick Guimonet
ESPC15 T8 - SharePoint Online performances - Serge Luca & Patrick GuimonetPatrick Guimonet
5.3K vistas60 diapositivas

Destacado(8)

Optimizing ASP.NET application performance: tough but necessary por Sergejus Barinovas
Optimizing ASP.NET application performance: tough but necessaryOptimizing ASP.NET application performance: tough but necessary
Optimizing ASP.NET application performance: tough but necessary
Sergejus Barinovas4.3K vistas
SharePoint Server 2013 Farm Architecture and Performance by Ben Curry - SPTec... por SPTechCon
SharePoint Server 2013 Farm Architecture and Performance by Ben Curry - SPTec...SharePoint Server 2013 Farm Architecture and Performance by Ben Curry - SPTec...
SharePoint Server 2013 Farm Architecture and Performance by Ben Curry - SPTec...
SPTechCon16.5K vistas
Sharepoint saturday philly james tramel presentation por CapTech Ventures Inc
Sharepoint saturday philly james tramel presentationSharepoint saturday philly james tramel presentation
Sharepoint saturday philly james tramel presentation
SPS Toronto - Troubleshooting On-Premises SharePoint por Jason Warren
SPS Toronto - Troubleshooting On-Premises SharePointSPS Toronto - Troubleshooting On-Premises SharePoint
SPS Toronto - Troubleshooting On-Premises SharePoint
Jason Warren583 vistas
SharePoint in Clouds - Autoprovisioned apps with SharePoint 2013 por Adis Jugo
SharePoint in Clouds - Autoprovisioned apps with SharePoint 2013SharePoint in Clouds - Autoprovisioned apps with SharePoint 2013
SharePoint in Clouds - Autoprovisioned apps with SharePoint 2013
Adis Jugo616 vistas
ESPC15 T8 - SharePoint Online performances - Serge Luca & Patrick Guimonet por Patrick Guimonet
ESPC15 T8 - SharePoint Online performances - Serge Luca & Patrick GuimonetESPC15 T8 - SharePoint Online performances - Serge Luca & Patrick Guimonet
ESPC15 T8 - SharePoint Online performances - Serge Luca & Patrick Guimonet
Patrick Guimonet5.3K vistas
SharePoint Configuration Management – Effective Techniques for Regulated Shar... por Montrium
SharePoint Configuration Management – Effective Techniques for Regulated Shar...SharePoint Configuration Management – Effective Techniques for Regulated Shar...
SharePoint Configuration Management – Effective Techniques for Regulated Shar...
Montrium9K vistas
Don't Suck at SharePoint - Avoid the common mistakes por Benjamin Niaulin
Don't Suck at SharePoint - Avoid the common mistakesDon't Suck at SharePoint - Avoid the common mistakes
Don't Suck at SharePoint - Avoid the common mistakes
Benjamin Niaulin272.7K vistas

Similar a SharePoint 2013 Performance Analysis - Robi Vončina

SPSUtah 2014 SharePoint 2013 Performance (Admin) por
SPSUtah 2014 SharePoint 2013 Performance (Admin)SPSUtah 2014 SharePoint 2013 Performance (Admin)
SPSUtah 2014 SharePoint 2013 Performance (Admin)Brian Culver
1.2K vistas50 diapositivas
SQL Explore 2012: P&T Part 1 por
SQL Explore 2012: P&T Part 1SQL Explore 2012: P&T Part 1
SQL Explore 2012: P&T Part 1sqlserver.co.il
818 vistas84 diapositivas
SharePoint Saturday San Antonio: SharePoint 2010 Performance por
SharePoint Saturday San Antonio: SharePoint 2010 PerformanceSharePoint Saturday San Antonio: SharePoint 2010 Performance
SharePoint Saturday San Antonio: SharePoint 2010 PerformanceBrian Culver
805 vistas48 diapositivas
Tuning Your SharePoint Environment por
Tuning Your SharePoint EnvironmentTuning Your SharePoint Environment
Tuning Your SharePoint Environmentvmaximiuk
1.6K vistas34 diapositivas
How_To_Soup_Up_Your_Farm por
How_To_Soup_Up_Your_FarmHow_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_FarmNigel Price
84 vistas32 diapositivas
SharePoint Saturday The Conference 2011 - SP2010 Performance por
SharePoint Saturday The Conference 2011 - SP2010 PerformanceSharePoint Saturday The Conference 2011 - SP2010 Performance
SharePoint Saturday The Conference 2011 - SP2010 PerformanceBrian Culver
1.1K vistas53 diapositivas

Similar a SharePoint 2013 Performance Analysis - Robi Vončina(20)

SPSUtah 2014 SharePoint 2013 Performance (Admin) por Brian Culver
SPSUtah 2014 SharePoint 2013 Performance (Admin)SPSUtah 2014 SharePoint 2013 Performance (Admin)
SPSUtah 2014 SharePoint 2013 Performance (Admin)
Brian Culver1.2K vistas
SharePoint Saturday San Antonio: SharePoint 2010 Performance por Brian Culver
SharePoint Saturday San Antonio: SharePoint 2010 PerformanceSharePoint Saturday San Antonio: SharePoint 2010 Performance
SharePoint Saturday San Antonio: SharePoint 2010 Performance
Brian Culver805 vistas
Tuning Your SharePoint Environment por vmaximiuk
Tuning Your SharePoint EnvironmentTuning Your SharePoint Environment
Tuning Your SharePoint Environment
vmaximiuk1.6K vistas
How_To_Soup_Up_Your_Farm por Nigel Price
How_To_Soup_Up_Your_FarmHow_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_Farm
Nigel Price84 vistas
SharePoint Saturday The Conference 2011 - SP2010 Performance por Brian Culver
SharePoint Saturday The Conference 2011 - SP2010 PerformanceSharePoint Saturday The Conference 2011 - SP2010 Performance
SharePoint Saturday The Conference 2011 - SP2010 Performance
Brian Culver1.1K vistas
Pre and post tips to installing sql server correctly por Antonios Chatzipavlis
Pre and post tips to installing sql server correctlyPre and post tips to installing sql server correctly
Pre and post tips to installing sql server correctly
Antonios Chatzipavlis1.4K vistas
ECMDay2015 - Kent Agerlund – Configuration Manager 2012 – A Site Review por Kenny Buntinx
ECMDay2015 - Kent Agerlund – Configuration Manager 2012 – A Site ReviewECMDay2015 - Kent Agerlund – Configuration Manager 2012 – A Site Review
ECMDay2015 - Kent Agerlund – Configuration Manager 2012 – A Site Review
Kenny Buntinx600 vistas
SPSNYC SharePoint Worst Practices por Scott Hoag
SPSNYC SharePoint Worst PracticesSPSNYC SharePoint Worst Practices
SPSNYC SharePoint Worst Practices
Scott Hoag1.2K vistas
What SQL DBA's need to know about SharePoint por J.D. Wade
What SQL DBA's need to know about SharePointWhat SQL DBA's need to know about SharePoint
What SQL DBA's need to know about SharePoint
J.D. Wade652 vistas
be the captain of your connections deployment por Sharon James
be the captain of your connections deploymentbe the captain of your connections deployment
be the captain of your connections deployment
Sharon James421 vistas
SQLSaturday 664 - Troubleshoot SQL Server performance problems like a Microso... por Marek Maśko
SQLSaturday 664 - Troubleshoot SQL Server performance problems like a Microso...SQLSaturday 664 - Troubleshoot SQL Server performance problems like a Microso...
SQLSaturday 664 - Troubleshoot SQL Server performance problems like a Microso...
Marek Maśko94 vistas
How to Do a Performance Audit of Your .NET Website por DNN
How to Do a Performance Audit of Your .NET WebsiteHow to Do a Performance Audit of Your .NET Website
How to Do a Performance Audit of Your .NET Website
DNN4K vistas
More Cache for Less Cash (DevLink 2014) por Michael Collier
More Cache for Less Cash (DevLink 2014)More Cache for Less Cash (DevLink 2014)
More Cache for Less Cash (DevLink 2014)
Michael Collier8K vistas
Database continuous integration, unit test and functional test por Harry Zheng
Database continuous integration, unit test and functional testDatabase continuous integration, unit test and functional test
Database continuous integration, unit test and functional test
Harry Zheng1.6K vistas
SharePoint Development Workshop por MJ Ferdous
SharePoint Development WorkshopSharePoint Development Workshop
SharePoint Development Workshop
MJ Ferdous1K vistas
What's new in SharePoint 2016 por Giuseppe Marchi
What's new in SharePoint 2016What's new in SharePoint 2016
What's new in SharePoint 2016
Giuseppe Marchi1.8K vistas
Silicon Valley Code Camp 2015 - Advanced MongoDB - The Sequel por Daniel Coupal
Silicon Valley Code Camp 2015 - Advanced MongoDB - The SequelSilicon Valley Code Camp 2015 - Advanced MongoDB - The Sequel
Silicon Valley Code Camp 2015 - Advanced MongoDB - The Sequel
Daniel Coupal620 vistas

Más de SPC Adriatics

How to secure your data in Office 365 por
How to secure your data in Office 365 How to secure your data in Office 365
How to secure your data in Office 365 SPC Adriatics
682 vistas25 diapositivas
Do you know, where your sensitive data is? por
Do you know, where your sensitive data is?Do you know, where your sensitive data is?
Do you know, where your sensitive data is?SPC Adriatics
647 vistas22 diapositivas
Securing Intellectual Property using Azure Rights Management Services por
Securing Intellectual Property using Azure Rights Management ServicesSecuring Intellectual Property using Azure Rights Management Services
Securing Intellectual Property using Azure Rights Management ServicesSPC Adriatics
749 vistas27 diapositivas
Creating Workflows in Project Online por
Creating Workflows in Project OnlineCreating Workflows in Project Online
Creating Workflows in Project OnlineSPC Adriatics
1.4K vistas15 diapositivas
Faster than a flash behind the scenes of patching SharePoint Online por
Faster than a flash   behind the scenes of patching SharePoint OnlineFaster than a flash   behind the scenes of patching SharePoint Online
Faster than a flash behind the scenes of patching SharePoint OnlineSPC Adriatics
366 vistas29 diapositivas
Role based views in Project and Resource Center por
Role based views in Project and Resource CenterRole based views in Project and Resource Center
Role based views in Project and Resource CenterSPC Adriatics
249 vistas20 diapositivas

Más de SPC Adriatics(20)

How to secure your data in Office 365 por SPC Adriatics
How to secure your data in Office 365 How to secure your data in Office 365
How to secure your data in Office 365
SPC Adriatics682 vistas
Do you know, where your sensitive data is? por SPC Adriatics
Do you know, where your sensitive data is?Do you know, where your sensitive data is?
Do you know, where your sensitive data is?
SPC Adriatics647 vistas
Securing Intellectual Property using Azure Rights Management Services por SPC Adriatics
Securing Intellectual Property using Azure Rights Management ServicesSecuring Intellectual Property using Azure Rights Management Services
Securing Intellectual Property using Azure Rights Management Services
SPC Adriatics749 vistas
Creating Workflows in Project Online por SPC Adriatics
Creating Workflows in Project OnlineCreating Workflows in Project Online
Creating Workflows in Project Online
SPC Adriatics1.4K vistas
Faster than a flash behind the scenes of patching SharePoint Online por SPC Adriatics
Faster than a flash   behind the scenes of patching SharePoint OnlineFaster than a flash   behind the scenes of patching SharePoint Online
Faster than a flash behind the scenes of patching SharePoint Online
SPC Adriatics366 vistas
Role based views in Project and Resource Center por SPC Adriatics
Role based views in Project and Resource CenterRole based views in Project and Resource Center
Role based views in Project and Resource Center
SPC Adriatics249 vistas
OneDrive, TwoDrive, Whiterive, BlueDrive (hahaha) por SPC Adriatics
OneDrive, TwoDrive, Whiterive, BlueDrive (hahaha)OneDrive, TwoDrive, Whiterive, BlueDrive (hahaha)
OneDrive, TwoDrive, Whiterive, BlueDrive (hahaha)
SPC Adriatics681 vistas
SharePoint Governance and Compliance por SPC Adriatics
SharePoint Governance and ComplianceSharePoint Governance and Compliance
SharePoint Governance and Compliance
SPC Adriatics557 vistas
From analyses to successful Implementation por SPC Adriatics
From analyses to successful ImplementationFrom analyses to successful Implementation
From analyses to successful Implementation
SPC Adriatics207 vistas
The key to a successful Office 365 implementation is adoption por SPC Adriatics
The key to a successful Office 365 implementation is adoptionThe key to a successful Office 365 implementation is adoption
The key to a successful Office 365 implementation is adoption
SPC Adriatics341 vistas
10 Steps to be Successful with Enterprise Search por SPC Adriatics
10 Steps to be Successful with Enterprise Search10 Steps to be Successful with Enterprise Search
10 Steps to be Successful with Enterprise Search
SPC Adriatics170 vistas
How the Cloud Changes Business Solution Design and Delivery por SPC Adriatics
How the Cloud Changes Business Solution Design and DeliveryHow the Cloud Changes Business Solution Design and Delivery
How the Cloud Changes Business Solution Design and Delivery
SPC Adriatics249 vistas
Scaling SharePoint 2016 Farms with MinRole & Other Tools por SPC Adriatics
Scaling SharePoint 2016 Farms with MinRole & Other ToolsScaling SharePoint 2016 Farms with MinRole & Other Tools
Scaling SharePoint 2016 Farms with MinRole & Other Tools
SPC Adriatics421 vistas
SharePoint 2013 Search Operations por SPC Adriatics
SharePoint 2013 Search OperationsSharePoint 2013 Search Operations
SharePoint 2013 Search Operations
SPC Adriatics1.3K vistas
Office Online Server 2016 - a must for on-premises installation for SharePoin... por SPC Adriatics
Office Online Server 2016 - a must for on-premises installation for SharePoin...Office Online Server 2016 - a must for on-premises installation for SharePoin...
Office Online Server 2016 - a must for on-premises installation for SharePoin...
SPC Adriatics1.7K vistas
Custom Code-The Missing Piece of the SharePoint Governance Puzzle por SPC Adriatics
Custom Code-The Missing Piece of the SharePoint Governance PuzzleCustom Code-The Missing Piece of the SharePoint Governance Puzzle
Custom Code-The Missing Piece of the SharePoint Governance Puzzle
SPC Adriatics261 vistas
SharePoint 2016 Hybrid Sites Inside Out por SPC Adriatics
SharePoint 2016 Hybrid Sites Inside OutSharePoint 2016 Hybrid Sites Inside Out
SharePoint 2016 Hybrid Sites Inside Out
SPC Adriatics243 vistas
Microsoft BI demystified: SharePoint 2016 BI or for PowerBI v2? por SPC Adriatics
Microsoft BI demystified: SharePoint 2016 BI or for PowerBI v2?Microsoft BI demystified: SharePoint 2016 BI or for PowerBI v2?
Microsoft BI demystified: SharePoint 2016 BI or for PowerBI v2?
SPC Adriatics244 vistas
What's New for the BI workload in SharePoint 2016 and SQL Server 2016 por SPC Adriatics
What's New for the BI workload in SharePoint 2016 and SQL Server 2016What's New for the BI workload in SharePoint 2016 and SQL Server 2016
What's New for the BI workload in SharePoint 2016 and SQL Server 2016
SPC Adriatics974 vistas

Último

Data Integrity for Banking and Financial Services por
Data Integrity for Banking and Financial ServicesData Integrity for Banking and Financial Services
Data Integrity for Banking and Financial ServicesPrecisely
25 vistas26 diapositivas
Network Source of Truth and Infrastructure as Code revisited por
Network Source of Truth and Infrastructure as Code revisitedNetwork Source of Truth and Infrastructure as Code revisited
Network Source of Truth and Infrastructure as Code revisitedNetwork Automation Forum
27 vistas45 diapositivas
PharoJS - Zürich Smalltalk Group Meetup November 2023 por
PharoJS - Zürich Smalltalk Group Meetup November 2023PharoJS - Zürich Smalltalk Group Meetup November 2023
PharoJS - Zürich Smalltalk Group Meetup November 2023Noury Bouraqadi
132 vistas17 diapositivas
Future of Indian ConsumerTech por
Future of Indian ConsumerTechFuture of Indian ConsumerTech
Future of Indian ConsumerTechKapil Khandelwal (KK)
22 vistas68 diapositivas
Design Driven Network Assurance por
Design Driven Network AssuranceDesign Driven Network Assurance
Design Driven Network AssuranceNetwork Automation Forum
15 vistas42 diapositivas
Info Session November 2023.pdf por
Info Session November 2023.pdfInfo Session November 2023.pdf
Info Session November 2023.pdfAleksandraKoprivica4
13 vistas15 diapositivas

Último(20)

Data Integrity for Banking and Financial Services por Precisely
Data Integrity for Banking and Financial ServicesData Integrity for Banking and Financial Services
Data Integrity for Banking and Financial Services
Precisely25 vistas
PharoJS - Zürich Smalltalk Group Meetup November 2023 por Noury Bouraqadi
PharoJS - Zürich Smalltalk Group Meetup November 2023PharoJS - Zürich Smalltalk Group Meetup November 2023
PharoJS - Zürich Smalltalk Group Meetup November 2023
Noury Bouraqadi132 vistas
Case Study Copenhagen Energy and Business Central.pdf por Aitana
Case Study Copenhagen Energy and Business Central.pdfCase Study Copenhagen Energy and Business Central.pdf
Case Study Copenhagen Energy and Business Central.pdf
Aitana16 vistas
"Surviving highload with Node.js", Andrii Shumada por Fwdays
"Surviving highload with Node.js", Andrii Shumada "Surviving highload with Node.js", Andrii Shumada
"Surviving highload with Node.js", Andrii Shumada
Fwdays22 vistas
Unit 1_Lecture 2_Physical Design of IoT.pdf por StephenTec
Unit 1_Lecture 2_Physical Design of IoT.pdfUnit 1_Lecture 2_Physical Design of IoT.pdf
Unit 1_Lecture 2_Physical Design of IoT.pdf
StephenTec12 vistas
HTTP headers that make your website go faster - devs.gent November 2023 por Thijs Feryn
HTTP headers that make your website go faster - devs.gent November 2023HTTP headers that make your website go faster - devs.gent November 2023
HTTP headers that make your website go faster - devs.gent November 2023
Thijs Feryn22 vistas
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ... por Jasper Oosterveld
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...
ESPC 2023 - Protect and Govern your Sensitive Data with Microsoft Purview in ...
Jasper Oosterveld19 vistas
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院 por IttrainingIttraining
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
【USB韌體設計課程】精選講義節錄-USB的列舉過程_艾鍗學院
Future of AR - Facebook Presentation por ssuserb54b561
Future of AR - Facebook PresentationFuture of AR - Facebook Presentation
Future of AR - Facebook Presentation
ssuserb54b56115 vistas

SharePoint 2013 Performance Analysis - Robi Vončina

  • 1. Performance Analysis SharePoint 2013 Robi Voncina SharePoint Server MVP
  • 3. Robi Vončina • Degree in economics • Started as MS Office instructor • System administrator • I started working with SharePoint from 2003 version on • Leader of SloSPUG • MVP, MCSE, MCT
  • 4. Agenda • Intro • Tools • Perfmon • Client Tools • SP Tools • IIS Tools • VS • Configuration
  • 5. Measure the end user experience
  • 6. Performance Pyramid User LAN & WAN Traffic Configuration Server Performance
  • 9. Performance Monitor LAN & WAN Traffic User Configuration Server Performance
  • 10. Performance Monitor settings • The Process object in Performance Monitor can display Process IDs (PIDs) • http://support.microsoft.com/kb/281884 • Click Start, click Run, type regedit, and then click OK. • Locate and then click the following registry subkey:HKEY_LOCAL_MACHINESYST EMCurrentControlSetServicesPerfProcPerformance • On the Edit menu, click New, and then click DWORD Value. • Right-click New Value #1, click Rename, and then type ProcessNameFormat to name the new value. • Right-click ProcessNameFormat, and then click Modify. • In the Data value box, type one of the following values, and then click OK: • 1: Disables PID data. This value is the default value. • 2: Enables PID data. • Exit Registry Editor.
  • 11. Performance Monitor • .NET CLR Exceptions • .NET CLR Loading • .NET CLR Memory • .NET Networking • ASP.NET • ASP.NET Applications • Memory • Network Interface • Physical Disk • Process • Processor • System • Web Service • Web Service Cache • Office Server Search Archival Plugin • Office Server Search Gatherer • Add the Threads object when troubleshooting CPU Spikes/CPU high utilization. • Make sure to use "Run As" so we can accurately capture the .NET counters. This should be run as the same account as the application pool. • Setup performance logging at 5 second intervals. • Select the Log Files tab and Configure button and set the preferred directory path and file name. Limit the log file size to 250 MB and hit OK.
  • 12. Using Perfmon • Create baseline performance monitoring • Compare baseline to performance monitoring when troubleshooting
  • 13. • Generic Counters • Counter NameLook for… • MemoryAvailable BytesMore than 500 MB (SQL is different) • MemoryPages/SecAre we paging? • Processor(_Total)% Processor TimeAnywhere above70% means you might • having queuing • PhysicalDisk%perdisk%)Avg. Disk Queue • Length • Less than 2-5 per cluster • Drill down to reads/writes queue length • PhysicalDisk(%perdisk%)Disk Writes/secLook for constanthigh values • PhysicalDisk(%perdisk%)Avg.Disk • sec/Transfer • Less than 20milliseconds • Network Interface([network • interface])Output Queue Length • 0 • Network Interface([network • interface])Bytes Total/sec • make sure you’re up to 50% of network • capacity • ASP.Net • ASP.NET Apps v4.0.30319(__Total__)Request • Execution Time < 0.5 seconds Keepin mind network and rendering times • ASP.NET Apps v4.0.30319 (__Total__)Requests/Sec • Rough indication of RPS • ASP.NET Apps v4.0.30319 (__Total__)Request Wait Time • Are requests gettingqueued? • ASP.NetWorker Process Restarts • Are we crashing often? • ProcessVirtual Bytes> 4GB is suspicious
  • 14. Counters to look for: SharePoint Monitor cache performance in SharePoint 2013 http://technet.microsoft.com/en-us/library/ff934623(v=office.15).aspx • SharepointPublishing Cache(/)Object cache flushes / second • Cache flushes are bad! • SharepointPublishingCache(/)Object Cache Hit Ratio • >99% (cache hit vs cache miss) • SharepointPublishing Cache(/)Object Cache Misses / sec • Close to 0 • BLOB cache, ASP.NET output cache, object cache SQL • Focus on CPU and Disk IO • SQLServer:Locks(_Total)Average Wait Time (ms) • 0 • SQLServer:Locks(_Total)Number of Deadlocks/sec • 0 • SQLServer:AccessMethodsFull Scans/sec • < 100. Full scans are bad • SQLServer:GeneralStatisticsUser Connections Look at trend: make sure we’re not leaking • SQLServer:CacheManagerCache Hit Ratio • > 85% • Do we need to add more memory?
  • 15. DEMO
  • 17. Browser Timers LAN & WAN Traffic User Configuration Server Performance
  • 18. Fiddler • Flagging performance bottlenecks • Profiling the performance of your web app • Timeline for performance analysis • Simulate HTTP compression • Taking advantage of HTTP caching
  • 19. Fiddler Add-Ons • Fiddler Html Inspector Part 3 | elastacloud = azurecoder + bareweb • http://blog.elastacloud.com/2010/12/09/fiddlerhtmlinspector/ • Download Microsoft neXpert Performance Analysis Plugin from Official Microsoft Download Center • http://www.microsoft.com/en-us/download/details.aspx?id=11729 • StresStimulus | Load Testing Tool - Fiddler Extension • http://stresstimulus.stimulustechnology.com/
  • 20. Fiddler Performance evaluation • Statistics • Request count • Bytes received • Session list • Body • Caching • Consolidation • Inspectors • Compression • Minification • Timeline
  • 21. DEMO • Load Test Reports • file:///C:/Users/robi/Documents/Fiddler2/StresStimulus/SPCAdriatics_20 14_10_15_16_19_18_997.htm • file:///C:UsersrobiDesktopXnetTecajiSPCAdriatics2014neXpert_151 02014163139.html
  • 22. Network Sniffers LAN & WAN Traffic User Configuration Server Performance
  • 23. Visual Round Trip Analyzer and Network Monitor • Analyses Web against list of known best practices • Expiration Date • Bandwidth Efficiency • Time to First Byte • Image clustering • Utility Spotlight: 12 Steps To Faster Web Pages With Visual Round Trip Analyzer • http://msdn.microsoft.com/en-us/ magazine/dd188562.aspx
  • 24. DEMO
  • 26. Developer Dashboard • Enable Dev Dashboard – Off by default $svc = [Microsoft.SharePoint.Administration.SPWebService]::ContentService $dds = $svc.DeveloperDashboardSettings $dds.DisplayLevel = "On" $dds.Update() • All request • SQL queries running against each request • ULS Logs • MDS
  • 27. DEMO
  • 29. Log Parser • Log parser is a powerful, versatile tool that provides universal query access to text-based data such as log files, XML files and CSV files, as well as key data sources on the Windows operating system such as the Event Log, the Registry, the file system, and Active Directory • Demo queries Log Parser Rocks! More than 50 Examples! | LichtenBytes http://mlichtenberg.wordpress.com/2011/02/03/log-parser-rocks-more-than-50- examples/ • Uses SQL statements to query logs
  • 30. Log Parser Charts • Download Office 2003 Add-in: Office Web Components from Official Microsoft Download Center • http://www.microsoft.com/en-us/download/details.aspx?id=22276
  • 31. DEMO
  • 32. Load Testing with Visual Studio
  • 33. Load Testing LAN & WAN Traffic User Configuration Server Performance
  • 34. What You Need • Visual Studio Ultimate • Windows 7/8 • Windows Server 2012/2012 R2 • A test environment • Nerves of steel
  • 35. Terms • Performance Testing • Does it work? • Load Testing • Does it really work? • Stress Testing • When does it stop working? • Capacity or Scale Testing • Will it work for us?
  • 36. More Terms • Solution • One or more projects • Project • One or more tests • Web Test • A series of web requests • Can be one or more pages or actions • Load Test • Execution of one or more web tests • Has settings like browser, networks, users
  • 38. Create Web Test • Record steps in Internet Explorer • Make sure recording bits work • Easier on workstation • One type of request per web test • Can also create with Fiddler
  • 39. Create Load Test • Add web tests to load test • Pick network profile • Pick browser profile • Can add multiple workstations to test • Can monitor servers from VS • Can export results to Excel
  • 40. Add Network Shims • Needed to simulate network connections • C:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEVSTestConfig.exe networkemulation /install • Save results to SQL • C:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEloadtestrepository.sql
  • 41. DEMO
  • 43. Infrastructure • Capacity planning for SharePoint Server 2013 • http://technet.microsoft.com/en-us/ library/ff758645(v=office.15).aspx • Hardware and software requirements for SharePoint 2013 • http://technet.microsoft.com/en-us/ library/cc262485(v=office.15).asp x Component Minimum requirement Processor •64-bit, 4 cores for small deployments (fewer than 1,000 users) •64-bit, 8 cores for medium deployments (between 1,000 to 10,000 users) RAM •8 GB for small deployments (fewer than 1,000 users) •16 GB for medium deployments (between 1,000 to 10,000 users) For large deployments over 10,000 users, see the "Estimate memory requirements" section in Storage and SQL Server capacity planning and configuration (SharePoint Server 2010). This document does not apply to search in SharePoint 2013. These values are larger than those recommended as the minimum values for SQL Server because of the distribution of data that is required for a SharePoint 2013 environment. For more information about SQL Server system requirements, see Hardware and Software Requirements for Installing SQL Server 2008 R2. Hard disk 80 GB for system drive Hard disk space depends on how much content that you have in your deployment. For information about how to estimate the amount of content and other databases for your deployment, see Storage and SQL Server capacity planning and configuration (SharePoint Server 2010).
  • 44. Database maintanance • Download Database Maintenance for Microsoft SharePoint 2010 Products from Official Microsoft Download Center • http://www.microsoft.com/en-us/download/details.aspx?id=24282
  • 45. SharePoint Caching • Page • First request served from DB • Subsequent requests for same resource read from memory • Disk • File system objects • Database objects not cached • Object • Cross site queries • Publishing Features Enabled • Output cache • Object cache • Max Cache Size • Disk cache – Web.config • BLOBs
  • 46. IIS Compression • Turned On but not configured • Reduces size of files • Caches compressed content on disk • Increases CPU utilization • Compression range from 0-9 • Does not effect dynamic content retrieved from Database • No UI, must run script Appcmd set config /section:httpCompression – [name='gzip'].dynamicCompressionLevel:9 Appcmd set config /section:httpCompression – [name='gzip'].staticCompressionLevel:9
  • 47. Throttling and Locks • SQL Server escalates row locks to table locks >5000 items • Query throttling reduces the impact of any single request by limiting the amount of data queried
  • 48. Branding • Minify javascript and CSS files • Images stiching (CSS sprites) • Better perfomance with few large files than lots of small files • Store CSS, master pages on file system • („/_layouts“ folder) • SpriteMe • http://spriteme.org/ • Images Folder or Layouts -- _layoutsimages • Cache-Control: max-age=31536000 • Client does not always ask if newer version exists • Document or Images Library • Cache-Control: Max-age=0 • Expires: Current Date minus 2 weeks • Client always ask if newer version exists –fix use blob caching
  • 49. List items • List and libraries can hold millions of items – doesn‘t mean they should • All user content in entire site collection is stored in single table in the content database • Folders improve view performance NOT query performance
  • 50. List definitions • Columns • Lookup columns • More columns more SQL rows • Can drastically reduce performance
  • 51. Custom code • Web.Lists[“Documents”] • 1 RT, 252 Read IOps • Web.GetList(“/Shared Documents”) • 1 RT, 8 Read IOps • ScriptLink.Register(“sp.js”); • 2.0 second delay of page content display (at 1mbps) • 3 other JS files automatically registered • ScriptLink.RegisterOnDemand(“sp.js ”); • 0.0 second delay of page content display • List.Items.Count vs. List.ItemCount • SPQuery is your friend • Disposing objects
  • 52. Free Tool for Monitoring • SharePoint Performance Monitor • http://www.idera.com/productssolutions/freetools/spperformancemonitor
  • 53. questions? Hvala za pozornost… Vprašanja??
  • 54. thank you. SHAREPOINT AND PROJECT CONFERENCE ADRIATICS ZAGREB, 10/15/2014 - 10/16/2014

Notas del editor

  1. Figure 2 shows files loading on seven TCP ports, represented by the grey horizontal lines, and the number of milliseconds that have elapsed. The colored bars are the files; red is HTML text, gold represents style sheets, tan represents JavaScript, and blue lines are images. Here a single port is opened first, and then two more ports are opened. After the first files (CSS) are loaded, more files (JavaScript and images) are loaded on the same ports. Bandwidth Efficiency (Score = F) Bandwidth Efficiency Rate (BER) is a primary indication of how well a Web page is able to utilize the available bandwidth. Applications that do not follow such best practices as downloading on parallel TCP ports and using Keep-Alives and larger files will not sustain high bit rates on longer latency wide area networks (WANs). A score of A is given to 80% BER and above. BERs of 40% and below are given a score of F. The math for this rule is BER = AvgBitRate / MaxBitRate. For our test of the TechNet Magazine site the analysis indicates that though the Web site is downloading at a maximum bit rate of 3Mbps (3022Kbps), it is averaging only 523Kbps. That's an average of only 17%of the max—not very efficient. The ideal Web page ramps up to max bit rate and then stays at max bit rate until the page is completed. Instead, many sites download at a trickle or in short bursts. The score for this rule reflects of all the other best practices (known and unknown). Expiration Date (Score = F) This rule checks for expiration dates. When a user returns to a site, many of the needed files are already in the cache and will be reused, but first the browser will check to see if a file is still good. If no expiration date is found, the browser will send a Get-If-Modified request to the server. Time to First Byte(Score = D) This rule checks the server response time. TTFB is the time from the Get packet until the first response packet. Subtracting the TCP connect time from the TTFB gives the server response time. A response time of less than 30ms is scored as an A, while a time greater than 100ms is an F. Image clustering (Score = F) This rule checks the number of small image files. The site we looked at has 28 files that are under 4KB. TCP does a poor job downloading smaller files. It's much like going grocery shopping and only getting one item at a time, then going home and coming back later for another one item, over and over again. It's far better to consolidate many smaller files into fewer large files so that TCP can send more packets per round-trip. With images, we call this image clustering, and it involves putting many small images side-by-side in one file and then cropping them out and placing them on the page on the client side.
  2. Once you click on "Launch the developer dashboard" it will open the below Figure : 2 In that figure you can see what are requests, against each request you can observe server info, in server info  Aggregate status will give how many SQL queries have run, how many SharePoint requests and services has been called  what is duration for each of them etc. See more at: http://www.sharepoint-journey.com/developer-dashboard-in-sharepoint-2013.html#sthash.LLk7wDDr.dpuf SQL queries running against each request: One of the most important criteria while designing the SharePoint solution is SQL. Because the performance of SharePoint depends on the SQL. We need for what type of queries runs in the background for each request so that it will be a great help for while troubleshooting the performance issues related to SharePoint. Once you go to the SQL section of the dashboard you can see the queries name and execution plan details will get displayed once you click on those links. Other than that there are few important parameters which will help us while troubleshooting the performance issue like what is the total duration to performance query, how many reads and write operations done by the query to the SQL server. This makes easier for SQL DBA to troubleshoot the issues related to performance of SharePoint. See more at: http://www.sharepoint-journey.com/developer-dashboard-in-sharepoint-2013.html#sthash.LLk7wDDr.dpuf ULS logs: There are many cases where you want to check the error messages related to only that particular request. In this dashboard we have a separate section for the ULS logs to check against each and every request. See more at: http://www.sharepoint-journey.com/developer-dashboard-in-sharepoint-2013.html#sthash.LLk7wDDr.dpuf MDS (Minimal download strategy): One of the new feature in SharePoint 2013 is a minimal download strategy. Earlier days whenever you access the page the complete page reloads again, it causes the decrease in performance. In SharePoint 2013 it's not the case, it will load only portion of the page if there is any change so it drastically improves the performance of the application. See more at: http://www.sharepoint-journey.com/developer-dashboard-in-sharepoint-2013.html#sthash.LLk7wDDr.dpuf
  3. logparser "select cs-uri-stem, count(cs-uri-stem) from "C:\inetpub\logs\LogFiles\W3SVC740837153\u_ex140405.log" where cs-uri-stem like '%aspx%' or cs-uri-stem like '%ashx%' group by cs-uri-stem order by count(cs-uri-stem) desc“