DPC latency causes audio and video stuttering

nbskillblade

Prominent
Aug 17, 2017
1
0
510
So today i reinstalled windows 10 in hopes of fixing the problems that i had, it didn't work so i am asking here for help.
The first problem is DPC latency which causes audio and video stuttering.
Latencymon shows that the culprits are USBPORT.sys, HDAudBus.sys, tcpip.sys and ataport.sys.
The latencymon stats are in the spoiler.
The second problem is 100% disk usage for the first few minutes after i boot (this goes away after 5-10 minutes but the PC unusable for the duration). I have tried most of the fixes suggested with no success, also tried using Seagates software to test for issues, but it didnt find any.
Any help or insight on these issues would be greatly appreciated.

Hardware:
Processor: AMD FX-6100
Mainboard: MSI 970A-G46
Ram: 8GB of DDR3
GPU: RADEON™ R9 270X GAMING 2G Twin Frozr
Storage: 931GB Seagate ST1000DM003-9YN162

_________________________________________________________________________________________________________
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. 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:15:53 (h:mm:ss) on all processors.


_________________________________________________________________________________________________________
SYSTEM INFORMATION
_________________________________________________________________________________________________________
Computer name: DESKTOP-L1K06AR
OS version: Windows 10 , 10.0, build: 10240 (x64)
Hardware: MS-7693, MSI, 970A-G46 (MS-7693)
CPU: AuthenticAMD AMD FX(tm)-6100 Six-Core Processor
Logical processors: 6
Processor groups: 1
RAM: 8162 MB total


_________________________________________________________________________________________________________
CPU SPEED
_________________________________________________________________________________________________________
Reported CPU speed: 330 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): 2632,288558
Average measured interrupt to process latency (µs): 9,728893

Highest measured interrupt to DPC latency (µs): 2627,944336
Average measured interrupt to DPC latency (µs): 3,952283


_________________________________________________________________________________________________________
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): 23541,620303
Driver with highest ISR routine execution time: HDAudBus.sys - High Definition Audio Bus Driver, Microsoft Corporation

Highest reported total ISR routine time (%): 0,014058
Driver with highest ISR total time: ataport.SYS - ATAPI Driver Extension, Microsoft Corporation

Total time spent in ISRs (%) 0,020275

ISR count (execution time <250 µs): 181583
ISR count (execution time 250-500 µs): 0
ISR count (execution time 500-999 µs): 98
ISR count (execution time 1000-1999 µs): 1
ISR count (execution time 2000-3999 µs): 1
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): 23438,515152
Driver with highest DPC routine execution time: tcpip.sys - TCP/IP Driver, Microsoft Corporation

Highest reported total DPC routine time (%): 0,785126
Driver with highest DPC total execution time: ndis.sys - Network Driver Interface Specification (NDIS), Microsoft Corporation

Total time spent in DPCs (%) 1,180470

DPC count (execution time <250 µs): 6026681
DPC count (execution time 250-500 µs): 0
DPC count (execution time 500-999 µs): 975
DPC count (execution time 1000-1999 µs): 37
DPC count (execution time 2000-3999 µs): 4
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 3570
Hard pagefault count of hardest hit process: 2378
Highest hard pagefault resolution time (µs): 543468,516061
Total time spent in hard pagefaults (%): 0,308342
Number of processes hit: 26


_________________________________________________________________________________________________________
PER CPU DATA
_________________________________________________________________________________________________________
CPU 0 Interrupt cycle time (s): 106,764438
CPU 0 ISR highest execution time (µs): 23541,620303
CPU 0 ISR total execution time (s): 0,876560
CPU 0 ISR count: 144878
CPU 0 DPC highest execution time (µs): 22449,289091
CPU 0 DPC total execution time (s): 58,974752
CPU 0 DPC count: 4960319
_________________________________________________________________________________________________________
CPU 1 Interrupt cycle time (s): 21,888623
CPU 1 ISR highest execution time (µs): 21263,538485
CPU 1 ISR total execution time (s): 0,258534
CPU 1 ISR count: 34019
CPU 1 DPC highest execution time (µs): 21420,740303
CPU 1 DPC total execution time (s): 3,481066
CPU 1 DPC count: 350099
_________________________________________________________________________________________________________
CPU 2 Interrupt cycle time (s): 14,417672
CPU 2 ISR highest execution time (µs): 596,354242
CPU 2 ISR total execution time (s): 0,024254
CPU 2 ISR count: 2775
CPU 2 DPC highest execution time (µs): 23438,515152
CPU 2 DPC total execution time (s): 1,476687
CPU 2 DPC count: 219860
_________________________________________________________________________________________________________
CPU 3 Interrupt cycle time (s): 14,252151
CPU 3 ISR highest execution time (µs): 67,938788
CPU 3 ISR total execution time (s): 0,000138
CPU 3 ISR count: 15
CPU 3 DPC highest execution time (µs): 20745,847879
CPU 3 DPC total execution time (s): 0,981677
CPU 3 DPC count: 106830
_________________________________________________________________________________________________________
CPU 4 Interrupt cycle time (s): 15,691173
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): 549,238485
CPU 4 DPC total execution time (s): 1,898504
CPU 4 DPC count: 325322
_________________________________________________________________________________________________________
CPU 5 Interrupt cycle time (s): 13,747093
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): 192,438182
CPU 5 DPC total execution time (s): 0,695425
CPU 5 DPC count: 65275
_________________________________________________________________________________________________________
 
Solution
Hello nbskillblade

Looks like the drivers installed on your computer are culprit. If you installed the drivers from the installation disc that was shipped along with the PC, the chances are that they are obsolete by now, and you may need to update them.

If you already installed the updated drivers, please make sure that your Windows has all the latest updates and patches installed in order to remain compatible with the latest drivers.

If both the drivers and Windows is up-to-date, and you are still experiencing latency, please try rolling back the drivers to their corresponding one-level earlier version (you can start with the graphics driver). Sometime the previous versions of the drivers perform better as compared to the latest...
Hello nbskillblade

Looks like the drivers installed on your computer are culprit. If you installed the drivers from the installation disc that was shipped along with the PC, the chances are that they are obsolete by now, and you may need to update them.

If you already installed the updated drivers, please make sure that your Windows has all the latest updates and patches installed in order to remain compatible with the latest drivers.

If both the drivers and Windows is up-to-date, and you are still experiencing latency, please try rolling back the drivers to their corresponding one-level earlier version (you can start with the graphics driver). Sometime the previous versions of the drivers perform better as compared to the latest ones.

Please report back for any further assistance.

Cheers!! :)
 
Solution