DPC Latency problem (Storport.sys, nvlddmkm.sys, dxgkrnl.sys, etc.)

Page 1 of 3 123 LastLast

  1. Posts : 14
    Windows 10
       #1

    DPC Latency problem (Storport.sys, nvlddmkm.sys, dxgkrnl.sys, etc.)


    Hi!

    December 2019 I decided to get a new Alienware M15 R2 with the following specs (I reinstalled Windows 10 yesterday):

    Code:
    Computer:      Alienware m15 R2
    CPU:           Intel Core i7-9750H (Coffee Lake-H, U0)
                   2600 MHz (26.00x100.0) @ 3990 MHz (40.00x99.8)
    Motherboard:   Alienware Alienware m15 R2
    BIOS:          1.6.0, 07/07/2020
    Chipset:       Intel HM370 (Cannon Lake-H)
    Memory:        16384 MBytes @ 1330 MHz, 19-19-19-43
    Graphics:      Intel UHD Graphics 630 (Coffee Lake-H GT2) [DELL]
                   Intel UHD Graphics 630, 1024 MB 
    Graphics:      NVIDIA GeForce RTX 2080 with Max-Q Design [DELL]
                   NVIDIA GeForce RTX 2080, 8192 MB GDDR6 SDRAM
    Drive:         KXG50PNV2T04 NVMe TOSHIBA 2048GB, 2000.4 GB, NVMe
    Sound:         Intel Cannon Lake-H/S - cAVS (Audio, Voice, Speech) [B0]
    Sound:         NVIDIA TU104 - High Definition Audio Controller
    Network:       RealTek Semiconductor, Device ID: 3000
    Network:       Killer Wi-Fi 6 AX1650w 160MHz Wireless Network Adapter (200D2W)
    OS:            Microsoft Windows 10 Education (x64) Build 19041.546 (2004/May 2020 Update)
    Ever since I got my new Astro A40 TR headset, I started to notice that I could get "cracks" and "pops" in the sound when gaming. The only thing that fixed this (temporarily only though) is to unplug and then replug the headset in the machine. At first I thought it was something related to the headset and/or audio jack, however, I have noticed that my computer is plagued by DPC latency issues.

    The ones that I seem to see the most are the following:

    • storport.sys
    • nvlddmkm.sys
    • Wdf01000.sys
    • dxgkrnl.sys
    • ndis.sys


    It seems that these tend to spike really high, probably storport.sys the most, followed by dxgkrnl.sys. I have tried numerous of solutions/fixes, such as the one found in this thread (but didn't help): Windows 10 audio clicks,pops,stutters. storport latency issues? HELP?

    I have also tried to strip the Nvidia driver (using NVCleanstall) so that I only have the absolutely necessary things from it. This seemed to help a little but not all.

    Below you can see the log from LatencyMon:

    Code:
    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:01:09  (h:mm:ss) on all processors.
    
    
    _________________________________________________________________________________________________________
    SYSTEM INFORMATION
    _________________________________________________________________________________________________________
    Computer name:                                        VIRTUALBOOST-AL
    OS version:                                           Windows 10, 10.0, version 2004, build: 19041 (x64)
    Hardware:                                             Alienware m15 R2, Alienware
    CPU:                                                  GenuineIntel Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Logical processors:                                   12
    Processor groups:                                     1
    RAM:                                                  16173 MB total
    
    
    _________________________________________________________________________________________________________
    CPU SPEED
    _________________________________________________________________________________________________________
    Reported CPU speed:                                   2592 MHz
    
    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.
    
    
    _________________________________________________________________________________________________________
    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):   3589,70
    Average measured interrupt to process latency (µs):   4,973625
    
    Highest measured interrupt to DPC latency (µs):       3587,0
    Average measured interrupt to DPC latency (µs):       2,127718
    
    
    _________________________________________________________________________________________________________
     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):              22,911265
    Driver with highest ISR routine execution time:       HDAudBus.sys - High Definition Audio Bus Driver, Microsoft Corporation
    
    Highest reported total ISR routine time (%):          0,000996
    Driver with highest ISR total time:                   Wdf01000.sys - Kernellägesdrivrutin för Framework Runtime, Microsoft Corporation
    
    Total time spent in ISRs (%)                          0,001002
    
    ISR count (execution time <250 µs):                   8176
    ISR count (execution time 250-500 µs):                0
    ISR count (execution time 500-1000 µs):               0
    ISR count (execution time 1000-2000 µs):              0
    ISR count (execution time 2000-4000 µ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):              4933,256173
    Driver with highest DPC routine execution time:       storport.sys - Microsoft Storage Port Driver, Microsoft Corporation
    
    Highest reported total DPC routine time (%):          0,142189
    Driver with highest DPC total execution time:         ndis.sys - Network Driver Interface Specification (NDIS), Microsoft Corporation
    
    Total time spent in DPCs (%)                          0,222181
    
    DPC count (execution time <250 µs):                   214699
    DPC count (execution time 250-500 µs):                0
    DPC count (execution time 500-10000 µs):              15
    DPC count (execution time 1000-2000 µs):              1
    DPC count (execution time 2000-4000 µs):              3
    DPC count (execution time >=4000 µs):                 1
    
    
    _________________________________________________________________________________________________________
     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:                 steam.exe
    
    Total number of hard pagefaults                       12356
    Hard pagefault count of hardest hit process:          4126
    Number of processes hit:                              52
    
    
    _________________________________________________________________________________________________________
     PER CPU DATA
    _________________________________________________________________________________________________________
    CPU 0 Interrupt cycle time (s):                       3,058280
    CPU 0 ISR highest execution time (µs):                22,911265
    CPU 0 ISR total execution time (s):                   0,007432
    CPU 0 ISR count:                                      7316
    CPU 0 DPC highest execution time (µs):                4933,256173
    CPU 0 DPC total execution time (s):                   1,713795
    CPU 0 DPC count:                                      183290
    _________________________________________________________________________________________________________
    CPU 1 Interrupt cycle time (s):                       0,410088
    CPU 1 ISR highest execution time (µs):                14,545525
    CPU 1 ISR total execution time (s):                   0,000921
    CPU 1 ISR count:                                      860
    CPU 1 DPC highest execution time (µs):                114,184414
    CPU 1 DPC total execution time (s):                   0,025423
    CPU 1 DPC count:                                      2630
    _________________________________________________________________________________________________________
    CPU 2 Interrupt cycle time (s):                       0,379427
    CPU 2 ISR highest execution time (µs):                0,0
    CPU 2 ISR total execution time (s):                   0,0
    CPU 2 ISR count:                                      0
    CPU 2 DPC highest execution time (µs):                397,058642
    CPU 2 DPC total execution time (s):                   0,021166
    CPU 2 DPC count:                                      7227
    _________________________________________________________________________________________________________
    CPU 3 Interrupt cycle time (s):                       0,361504
    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):                107,050926
    CPU 3 DPC total execution time (s):                   0,006801
    CPU 3 DPC count:                                      1924
    _________________________________________________________________________________________________________
    CPU 4 Interrupt cycle time (s):                       0,373904
    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):                181,244599
    CPU 4 DPC total execution time (s):                   0,014072
    CPU 4 DPC count:                                      4270
    _________________________________________________________________________________________________________
    CPU 5 Interrupt cycle time (s):                       0,273281
    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):                208,342593
    CPU 5 DPC total execution time (s):                   0,004035
    CPU 5 DPC count:                                      1158
    _________________________________________________________________________________________________________
    CPU 6 Interrupt cycle time (s):                       0,371636
    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):                260,232253
    CPU 6 DPC total execution time (s):                   0,021923
    CPU 6 DPC count:                                      6353
    _________________________________________________________________________________________________________
    CPU 7 Interrupt cycle time (s):                       0,291832
    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):                94,081790
    CPU 7 DPC total execution time (s):                   0,006095
    CPU 7 DPC count:                                      1695
    _________________________________________________________________________________________________________
    CPU 8 Interrupt cycle time (s):                       0,338355
    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):                91,472222
    CPU 8 DPC total execution time (s):                   0,010412
    CPU 8 DPC count:                                      2249
    _________________________________________________________________________________________________________
    CPU 9 Interrupt cycle time (s):                       0,292014
    CPU 9 ISR highest execution time (µs):                0,0
    CPU 9 ISR total execution time (s):                   0,0
    CPU 9 ISR count:                                      0
    CPU 9 DPC highest execution time (µs):                162,666667
    CPU 9 DPC total execution time (s):                   0,005909
    CPU 9 DPC count:                                      1057
    _________________________________________________________________________________________________________
    CPU 10 Interrupt cycle time (s):                       0,331716
    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):                3515,510802
    CPU 10 DPC total execution time (s):                   0,019953
    CPU 10 DPC count:                                      2143
    _________________________________________________________________________________________________________
    CPU 11 Interrupt cycle time (s):                       0,233358
    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):                57,664352
    CPU 11 DPC total execution time (s):                   0,003402
    CPU 11 DPC count:                                      723
    _________________________________________________________________________________________________________
    As well as the Drivers tab:

    DPC Latency problem (Storport.sys, nvlddmkm.sys, dxgkrnl.sys, etc.)-latencymondrivers.png

    Is there anything else I could try? I have the Windows Performance Recorder ready to go but I'm unsure on what to select when I do a log trace..

    Any help is greatly appreciated!

    Best regards,
    VirtualBoost
      My Computer


  2. Posts : 42,992
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    @zinou is about the only member familiar with the WPR.

    There is a good number of threads on latency issues and examples of use of the WPA (screenshots). Well worth researching those threads.

    An elimination approach where you disable drivers or hardware is one crude simplistic angle- or disabling hardware in Device Manager- or even remove the hardware (desktops).

    Autoruns (free from MS) is a useful tool here.

    Researching your own device and latency might yield something.

    If it's an issue with a driver version which you can't disable and still boot, that's another matter of course.

    Were you experiencing audio problems before you reinstalled Windows, and if so, what was your previous build?
      My Computers


  3. Posts : 14
    Windows 10
    Thread Starter
       #3

    dalchina said:
    @zinou is about the only member familiar with the WPR.

    There is a good number of threads on latency issues and examples of use of the WPA (screenshots). Well worth researching those threads.

    An elimination approach where you disable drivers or hardware is one crude simplistic angle- or disabling hardware in Device Manager- or even remove the hardware (desktops).

    Autoruns (free from MS) is a useful tool here.

    Researching your own device and latency might yield something.

    If it's an issue with a driver version which you can't disable and still boot, that's another matter of course.

    Were you experiencing audio problems before you reinstalled Windows, and if so, what was your previous build?
    Thanks for the reply! Yes I was having issues with the previous version of Windows as well, 1909.
      My Computer


  4. Posts : 897
    windows 10
       #4

    Hi,

    Usually, latencies are related to outdated or low performing driver.
    Have you made an update to all your drivers? not only video and audio drivers.

    you can use a tool like ''Driver Easy '' to identify drivers that need an update.

    If you have tried all this stuff, you can record a trace with the Windows performance tool kit.
    Here is a tutorial on how to download and use this tool:
    How To Record Windows Boot Trace Using Windows Performance Recorder (WPR) - ZineTek

    What you need to do after installing the tool, is to run Windows performance recorder with the following parameters and reproduce the issue:



    DPC Latency problem (Storport.sys, nvlddmkm.sys, dxgkrnl.sys, etc.)-capture.png

    DPC Latency problem (Storport.sys, nvlddmkm.sys, dxgkrnl.sys, etc.)-capture1.png
      My Computer


  5. Posts : 14
    Windows 10
    Thread Starter
       #5

    zinou said:
    Hi,

    Usually, latencies are related to outdated or low performing driver.
    Have you made an update to all your drivers? not only video and audio drivers.

    you can use a tool like ''Driver Easy '' to identify drivers that need an update.

    If you have tried all this stuff, you can record a trace with the Windows performance tool kit.
    Here is a tutorial on how to download and use this tool:
    How To Record Windows Boot Trace Using Windows Performance Recorder (WPR) - ZineTek

    What you need to do after installing the tool, is to run Windows performance recorder with the following parameters and reproduce the issue:



    DPC Latency problem (Storport.sys, nvlddmkm.sys, dxgkrnl.sys, etc.)-capture.png

    DPC Latency problem (Storport.sys, nvlddmkm.sys, dxgkrnl.sys, etc.)-capture1.png
    Hi!

    Thanks for the reply (and sorry for my late reply). After updating everything with "Driver Easy", my computer refused to start anymore, so I decided to reinstall it with AHCI mode in BIOS this time. However, I noticed that my hard drive didn't perform as well as it used to do, so I once more reinstalled it (probably not necessary but I wanted to be on the safe side) with RAID ON mode in BIOS. This time I installed all the Intel drivers from Dells website (albeit not very new ones), they were the following:

    • Intel Rapid Storage Technology Driver, 17.9.1.1009, A03
    • Intel Management Engine Components Installer, 2014.14.0.1540, A04
    • Intel Management Engine Interface Driver, 1914.12.0.1255, A00
    • Intel Serial IO Driver, 30.100.1841.2, A02
    • Intel Integrated Sensor Solution Driver, 3.10.100.3920, A00
    • Intel HID Event Filter Driver, 2.2.1.375, A10
    • Intel Dynamic Platform and Thermal Framework, 8.5.10103.7263, A03


    I then downloaded Driver Easy and only updated the Intel Rapid Storage Technology driver, as it had an apparently newer version available (however I couldn't find this version on Intels website). Now LatencyMon looks much better than before:

    DPC Latency problem (Storport.sys, nvlddmkm.sys, dxgkrnl.sys, etc.)-latencymonnew.png

    storport.sys seems to be very low now. However, Wdf01000.sys still can spike occassionally, albeit not often as before. It seems to be related to something I can't really put my finger on. What I noticed before was that when playing games while listening to music, the music could "pop" as soon as soon as it paused. I have tried playing the same game that usually did this but haven't encountered it, so maybe it solved itself? I will be on the look out for it and if it happens again, I will post a trace log.

    However, something else was introduced since I reinstalled my computer (albeit unrelated to DPC latency). I usually run the Final Fantasy XIV Shadowbringers benchmark to see if performance is around the same after a reinstall. In the past (on the same computer) I could get around 16000 points. However, recently I just get 15000 points which I suspect is due to CPU temperatures (it can hit 100C when running demanding games like Modern Warfare). I used to combat this with ThrottleStop, but a Bios version stops me from running ThrottleStop (the new BIOS blocks undervolting) and I have to live with 100C temperatures that always lead to worse performace if I play games for a while. It doesn't do this with FFXIV however.

    However, before I reinstalled yesterday, I got around 15000 points in thhe Benchmark. Now, when everything seems to be running better in terms of latency, I only get 14000 points (sometimes even less). It might not seem like a big difference, but it does feel strange to me (and I have less stuff running in the background than before). What could that be due to? The only thing that came to mind that was different was the Intel drivers, so I tried to uninstall those as well as rolling back a Nvidia Geforce driver version (a new driver released yesterday), but the result is still the same (latency is also the same from what I can see). Do you have any ideas what it could be?
      My Computer


  6. Posts : 42,992
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #6

    After updating everything with "Driver Easy"
    - discussions here vote very much against the routine use of such tools. I'd only recommend using a tool in a particular case- as you have.

    Resolving latency issues usually means using an older version of a particular driver. If relevant and available there, that might mean one from the manufacturer's site. Or even one from an older build of the O/S.

    The Latencymon report looks good, although in neither case have you run it for very long.
      My Computers


  7. Posts : 14
    Windows 10
    Thread Starter
       #7

    dalchina said:
    - discussions here vote very much against the routine use of such tools. I'd only recommend using a tool in a particular case- as you have.

    Resolving latency issues usually means using an older version of a particular driver. If relevant and available there, that might mean one from the manufacturer's site. Or even one from an older build of the O/S.
    Yes, I figured that might be the case and I'm of the same opinion as you. But I decided to try it all out since I was on a very fresh install of Windows 10, so I figured if something happens (which it did), I would just reinstall it again.

    You're right! I decided to do it once more but it bit longer, still looks fairly good I think..

    DPC Latency problem (Storport.sys, nvlddmkm.sys, dxgkrnl.sys, etc.)-latencymonnew2.png
    Last edited by VirtualBoost; 10 Oct 2020 at 09:05.
      My Computer


  8. Posts : 14
    Windows 10
    Thread Starter
       #8

    zinou said:
    Hi,

    Usually, latencies are related to outdated or low performing driver.
    Have you made an update to all your drivers? not only video and audio drivers.

    you can use a tool like ''Driver Easy '' to identify drivers that need an update.

    If you have tried all this stuff, you can record a trace with the Windows performance tool kit.
    Here is a tutorial on how to download and use this tool:
    How To Record Windows Boot Trace Using Windows Performance Recorder (WPR) - ZineTek

    What you need to do after installing the tool, is to run Windows performance recorder with the following parameters and reproduce the issue:



    DPC Latency problem (Storport.sys, nvlddmkm.sys, dxgkrnl.sys, etc.)-capture.png

    DPC Latency problem (Storport.sys, nvlddmkm.sys, dxgkrnl.sys, etc.)-capture1.png
    @zinou Hi again, the issues reappeared during today's Zoom class. I did a stack trace of it so I hope it is to some use..

    https://mega.nz/file/pIxwGJCL#PtWLuM...9JWxvTtE5T5M3U

    Tell me if you need anything else! I really appreciate the assistance!

    Best regards,
    Johan
      My Computer


  9. Posts : 897
    windows 10
       #9

    Hi,

    For me those DPCs are originated by the Intel Intel(R) Serial IO GPIO Driver.

    DPC Latency problem (Storport.sys, nvlddmkm.sys, dxgkrnl.sys, etc.)-capture.png

    The DPC and ISR graph shows a lot of those DPCs spikes.

    It seems that your driver is outdated (ver 30.100.1816.3 released on April 2018).

    DPC Latency problem (Storport.sys, nvlddmkm.sys, dxgkrnl.sys, etc.)-capture1.png

    A newer version is available on the Dell Website for your computer model.

    DPC Latency problem (Storport.sys, nvlddmkm.sys, dxgkrnl.sys, etc.)-capture2.png

    Update this driver and see if it helps.
      My Computer


  10. Posts : 14
    Windows 10
    Thread Starter
       #10

    zinou said:
    Hi,

    For me those DPCs are originated by the Intel Intel(R) Serial IO GPIO Driver.

    DPC Latency problem (Storport.sys, nvlddmkm.sys, dxgkrnl.sys, etc.)-capture.png

    The DPC and ISR graph shows a lot of those DPCs spikes.

    It seems that your driver is outdated (ver 30.100.1816.3 released on April 2018).

    DPC Latency problem (Storport.sys, nvlddmkm.sys, dxgkrnl.sys, etc.)-capture1.png

    A newer version is available on the Dell Website for your computer model.

    DPC Latency problem (Storport.sys, nvlddmkm.sys, dxgkrnl.sys, etc.)-capture2.png

    Update this driver and see if it helps.
    I tried the driver and it seems to have helped a little bit but I haven’t been able to test it out fully. However, due to other issues, like temperature when gaming, Dell will pick it up tomorrow to fix these issues. I doubt that it will help that much, but what can you do?

    Once I receive the repaired laptop, I will check again! Hopefully they check this issue but I doubt they can fix it..
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:14.
Find Us




Windows 10 Forums