[SOLVED] Extremely High Latency

Page 6 - Seeking answers? Join the Tom's Hardware community: where nearly two million members share solutions and discuss the latest tech.
Apr 5, 2022
93
2
35
Got a new laptop recently, it's a Lenovo Ideapad Gaming 3, but i'm getting random freezes and audio is popping
I used latencymon to see what's going on and i'm getting extremely high levels of latency
_
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:11:37 (h🇲🇲ss) on all processors.


_
SYSTEM INFORMATION
_
Computer name: LAPTOP-11QI23AL
OS version: Windows 10, 10.0, version 2009, build: 22000 (x64)
Hardware: 82K2, LENOVO
CPU: AuthenticAMD AMD Ryzen 5 5600H with Radeon Graphics
Logical processors: 12
Processor groups: 1
RAM: 5996 MB total


_
CPU SPEED
_
Reported CPU speed: 3294 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): 420227.60
Average measured interrupt to process latency (µs): 55.763570

Highest measured interrupt to DPC latency (µs): 420223.50
Average measured interrupt to DPC latency (µs): 46.648393


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

Highest reported total ISR routine time (%): 0.008110
Driver with highest ISR total time: Wdf01000.sys - Motor en tiempo de ejecución del marco de controlador en modo kernel, Microsoft Corporation

Total time spent in ISRs (%) 0.013960

ISR count (execution time <250 µs): 91359
ISR count (execution time 250-500 µs): 0
ISR count (execution time 500-1000 µs): 0
ISR count (execution time 1000-2000 µs): 2
ISR count (execution time 2000-4000 µs): 13
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): 95914.540073
Driver with highest DPC routine execution time: dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation

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

Total time spent in DPCs (%) 0.214949

DPC count (execution time <250 µs): 1135439
DPC count (execution time 250-500 µs): 0
DPC count (execution time 500-10000 µs): 260
DPC count (execution time 1000-2000 µs): 45
DPC count (execution time 2000-4000 µs): 324
DPC count (execution time >=4000 µs): 1170


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

Total number of hard pagefaults 45023
Hard pagefault count of hardest hit process: 14298
Number of processes hit: 134


_
PER CPU DATA
_
CPU 0 Interrupt cycle time (s): 77.506743
CPU 0 ISR highest execution time (µs): 33685.626594
CPU 0 ISR total execution time (s): 1.135296
CPU 0 ISR count: 83927
CPU 0 DPC highest execution time (µs): 95914.540073
CPU 0 DPC total execution time (s): 15.447351
CPU 0 DPC count: 914610
_
CPU 1 Interrupt cycle time (s): 61.011657
CPU 1 ISR highest execution time (µs): 8025.762295
CPU 1 ISR total execution time (s): 0.023164
CPU 1 ISR count: 870
CPU 1 DPC highest execution time (µs): 16090.355191
CPU 1 DPC total execution time (s): 0.143824
CPU 1 DPC count: 13718
_
CPU 2 Interrupt cycle time (s): 58.754196
CPU 2 ISR highest execution time (µs): 24.514572
CPU 2 ISR total execution time (s): 0.001006
CPU 2 ISR count: 158
CPU 2 DPC highest execution time (µs): 20582.432605
CPU 2 DPC total execution time (s): 0.369622
CPU 2 DPC count: 38870
_
CPU 3 Interrupt cycle time (s): 60.214632
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): 42333.820583
CPU 3 DPC total execution time (s): 0.292201
CPU 3 DPC count: 12306
_
CPU 4 Interrupt cycle time (s): 49.135768
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): 70948.587432
CPU 4 DPC total execution time (s): 0.150377
CPU 4 DPC count: 18019
_
CPU 5 Interrupt cycle time (s): 51.584330
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): 8342.337887
CPU 5 DPC total execution time (s): 0.065866
CPU 5 DPC count: 5317
_
CPU 6 Interrupt cycle time (s): 51.590302
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): 49920.765027
CPU 6 DPC total execution time (s): 0.213715
CPU 6 DPC count: 15064
_
CPU 7 Interrupt cycle time (s): 52.001259
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): 15918.843352
CPU 7 DPC total execution time (s): 0.050138
CPU 7 DPC count: 6869
_
CPU 8 Interrupt cycle time (s): 53.596208
CPU 8 ISR highest execution time (µs): 5504.698543
CPU 8 ISR total execution time (s): 0.008236
CPU 8 ISR count: 5343
CPU 8 DPC highest execution time (µs): 73796.795993
CPU 8 DPC total execution time (s): 0.955972
CPU 8 DPC count: 63124
_
CPU 9 Interrupt cycle time (s): 43.554839
CPU 9 ISR highest execution time (µs): 4.578324
CPU 9 ISR total execution time (s): 0.000197
CPU 9 ISR count: 226
CPU 9 DPC highest execution time (µs): 8639.247723
CPU 9 DPC total execution time (s): 0.045582
CPU 9 DPC count: 6865
_
CPU 10 Interrupt cycle time (s): 39.447225
CPU 10 ISR highest execution time (µs): 5.419854
CPU 10 ISR total execution time (s): 0.000308
CPU 10 ISR count: 358
CPU 10 DPC highest execution time (µs): 46421.612933
CPU 10 DPC total execution time (s): 0.187660
CPU 10 DPC count: 17964
_
CPU 11 Interrupt cycle time (s): 38.157267
CPU 11 ISR highest execution time (µs): 6.321494
CPU 11 ISR total execution time (s): 0.000443
CPU 11 ISR count: 556
CPU 11 DPC highest execution time (µs): 1857.867942
CPU 11 DPC total execution time (s): 0.071727
CPU 11 DPC count: 24512
_
 
Solution

I did the Nvidia thing, not that mine was bad before, but it could have helped
7fdsWPf.jpg

what he calls good is higher than mine.

if you do anything in registry, backup first - https://neosmart.net/wiki/backup-restore-registry/

Colif

Win 11 Master
Moderator
Apr 5, 2022
93
2
35
could try the 1 hour in bios again since you have put win 10 on drive since then.

I had not heard of the 1 hour in bios before John offered it here, so it feels like an odd fix. I haven't done it myself.
Tried that, no change at all. I think the problem is worst now, I haven't been able to use my pc due to the freezes
 

Colif

Win 11 Master
Moderator
I wonder if installing Ubuntu on the ssd would tell us anything. We know it runs fine off USB, so if it was bad off SSD, that would make me think its the ssd itself.

Its not windows.

I don't think its the BIOS either, as windows 10 doesn't use the part of the bios that the update fixes.

there is only so much we can do online. I would be inclined to try to get Lenovo to look at it.
 

Colif

Win 11 Master
Moderator
I have to search if there's any place here in my country affiliated to lenovo. I was checking latency mon and now It shows problems related to the usb port.
screenshots?

when you put 10 on you ran the lenovo auto updater on their website?
USBS should be built into windows, I am just curious what its showing in latencymon

what USB devices do you use? mouse?
 
  • Like
Reactions: rauvel
Apr 5, 2022
93
2
35
screenshots?

when you put 10 on you ran the lenovo auto updater on their website?
USBS should be built into windows, I am just curious what its showing in latencymon

what USB devices do you use? mouse?
Yes, only a mouse. Let me see if I can get this thing to freeze to take a screenshot. I also ran the auto updater.
 
Apr 5, 2022
93
2
35
i assume you know i mean screenshots of latencymon... if it freezes, that might be hard.

does it freeze if you don't use the mouse?
No of course, I mean, rn it stopped freezing again, it had a w10 update pending so I restarted and latencymon doesn't show anything now. In the list of updates they mentioned something about AMD. From what I remember it froze once without the mouse plugged in, but I'm not sure, let me test it out.
 

Colif

Win 11 Master
Moderator
same notes as before apply: linux doesn't stress hardware as much as windows so if it doesn't play up in here, it doesn't really tell us anything.
It just doesn't help.
If it does stutter, it could be it is ssd.

I hate could be...
 
Apr 5, 2022
93
2
35
same notes as before apply: linux doesn't stress hardware as much as windows so if it doesn't play up in here, it doesn't really tell us anything.
It just doesn't help.
If it does stutter, it could be it is ssd.

I hate could be...
You are right, I mean, If ubuntu works then I might just leave windows for gaming and some programs I have. At least for now, is there any way to stress the hardware on Ubuntu?
 

Colif

Win 11 Master
Moderator
is image 4 when it was occurring?
DirectX being high is normal but can also be a clue.
storport.sys is used for storage drives... nvme. not USB.
stornvme.sys is right above it

crystaldiskinfo looks at the SMART scores of the drive. its worth a try, all you do is run it as the SMART info is auto reported by drive.
 
Apr 5, 2022
93
2
35
is image 4 when it was occurring?
DirectX being high is normal but can also be a clue.
storport.sys is used for storage drives... nvme. not USB.
stornvme.sys is right above it

crystaldiskinfo looks at the SMART scores of the drive. its worth a try, all you do is run it as the SMART info is auto reported by drive.
Image 4 was with freezings going on. I tried the crystal disk test and it shows the ssd is 100% healthy.
 

Colif

Win 11 Master
Moderator
there can be physical problems with ssd/nvme that the software can't see. If its a problem with the memory controller, for instance.

Don''t you just love how I keep saying that doesn't prove anything :)

see how Ubuntu goes.

notices you post in another thread... and then remembers I found that before.
 
Apr 5, 2022
93
2
35
there can be physical problems with ssd/nvme that the software can't see. If its a problem with the memory controller, for instance.

Don''t you just love how I keep saying that doesn't prove anything :)

see how Ubuntu goes.
Sorry man, I just don't know that much about this :(

I'll try the dual boot and try to perform the stress test you sent me
 
Apr 5, 2022
93
2
35
Okay so, I found out that if I disable the Realtek PCIe GbE Family Controller the latency comes down instantly, literally when I activate it I get spikes of 70k

I will leave LatencyMon running for some time just to verify if it actually works, hopefully it does so I can provide screenshots.
 
Apr 5, 2022
93
2
35
Omg, you have to check this out!

Disabling the driver literally takes down all the lag and freezings, enabling it causes my pc to lag instantly. I tried disabling other drivers just to make sure it was that one in specific and I guess it is the one causing the problem. I don't use Ethernet so its not a problem for me

driver2 — ImgBB (ibb.co)

driver1 — ImgBB (ibb.co)

I have played for around an hour and I haven't seen any freezing, also restarted like three times and it seems fine. I have to say that the audio still pops, but I can live with that. I will test the computer throughout this week to see if this is an actual solution. 🙏
 
Last edited: