EDN Admin
Well-known member
In this episode of Defrag Tools, Andrew Richards, Chad Beeder and Larry Larsen continue walking you through the Windows Performance Toolkit (WPT).
Resources:
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
Timeline:
[01:20] - xperf.exe -on PROFILE -StackWalk Profile
[04:40] - xperf.exe -on PROC_THREAD+LOADER+PROFILE -StackWalk Profile
[06:14] - Lots of Views
[08:36] - View CPU by Module
[10:09] - View CPU by Stack
[14:52] - xperf.exe -on PROC_THREAD+LOADER+PROFILE+INTERRUPT+DPC -StackWalk Profile
[20:18] - DPC Timeline
[23:13] - DPC/ISR Per-CPU Analysis
[25:42] - Example of a DPC/ISR Spike
[33:35] - Summary
Example: "xperf - Collect CPU.cmd"
@echo off
echo Press a key when ready to start...
pause
echo .
echo ...Capturing...
echo .
xperf -on PROC_THREAD+LOADER+PROFILE+INTERRUPT+DPC -stackwalk Profile -BufferSize 1024 -MinBuffers 256 -MaxBuffers 256 -MaxFile 256 -FileMode Circular
echo Press a key when you want to stop...
pause
echo .
echo ...Stopping...
echo .
xperf -stop -d cpu.etl
View the full article
Resources:
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
Timeline:
[01:20] - xperf.exe -on PROFILE -StackWalk Profile
[04:40] - xperf.exe -on PROC_THREAD+LOADER+PROFILE -StackWalk Profile
[06:14] - Lots of Views
[08:36] - View CPU by Module
[10:09] - View CPU by Stack
[14:52] - xperf.exe -on PROC_THREAD+LOADER+PROFILE+INTERRUPT+DPC -StackWalk Profile
[20:18] - DPC Timeline
[23:13] - DPC/ISR Per-CPU Analysis
[25:42] - Example of a DPC/ISR Spike
[33:35] - Summary
Example: "xperf - Collect CPU.cmd"
@echo off
echo Press a key when ready to start...
pause
echo .
echo ...Capturing...
echo .
xperf -on PROC_THREAD+LOADER+PROFILE+INTERRUPT+DPC -stackwalk Profile -BufferSize 1024 -MinBuffers 256 -MaxBuffers 256 -MaxFile 256 -FileMode Circular
echo Press a key when you want to stop...
pause
echo .
echo ...Stopping...
echo .
xperf -stop -d cpu.etl
![95199164cd1f98a59a5d325122681c50.gif](/proxy.php?image=http%3A%2F%2Ftest.computerhelp.forum%2Fdata%2FMetaMirrorCache%2F95199164cd1f98a59a5d325122681c50.gif&hash=68f5ba4fcc6a7c328a00da2863af5cbb)
View the full article