Dxgkrnl.sys and tcpip.sys high latency in Windows 10 - crackling audio!

I have researched this problem extensively, but cannot find the cure just yet.

Dxgkrnl.sys and tcpip.sys have high ISR route execution time and DPC route execution time, respectively. I have been running LatencyMon to identify this. Some other drivers and Windows file also occasionally crop up with high latency times as well. I use this machine for audio recording and the crackling makes it impossible to work! At the end of this post is my LatencyMon log as well as a link to my report from Windows Performance Recorder.

What I have tried thus-far:

-Uninstall/reinstall/update network card drivers

-Uninstall/reinstall/update graphics card drivers (I use the onboard graphics for my secondary monitor and an NVIDIA GTX 750 Ti for my main monitor

-Uninstall/reinstall/update audio card and drivers (Focusrite Scarlett Solo, external usb audio box)
-Disabling NVIDIA's HD audio and virtual audio drivers from Device Manager, in case there is some kind of audio conflict.

-Checked for BIOS update. There was one...but it didn't solve the problem.

None of these things have fix it completely so far... Any help?? There are times where it seems to behave pretty well but it's not consistent.

Link to .ETL file saved from Windows Performance Recorder: https://drive.google.com/open?id=0Bwk7DkSHSu2MT01aSWZESExfaGM

LATENCY MON REPORT

_________________________________________________________________________________________________________
CONCLUSION
_________________________________________________________________________________________________________
Your system seems to have difficulty handling real-time audio and other tasks. You may experience drop outs, clicks or pops due to buffer underruns. 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:02:16  (h:mm:ss) on all processors.


_________________________________________________________________________________________________________
SYSTEM INFORMATION
_________________________________________________________________________________________________________
Computer name:                                        DESKTOP-2JFH42O
OS version:                                           Windows 8 , 6.2, build: 9200 (x64)
Hardware:                                             H97M-HD3, Gigabyte Technology Co., Ltd.
CPU:                                                  GenuineIntel Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz
Logical processors:                                   4
Processor groups:                                     1
RAM:                                                  16278 MB total


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

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):   1139.272396
Average measured interrupt to process latency (µs):   4.811515

Highest measured interrupt to DPC latency (µs):       1107.237163
Average measured interrupt to DPC latency (µs):       1.462576


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

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

Total time spent in ISRs (%)                          0.249216

ISR count (execution time <250 µs):                   92145
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):              316.532503
Driver with highest DPC routine execution time:       tcpip.sys - TCP/IP Driver, Microsoft Corporation

Highest reported total DPC routine time (%):          0.103205
Driver with highest DPC total execution time:         iaStorA.sys - Intel(R) Rapid Storage Technology driver - x64, Intel Corporation

Total time spent in DPCs (%)                          0.578181

DPC count (execution time <250 µs):                   753458
DPC count (execution time 250-500 µs):                0
DPC count (execution time 500-999 µs):                22
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:                 chrome.exe

Total number of hard pagefaults                       78
Hard pagefault count of hardest hit process:          34
Highest hard pagefault resolution time (µs):          923788.240887
Total time spent in hard pagefaults (%):              0.262342
Number of processes hit:                              5


_________________________________________________________________________________________________________
 PER CPU DATA
_________________________________________________________________________________________________________
CPU 0 Interrupt cycle time (s):                       6.474755
CPU 0 ISR highest execution time (µs):                126.331106
CPU 0 ISR total execution time (s):                   1.311909
CPU 0 ISR count:                                      88341
CPU 0 DPC highest execution time (µs):                258.336270
CPU 0 DPC total execution time (s):                   2.736522
CPU 0 DPC count:                                      683368
_________________________________________________________________________________________________________
CPU 1 Interrupt cycle time (s):                       2.116105
CPU 1 ISR highest execution time (µs):                169.395808
CPU 1 ISR total execution time (s):                   0.044475
CPU 1 ISR count:                                      3786
CPU 1 DPC highest execution time (µs):                295.035237
CPU 1 DPC total execution time (s):                   0.206098
CPU 1 DPC count:                                      35376
_________________________________________________________________________________________________________
CPU 2 Interrupt cycle time (s):                       2.036257
CPU 2 ISR highest execution time (µs):                79.217193
CPU 2 ISR total execution time (s):                   0.000448
CPU 2 ISR count:                                      18
CPU 2 DPC highest execution time (µs):                316.532503
CPU 2 DPC total execution time (s):                   0.100886
CPU 2 DPC count:                                      18189
_________________________________________________________________________________________________________
CPU 3 Interrupt cycle time (s):                       2.037050
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):                311.515188
CPU 3 DPC total execution time (s):                   0.104345
CPU 3 DPC count:                                      16547
_________________________________________________________________________________________________________

Jamie

I am limited in what data mining I can make because the file size size necessitates loading it partially to page file.  In any case the offending driver appears to by your USB3 driver (usbxhci.sys)  See snip

Since it is part of the OS I would start by running a system file check to find the state of the OS. 

What do you have on USB3 ports?

Please run a system file check (SFC) & DISM  if you are on win 8 or higher

All instructions are in our Wiki article below...Should you have any questions please ask us.


Cat herder
Windows Insider MVP
MVP-Windows and Devices for IT
http://www.zigzag3143.com/

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Thanks for the info! I will check that when I get home. The ETL file was, I believe, from only about 40 seconds of scanning. I will do another smaller one when I get home tonight and also check what I have plugged into USB3 ports. I know one for sure is my network adapter. I had this problem (high latency) using the onboard network LAN card so I thought I would try a different adapter that is external and I've been using that ever since.

However, I did do a SFC and DISM check yesterday (both, one after the other) and it determined there were no errors. I will post again tonight with a new ETL file.

Thanks again,

Jamie

Jamie

I am limited in what data mining I can make because the file size size necessitates loading it partially to page file.  In any case the offending driver appears to by your USB3 driver (usbxhci.sys)  See snip

Since it is part of the OS I would start by running a system file check to find the state of the OS. 

What do you have on USB3 ports?

Please run a system file check (SFC) & DISM  if you are on win 8 or higher

All instructions are in our Wiki article below...Should you have any questions please ask us.


Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

I would also remove the USB devices one at a time to see if the crackling disappears.  I suspect the network adapter.
Cat herder
Windows Insider MVP
MVP-Windows and Devices for IT
http://www.zigzag3143.com/

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Here is a new ETL file. 30-seconds worth: https://drive.google.com/open?id=0Bwk7DkSHSu2MZ29meTNQTFZCOEE

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

I tried removing the network adapter (unplugged and disabled it)... I can't get the audio crackling to happen now but LatencyMon still says my computer can't handle realtime files. Any luck with that 2nd ETL file I uploaded?

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Here is a new ETL file. It's much smaller because I only ran the First level triage, CPU usage and Audio glitches tests.

Link: https://drive.google.com/open?id=0Bwk7DkSHSu2MVVJXeE1SeU5icEk

LatencyMON tells me my system is fine, for about 5 seconds, and then I get a hugely high pagefault time and the error that my system appears to have trouble handling real-time audio and other tasks. It also says, "One problem may be related to power management, disable CPU throttling settings in Control Panel and BIOS setup. Check for BIOS updates." All throtting/SpeedStep is turned off in the BIOS setup and there are no BIOS updates. Below is my LatencyMON report and screenshot of the Drivers tab.

Thanks in advanced for any help!

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


_________________________________________________________________________________________________________
SYSTEM INFORMATION
_________________________________________________________________________________________________________
Computer name:                                        DESKTOP-2JFH42O
OS version:                                           Windows 8 , 6.2, build: 9200 (x64)
Hardware:                                             H97M-HD3, Gigabyte Technology Co., Ltd.
CPU:                                                  GenuineIntel Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz
Logical processors:                                   4
Processor groups:                                     1
RAM:                                                  16312 MB total


_________________________________________________________________________________________________________
CPU SPEED
_________________________________________________________________________________________________________
Reported CPU speed:                                   3292 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 DPC LATENCIES
_________________________________________________________________________________________________________
The interrupt to DPC latency reflects the measured interval in which a DPC could execute in response to a hardware request from the moment the interrupt service routine started execution.

Highest measured interrupt to DPC latency (µs):       2195.802099
Average measured interrupt to DPC latency (µs):       2.351869


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

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

Total time spent in ISRs (%)                          0.210616

ISR count (execution time <250 µs):                   127523
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):              204.259721
Driver with highest DPC routine execution time:       tcpip.sys - TCP/IP Driver, Microsoft Corporation

Highest reported total DPC routine time (%):          0.269297
Driver with highest DPC total execution time:         Wdf01000.sys - Kernel Mode Driver Framework Runtime, Microsoft Corporation

Total time spent in DPCs (%)                          0.497476

DPC count (execution time <250 µs):                   446879
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.


Process with highest pagefault count:                 chrome.exe

Total number of hard pagefaults                       92
Hard pagefault count of hardest hit process:          53
Highest hard pagefault resolution time (µs):          1101.402491
Total time spent in hard pagefaults (%):              0.002056
Number of processes hit:                              6


_________________________________________________________________________________________________________
 PER CPU DATA
_________________________________________________________________________________________________________
CPU 0 Interrupt cycle time (s):                       3.577036
CPU 0 ISR highest execution time (µs):                83.790097
CPU 0 ISR total execution time (s):                   0.807389
CPU 0 ISR count:                                      126901
CPU 0 DPC highest execution time (µs):                150.732685
CPU 0 DPC total execution time (s):                   1.781891
CPU 0 DPC count:                                      416911
_________________________________________________________________________________________________________
CPU 1 Interrupt cycle time (s):                       0.960412
CPU 1 ISR highest execution time (µs):                40.0
CPU 1 ISR total execution time (s):                   0.001505
CPU 1 ISR count:                                      622
CPU 1 DPC highest execution time (µs):                204.259721
CPU 1 DPC total execution time (s):                   0.059499
CPU 1 DPC count:                                      14458
_________________________________________________________________________________________________________
CPU 2 Interrupt cycle time (s):                       0.963613
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):                192.909478
CPU 2 DPC total execution time (s):                   0.032252
CPU 2 DPC count:                                      8593
_________________________________________________________________________________________________________
CPU 3 Interrupt cycle time (s):                       0.829093
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):                181.915553
CPU 3 DPC total execution time (s):                   0.036962
CPU 3 DPC count:                                      6917
_________________________________________________________________________________________________________

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Very similar to the last trace.  Again 3 things predominate.  USBXHCI.sys, Dx, and nVidia.   Avast also seems to be playing a part.

My gut feeling is the USB driver is the issue since you also have networking on USB.  If you have completely removed the video driver, network driver, etc and SFC reports no issues I would give one last try and disable Avast and check.

Frankly it may simply be faster to wipe and re-install.

Cat herder
Windows Insider MVP
MVP-Windows and Devices for IT
http://www.zigzag3143.com/

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Thanks for the reply. I disconnected the USB network adapter and instead used the network card that came with my motherboard. Same results... Very high USBHXCI.sys. What I am really hoping is that it's not my external sound card. I will try disabling it and see what happens. I'd really rather not do a total system wipe. I'm not sure how this issue started but I've been dealing with it off and on since I built the computer a year. I didn't do much audio work for awhile so I didn't really notice it :(. Will report back!

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

when I ran your  https://drive.google.com/open?id=0Bwk7DkSHSu2MT01aSWZESExfaGM

It came back as a web attack; High severity by pejqoq4cafo3bg9yqqqtk5e6s6.com

I was able to block this attach using Norton.


Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

 
 

Question Info


Last updated July 11, 2020 Views 10,990 Applies to: