The Windows Performance Analyzer (WPA) device is part of the Windows Assessment and Deployment Kit (Windows ADK). It’s the device you should utilize to create graphs and tables primarily based on occasion hint log recordings. You make these hint information utilizing instruments like Xperf or Windows Performance Recorder (WPR). These instruments are helpful when you’ve got system efficiency points. You may use them often for efficiency monitoring.
In this text, you’ll find out how to create a fast recording utilizing the WPR. You ought to launch this recording throughout an occasion the place you need to check the efficiency of your pc. This might be launching a sport or different utility and even working a program you’ve written. Then, we’ll cowl how to use the WPA device to learn and analyze that information file for troubleshooting functions.
Table of Contents
Installing and Launching Microsoft Windows ADK Tools
The first step to set up each the WPA and WPR is to install Windows ADK from Microsoft’s download page for the Windows Performance Toolkit. This device is from Microsoft.com, so utterly protected to set up. As you step by the set up course of, you’ll want to select the parts you need to set up.
Just ensure that the Windows Performance Toolkit is chosen since this consists of each instruments you want.
Once you choose Install, the method can take time, so be affected person.
When the Windows Performance Toolkit set up is full, you’re prepared to make your first WPR recording.
Note: For this instance, we’ve put in the HeavyLoad Stress Test app to put our system beneath a heavy load whereas the WPR recording happens.
Before utilizing the Microsoft Windows Performance Analyzer device, you’ll want to use the Windows Performance Recorder to seize an occasion hint log recording (an ETL file). This recording will include all Event Tracing for Windows (ETW) occasions. WPA analyzes all system details about CPU, reminiscence, storage, and extra.
To launch WPR, choose the Start menu and kind “Windows Performance Recorder.” Next, choose the Windows Performance Recorder app.
The WPR device is a simple device to seize occasions occurring in your system throughout a particular timeframe. To begin the recording, simply choose the Start button.
This will launch the system occasion recording course of. Perform actions (like launching and working a program) that you really want to use to check your system’s efficiency.
Once completed, simply return to the WPR window and choose the Save button.
The subsequent step will show the trail to your ETL file. You can embrace an outline of what you’re troubleshooting or testing within the detailed description window.
When finished, choose the Save button.
The app will write all information to the ETL file, and also you’ll see choices on the backside of the window to open the WPA device straight or navigate to the ETL file by opening the folder.
The most handy manner to instantly transfer on to your efficiency evaluation is to choose the Open in WPA button.
Analyzing ETL Files with Windows Performance Analyzer
Once you double-click the WPA app and it launches, you’re prepared to begin navigating by and visualizing the information within the ETL file. This is a particular log file solely sure apps can open. You couldn’t view it utilizing one thing like Google Docs or Microsoft Word.
You’ll discover alongside the left aspect there are 4 main classes of knowledge to discover. You can choose any of those charts on the left to see them displayed in additional element in the precise pane.
These classes embrace:
- System Activity: Process data, background duties, occasions, and extra.
- Computation: All data associated to CPU cores.
- Storage: Disk utilization data.
- Memory: Real and digital reminiscence utilization.
- Power: Processor energy utilization particulars.
In every chart, just like the CPU Usage chart, you’ll be able to hover over any graph space to see a breakdown of the information parts like course of title, course of lively time, and share of total CPU utilization.
If you choose a particular course of title from the checklist on the backside, you’ll see highlighted areas within the graph to determine the particular instances that course of consumed CPU assets. This can assist determine whether or not working system processes or utility processes are consuming up all CPU time.
You may drill down into every course of to see particular stack exercise, once more with the graph above highlighting areas when that stack was actively utilizing CPU time.
Available Charts in WPA
Inside every of the 4 main classes within the left pane, you’ll discover a graph explorer that may assist you to analyze and troubleshoot what’s taking place along with your system efficiency.
We’ve lined the System Activity checklist above. Below this, you’ll discover the Computation class.
Here you’ll discover the next sub-charts:
- CPU Usage (Sampled): Samples of CPU exercise taken at sampling intervals.
- CPU Usage (Precise): CPU utilization related to particular working course of threads.
- DPC/SR Duration: CPU time spent servicing deferred process calls (DPCs).
- CPU Usage (Attributed): CPU utilization damaged down into a number of classes.
Again, you’ll be able to choose any of those sub-charts to show them on the precise. Or you’ll be able to drill down additional into extra sub-charts associated to every of those areas.
The Storage class has a number of disk utilization sub-visuals beneath it within the left navigation pane.
You can view total lDisk Usage or drill down into any of the next sub-visuals:
- Disk exercise
- Disk Counts
- Disk Offset
- IO Time
- Service Time
- Disk Size
- Disk Throughput
- Disk Utilization
Adding a number of of those to the identical pane on the left helps you to examine totally different points of disk utilization to each other. This type of comparability alongside visuals associated to processes or CPU time may probably assist you to determine the supply of your Windows efficiency issues.
The subsequent class within the left navigation pane is Memory.
You’ll discover the next charts beneath the Memory class:
Finally, the final class within the checklist is Power. These are all visuals associated to your system’s total CPU energy consumption.
This consists of all the following sub-visuals round all system processors like CPUs and GPUs:
- CPU Frequency
- CPU Idle States and State Diagram
- System Latency Tolerance
- Processor Profiles
- Processor Parking State
- Core Parking State
- Processor Performance
- Processor Constraints
Other Microsoft WPA Features
There are a number of helpful options within the WPA device that’ll assist you to along with your troubleshooting efforts.
One of these is an Analysis Assistant. You can discover this by choosing the Window menu and choosing Analysis Assistant.
This opens up a brand new pane within the device that provides you with suggestions and particulars in regards to the charts or objects contained in the charts that you just click on on.
This is very helpful if you happen to aren’t that acquainted with all the terminology used all through the device.
If you choose the Window menu and choose New Analysis View, you’ll be able to open a brand new Analysis tab.
This helps you to carry out a number of analyses by including a household of visuals in a single tab after which opening a brand new tab to carry out a very totally different set of visuals with out shedding your earlier evaluation. Flip backwards and forwards between tabs to work on every evaluation individually.
Exploring Windows Performance Analyzer Further
If you’d like to dig even additional into WPA, Microsoft has an old Microsoft Docs guide. The documentation isn’t being maintained anymore, however it ought to level you in the precise route. It even features a full command line reference you should utilize to run WPA instructions from the command immediate.
As you’ll be able to see, the Windows Performance Analyzer device is far more versatile and helpful than customary efficiency instruments that come put in on Windows by default. So, the subsequent time your Windows system begins performing uncommon, take the time to obtain the Windows ADK and provides WPR and WPA a strive.
If you’re utilizing Linux (or Android), a GitHub Linux version of a similar tool is available utilizing the Microsoft Performance Toolkit.