Presentation is loading. Please wait.

Presentation is loading. Please wait.

Understanding Perfmon The Performance Testing Tool >>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<

Similar presentations


Presentation on theme: "Understanding Perfmon The Performance Testing Tool >>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<"— Presentation transcript:

1 Understanding Perfmon The Performance Testing Tool >>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<

2 Understanding Perfmon What is Perfmon Log Settings Creating Graphs Practice Questions >>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<

3 What is Perfmon  Perfmon is a Performance Monitoring tool that is shipped with windows.  Performance counters are configured before running the test and it automatically collects the data during the scenario run. >>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<

4 Log Settings  Open perfmon by navigating to Start>Run and typing perfmon in the text box.  Expand the Performance Logs and tree node and right click on Counter Logs item.  Select New Log Settings option and provide a name for the counter say Test_Counter. >>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<

5 Log Settings  Notice that Test_Counter window is displayed.  Click on Add Counters button and notice that a window is displayed with the following options:  Computer Name  Performance Object  Counters List  Instances >>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<

6 Log Settings  Select the computer and Performance Object.  As there are multiple processes running on a CPU at same time and we have to measure the performance of server only, we select Process Performance Object.  Notice that all the current running processes instances are displayed.  Select the performance counter and the process that we want to test. >>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<

7 Log Settings  To test our Webtour application we will select xigui32 process along with the following counters:  %Processing Time: For CPU Usage  Working Set: For Memory Usage  Click on Add and then Close button.  Verify that the counters are added in Counters section.  Sample Data: Select the duration in seconds at which we want Perfmon to collect the data. >>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<

8 Log Settings  Click on Schedule tab and provide the Start and Stop settings for the log.  Manual: Log has to be started manually.  Automatic: We can provide the time and date and the perfmon will start automatically.  Click on Apply button. >>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<

9 Log Settings  Notice that the settings are saved and counter is displayed in the Counter Logs window.  For manual configuration log is controlled through Start and Stop buttons >>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<

10 Creating Graphs  Open the CSV file from the location that was provided before running the test in Perfmon.  To create CPU usage chart:  Select the Time, Processor Time columns and click on Chart wizard button. >>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<

11 Creating Graphs  Select the Line type graph and click on Next button.  Select Columns for Series in field and click Next button. >>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<

12 Creating Graphs  Provide Titles for Chart, X axis and Y axis and click Next button.  Click on legend tab and select Top option. >>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<

13 Creating Graphs  Click Finish and notice that the chart is created.  Similarly the chart can be created for memory usage through the Working Set column.  Analyze the Perfmon Graphs to determine whether the application in CPU intensive or Memory intensive. >>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<

14  Configure log settings for the scenario.  Execute the scenario with Perfmon.  Create graphs from the.csv file created through Perfmon.  Analyze the graphs to determine whether the application is memory bound or CPU bound. Questions - To Review Your Skills >>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<

15 Thank You >>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<


Download ppt "Understanding Perfmon The Performance Testing Tool >>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<"

Similar presentations


Ads by Google