Advertisement
MagicAndre1981

HighCPUUsage tracing with xperf

Aug 22nd, 2013
5,576
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1.  
  2.  
  3. Install the Windows Performance Toolkit (http://social.technet.microsoft.com/wiki/contents/articles/4847.install-the-windows-performance-toolkit-wpt.aspx), open the command prompt with admin rights.
  4.  
  5. Now run this command and capture the issue:
  6.  
  7. xperf -on latency -stackwalk profile -buffersize 2048 -MaxFile 2048 -FileMode Circular && timeout -1 && xperf -d C:\HighCPUUsage.etl
  8.  
  9.  
  10. If you have enough data (30-60s), press a key to stop tracing.
  11.  
  12. Zip the HighCPUUsage.etl as 7z/RAR (to reduce the size), upload it (Onedrive, dropbox) and paste a link here.
  13.  
  14. If you want to analyze it yourself watch this video:
  15.  
  16. http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-42-WPT-CPU-Analysis
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement