[SOLVED] High Latency seemingly caused by dxgkrnl.sys (LatencyMon)

Mar 9, 2023
7
2
15
Hello world,

I just joined the forums, normally I can find the solution and fix whatever problem I have, however this time technology got the better of me and I'm in need of help.

My original issue was that my PC used to occasionally hang or outright BSOD. Whenever I checked the logs of the error (if the system created one) it was mentioned that my GPU was disconnected, or some other error occurred that made my GPU restart.

Since that I've performed a clean install of Windows 10 (because I was just simply unable to solve that problem any other way), updated my BIOS, and installed drivers (GPU, chipset, audio, network driver).
The system hanging and BSOD are gone, at least I have not experienced them since the clean install (that was about 2 weeks ago), however I have some other problems now.

At first I had terrible mouse lag, but browsing the forums I found that LatencyMon is a great tool to find the culprit in such cases.
LatencyMon indeed helped me identifying that dxgkrnl.sys has massive spikes in execution time (sometimes ndis.sys was doing the same thing, I have not seen this in the logs for a while now), which made me reinstall directX. After running DirectX End-User Runtime Web Installer my mouse lag was gone, however sometimes I get micro stutters when playing games (the FPS is not affected when that happens, so it's not FPS la).
It appears to be completely random (for example league of legends has stutters, while escape from tarkov - which is a much more demanding game - appears to be running fine most of the time); there is no rule how often it happens, it just comes and goes.

I will post a list of the steps I've taken below, I might forget to mention stuff I've tried already, apologies in advance:
  • my PC is on performance mode (in the power settings)
  • high precision event timer (HPET) is disabled (device manager)
  • fTMP is disabled (BIOS)
  • I've tried sfc /scannow and dism / online / cleanup-image / restorehealth unfortunately these didn't help either
  • tried disabling the WLAN adapter (I'm using ethernet cable normally so there's not much use of it anyway)
  • I'm not sure where and how to disable power throttling, from my understanding using my PC on performance option should turn this off (when I check apps in task manager all apps are in "disabled power throttling" state)
  • I've also created an automated task for EmptyStandbyList (it used to run every 5 minutes), because I read in another post where this stuttering problem was caused by the system not handling standby memory correctly, unfortunately it did not help me so I disabled that
  • I've already tried to reinstall games that have the stutter issue
Today I stumbled upon a forum post where the culprit in someone else's case was a conflict between the GPU and another hardware. I opened msinfo and checked under conflicts/sharing but I'm not sure what to look for exactly, or if my issue is of the same nature. If this information would be of any use, please let me know and I can post a screenshot of it.

PC Specs:
Win10 version 2009, build: 19045 (x64) is installed on an SSD
AMD Radeon RX 6800
AMD Ryzen 5 3600X

----------------------------------------------------------



I let LatencyMon monitor my system yesterday all day, I will copy the logs below


_
CONCLUSION
_
Your system seems to be having difficulty handling real-time audio and other tasks. You may experience drop outs, clicks or pops due to buffer underruns. 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 7:15:54 (h🇲🇲ss) on all processors.


_
SYSTEM INFORMATION
_
Computer name: DESKTOP-G83ER0M
OS version: Windows 10, 10.0, version 2009, build: 19045 (x64)
Hardware: System Product Name, System manufacturer
BIOS: BIOS Date: 11/21/22 12:54:27 Ver: 05.00011
CPU: AuthenticAMD AMD Ryzen 5 3600 6-Core Processor
Logical processors: 12
Processor groups: 1
Processor group size: 12
RAM: 32680 MB total


_
CPU SPEED
_
Reported CPU speed (WMI): 3951 MHz
Reported CPU speed (registry): 3950 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): 1059.90
Average measured interrupt to process latency (µs): 6.193418

Highest measured interrupt to DPC latency (µs): 666.10
Average measured interrupt to DPC latency (µs): 2.901748


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

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

Total time spent in ISRs (%) 0.003463

ISR count (execution time <250 µs): 11442358
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): 1987.40
Driver with highest DPC routine execution time: ndis.sys - Network Driver Interface Specification (NDIS), Microsoft Corporation

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

Total time spent in DPCs (%) 0.223802

DPC count (execution time <250 µs): 65702587
DPC count (execution time 250-500 µs): 0
DPC count (execution time 500-10000 µs): 180210
DPC count (execution time 1000-2000 µs): 2
DPC count (execution time 2000-4000 µ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: system

Total number of hard pagefaults 98846
Hard pagefault count of hardest hit process: 31092
Number of processes hit: 88


_
PER CPU DATA
_
CPU 0 Interrupt cycle time (s): 1495.295467
CPU 0 ISR highest execution time (µs): 44.820
CPU 0 ISR total execution time (s): 5.118860
CPU 0 ISR count: 3666356
CPU 0 DPC highest execution time (µs): 800.740
CPU 0 DPC total execution time (s): 591.977360
CPU 0 DPC count: 56551326
_
CPU 1 Interrupt cycle time (s): 282.636654
CPU 1 ISR highest execution time (µs): 27.090127
CPU 1 ISR total execution time (s): 3.797146
CPU 1 ISR count: 4544318
CPU 1 DPC highest execution time (µs): 1240.980
CPU 1 DPC total execution time (s): 90.297497
CPU 1 DPC count: 5244587
_
CPU 2 Interrupt cycle time (s): 108.493564
CPU 2 ISR highest execution time (µs): 28.929873
CPU 2 ISR total execution time (s): 0.008040
CPU 2 ISR count: 912
CPU 2 DPC highest execution time (µs): 981.980
CPU 2 DPC total execution time (s): 5.625465
CPU 2 DPC count: 1030184
_
CPU 3 Interrupt cycle time (s): 104.623428
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): 936.040
CPU 3 DPC total execution time (s): 1.421527
CPU 3 DPC count: 390098
_
CPU 4 Interrupt cycle time (s): 145.440368
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): 1987.40
CPU 4 DPC total execution time (s): 2.895269
CPU 4 DPC count: 792444
_
CPU 5 Interrupt cycle time (s): 93.682164
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): 214.240
CPU 5 DPC total execution time (s): 0.372458
CPU 5 DPC count: 98011
_
CPU 6 Interrupt cycle time (s): 141.849340
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): 296.450127
CPU 6 DPC total execution time (s): 3.294034
CPU 6 DPC count: 684478
_
CPU 7 Interrupt cycle time (s): 99.677522
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): 220.070127
CPU 7 DPC total execution time (s): 0.416250
CPU 7 DPC count: 87716
_
CPU 8 Interrupt cycle time (s): 163.129850
CPU 8 ISR highest execution time (µs): 13.820
CPU 8 ISR total execution time (s): 1.518899
CPU 8 ISR count: 2573217
CPU 8 DPC highest execution time (µs): 483.829873
CPU 8 DPC total execution time (s): 2.864011
CPU 8 DPC count: 565349
_
CPU 9 Interrupt cycle time (s): 107.770741
CPU 9 ISR highest execution time (µs): 9.310127
CPU 9 ISR total execution time (s): 0.038848
CPU 9 ISR count: 56503
CPU 9 DPC highest execution time (µs): 177.340
CPU 9 DPC total execution time (s): 0.474352
CPU 9 DPC count: 86669
_
CPU 10 Interrupt cycle time (s): 129.662424
CPU 10 ISR highest execution time (µs): 10.110127
CPU 10 ISR total execution time (s): 0.211578
CPU 10 ISR count: 330917
CPU 10 DPC highest execution time (µs): 421.540
CPU 10 DPC total execution time (s): 1.077506
CPU 10 DPC count: 170031
_
CPU 11 Interrupt cycle time (s): 122.967764
CPU 11 ISR highest execution time (µs): 12.80
CPU 11 ISR total execution time (s): 0.176869
CPU 11 ISR count: 270135
CPU 11 DPC highest execution time (µs): 215.209873
CPU 11 DPC total execution time (s): 1.692704
CPU 11 DPC count: 181906
_

From what I understand dxgkrnl.sys is not even necessarily the culprit, it's possible that some other application is making calls to it, but I'm stuck and don't really know how to figure that out.


Could someone please help me to find a solution to my stutter problem?
I'm open to any suggestions/ideas/advice.
 
Solution
Have you tried any of these?

PC Specs:
Win10 version 2009, build: 19045 (x64) is installed on an SSD
AMD Radeon RX 6800
AMD Ryzen 5 3600X
what are rest of specs? What motherbaord? do you have latest BIOS?

Often its a mix of things, can be caused by LAN drivers and sound as well. I find DirectX is always at the top. I haven't run it since getting a 7900XT, it used to blame my GPU.
Hello world,

I just joined the forums, normally I can find the solution and fix whatever problem I have, however this time technology got the better of me and I'm in need of help.

My original issue was that my PC used to occasionally hang or outright BSOD. Whenever I checked the logs of the error (if the system created one) it was mentioned that my GPU was disconnected, or some other error occurred that made my GPU restart.

Since that I've performed a clean install of Windows 10 (because I was just simply unable to solve that problem any other way), updated my BIOS, and installed drivers (GPU, chipset, audio, network driver).
The system hanging and BSOD are gone, at least I have not experienced them since the clean install (that was about 2 weeks ago), however I have some other problems now.

At first I had terrible mouse lag, but browsing the forums I found that LatencyMon is a great tool to find the culprit in such cases.
LatencyMon indeed helped me identifying that dxgkrnl.sys has massive spikes in execution time (sometimes ndis.sys was doing the same thing, I have not seen this in the logs for a while now), which made me reinstall directX. After running DirectX End-User Runtime Web Installer my mouse lag was gone, however sometimes I get micro stutters when playing games (the FPS is not affected when that happens, so it's not FPS la).
It appears to be completely random (for example league of legends has stutters, while escape from tarkov - which is a much more demanding game - appears to be running fine most of the time); there is no rule how often it happens, it just comes and goes.

I will post a list of the steps I've taken below, I might forget to mention stuff I've tried already, apologies in advance:
  • my PC is on performance mode (in the power settings)
  • high precision event timer (HPET) is disabled (device manager)
  • fTMP is disabled (BIOS)
  • I've tried sfc /scannow and dism / online / cleanup-image / restorehealth unfortunately these didn't help either
  • tried disabling the WLAN adapter (I'm using ethernet cable normally so there's not much use of it anyway)
  • I'm not sure where and how to disable power throttling, from my understanding using my PC on performance option should turn this off (when I check apps in task manager all apps are in "disabled power throttling" state)
  • I've also created an automated task for EmptyStandbyList (it used to run every 5 minutes), because I read in another post where this stuttering problem was caused by the system not handling standby memory correctly, unfortunately it did not help me so I disabled that
  • I've already tried to reinstall games that have the stutter issue
Today I stumbled upon a forum post where the culprit in someone else's case was a conflict between the GPU and another hardware. I opened msinfo and checked under conflicts/sharing but I'm not sure what to look for exactly, or if my issue is of the same nature. If this information would be of any use, please let me know and I can post a screenshot of it.

PC Specs:
Win10 version 2009, build: 19045 (x64) is installed on an SSD
AMD Radeon RX 6800
AMD Ryzen 5 3600X

----------------------------------------------------------



I let LatencyMon monitor my system yesterday all day, I will copy the logs below


_
CONCLUSION
_
Your system seems to be having difficulty handling real-time audio and other tasks. You may experience drop outs, clicks or pops due to buffer underruns. 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 7:15:54 (h🇲🇲ss) on all processors.


_
SYSTEM INFORMATION
_
Computer name: DESKTOP-G83ER0M
OS version: Windows 10, 10.0, version 2009, build: 19045 (x64)
Hardware: System Product Name, System manufacturer
BIOS: BIOS Date: 11/21/22 12:54:27 Ver: 05.00011
CPU: AuthenticAMD AMD Ryzen 5 3600 6-Core Processor
Logical processors: 12
Processor groups: 1
Processor group size: 12
RAM: 32680 MB total


_
CPU SPEED
_
Reported CPU speed (WMI): 3951 MHz
Reported CPU speed (registry): 3950 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): 1059.90
Average measured interrupt to process latency (µs): 6.193418

Highest measured interrupt to DPC latency (µs): 666.10
Average measured interrupt to DPC latency (µs): 2.901748


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

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

Total time spent in ISRs (%) 0.003463

ISR count (execution time <250 µs): 11442358
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): 1987.40
Driver with highest DPC routine execution time: ndis.sys - Network Driver Interface Specification (NDIS), Microsoft Corporation

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

Total time spent in DPCs (%) 0.223802

DPC count (execution time <250 µs): 65702587
DPC count (execution time 250-500 µs): 0
DPC count (execution time 500-10000 µs): 180210
DPC count (execution time 1000-2000 µs): 2
DPC count (execution time 2000-4000 µ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: system

Total number of hard pagefaults 98846
Hard pagefault count of hardest hit process: 31092
Number of processes hit: 88


_
PER CPU DATA
_
CPU 0 Interrupt cycle time (s): 1495.295467
CPU 0 ISR highest execution time (µs): 44.820
CPU 0 ISR total execution time (s): 5.118860
CPU 0 ISR count: 3666356
CPU 0 DPC highest execution time (µs): 800.740
CPU 0 DPC total execution time (s): 591.977360
CPU 0 DPC count: 56551326
_
CPU 1 Interrupt cycle time (s): 282.636654
CPU 1 ISR highest execution time (µs): 27.090127
CPU 1 ISR total execution time (s): 3.797146
CPU 1 ISR count: 4544318
CPU 1 DPC highest execution time (µs): 1240.980
CPU 1 DPC total execution time (s): 90.297497
CPU 1 DPC count: 5244587
_
CPU 2 Interrupt cycle time (s): 108.493564
CPU 2 ISR highest execution time (µs): 28.929873
CPU 2 ISR total execution time (s): 0.008040
CPU 2 ISR count: 912
CPU 2 DPC highest execution time (µs): 981.980
CPU 2 DPC total execution time (s): 5.625465
CPU 2 DPC count: 1030184
_
CPU 3 Interrupt cycle time (s): 104.623428
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): 936.040
CPU 3 DPC total execution time (s): 1.421527
CPU 3 DPC count: 390098
_
CPU 4 Interrupt cycle time (s): 145.440368
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): 1987.40
CPU 4 DPC total execution time (s): 2.895269
CPU 4 DPC count: 792444
_
CPU 5 Interrupt cycle time (s): 93.682164
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): 214.240
CPU 5 DPC total execution time (s): 0.372458
CPU 5 DPC count: 98011
_
CPU 6 Interrupt cycle time (s): 141.849340
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): 296.450127
CPU 6 DPC total execution time (s): 3.294034
CPU 6 DPC count: 684478
_
CPU 7 Interrupt cycle time (s): 99.677522
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): 220.070127
CPU 7 DPC total execution time (s): 0.416250
CPU 7 DPC count: 87716
_
CPU 8 Interrupt cycle time (s): 163.129850
CPU 8 ISR highest execution time (µs): 13.820
CPU 8 ISR total execution time (s): 1.518899
CPU 8 ISR count: 2573217
CPU 8 DPC highest execution time (µs): 483.829873
CPU 8 DPC total execution time (s): 2.864011
CPU 8 DPC count: 565349
_
CPU 9 Interrupt cycle time (s): 107.770741
CPU 9 ISR highest execution time (µs): 9.310127
CPU 9 ISR total execution time (s): 0.038848
CPU 9 ISR count: 56503
CPU 9 DPC highest execution time (µs): 177.340
CPU 9 DPC total execution time (s): 0.474352
CPU 9 DPC count: 86669
_
CPU 10 Interrupt cycle time (s): 129.662424
CPU 10 ISR highest execution time (µs): 10.110127
CPU 10 ISR total execution time (s): 0.211578
CPU 10 ISR count: 330917
CPU 10 DPC highest execution time (µs): 421.540
CPU 10 DPC total execution time (s): 1.077506
CPU 10 DPC count: 170031
_
CPU 11 Interrupt cycle time (s): 122.967764
CPU 11 ISR highest execution time (µs): 12.80
CPU 11 ISR total execution time (s): 0.176869
CPU 11 ISR count: 270135
CPU 11 DPC highest execution time (µs): 215.209873
CPU 11 DPC total execution time (s): 1.692704
CPU 11 DPC count: 181906
_

From what I understand dxgkrnl.sys is not even necessarily the culprit, it's possible that some other application is making calls to it, but I'm stuck and don't really know how to figure that out.


Could someone please help me to find a solution to my stutter problem?
I'm open to any suggestions/ideas/advice.

Try this see if it helps at all. How to Enable or Disable CPU Core Parking feature in Windows 11/10 (thewindowsclub.com)
 
Mar 9, 2023
7
2
15

Thank you for the reply I will try to go in order:

  • The only software that runs on startup is Vanguard (Valorant's anticheat. there was a time when I suspected this to be a culprit, unfortunately uninstalling the game and it's anticheat didn't have any effect. Valorant is running perfectly fine, no issues.)
  • windows is installed on an SSD, and so are the games that are affected
  • the number of running apps doesn't have any effect unfortunately
  • the only special effect that's enabled is "smooth edges of screen fronts"
  • transparency effects are disabled
  • game mode is off. I'm a bit conflicted here, because in the URL you sent the site advises to turn that off, but later under the "optimize windows for gaming" it says I should enable it. currently it's turned off, I will turn it on and see if it does anything
  • there is no windows update waiting to be installed
  • my internet connection is fine (connected via ethernet cable, 932.21 Mbps download, 944.22 Mbps upload speed)
  • my system is not infected, at least I'm not aware. windows defender and every other built in windows antivirus solution is running. I'm not using any additional antivirus software
  • notifications are turned off
  • PC is already set to full power
  • there is an HDD installed in my PC, but windows is installed on an SSD (defrag is also set to do it's thing automatically once a month)
  • I'm using the latest device drivers
  • my computer was cleaned today
  • I've restarted my PC several times
  • I looked into and disabled "enhance pointer precision"
  • I looked into "GPU prioritising on games" and found some lines that can be edited in regedit: Windows 10: Five Useful Registry Tweaks for Gaming Performance (shareus.com) I followed the steps under "Make priority of gaming responsiveness"
  • PC is already on high performance
While checking all these LatencyMon has been running, and currently the "highest reported DPC routine execution time" is 1763.49 - ndis.sys. I did not notice any degradation though, so I will keep using the system with the recent changes applied and get back to you if anything changes or if I have an update.

In the meantime if you have any other ideas/advice/questions please let me know and I will get back to you as soon as I can

Thank you,
 
Last edited:
Mar 9, 2023
7
2
15
UPDATE:

Even with the recent changes, unfortunately the situation is the same. dxgkrnl.sys spikes and the stutter is quite noticable.


_
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 1:05:23 (h🇲🇲ss) on all processors.


_
SYSTEM INFORMATION
_
Computer name: DESKTOP-G83ER0M
OS version: Windows 10, 10.0, version 2009, build: 19045 (x64)
Hardware: System Product Name, System manufacturer
BIOS: BIOS Date: 11/21/22 12:54:27 Ver: 05.00011
CPU: AuthenticAMD AMD Ryzen 5 3600 6-Core Processor
Logical processors: 12
Processor groups: 1
Processor group size: 12
RAM: 32680 MB total


_
CPU SPEED
_
Reported CPU speed (WMI): 3951 MHz
Reported CPU speed (registry): 3950 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): 507.90
Average measured interrupt to process latency (µs): 9.610154

Highest measured interrupt to DPC latency (µs): 504.20
Average measured interrupt to DPC latency (µs): 6.117612


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

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

Total time spent in ISRs (%) 0.002144

ISR count (execution time <250 µs): 1068962
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): 101007.020
Driver with highest DPC routine execution time: dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation

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

Total time spent in DPCs (%) 0.129717

DPC count (execution time <250 µs): 5496885
DPC count (execution time 250-500 µs): 0
DPC count (execution time 500-10000 µs): 5890
DPC count (execution time 1000-2000 µs): 0
DPC count (execution time 2000-4000 µs): 0
DPC count (execution time >=4000 µs): 2


_
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: msedge.exe

Total number of hard pagefaults 3533
Hard pagefault count of hardest hit process: 1327
Number of processes hit: 48


_
PER CPU DATA
_
CPU 0 Interrupt cycle time (s): 145.105984
CPU 0 ISR highest execution time (µs): 32.260
CPU 0 ISR total execution time (s): 0.600031
CPU 0 ISR count: 433975
CPU 0 DPC highest execution time (µs): 101007.020
CPU 0 DPC total execution time (s): 52.638088
CPU 0 DPC count: 4643112
_
CPU 1 Interrupt cycle time (s): 19.438360
CPU 1 ISR highest execution time (µs): 14.680
CPU 1 ISR total execution time (s): 0.256670
CPU 1 ISR count: 349518
CPU 1 DPC highest execution time (µs): 940.970127
CPU 1 DPC total execution time (s): 5.915146
CPU 1 DPC count: 428856
_
CPU 2 Interrupt cycle time (s): 9.766489
CPU 2 ISR highest execution time (µs): 7.80
CPU 2 ISR total execution time (s): 0.000057
CPU 2 ISR count: 17
CPU 2 DPC highest execution time (µs): 984.140
CPU 2 DPC total execution time (s): 0.777860
CPU 2 DPC count: 129531
_
CPU 3 Interrupt cycle time (s): 8.309316
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): 214.610127
CPU 3 DPC total execution time (s): 0.321171
CPU 3 DPC count: 65596
_
CPU 4 Interrupt cycle time (s): 13.453693
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): 414.60
CPU 4 DPC total execution time (s): 0.537548
CPU 4 DPC count: 99852
_
CPU 5 Interrupt cycle time (s): 6.071507
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): 144.20
CPU 5 DPC total execution time (s): 0.020049
CPU 5 DPC count: 5199
_
CPU 6 Interrupt cycle time (s): 12.439294
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): 170.980
CPU 6 DPC total execution time (s): 0.427808
CPU 6 DPC count: 58308
_
CPU 7 Interrupt cycle time (s): 7.051455
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): 136.750127
CPU 7 DPC total execution time (s): 0.029873
CPU 7 DPC count: 5343
_
CPU 8 Interrupt cycle time (s): 14.395197
CPU 8 ISR highest execution time (µs): 7.370127
CPU 8 ISR total execution time (s): 0.124031
CPU 8 ISR count: 235570
CPU 8 DPC highest execution time (µs): 212.860
CPU 8 DPC total execution time (s): 0.229562
CPU 8 DPC count: 42525
_
CPU 9 Interrupt cycle time (s): 7.397042
CPU 9 ISR highest execution time (µs): 3.980
CPU 9 ISR total execution time (s): 0.002387
CPU 9 ISR count: 3889
CPU 9 DPC highest execution time (µs): 237.010127
CPU 9 DPC total execution time (s): 0.029048
CPU 9 DPC count: 4753
_
CPU 10 Interrupt cycle time (s): 9.631529
CPU 10 ISR highest execution time (µs): 4.60
CPU 10 ISR total execution time (s): 0.015369
CPU 10 ISR count: 27641
CPU 10 DPC highest execution time (µs): 222.989873
CPU 10 DPC total execution time (s): 0.070696
CPU 10 DPC count: 10889
_
CPU 11 Interrupt cycle time (s): 9.426853
CPU 11 ISR highest execution time (µs): 4.810127
CPU 11 ISR total execution time (s): 0.010607
CPU 11 ISR count: 18352
CPU 11 DPC highest execution time (µs): 118.70
CPU 11 DPC total execution time (s): 0.072038
CPU 11 DPC count: 8813
_
 
Mar 9, 2023
7
2
15

Oh silly me, I completely missed the first URL you sent me "how to enable or disable CPU core parking"

I just downloaded "CPU Unpark" and all cores were unparked by default (maybe the performance power setting did this, I'm not sure as this is the first time I'm using this feature)
I just ran DXDIAG and did not find any problems

since yesterday:
  • I've updated my GPU vBIOS to 020.001.000.060.800240
  • disabled "USB Selective suspend setting" in the power options
The situation is the same: occasional stuttering, and LatencyMon shows dxgkrnl.sys. In the last 34 minutes the highest reported DPC routinte execution time was 101140.529873
 

Colif

Win 11 Master
Moderator
Have you tried any of these?

PC Specs:
Win10 version 2009, build: 19045 (x64) is installed on an SSD
AMD Radeon RX 6800
AMD Ryzen 5 3600X
what are rest of specs? What motherbaord? do you have latest BIOS?

Often its a mix of things, can be caused by LAN drivers and sound as well. I find DirectX is always at the top. I haven't run it since getting a 7900XT, it used to blame my GPU.
 
Solution
Mar 9, 2023
7
2
15
I just checked my settings that were mentioned in the video:
  • onboard SATA list is set to AHCI in the BIOS
  • unfortunately I'm unable to check "power management mode" in the Nvidia control panel as I'm using AMD
  • I looked into "PowerMizer", and found a video guide on youtube where it's explained how to disable it. I followed these steps and added+modified some keys in regedit Disable POWERMIZER in registry for better FPS | FULL GUIDE - YouTube . I will use my system a bit and see how it reacts when a game is running, and will get back to you later

my motherboard is ASUS Prime B450-PLUS, it was updated after the clean win10 install to BIOS version 3810. The latest version is 4001, but according to the official ASUS page that version is still in Beta. Do you think it's worth trying it regardless of the Beta state?

thank you for your input
 
Mar 9, 2023
7
2
15
Have you tried any of these?


what are rest of specs? What motherbaord? do you have latest BIOS?

Often its a mix of things, can be caused by LAN drivers and sound as well. I find DirectX is always at the top. I haven't run it since getting a 7900XT, it used to blame my GPU.


UPDATE: since the latest change (disabling PowerMizer in the registry) I have not encountered a single stutter. I noticed a spike in LatencyMon (highest reported execution time caused by classpnp.sys was 1215 us, which is significantly lower than before. before disabling PowerMizer the highest execution time for dxgkrnl.sys was 101007 us ) but it's not even close to how bad the spike was that caused my system to stutter. Been testing it for nearly 2 hour now, tried every game that had this stutter issue and it hasn't appeared yet. Normally it doesn't take this long for it to stutter, so I'm hopeful.

I'm not sure if the latest change was enough in itself or if it was a combination of changes, I've changed several system settings in the last 2 weeks

thanks both of you for the help wish you a pleasant day
 
Last edited:
May 18, 2023
1
0
10
UPDATE: since the latest change (disabling PowerMizer in the registry) I have not encountered a single stutter. I noticed a spike in LatencyMon (highest reported execution time caused by classpnp.sys was 1215 us, which is significantly lower than before. before disabling PowerMizer the highest execution time for dxgkrnl.sys was 101007 us ) but it's not even close to how bad the spike was that caused my system to stutter. Been testing it for nearly 2 hour now, tried every game that had this stutter issue and it hasn't appeared yet. Normally it doesn't take this long for it to stutter, so I'm hopeful.

I'm not sure if the latest change was enough in itself or if it was a combination of changes, I've changed several system settings in the last 2 weeks

thanks both of you for the help wish you a pleasant day
Hey,
I hope that your system is still running well,
I was wondering what are the edits you made to get the issue resolved? Is there any additional reg keys apart from the youtube video?
I hope that you share the the effective optimizations you made because i have an amd system and i have the dxgkrnl issue too.
My system is:R5 R5600X / 6600XT
Thanks in advance for your cooperation

EDIT: is there any specific reg keys for amd cards? Because the link provided in video has nvidia powermizer manager... I don't know if it's the same or...
 
Mar 9, 2023
7
2
15
Hey,
I hope that your system is still running well,
I was wondering what are the edits you made to get the issue resolved? Is there any additional reg keys apart from the youtube video?
I hope that you share the the effective optimizations you made because i have an amd system and i have the dxgkrnl issue too.
My system is:R5 R5600X / 6600XT
Thanks in advance for your cooperation

EDIT: is there any specific reg keys for amd cards? Because the link provided in video has nvidia powermizer manager... I don't know if it's the same or...
Hi,
I've already collected the settings in this forum post you can scroll up i included pretty much all steps I've taken.

as for my reg keys I followed this guide video:
View: https://www.youtube.com/watch?v=2KUz8J8PRSI

best of luck.