DPC Latency problems

H

HarryMecha

Hi, over the last few days out of the blue I started to hear weird crackling and popping noises during video and audio playback, I tried to investigate and check to see what the problem was myself, I stumbled upon LatencyMon that test DPC Latency, seems that my problem is due to my ndis.sys having an incredibly long DPC routine execution time, I have updated the BIOS and every driver I could find related to the issue but it doesn't seem to fix it, whenever I think it's getting better I have massive spikes. Here's the stats from LatencyMon after I ran it for 20 minutes:

_________________________________________________________________________________________________________

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. At least one detected problem appears to be network related. In case you are using a WLAN adapter, try disabling it to get better results.

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





_________________________________________________________________________________________________________

SYSTEM INFORMATION

_________________________________________________________________________________________________________

Computer name: HARRY-LAPTOP

OS version: Windows 10, 10.0, version 1909, build: 18363 (x64)

Hardware: Strix GL703GM_GL703GM, ASUSTeK COMPUTER INC.

CPU: GenuineIntel Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz

Logical processors: 12

Processor groups: 1

RAM: 16306 MB total





_________________________________________________________________________________________________________

CPU SPEED

_________________________________________________________________________________________________________

Reported CPU speed: 2208 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): 122400.70

Average measured interrupt to process latency (µs): 7.419329



Highest measured interrupt to DPC latency (µs): 122396.20

Average measured interrupt to DPC latency (µs): 4.169295





_________________________________________________________________________________________________________

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): 209.755435

Driver with highest ISR routine execution time: Wdf01000.sys - Kernel Mode Driver Framework Runtime, Microsoft Corporation



Highest reported total ISR routine time (%): 0.015845

Driver with highest ISR total time: HDAudBus.sys - High Definition Audio Bus Driver, Microsoft Corporation



Total time spent in ISRs (%) 0.020728



ISR count (execution time <250 µs): 548734

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): 122425.470109

Driver with highest DPC routine execution time: ndis.sys - Network Driver Interface Specification (NDIS), Microsoft Corporation



Highest reported total DPC routine time (%): 0.048005

Driver with highest DPC total execution time: nvlddmkm.sys - NVIDIA Windows Kernel Mode Driver, Version 457.30 , NVIDIA Corporation



Total time spent in DPCs (%) 0.166279



DPC count (execution time <250 µs): 4302105

DPC count (execution time 250-500 µs): 0

DPC count (execution time 500-10000 µs): 713

DPC count (execution time 1000-2000 µs): 78

DPC count (execution time 2000-4000 µs): 67

DPC count (execution time >=4000 µs): 138





_________________________________________________________________________________________________________

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: microsoft.photos.exe



Total number of hard pagefaults 10556

Hard pagefault count of hardest hit process: 6253

Number of processes hit: 44





_________________________________________________________________________________________________________

PER CPU DATA

_________________________________________________________________________________________________________

CPU 0 Interrupt cycle time (s): 126.113859

CPU 0 ISR highest execution time (µs): 198.145833

CPU 0 ISR total execution time (s): 3.198229

CPU 0 ISR count: 541574

CPU 0 DPC highest execution time (µs): 122425.470109

CPU 0 DPC total execution time (s): 24.632331

CPU 0 DPC count: 4159514

_________________________________________________________________________________________________________

CPU 1 Interrupt cycle time (s): 77.443007

CPU 1 ISR highest execution time (µs): 209.755435

CPU 1 ISR total execution time (s): 0.056558

CPU 1 ISR count: 7160

CPU 1 DPC highest execution time (µs): 304.701087

CPU 1 DPC total execution time (s): 0.126696

CPU 1 DPC count: 7521

_________________________________________________________________________________________________________

CPU 2 Interrupt cycle time (s): 63.823917

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): 14326.753623

CPU 2 DPC total execution time (s): 0.231130

CPU 2 DPC count: 26235

_________________________________________________________________________________________________________

CPU 3 Interrupt cycle time (s): 71.681187

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): 177.130435

CPU 3 DPC total execution time (s): 0.025402

CPU 3 DPC count: 5898

_________________________________________________________________________________________________________

CPU 4 Interrupt cycle time (s): 57.713981

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): 86622.771739

CPU 4 DPC total execution time (s): 0.579870

CPU 4 DPC count: 34002

_________________________________________________________________________________________________________

CPU 5 Interrupt cycle time (s): 69.124442

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): 158.599638

CPU 5 DPC total execution time (s): 0.012482

CPU 5 DPC count: 3622

_________________________________________________________________________________________________________

CPU 6 Interrupt cycle time (s): 57.571521

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): 479.868659

CPU 6 DPC total execution time (s): 0.235917

CPU 6 DPC count: 28253

_________________________________________________________________________________________________________

CPU 7 Interrupt cycle time (s): 68.709382

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): 364.1250

CPU 7 DPC total execution time (s): 0.050274

CPU 7 DPC count: 8058

_________________________________________________________________________________________________________

CPU 8 Interrupt cycle time (s): 63.010706

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): 338.260870

CPU 8 DPC total execution time (s): 0.079827

CPU 8 DPC count: 11977

_________________________________________________________________________________________________________

CPU 9 Interrupt cycle time (s): 74.330280

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): 254.317029

CPU 9 DPC total execution time (s): 0.024898

CPU 9 DPC count: 3216

_________________________________________________________________________________________________________

CPU 10 Interrupt cycle time (s): 58.096266

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): 347.404891

CPU 10 DPC total execution time (s): 0.077355

CPU 10 DPC count: 10215

_________________________________________________________________________________________________________

CPU 11 Interrupt cycle time (s): 70.788779

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): 170.879529

CPU 11 DPC total execution time (s): 0.03330

CPU 11 DPC count: 4590

_________________________________________________________________________________________________________

Continue reading...
 

Similar threads

A
Replies
0
Views
330
AdityaPushkar
A
Y
Replies
0
Views
485
YamanashiMoondragon
Y
S
Replies
0
Views
274
Sphinxy66
S
Y
Replies
0
Views
785
YamanashiMoondragon
Y
S
Replies
0
Views
299
SoulEater5674
S
Back
Top Bottom