Partilhar via


Video: Using XPERF to root cause CPU consumption

Hi Debuggers,

 

Here is a short video showing how to root cause CPU consumption issues on Vista/Server 2008 and higher operating systems with Xperf.

 

For this scenario, Xperf is an easy to implement and powerful replacement for previous actions like gathering a series of dumps during the CPU, kernrate data, perfmon, other profilers, etc.

 

Xperf allows one to quickly turn on profiling and see where the CPU time is being spent by using tracing already in the box!

 

 

-Tate

 

 

Note - Feel free to post questions here, or jump into a discussion about the video on our Twitter page ( @ntdebugging ).

 

 

Share this post :

Comments

  • Anonymous
    June 07, 2009
    the article is good but you made it quit tough to understand [We always welcome the feedback. Can you give me specifics? Thanks!!! Ronsto]

  • Anonymous
    August 20, 2010
    The comment has been removed

  • Anonymous
    May 18, 2014
    C:Program FilesMicrosoft Windows Performance Toolkit>xperf.exe -on DiagEasy xperf: error: NT Kernel Logger: Cannot create a file when that file already exis ts. (0xb7). The problem is you cannot stop the NT Kernel Logger trace when the Trace Session->Stream mode is set to Real Time in the NT Kernel Logger Event Trace Sessions’ properties. Switch it to File and then you will be able to stop it. You can then utilize xperf to run kernel traces. Be sure to switch it back to the way it was when you are done!

  • Anonymous
    June 20, 2014
    @aasd stop other Tools like ProcExplorer, ResMon, LatencyMon before running xperf