PowerEdge: Windows Server: Capturing a Storport Trace
Summary: How to capture a Storport trace to help with troubleshooting storage latency issues.
Instructions
A Storport trace measures the time a computer's disk subsystem takes to complete I/O operations. The measurements are taken from storport.sys, a storage port driver that is suitable for use with high-performance buses, such as fibre channel, iSCSI, and RAID adapters. Storport.sys is the last component in the Windows storage stack before the I/O operation is sent to the storage HBA. A Storport trace is useful when trying to isolate the cause of a performance issue (software layer, storage controller, hard drives, SAN, and so forth).
To collect a Storport trace:
- Run the following command to create Storport trace in performance monitor. The trace will start automatically after running the command:
logman create trace "storport" -ow -o c:\perflogs\storport.etl -p "Microsoft-Windows-StorPort" 0xffffffffffffffff 0xff -nb 16 16 -bs 1024 -mode Circular -f bincirc -max 4096 -ets
- Once the issue is reproduced, run the following command to stop the Storport trace:
logman stop "storport" -ets
- To convert the log to .csv format that can be viewed in Excel, run the following command:
xperf -i C:\PerfLogs\storport.etl -o C:\PerfLogs\storport.csv -tle -target human
How to Capture a Storport Trace
Duration: 00:07:46
Closed captions: English
About Windows Storage Driver Architecture
https://docs.microsoft.com/en-us/windows-hardware/drivers/storage/storage-driver-architecture