PowerEdge: Windows Server: Capturing a Storport Trace

Summary: How to capture a Storport trace to help with troubleshooting storage latency issues.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

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:

  1. 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 
  2. Once the issue is reproduced, run the following command to stop the Storport trace:
     logman stop "storport" -ets 
  3. 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-architectureThis hyperlink is taking you to a website outside of Dell Technologies.

Affected Products

Microsoft Windows Server 2016, Microsoft Windows Server 2019, Microsoft Windows Server 2022
Article Properties
Article Number: 000195728
Article Type: How To
Last Modified: 23 Mar 2026
Version:  8
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.