Defrag Tools: #47 - WPT - MiniFilter Analysis | Defrag Tools

  • Thread starter Thread starter Larry Larsen, Andrew
  • Start date Start date
L

Larry Larsen, Andrew

Guest
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:
{T00:00] - Filters & MiniFilters
[04:48] - xperf -on PROC_THREAD+LOADER+PROFILE+FLT_IO_INIT+FLT_IO+FLT_FASTIO+FLT_IO_FAILURE+FILENAME -stackwalk ...
[07:30] - WPA
[09:48] - IRP - Major Function
[11:30] - Filter to Major Functiom, then sort by Mini-Filter Driver
[14:20] - Zoom and then look at other graphs - e.g. CPU Usage (Sampled)
[15:25] - Summary

Example: "xperf - Collect MiniFilter.cmd"

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

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

xperf -on PROC_THREAD+LOADER+PROFILE+FLT_IO_INIT+FLT_IO+FLT_FASTIO+FLT_IO_FAILURE+FILENAME -stackwalk Profile+MiniFilterPreOpInit+MiniFilterPostOpInit -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 minifilter.etl

3de1ad66283e01629d6d2bace98f2a1f.gif


Continue reading...
 
Back
Top