Presentation is loading. Please wait.

Presentation is loading. Please wait.

So, How Much Can Your Farm Really Handle?

Similar presentations


Presentation on theme: "So, How Much Can Your Farm Really Handle?"— Presentation transcript:

1 So, How Much Can Your Farm Really Handle?
Patrick Curran, MCT SPSNJ 10/05/2013

2 Thank You Event Sponsors
Platinum & Gold sponsors have tables here in the Fireside Lounge Please visit them and inquire about their products & services To be eligible for prizes make sure your bingo card is signed by all Platinum/Gold

3 Princeton SharePoint user group
Different SharePoint discussions each month on various topics. Announced on meetup.com Meets 4th Wednesday of every month 6pm – 8pm Infragistics Office 2 Commerce Drive, Cranbury, NJ

4 Planet Technologies Founded in 1998
Microsoft Partner with Five Gold Competencies, 11 Silver Competencies One of only 35 Microsoft Nationally Managed Partners Six Time Microsoft Federal Partner of the Year and Three Time Microsoft SLG Partner of the Year Highly Skilled Staff Microsoft Certified Masters Microsoft MVP’s (SharePoint, Exchange) Microsoft Certified Trainers Microsoft Certified Partner for Learning Solutions (CPLS) 130+ Microsoft Consultants Office Locations – DC, Denver, Harrisburg, Redmond, Europe, Middle East and Africa (EMEA) Vertical Markets include Federal, State and Local Government, Education, Healthcare and Private Sector Work Experience in 42 States and 33 Countries

5 Patrick Curran New Book!
MCT, MCTS, MCITP, MCP, MCSA, MCPD New Book! (Amazon) (O’Reilly) Director, Federal Group for Planet Technologies Senior SharePoint Architect Worked with SharePoint since 2003 Blog:

6 Using Developer Dashboard
Agenda Why Validate? ULS Log Monitoring IIS Log Monitoring Using Developer Dashboard Performance Testing Load Testing Stress Testing Q & A

7 What is REALLY Important?
Farm happiness! Are your ULS logs filling up with errors? Requests per second! If you do not know how your farm is being used, how do you know if your farm is built correctly? Baseline numbers! Getting the Out of The Box numbers on page load times, IOPS, throughput, SQL query execution, just about anything that you can record so you can measure changes instead of guess that your changes are positive.

8 Why Validate??? Do you really trust your network?
1ms is not a long time for communication between servers… Is your farm functioning correctly? Is the farm performance within expectations? Do you want your farm to go down then find out that you have issues? How will a test group of users validate performance? Load and stress testing cannot be done by people, regardless of how stressful they are!

9 Upgrading??? Really? Why? You have the ability to get real world utilization figures before you architect out your new environment! Ability to stand up your new farm and Load and Stress test your new environment with real numbers!

10 Not Upgrading??? You still have the ability to get real world utilization figures! Stand up a new test farm that matches your production environment. DO NOT PERFORM LOAD AND STRESS TESTING ON YOUR LIVE PRODUCTION ENVIRONMENT! (you have been warned!)

11 ULS Logs ULS Logs ULS Logs
After you have created your farm, verify your farm happiness through the ULS Logs. After farm goes into production, still monitor your ULS Logs. When troubleshooting issues, start with your ULS Logs… Download Microsoft ULS Viewer from:

12 ULS Logs ULS Logs ULS Logs
Demo Time! Setting up Microsoft ULS Viewer

13 IIS Logs Verify IIS Log Settings
Install Log Parser Install Log Parser Studio

14 IIS Logs Demo Time! Reviewing IIS Logs and LPS

15 M Developer Dashboard Easy way to monitor page load issues.
Shows ULS log entries for that page. Now has SQL tab to show SQL queries Returns query run times! Requires Usage and Health Data Collection Service. Log your baseline numbers!

16 Developer Dashboard M Enable: $svc = [Microsoft.SharePoint.Administration.SPWebService]::ContentService $dds = $svc.DeveloperDashboardSettings $dds.DisplayLevel = "On" $dds.Update() Disable: $dds.DisplayLevel = “Off"

17 Developer Dashboard M Demo Time! Reviewing the Developer Dashboard

18 Performance Testing RECORD YOUR BASELINE NUMBERS!
Makes the user experience better because they wait less to get content! Reduce bottle necks Need Many Test Plans What is the goal of the test? Document upload speed? Homepage rendering time? RECORD YOUR BASELINE NUMBERS!

19 Performance Testing Every request that you send has a standard set of processes that it goes through. The Timings window will be a very useful tool when you are trying to fine-tune your page load performance. Wait This is the amount of time spent in a sending queue. There are only so many connections allowed by a browser into one domain at the same time. Start This is the amount of time it took to create the request and send it. Request Also known as time to first byte, this is the amount of time taken from when you send the request to the first byte returned by the web server.

20 Performance Testing Response This is the time taken to receive the response data from the server. It would be the time from the first byte returned to the last byte of the web server response to your request. Gap This is a critical number. It is the amount of time taken between the response and when the page is finished loading. DOMContentLoaded This is represented by a green vertical line. The DOMContentLoaded event is the same as document.interactive, which means that JavaScript can now run on the page. DOM stands for Document Object Model Load In IE Dev Tools, this is represented by a red vertical line. Load is the amount of time taken to finish your page load from start to page load finish.

21 Performance Testing Tools
Visual Round Trip Analyzer (VRTA) Requires NetMon Internet Explorer Developer Tools (IE Dev Tools) Fiddler Visual Studio 2012 Ultimate How Microsoft cleaned up their files on page load for SharePoint.Microsoft.com “How we did it: Speeding up SharePoint.Microsoft.com”

22 Performance Testing Demo Time! Page Load Performance Test

23 Load Testing How user experience affects server operations.
Done to determine the highest level of utilization without server error AND stays within defined parameters. Determine the number of RPS that your environment can handle while staying within the green zone, and the RPS your environment can handle before entering the red zone.

24 Load Test Standards RPS The number of requests received by a farm or web server in one second. RPS is an industry standard used for determining server and farm utilization and load. Total user count The maximum number of people that are accessing your site. This number could be the total number of unique users in AD. Peak concurrent user percentage What the highest percentage of total users actively surfing your site at any given time. This could be when everyone gets in on Monday, after having their coffee…. Green zone The performance envelope that your servers should be within while load tests are underway, or during normal business utilization. Server Latency (Avg. Response Time): < 0.5 second. CPU Utilization (% Processor Time): 50 percent or less. This will allow for spikes in the farm caused by services such as Search Crawls and User Profile Synchronization and leave you enough headroom in CPU utilization before you enter the red zone. Available Memory (Available Mbytes): > 4GB.

25 Load Test Standards Red zone Would be the acceptable peak for system performance. This is an area that your server can spike into momentarily, as to not create an adverse experience for the user or do permanent damage to the server itself. (Yes, this is a bit overly dramatic, but consider yourself warned.) Server Latency (Avg. Response Time): > 1.0 second. CPU Utilization (% Processor Time): 75 percent or less. Available Memory (Available Mbytes): < 2GB. Average Page Load Time (Avg. Page Time): > 3.0 seconds

26 Load Testing Scenarios
1 2 3

27 Requests Per Second Determine requests per second (RPS)

28 Maximum RPS

29 Load Testing Demo Time! Page Load Load Testing

30 Stress Testing The purpose of stress testing is to try to overwhelm the server farm resources (or even the network or NLB). Stress testing your environment is not just about knowing where things break, but how they will break and how they will recover.

31 Stress Testing Demo Time! Environment Stress Testing

32 Resources My New Book for Only $22.26 on Amazon!!!

33 Thank You Event Sponsors
Platinum & Gold sponsors have tables here in the Fireside Lounge Please visit them and inquire about their products & services To be eligible for prizes make sure your bingo card is signed by all Platinum/Gold

34 Questions? Blog:


Download ppt "So, How Much Can Your Farm Really Handle?"

Similar presentations


Ads by Google