Defrag Tools: #44 - WPT - DiskIO Analysis

Sign in to queue

Description

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

Embed

Download

Download this episode

The Discussion

Add Your 2 Cents