Defrag Tools: #39 - Windows Performance Toolkit

Download this episode

Download Video


In this episode of Defrag Tools, Andrew Richards, Chad Beeder and Larry Larsen starting walking you through the Windows Performance Toolkit (WPT).

Defrag Tools: #23 - Windows 8 SDK
Defrag Tools: #29 - WinDbg - ETW Logging
Windows Performance Analysis Developer Center
Windows Performance Toolkit
Channel 9 Videos
NTDebugging Blog Article
PFE Blog Series

[00:00] - What is the Windows Performance Toolkit (WPT)?
[06:23] - Articles
[10:33] - Architecture of Event Tracing for Windows (ETW)
[18:30] - Windows Performance Recorder
[21:50] - Default, Resource and Scenario Profiles
[29:07] - More next week... and many more weeks to come!



Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image

      finally you touch my number 1 tool  Big Smile


      [06:23] - Articles

      ETW/xperf is too complicated for starters, so you don't see much users who use it. And the nw WPA.exe makes it even more complicated for new users, because no graphs are selected by default. So the users have no idea how to start.


      [18:30] - Windows Performance Recorder

      xperf (win8 version) is also able to generate the .net PDBs if you set the environment variable XPERF_CreateNGenPdbs to 1


    • User profile image

      is the network I/O provider collecting the same data as the commandline "netsh trace start [parameters]"? Can you use this stuff safely in production? For instance on an Exchange or SharePoint server or Domain Controller?

    • User profile image
      Nuno Freixo

      Hi Guys, this is a very interesting topic at the moment. I recently start using the new WPR and I find it very good. I would like to see episodes related to trace analysis regarding each advanced trace that you can get with WPR.

    • User profile image

      @Nuno Freixo: Thanks. Lots of episodes your way!

    • User profile image

      I've been using ETW for SQL Server tuning and troubleshooting for some time now and I have to say it's downright amazing. I've also written about it (it's in Portuguese):

      This is indeed a great topic. I'll be following closely Smiley

    • User profile image
      Kellen Sunderland

      Hey guys, I'd like to see a break down as well. It'd be great to have it for reference, just so that if down the road we run into a say audio popping problem, we'd be able to see how a PFE/EE would track it down.

    • User profile image

      @Kellen Sunderland


      Such audio issues are caused by DPC issues. Run this command from cmd prompt with admin rights:

      xperf -on latency -stackwalk profile -buffersize 1024 -MaxFile 256 -FileMode Circular && timeout -1 && xperf -d DPC_Interrupt.etl


      wait 60s and press a key.

      Now run this:

      xperf -I DPC_Interrupt.etl -a dpcisr > dpc.txt

      and open the txt file. Now look which drivers have an "Elapsed Time" larger 1024µs.


      Update the driver and see if this fixes it.

    • User profile image
      Marc Sherman

      I've been a fan of xperf for a couple of years now. Looking forward to every episode in this series!

    • User profile image

      Windows Performance Tool kit is too good and too complicated, so it would be good, if you could have a session in each one of the Major providers.

    • User profile image

      Lot of great information in these videos. Thanks and keep 'em coming!

    • User profile image

      Great start to the series. Looking forward to seeing more.

    • User profile image

      Any chance you could post your scripts?

    • User profile image

      here are the scripts:!11560

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.