• 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 Issue(Audio Crackling)

peacewar

New member
Joined
Feb 9, 2015
Posts
4
I recently build a new computer:
AMD FX-6300 Black Ed
ASUS M5a97 R2.0
EVGA GTX750TI SC 2GB
It is almost one month into using this computer and I have been experiencing crackling audio even when I switch tab while youtube is playing. I also sometime experience video lag when I play game. This is frustrating consider how new the computer is. I have figured it might have been DCP latency problem so I went ahead with some testings.
_________________________________________________________________________________________________________
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. Also one or more ISR 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:08:31 (h:mm:ss) on all processors.




_________________________________________________________________________________________________________
SYSTEM INFORMATION
_________________________________________________________________________________________________________
Computer name: RHOS-PC
OS version: Windows 7 Service Pack 1, 6.1, build: 7601 (x64)
Hardware: ASUSTeK COMPUTER INC., M5A97 R2.0
CPU: AuthenticAMD AMD FX(tm)-6300 Six-Core Processor
Logical processors: 6
Processor groups: 1
RAM: 8091 MB total




_________________________________________________________________________________________________________
CPU SPEED
_________________________________________________________________________________________________________
Reported CPU speed: 3511.0 MHz
Measured CPU speed: 3114.0 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.




_________________________________________________________________________________________________________
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): 16148.963281
Average measured interrupt to process latency (µs): 6.363534


Highest measured interrupt to DPC latency (µs): 11204.611657
Average measured interrupt to DPC latency (µs): 2.359079




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


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


Total time spent in ISRs (%) 0.304890


ISR count (execution time <250 µs): 637652
ISR count (execution time 250-500 µs): 0
ISR count (execution time 500-999 µs): 3116
ISR count (execution time 1000-1999 µs): 54
ISR count (execution time 2000-3999 µs): 66
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): 11235.355169
Driver with highest DPC routine execution time: nvlddmkm.sys - NVIDIA Windows Kernel Mode Driver, Version 347.25 , NVIDIA Corporation


Highest reported total DPC routine time (%): 0.173264
Driver with highest DPC total execution time: USBPORT.SYS - USB 1.1 & 2.0 Port Driver, Microsoft Corporation


Total time spent in DPCs (%) 0.476574


DPC count (execution time <250 µs): 3335973
DPC count (execution time 250-500 µs): 0
DPC count (execution time 500-999 µs): 294
DPC count (execution time 1000-1999 µs): 10
DPC count (execution time 2000-3999 µs): 5
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: chrome.exe


Total number of hard pagefaults 184
Hard pagefault count of hardest hit process: 134
Highest hard pagefault resolution time (µs): 500021.610652
Total time spent in hard pagefaults (%): 0.038051
Number of processes hit: 4




_________________________________________________________________________________________________________
PER CPU DATA
_________________________________________________________________________________________________________
CPU 0 Interrupt cycle time (s): 17.062709
CPU 0 ISR highest execution time (µs): 10247.318428
CPU 0 ISR total execution time (s): 2.162976
CPU 0 ISR count: 386901
CPU 0 DPC highest execution time (µs): 11179.050983
CPU 0 DPC total execution time (s): 5.252387
CPU 0 DPC count: 2477153
_________________________________________________________________________________________________________
CPU 1 Interrupt cycle time (s): 7.741915
CPU 1 ISR highest execution time (µs): 12719.152093
CPU 1 ISR total execution time (s): 0.748094
CPU 1 ISR count: 28105
CPU 1 DPC highest execution time (µs): 2663.474509
CPU 1 DPC total execution time (s): 1.110779
CPU 1 DPC count: 96275
_________________________________________________________________________________________________________
CPU 2 Interrupt cycle time (s): 7.884514
CPU 2 ISR highest execution time (µs): 11224.534036
CPU 2 ISR total execution time (s): 0.781581
CPU 2 ISR count: 29279
CPU 2 DPC highest execution time (µs): 11197.197380
CPU 2 DPC total execution time (s): 1.327273
CPU 2 DPC count: 131391
_________________________________________________________________________________________________________
CPU 3 Interrupt cycle time (s): 7.37840
CPU 3 ISR highest execution time (µs): 10509.147821
CPU 3 ISR total execution time (s): 0.848642
CPU 3 ISR count: 29432
CPU 3 DPC highest execution time (µs): 2664.943606
CPU 3 DPC total execution time (s): 1.081424
CPU 3 DPC count: 89985
_________________________________________________________________________________________________________
CPU 4 Interrupt cycle time (s): 7.706209
CPU 4 ISR highest execution time (µs): 10833.351182
CPU 4 ISR total execution time (s): 0.954264
CPU 4 ISR count: 35268
CPU 4 DPC highest execution time (µs): 11235.355169
CPU 4 DPC total execution time (s): 1.527436
CPU 4 DPC count: 192367
_________________________________________________________________________________________________________
CPU 5 Interrupt cycle time (s): 13.120431
CPU 5 ISR highest execution time (µs): 11164.050128
CPU 5 ISR total execution time (s): 3.854615
CPU 5 ISR count: 131972
CPU 5 DPC highest execution time (µs): 11102.134435
CPU 5 DPC total execution time (s): 4.315962
CPU 5 DPC count: 349120
_________________________________________________________________________________________________________

LatencyMon Pic.png


Please help me with this problem. I am very confused and lost as to what should I do. The crackling audio is really annoying especially when I tam coding while playing music in the background. I feel like I have wasted my money building my first pc. Thank you :(
 
To properly troubleshoot issues with high/frequent DPCs/IRPs, we require a XPERF trace. Please follow these steps to generate one:

  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.
Thank you.
 
I reformatted my computer and the sound crackling is gone. However, the interrupted DCP latency cycle and the page fault are still too high.
1.png

Read More:


Link to the CPU.etl :https://www.dropbox.com/s/o8mypli1yqvsj5h/CPU.etl?dl=0
 
I wouldn't be too concerned about the results of LatencyMon, unless there are any noticeable issues with the system.
 

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

Back
Top