Storport.sys trace to find out if the storage or the server has a latency issue. Performance Server

Also Titled, How to find out if the server is slow because of the server or the storage.

This is the fastest way I could find to get the Storport.sys collected and analyzed. It is quazi automated and should not be too challenging to complete. There are some requirements:

Create Storport Trace

  • Have 2008 R2 or 2012 Server or 2012 R2.
  • Have this link to collect the storport trace.
  • Clear the cache and run your trace with the counter job running.
  • Stop the job after the data is completed its transfer.
  • Use Event Viewer to save and extract the logs to an etl file.

Analyze Storport trace

  • Download and Install the Windows 8 ADK- Windows Assessment and deployment kit
  • Install XPERF from the ADK
  • Convert the ETL file to a CSV with the command in the folder- C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\Xperf –I storport.etl > storport.csv
  • Add Power Pivot as a COM add in to your Excel in Office
  • Download the contents of storportPACMAN and unzip to c:\storeportPACMAN
  • Place the ETL into the c:\storportPACMAN folder. name it storport.etl (important)
  • There is a powershell script named storportPACMAN.ps1 in the c:\storeportPACMAN folder. Run it.

In about 5-7 minutes, or longer, depending on the size of the original file, you will have a nicely organized report on the storport latency. I posted the source Link here to let you see the original source of the zip file and script. This script and excel template saves me from the terrible task of going through 55 meg of data, looking for a needle in a hay stack. This it a highly recommended way to get some decent storport results with ICSI connections only.

In conclusion, this tool will give you a number. if your number is higher then this, then your server has an issue getting writes or reads to the storage sub-system

<  9ms = excellent
< 15ms = good
< 25ms = fair
> 25ms = poor

This post looks somewhat boaring with no pictures and graphs to look at, but I promise you the storport trace results has a nice graphical view that should take away your doubt as to if the storport is the issue. If there are latencies here at this level, it is likely the server has an issue with the storage, in some way. If this checks out, then your looking at the Storage as the bottleneck.

Thank you







Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s