• Still running Windows 7 or earlier? Support for Windows 7 ended on January 14th 2020. Please review the thread here for more details.

DPC Latency, w7 x64, driving me mad [nvlddmkm & dxgkrnl]

Tyrael

Member
Joined
Dec 31, 2015
Posts
8
Hello,

I noticed some audio crackling on a newly formatted PC on w10 a week ago, so I loaded up LatencyMon and got the usual "appears to be having trouble handling real-time audio [...]". I tried fixing it for days, various driver installs, nothing. Decided maybe w10 was the issue, went to w7 x64, and lo and behold.. still issues. I've removed an old hdd, updated bios to latest drivers, formatted probably 3 times today - really about to pull my hair out, so I appeal to you for some aid.

Latencymon's Main tab screenshot: http://i.imgur.com/gpbBghw.png
Latencymon's Drivers tab screenshot: http://i.imgur.com/9yhvF60.png
Latencymon's Stats:
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:19  (h:mm:ss) on all processors.




_________________________________________________________________________________________________________
SYSTEM INFORMATION
_________________________________________________________________________________________________________
Computer name:                                        COMPUTER
OS version:                                           Windows 7 Service Pack 1, 6.1, build: 7601 (x64)
Hardware:                                             ASUSTeK COMPUTER INC., MAXIMUS VIII HERO
CPU:                                                  GenuineIntel Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Logical processors:                                   8
Processor groups:                                     1
RAM:                                                  16305 MB total




_________________________________________________________________________________________________________
CPU SPEED
_________________________________________________________________________________________________________
Reported CPU speed:                                   4008 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):   2258,716984
Average measured interrupt to process latency (µs):   2,555728


Highest measured interrupt to DPC latency (µs):       102,703792
Average measured interrupt to DPC latency (µs):       0,916111




_________________________________________________________________________________________________________
 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):              108,261477
Driver with highest ISR routine execution time:       dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation


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


Total time spent in ISRs (%)                          0,117609


ISR count (execution time <250 µs):                   209870
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):              1406,022954
Driver with highest DPC routine execution time:       nvlddmkm.sys - NVIDIA Windows Kernel Mode Driver, Version 361.43 , NVIDIA Corporation


Highest reported total DPC routine time (%):          0,087549
Driver with highest DPC total execution time:         cmudaxp.sys - C-Media Audio WDM Driver, C-Media Inc


Total time spent in DPCs (%)                          0,272112


DPC count (execution time <250 µs):                   703173
DPC count (execution time 250-500 µs):                0
DPC count (execution time 500-999 µs):                1
DPC count (execution time 1000-1999 µs):              2
DPC count (execution time 2000-3999 µs):              0
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:                 vsserv.exe


Total number of hard pagefaults                       712
Hard pagefault count of hardest hit process:          671
Highest hard pagefault resolution time (µs):          8787,803393
Total time spent in hard pagefaults (%):              0,036078
Number of processes hit:                              7




_________________________________________________________________________________________________________
 PER CPU DATA
_________________________________________________________________________________________________________
CPU 0 Interrupt cycle time (s):                       1,380567
CPU 0 ISR highest execution time (µs):                103,959830
CPU 0 ISR total execution time (s):                   0,181913
CPU 0 ISR count:                                      105318
CPU 0 DPC highest execution time (µs):                155,284681
CPU 0 DPC total execution time (s):                   0,937694
CPU 0 DPC count:                                      518442
_________________________________________________________________________________________________________
CPU 1 Interrupt cycle time (s):                       0,874998
CPU 1 ISR highest execution time (µs):                68,748503
CPU 1 ISR total execution time (s):                   0,233740
CPU 1 ISR count:                                      46979
CPU 1 DPC highest execution time (µs):                1406,022954
CPU 1 DPC total execution time (s):                   0,375460
CPU 1 DPC count:                                      85856
_________________________________________________________________________________________________________
CPU 2 Interrupt cycle time (s):                       0,384915
CPU 2 ISR highest execution time (µs):                49,874501
CPU 2 ISR total execution time (s):                   0,015437
CPU 2 ISR count:                                      2559
CPU 2 DPC highest execution time (µs):                57,906437
CPU 2 DPC total execution time (s):                   0,018550
CPU 2 DPC count:                                      5558
_________________________________________________________________________________________________________
CPU 3 Interrupt cycle time (s):                       0,639438
CPU 3 ISR highest execution time (µs):                108,261477
CPU 3 ISR total execution time (s):                   0,153760
CPU 3 ISR count:                                      28174
CPU 3 DPC highest execution time (µs):                1311,717814
CPU 3 DPC total execution time (s):                   0,210897
CPU 3 DPC count:                                      48452
_________________________________________________________________________________________________________
CPU 4 Interrupt cycle time (s):                       0,342544
CPU 4 ISR highest execution time (µs):                42,551647
CPU 4 ISR total execution time (s):                   0,001138
CPU 4 ISR count:                                      156
CPU 4 DPC highest execution time (µs):                56,852295
CPU 4 DPC total execution time (s):                   0,006249
CPU 4 DPC count:                                      3364
_________________________________________________________________________________________________________
CPU 5 Interrupt cycle time (s):                       0,429509
CPU 5 ISR highest execution time (µs):                48,058633
CPU 5 ISR total execution time (s):                   0,091510
CPU 5 ISR count:                                      15374
CPU 5 DPC highest execution time (µs):                141,557635
CPU 5 DPC total execution time (s):                   0,097275
CPU 5 DPC count:                                      21620
_________________________________________________________________________________________________________
CPU 6 Interrupt cycle time (s):                       0,380946
CPU 6 ISR highest execution time (µs):                39,964571
CPU 6 ISR total execution time (s):                   0,002018
CPU 6 ISR count:                                      297
CPU 6 DPC highest execution time (µs):                68,444361
CPU 6 DPC total execution time (s):                   0,011144
CPU 6 DPC count:                                      4744
_________________________________________________________________________________________________________
CPU 7 Interrupt cycle time (s):                       0,371669
CPU 7 ISR highest execution time (µs):                53,226297
CPU 7 ISR total execution time (s):                   0,067141
CPU 7 ISR count:                                      11013
CPU 7 DPC highest execution time (µs):                117,701347
CPU 7 DPC total execution time (s):                   0,070274
CPU 7 DPC count:                                      15140
_________________________________________________________________________________________________________


I'm uploading an etl file but it'll be a while, so any help in the meantime is greatly appreciated. Thanks!
 
I cannot edit my first post, so I'll have to post here:

So, I uninstalled the Nvidia drivers (again), and tried to run Latencymon without any drivers. It's still showing issues. Now the "Current measured interrupt to process latency" was 4559,077546µs, and "Highest measured interrupt to process latency" was 19460,835748µs. Is there something else that could be going on that I'm missing?

Stats here:
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 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:48  (h:mm:ss) on all processors.




_________________________________________________________________________________________________________
SYSTEM INFORMATION
_________________________________________________________________________________________________________
Computer name:                                        COMPUTER
OS version:                                           Windows 7 Service Pack 1, 6.1, build: 7601 (x64)
Hardware:                                             ASUSTeK COMPUTER INC., MAXIMUS VIII HERO
CPU:                                                  GenuineIntel Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Logical processors:                                   8
Processor groups:                                     1
RAM:                                                  16305 MB total




_________________________________________________________________________________________________________
CPU SPEED
_________________________________________________________________________________________________________
Reported CPU speed:                                   4008 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):   19460,835748
Average measured interrupt to process latency (µs):   2,676507


Highest measured interrupt to DPC latency (µs):       995,613628
Average measured interrupt to DPC latency (µs):       0,412865




_________________________________________________________________________________________________________
 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):              34,888723
Driver with highest ISR routine execution time:       ACPI.sys - ACPI Driver for NT, Microsoft Corporation


Highest reported total ISR routine time (%):          0,002851
Driver with highest ISR total time:                   hal.dll - Hardware Abstraction Layer DLL, Microsoft Corporation


Total time spent in ISRs (%)                          0,003024


ISR count (execution time <250 µs):                   108484
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):              70,048653
Driver with highest DPC routine execution time:       ndis.sys - NDIS 6.20 driver, Microsoft Corporation


Highest reported total DPC routine time (%):          0,042747
Driver with highest DPC total execution time:         iusb3xhc.sys - Intel(R) USB 3.0 eXtensible Host Controller Driver, Intel Corporation


Total time spent in DPCs (%)                          0,107344


DPC count (execution time <250 µs):                   825235
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):              0
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:                 vsserv.exe


Total number of hard pagefaults                       849
Hard pagefault count of hardest hit process:          819
Highest hard pagefault resolution time (µs):          6493,593313
Total time spent in hard pagefaults (%):              0,029567
Number of processes hit:                              4




_________________________________________________________________________________________________________
 PER CPU DATA
_________________________________________________________________________________________________________
CPU 0 Interrupt cycle time (s):                       0,8830
CPU 0 ISR highest execution time (µs):                32,471806
CPU 0 ISR total execution time (s):                   0,024919
CPU 0 ISR count:                                      108442
CPU 0 DPC highest execution time (µs):                70,048653
CPU 0 DPC total execution time (s):                   0,333678
CPU 0 DPC count:                                      651252
_________________________________________________________________________________________________________
CPU 1 Interrupt cycle time (s):                       0,860282
CPU 1 ISR highest execution time (µs):                34,584830
CPU 1 ISR total execution time (s):                   0,001102
CPU 1 ISR count:                                      34
CPU 1 DPC highest execution time (µs):                52,813124
CPU 1 DPC total execution time (s):                   0,442362
CPU 1 DPC count:                                      128136
_________________________________________________________________________________________________________
CPU 2 Interrupt cycle time (s):                       0,426928
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):                25,326846
CPU 2 DPC total execution time (s):                   0,009530
CPU 2 DPC count:                                      4626
_________________________________________________________________________________________________________
CPU 3 Interrupt cycle time (s):                       0,427430
CPU 3 ISR highest execution time (µs):                32,529691
CPU 3 ISR total execution time (s):                   0,000194
CPU 3 ISR count:                                      6
CPU 3 DPC highest execution time (µs):                49,758982
CPU 3 DPC total execution time (s):                   0,068892
CPU 3 DPC count:                                      16651
_________________________________________________________________________________________________________
CPU 4 Interrupt cycle time (s):                       0,444436
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):                26,457335
CPU 4 DPC total execution time (s):                   0,005799
CPU 4 DPC count:                                      4286
_________________________________________________________________________________________________________
CPU 5 Interrupt cycle time (s):                       0,342603
CPU 5 ISR highest execution time (µs):                34,888723
CPU 5 ISR total execution time (s):                   0,000069
CPU 5 ISR count:                                      2
CPU 5 DPC highest execution time (µs):                43,862525
CPU 5 DPC total execution time (s):                   0,030684
CPU 5 DPC count:                                      6797
_________________________________________________________________________________________________________
CPU 6 Interrupt cycle time (s):                       0,354848
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):                30,407934
CPU 6 DPC total execution time (s):                   0,009368
CPU 6 DPC count:                                      5980
_________________________________________________________________________________________________________
CPU 7 Interrupt cycle time (s):                       0,360333
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):                48,140968
CPU 7 DPC total execution time (s):                   0,032753
CPU 7 DPC count:                                      7507
_________________________________________________________________________________________________________


etl finally finished uploading, so here it is: https://www.dropbox.com/s/8dzlb198b0hgyd2/CPU.etl?dl=0
 
If it helps.. things I've tried:
  • Swapped to old gtx670
  • Removed soundcard
  • Removed any hdd besides ssd Windows is on
  • Set to High Performance power settings and disabled Speedstep, etc.
  • Removed any non essential USB items
  • Ran Memtest86+
  • Disconnected Ethernet
  • Swapped PCI-E slots
  • Disconnected UPS

Nothing helps, I still get very high interrupt times to process latency.
I can't think of anything besides hardware motherboard or cpu problems now, and I have no clue how I could test them.. Never been this desperate trying to fix PC issues.
 
Yeah - it improved but only barely. Still getting the Latencymon spikes, especially during games.
 
It's all newly mounted so no dust, no over/underclock besides Intel's own Turbo Boost. Tried disabling Speedstep, C states, etc, no difference.
 
Yes.. Anyway, seems to be fine now, I did my own digging and Intel Network drivers are bad, got the more updated ones from their own site and it's better.
 

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

Back
Top