Defrag Tools: #44 - WPT - DiskIO Analysis

Download

Right click “Save as…”

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

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:
[00:30] - xperf -on PROC_THREAD+LOADER+DISK_IO+DISK_IO_INIT -stackwalk DiskReadInit+DiskWriteInit+DiskFlushInit
[02:00] - WPA
[03:22] - System Configuration
[04:30] - Disk Queue Length - need to use xPerfView
[06:32] - Disk Controllers, Disk Drives and RAID
[11:08] - * The 2nd thing is AHCI which does I/O reordering (forgot to mention it)
[15:45] - xPerfView - Disk I/O "Detail Graph"
[18:30] - WPA - IO Time & Disk Service Time
[22:45] - xPerfView - Disk Queue Length
[25:00] - Summary

Example: "xperf - Collect DiskIO.cmd"

@echo off
echo Press a key when ready to start...
pause

echo .
echo ...Capturing...
echo .

xperf -on PROC_THREAD+LOADER+DISK_IO+DISK_IO_INIT -stackwalk DiskReadInit+DiskWriteInit+DiskFlushInit -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 diskio.etl

Tags:

Follow the Discussion

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.