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:05] - xperf -on PROC_THREAD+LOADER+PROFILE+INTERRUPT+DPC+DISPATCHER+CSWITCH -stackwalk Profile+CSwitch+ReadyThread
[01:50] - Synchronization Episodes: #24, #25 & #26
[02:10] - CSwitch (a.k.a. NewThread) and ReadyThread stacks
[03:36] - Aarons Margosis VirtMemTest "Hang the UI" example
[05:15] - CPU (Precise)
NewProcess
NewThreadId
NewStack
ReadyingProcess
ReadyingThreadId
ReadyingStack
Waits(us)
[17:30] - Summary
Example: "xperf - Collect CPUWait.cmd"
@echo off
echo Press a key when ready to start...
pause
echo .
echo ...Capturing...
echo .
xperf -on PROC_THREAD+LOADER+PROFILE+INTERRUPT+DPC+DISPATCHER+CSWITCH -stackwalk Profile+CSwitch+ReadyThread -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 cpuwait.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:05] - xperf -on PROC_THREAD+LOADER+PROFILE+INTERRUPT+DPC+DISPATCHER+CSWITCH -stackwalk Profile+CSwitch+ReadyThread
[01:50] - Synchronization Episodes: #24, #25 & #26
[02:10] - CSwitch (a.k.a. NewThread) and ReadyThread stacks
[03:36] - Aarons Margosis VirtMemTest "Hang the UI" example
[05:15] - CPU (Precise)
NewProcess
NewThreadId
NewStack
ReadyingProcess
ReadyingThreadId
ReadyingStack
Waits(us)
[17:30] - Summary
Example: "xperf - Collect CPUWait.cmd"
@echo off
echo Press a key when ready to start...
pause
echo .
echo ...Capturing...
echo .
xperf -on PROC_THREAD+LOADER+PROFILE+INTERRUPT+DPC+DISPATCHER+CSWITCH -stackwalk Profile+CSwitch+ReadyThread -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 cpuwait.etl
![753ff0e72e4641822ce576eae12618c0.gif](/proxy.php?image=http%3A%2F%2Ftest.computerhelp.forum%2Fdata%2FMetaMirrorCache%2F753ff0e72e4641822ce576eae12618c0.gif&hash=cdb83c148c6bb25c8bc79b0c064e37f6)
View the full article