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 
  1. Once the issue is reproduced, run the following command to stop the Storport trace:
 logman stop "storport" -ets 
  1. 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

Products

PowerEdge XR2, PowerEdge FC640, PowerEdge M640, PowerEdge M640 (for PE VRTX), PowerEdge MX5016s, PowerEdge MX740C, PowerEdge MX750c, PowerEdge MX760c, PowerEdge MX840C, PowerEdge R240, PowerEdge R250, PowerEdge R260, PowerEdge R340, PowerEdge R350 , PowerEdge R360, PowerEdge R440, PowerEdge R450, PowerEdge R540, PowerEdge R550, PowerEdge R640, PowerEdge R6415, PowerEdge R650, PowerEdge R650xs, PowerEdge R6515, PowerEdge R6525, PowerEdge R660, PowerEdge R660xs, PowerEdge R6615, PowerEdge R6625, PowerEdge R740, PowerEdge R740XD, PowerEdge R740XD2, PowerEdge R7415, PowerEdge R7425, PowerEdge R750, PowerEdge R750XA, PowerEdge R750xs, PowerEdge R7515, PowerEdge R7525, PowerEdge R760, PowerEdge R760XA, PowerEdge R760xd2, PowerEdge R760xs, PowerEdge R7615, PowerEdge R7625, PowerEdge R840, PowerEdge R860, PowerEdge R940, PowerEdge R940xa, PowerEdge R960, PowerEdge T140, PowerEdge T150, PowerEdge T160, PowerEdge T340, PowerEdge T350, PowerEdge T360, PowerEdge T440, PowerEdge T550, PowerEdge T560, PowerEdge T640, PowerEdge XE2420, PowerEdge XE7420, PowerEdge XE7440, PowerEdge XR11, PowerEdge XR12 ...
Article Properties
Article Number: 000195728
Article Type: How To
Last Modified: 11 Dec 2024
Version:  7
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.