[SOLVED] Fresh Install of Windows 10 storport.sys DPC latency

paul3z

Member
Joined
Feb 18, 2017
Posts
7
Hello Everyone!
I am new to posting, so please excuse any formatting issues. These threads have buried me with a wealth of information about similar issues. Unfortunately I can not seem to solve my issues as a lurker, so here we go:

I recently upgraded to x99 and have been unable to sort out alleged driver issues causing system hangs. I couldn't glean much information from the trace I ran, however it seems storport.sys encounters excessive DPC latency every few seconds. These issues persisted though multiple fresh installs of windows 10, despite which Sata port my drives are plugged into. Currently my audio stutters, pops and clicks; hopefully all the professionals here can help me sort this out. One last note, I just realized Speccy does not recognize my ram nor the correct frequency. I've done a significant amount of tinkering in my bios, troubleshooting different configurations, ram speeds didn't seem to fix the issues. According to my BIOS the memory is running at 3000Mhz.

Speccy:
Operating System
Windows 10 Pro 64-bit
CPU
Intel Core i7 6800K @ 3.40GHz 31 °C
Broadwell-E/EP 14nm Technology
RAM
32.0GB Unknown @ 1499MHz (15-17-17-35) (Corsair LPX DDR4 3000Mhz)
Motherboard
ASUSTeK COMPUTER INC. X99-A II (SOCKET 2011) 35 °C
Graphics
XB270HU (2560x1440@144Hz)
DELL U2715H (2560x1440@59Hz)
DELL U2715H (2560x1440@59Hz)
2047MB NVIDIA GeForce GTX 980 Ti (EVGA) 65 °C
2047MB NVIDIA GeForce GTX 980 Ti (EVGA) 61 °C
ForceWare version: 376.53
SLI Enabled
Storage
465GB Samsung SSD 850 EVO 500GB (SSD) 33 °C
465GB Samsung SSD 850 EVO 500GB (SSD) 26 °C
3726GB Seagate ST4000DX001-1CE168 (SATA) 22 °C
931GB Samsung SSD 960 EVO 1TB (Unknown)
931GB Hitachi HGST G-DRIVE mobile w SCSI Disk Device (USB (SATA)) 23 °C
7GB SanDisk Cruzer USB Device (USB)
Optical Drives
ATAPI iHAS124 F
Audio
Focusrite USB Audio


LatencyMon:

http://i.imgur.com/Pb7xPvN.png
http://i.imgur.com/wT86t48.png
_________________________________________________________________________________________________________
CONCLUSION
_________________________________________________________________________________________________________
Your system appears to be having trouble handling real-time audio and other tasks. You are likely to experience buffer underruns appearing as drop outs, clicks or pops. One or more DPC routines that belong to a driver running in your system appear to be executing for too long. One problem may be related to power management, disable CPU throttling settings in Control Panel and BIOS setup. Check for BIOS updates.
LatencyMon has been analyzing your system for 0:35:53 (h:mm:ss) on all processors.




_________________________________________________________________________________________________________
SYSTEM INFORMATION
_________________________________________________________________________________________________________
Computer name: DESKTOP-6TOEG5F
OS version: Windows 10 , 10.0, build: 14393 (x64)
Hardware: All Series, ASUS, ASUSTeK COMPUTER INC., X99-A II
CPU: GenuineIntel Intel(R) Core(TM) i7-6800K CPU @ 3.40GHz
Logical processors: 12
Processor groups: 1
RAM: 32678 MB total




_________________________________________________________________________________________________________
CPU SPEED
_________________________________________________________________________________________________________
Reported CPU speed: 340 MHz
Measured CPU speed: 1 MHz (approx.)


Note: reported execution times may be calculated based on a fixed reported CPU speed. Disable variable speed settings like Intel Speed Step and AMD Cool N Quiet in the BIOS setup for more accurate results.


WARNING: the CPU speed that was measured is only a fraction of the CPU speed reported. Your CPUs may be throttled back due to variable speed settings and thermal issues. It is suggested that you run a utility which reports your actual CPU frequency and temperature.






_________________________________________________________________________________________________________
MEASURED INTERRUPT TO USER PROCESS LATENCIES
_________________________________________________________________________________________________________
The interrupt to process latency reflects the measured interval that a usermode process needed to respond to a hardware request from the moment the interrupt service routine started execution. This includes the scheduling and execution of a DPC routine, the signaling of an event and the waking up of a usermode thread from an idle wait state in response to that event.


Highest measured interrupt to process latency (µs): 2031.132588
Average measured interrupt to process latency (µs): 2.433764


Highest measured interrupt to DPC latency (µs): 2029.626707
Average measured interrupt to DPC latency (µs): 0.833761




_________________________________________________________________________________________________________
REPORTED ISRs
_________________________________________________________________________________________________________
Interrupt service routines are routines installed by the OS and device drivers that execute in response to a hardware interrupt signal.


Highest ISR routine execution time (µs): 58.196471
Driver with highest ISR routine execution time: dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation


Highest reported total ISR routine time (%): 0.098431
Driver with highest ISR total time: dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation


Total time spent in ISRs (%) 0.098920


ISR count (execution time <250 µs): 2210505
ISR count (execution time 250-500 µs): 0
ISR count (execution time 500-999 µs): 0
ISR count (execution time 1000-1999 µs): 0
ISR count (execution time 2000-3999 µs): 0
ISR count (execution time >=4000 µs): 0




_________________________________________________________________________________________________________
REPORTED DPCs
_________________________________________________________________________________________________________
DPC routines are part of the interrupt servicing dispatch mechanism and disable the possibility for a process to utilize the CPU while it is interrupted until the DPC has finished execution.


Highest DPC routine execution time (µs): 2029.790
Driver with highest DPC routine execution time: storport.sys - Microsoft Storage Port Driver, Microsoft Corporation


Highest reported total DPC routine time (%): 0.037111
Driver with highest DPC total execution time: nvlddmkm.sys - NVIDIA Windows Kernel Mode Driver, Version 376.53 , NVIDIA Corporation


Total time spent in DPCs (%) 0.116430


DPC count (execution time <250 µs): 9580731
DPC count (execution time 250-500 µs): 0
DPC count (execution time 500-999 µs): 0
DPC count (execution time 1000-1999 µs): 0
DPC count (execution time 2000-3999 µs): 868
DPC count (execution time >=4000 µs): 0




_________________________________________________________________________________________________________
REPORTED HARD PAGEFAULTS
_________________________________________________________________________________________________________
Hard pagefaults are events that get triggered by making use of virtual memory that is not resident in RAM but backed by a memory mapped file on disk. The process of resolving the hard pagefault requires reading in the memory from disk while the process is interrupted and blocked from execution.


NOTE: some processes were hit by hard pagefaults. If these were programs producing audio, they are likely to interrupt the audio stream resulting in dropouts, clicks and pops. Check the Processes tab to see which programs were hit.


Process with highest pagefault count: sharex.exe


Total number of hard pagefaults 11913
Hard pagefault count of hardest hit process: 6113
Highest hard pagefault resolution time (µs): 870826.998235
Total time spent in hard pagefaults (%): 0.017249
Number of processes hit: 36




_________________________________________________________________________________________________________
PER CPU DATA
_________________________________________________________________________________________________________
CPU 0 Interrupt cycle time (s): 58.597109
CPU 0 ISR highest execution time (µs): 58.196471
CPU 0 ISR total execution time (s): 24.647836
CPU 0 ISR count: 2030343
CPU 0 DPC highest execution time (µs): 2029.790
CPU 0 DPC total execution time (s): 25.345840
CPU 0 DPC count: 8603623
_________________________________________________________________________________________________________
CPU 1 Interrupt cycle time (s): 8.514091
CPU 1 ISR highest execution time (µs): 50.006176
CPU 1 ISR total execution time (s): 0.869422
CPU 1 ISR count: 71459
CPU 1 DPC highest execution time (µs): 2016.218824
CPU 1 DPC total execution time (s): 0.627295
CPU 1 DPC count: 133692
_________________________________________________________________________________________________________
CPU 2 Interrupt cycle time (s): 8.146662
CPU 2 ISR highest execution time (µs): 4.762647
CPU 2 ISR total execution time (s): 0.000729
CPU 2 ISR count: 663
CPU 2 DPC highest execution time (µs): 2017.572647
CPU 2 DPC total execution time (s): 0.706221
CPU 2 DPC count: 152332
_________________________________________________________________________________________________________
CPU 3 Interrupt cycle time (s): 6.787333
CPU 3 ISR highest execution time (µs): 0.0
CPU 3 ISR total execution time (s): 0.0
CPU 3 ISR count: 0
CPU 3 DPC highest execution time (µs): 2015.680882
CPU 3 DPC total execution time (s): 0.051710
CPU 3 DPC count: 28452
_________________________________________________________________________________________________________
CPU 4 Interrupt cycle time (s): 7.893373
CPU 4 ISR highest execution time (µs): 0.0
CPU 4 ISR total execution time (s): 0.0
CPU 4 ISR count: 0
CPU 4 DPC highest execution time (µs): 2017.640
CPU 4 DPC total execution time (s): 0.641084
CPU 4 DPC count: 128216
_________________________________________________________________________________________________________
CPU 5 Interrupt cycle time (s): 6.137474
CPU 5 ISR highest execution time (µs): 0.0
CPU 5 ISR total execution time (s): 0.0
CPU 5 ISR count: 0
CPU 5 DPC highest execution time (µs): 2012.224412
CPU 5 DPC total execution time (s): 0.047081
CPU 5 DPC count: 16846
_________________________________________________________________________________________________________
CPU 6 Interrupt cycle time (s): 7.485843
CPU 6 ISR highest execution time (µs): 0.0
CPU 6 ISR total execution time (s): 0.0
CPU 6 ISR count: 0
CPU 6 DPC highest execution time (µs): 2018.245588
CPU 6 DPC total execution time (s): 0.653149
CPU 6 DPC count: 119543
_________________________________________________________________________________________________________
CPU 7 Interrupt cycle time (s): 6.877532
CPU 7 ISR highest execution time (µs): 0.0
CPU 7 ISR total execution time (s): 0.0
CPU 7 ISR count: 0
CPU 7 DPC highest execution time (µs): 2016.029118
CPU 7 DPC total execution time (s): 0.106027
CPU 7 DPC count: 27959
_________________________________________________________________________________________________________
CPU 8 Interrupt cycle time (s): 7.464798
CPU 8 ISR highest execution time (µs): 0.0
CPU 8 ISR total execution time (s): 0.0
CPU 8 ISR count: 0
CPU 8 DPC highest execution time (µs): 2017.514412
CPU 8 DPC total execution time (s): 0.664024
CPU 8 DPC count: 124061
_________________________________________________________________________________________________________
CPU 9 Interrupt cycle time (s): 6.958698
CPU 9 ISR highest execution time (µs): 5.574706
CPU 9 ISR total execution time (s): 0.049879
CPU 9 ISR count: 108040
CPU 9 DPC highest execution time (µs): 2017.142941
CPU 9 DPC total execution time (s): 0.192090
CPU 9 DPC count: 39975
_________________________________________________________________________________________________________
CPU 10 Interrupt cycle time (s): 7.796046
CPU 10 ISR highest execution time (µs): 0.0
CPU 10 ISR total execution time (s): 0.0
CPU 10 ISR count: 0
CPU 10 DPC highest execution time (µs): 2021.190
CPU 10 DPC total execution time (s): 0.771048
CPU 10 DPC count: 140108
_________________________________________________________________________________________________________
CPU 11 Interrupt cycle time (s): 8.239280
CPU 11 ISR highest execution time (µs): 0.0
CPU 11 ISR total execution time (s): 0.0
CPU 11 ISR count: 0
CPU 11 DPC highest execution time (µs): 2016.867353
CPU 11 DPC total execution time (s): 0.288081
CPU 11 DPC count: 66792
_________________________________________________________________________________________________________

XPERF TRACE
I ran a trace as was suggested, here is the cpu.etl file compressed.
CPU.zip - Google Drive

Thanks so much for the help everyone has given already, you all are great!
 
Hi paul3z. :welcome:

I'm not professional.
Try to reduce dram frequency to 1066 (shown by speccy and cpu-z) - dual channel 2133 (DDR4-2133 - PC-17100).
That's the value advised for your CPU and MB (on their webpages).
 
Last edited:
[h=1]Corsair Vengeance LPX 16GB (2x8GB) DDR4 DRAM 3000MHz (PC4-24000) C15 Memory Kit[/h]
That's the RAM I have installed, I have ran multiple passes of windows memory diagnostic without errors; I don't think it is a RAM issue, but I am by no means a professional. I think the problem is driver related but I am over my head when it comes to interpreting the trace I posted.
 
Are you looking for stability, I suppose?
If yes, try the value THEY (cpu/mb manufacturers) wrote (2133).
My wish is that it works on the first try.
If the problem continues, we'll check other things.
 
I changed the RAM back to the stock profile (2133MHz) and the storport.sys latency issues still remain. I have done most of the recommended troubleshooting tips (power management settings, update\reinstall chipset drivers, backroll and reinstall gfx drivers, reinstall windows, ect.). I really think its a driver issue I just need someone to help point me in the right direction. I appreciate the help, thanks.

Edit: I didn't answer your question. I am definitely looking for stability, but I also use my computer for gaming and running SLI might contribute to my DPC issues. Windows 10 has been such a stability nightmare I am considering a partition for Windows 7.

LatencyMon:
http://i.imgur.com/krXuQwu.png
 
I can't see the "usual things" in your trace: what command did you use to generate the trace?

Could you generate a new trace with these commands (to be run from an elevated command prompt)?
xperf -on DiagEasy

Wait some time (Niemiro said: "Wait until the computer has gone through a period of stuttering slowness") and then

xperf -d "%userprofile%\Desktop\trace.etl"
 
Last edited:
I previously followed these instructions provided by TomasD:

Are you using external audio interface/mixer? If not, please do the following:


  1. Download Windows Software Development Kit (SDK) for Windows and run the setup.
  2. Select Windows Performance Toolkit feature (all the others can be unchecked) and proceed with the download/installation.
  3. Once the installation finishes, open an elevated Command Prompt by right-clicking on CMD.EXE shortcut in your start menu and selecting Run As Administrator from the context menu.
  4. Type the following command, which will start tracing, in the Command Prompt window you just opened:
    Code:
    xperf -on PROC_THREAD+LOADER+PROFILE+INTERRUPT+DPC+DRIVERS+POWER+IDLE_STATES -stackwalk Profile -BufferSize 1024 -MinBuffers 256 -MaxBuffers 256 -MaxFile 256 -FileMode Circular
    If you see a yellow warning "xperf: warning: This system is not fully configured for x64 stack tracing" after running the above command, please complete these extra steps (otherwise, proceed to the step #5):
    Read More:



    If you see a red error "xperf: error: NT Kernel Logger: A device attached to the system is not functioning. (0x1f)" after running the above command, please complete these extra steps (otherwise, proceed to the step #5):
    Read More:



    If you see a red error "xperf: error: NT Kernel Logger: Cannot create a file when that file already exists. (0xb7)", please do the following (otherwise, proceed to the step #5):
    Read More:

  5. Perform some activities with your computer for few minutes, making sure the issues you reported are reproduced.
  6. Run the following command, which will stop the tracing, in the command prompt window you already have opened:
    Code:
    xperf -stop -d C:\CPU.etl
  7. Compress file C:\CPU.etl
  8. Upload the compressed file to a file sharing service (e.g. OneDrive or DropBox).
  9. Share the download link here.

I ran another trace with your instructions listed above and here's the file:
trace.zip - Google Drive

Edit: I am concerned with the 2ms execution for storport.sys. From my limited knowledge I think that is causing the audio stuttering.

Thanks for the help!
 
You forget to provide some information, especially the PSU: I played a bit with outervision calculator (I'm not a hardware expert) and found (after I exaggerated a bit... Or maybe not) you should have got at least a 750W psu (850W is likely better).
I was checking the trace but windows closed it after a bit I was playing with that (probably because it is too big).
At that time, I was curious about Avid ProTools.exe (that seemed to clear hard faults and to increase disk usage to the max): did you install it on purpose? Are you using it? Or don't you know what it is?

(Now I must close this day. Good night! :) )


  • Please provide answers for (answer the best that you can):
    • System Manufacturer?
    • Laptop or Desktop?
    • Exact model number (if laptop, check label on bottom)
    • OS ? (Windows 10, 8.1, 8, 7, Vista)
    • x86 (32bit) or x64 (64bit)?
    • Service pack?
    • What was original installed OS on system?
    • Is the OS an OEM version (came pre-installed on system) or full retail version (YOU purchased it from retailer)?
    • Age of system? (hardware)
    • Age of OS installation?
    • Have you re-installed the OS?
    • CPU
    • RAM (brand, model, which slots are you using?)
    • Video Card
    • MotherBoard - (if NOT a laptop)
    • Power Supply - brand & wattage (if laptop, skip this one)
    • What security software are you using? (Firewall, antivirus, antimalware, antispyware, and so forth)
    • Are you using proxy, vpn, ipfilters or similar software?
    • Are you using Disk Image tools? (like daemon tools, alcohol 52% or 120%, virtual CloneDrive, roxio software)
    • Are you currently under/overclocking? Are there overclocking software installed on your system?


  • Retrieve System Information, using speccy
    1. Download Speccy portable - current version 1.30.730 (click), unzip/decompress it and put it on your desktop.
    2. When the program opens, it will retrieve some information regarding your system.
    3. Once it's done, select the File menu and choose Publish snapshot. Answer Yes to the confirmation message.
      (Or generate a log in your pc, if you prefer to not publish the snapshot for some reason)
    4. On the next screen that comes up, choose the Copy to Clipboard button and paste this link in your next reply.
      (Or upload here the generated log, in case you didn't publish the snapshot)




  • Facultative System information log (if previous point fails for some obscure reason)
    The following command should generate a log, named MsInfo.nfo, on your desktop, after some time (few seconds or minutes).
    Upload it here when windows finished its creation.
    It obviously should be run from an elevated command prompt:
    Code:
    msinfo32 /nfo msinfo32 /nfo "%userprofile%\desktop\MsInfo.nfo"
 
Last edited:
Protools is a Digital Audio Workstation I use. I want to optimize my computer for Pro Tools and Ableton Live. Mixing audio with popping and clicking is my main issue. In addition to system wide audio stuttering, the computer seems to hang and is constantly showing the spinning blue "working" circle next to my mouse. I have a hunch Windows isn't running to its full potential; I assume, since my OS drive gets over 2Gbs read/write speeds and my CPU is significant, that I shouldn't have long loading screens or system hangs. I really appreciate all the help Xilolee, thank you so much!



  • System Manufacturer? Myself
  • Laptop or Desktop? Desktop
  • OS ? Windows 10 Pro
  • 64bit
  • Service pack? Version 1607 (OS Build 14393.693)
  • What was original installed OS on system? Windows 10
  • Is the OS an OEM version (came pre-installed on system) or full retail version (YOU purchased it from retailer)? Full Retail Version Purchased online
  • Age of system? (hardware): Motherboard and CPU (2 months), Everything Else (16 months)
  • Age of OS installation? 2 Weeks
  • Have you re-installed the OS? Yes twice since installing new hardware on new years.
  • CPU: i7 6800k
  • RAM (brand, model, which slots are you using?) 2x Corsair Vengeance LPX 16GB (2x8GB) DDR4 DRAM 3000MHz (PC4-24000) C15 Memory Kit. Installed one stick per channel in slots (left>right) 1,3,6,8, which is the recomended slots per MB manual.
  • Video Card: 2x EVGA 980ti Classified SLI
  • MotherBoard - Asus x99-a ii
  • Power Supply - EVGA Supernova 1000 Watt 80+ Gold Rated
  • What security software are you using? Windows Defender
  • Are you using proxy, vpn, ipfilters or similar software? No
  • Are you using Disk Image tools? No
  • Are you currently under/overclocking? Are there overclocking software installed on your system? I am currently overclocked to 4.1Ghz stable. All overclocking has been done in the bios, the sound issues persist regardless of overclock/stock settings.

Speccy:
http://speccy.piriform.com/results/EYQdyZMZgDeCEpzkGG6OSka

SysnativeFileCollectionApp, Perfmon Report (I did it anyways, didnt look good), and MsInfo.nfo:
diagnostics.zip - Google Drive

Another (Smaller) Trace File:
trace (1).zip - Google Drive
 
Yea the stuttering happens for youtube videos, gaming and audio production. The audio stuttering occurs system wide.
 
I don't know how to mark the thread as solved, however I fixed my problems! The audio popping was because my scarlet 2i2 was defaulting to 128kb sample rate within windows, once I changed it to 256 the popping disappeared. The other issues I was having (system hangs, crashing when resuming from sleep), were fixed by increasing RAM voltage from 1.35v to 1.38v. Thanks for all the help.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top