Caps lock key specfically causing dpc spikes

Padam V 0 Reputation points
2024-07-21T11:52:26.64+00:00

When pressing the caps lock key there is huge dpc latency spike witht the i8042prt.sys driver, it is only this key no other key on the keyboard causes this. I checked this 3 to 4 times with latencymon as well, this cause sthe entire system to lag out and stutter, however in any game that I am in such as cs2 this doesn't occur.

I have a working theory this may be realted to the Caps-Lock led however I have no idea how I would be able to test/fix this. I believe this may be the case as the led is triggered even when using a external keyboard.

I have tried a sfc /scannow, DISM commands as well, I have ran a system diagnostic, tried maxing out the power plan, and uninstalling and reinstall keyboard drivers. I have no idea what the issue is any steps or advice would be helpful.

These are the latency mon results _________________________________________________________________________________________________________

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


SYSTEM INFORMATION


Computer name: XXXX

OS version: Windows 11, 10.0, version 2009, build: 22621 (x64)

Hardware: ROG Zephyrus G15 GA503RW_GA503RW, ASUSTeK COMPUTER INC.

BIOS: GA503RW.317

CPU: AuthenticAMD AMD Ryzen 9 6900HS with Radeon Graphics

Logical processors: 16

Processor groups: 1

Processor group size: 16

RAM: 15608 MB total


CPU SPEED


Reported CPU speed (WMI): 2319 MHz

Reported CPU speed (registry): 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): 84717.80

Average measured interrupt to process latency (µs): 18.854754

Highest measured interrupt to DPC latency (µs): 84674.20

Average measured interrupt to DPC latency (µs): 12.022147


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): 85245.411658

Driver with highest ISR routine execution time: i8042prt.sys - i8042 Port Driver, Microsoft Corporation

Highest reported total ISR routine time (%): 0.018169

Driver with highest ISR total time: i8042prt.sys - i8042 Port Driver, Microsoft Corporation

Total time spent in ISRs (%) 0.018222

ISR count (execution time <250 µs): 449

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): 863.109290

Driver with highest DPC routine execution time: ntoskrnl.exe - NT Kernel & System, Microsoft Corporation

Highest reported total DPC routine time (%): 0.005509

Driver with highest DPC total execution time: rspLLL64.sys - Resplendence Latency Monitoring and Auxiliary Kernel Library, Resplendence Software Projects Sp.

Total time spent in DPCs (%) 0.013208

DPC count (execution time <250 µs): 17825

DPC count (execution time 250-500 µs): 0

DPC count (execution time 500-10000 µs): 17

DPC count (execution time 1000-2000 µs): 0

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

Total number of hard pagefaults 44

Hard pagefault count of hardest hit process: 28

Number of processes hit: 3


PER CPU DATA


CPU 0 Interrupt cycle time (s): 3.182904

CPU 0 ISR highest execution time (µs): 85245.411658

CPU 0 ISR total execution time (s): 0.16960

CPU 0 ISR count: 450

CPU 0 DPC highest execution time (µs): 368.510018

CPU 0 DPC total execution time (s): 0.092020

CPU 0 DPC count: 15827


CPU 1 Interrupt cycle time (s): 2.275914

CPU 1 ISR highest execution time (µs): 3.135701

CPU 1 ISR total execution time (s): 0.000003

CPU 1 ISR count: 1

CPU 1 DPC highest execution time (µs): 203.419854

CPU 1 DPC total execution time (s): 0.000712

CPU 1 DPC count: 65


CPU 2 Interrupt cycle time (s): 1.807850

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.019126

CPU 2 DPC total execution time (s): 0.002590

CPU 2 DPC count: 151


CPU 3 Interrupt cycle time (s): 1.606654

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): 23.492714

CPU 3 DPC total execution time (s): 0.000258

CPU 3 DPC count: 29


CPU 4 Interrupt cycle time (s): 0.915891

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): 35.785064

CPU 4 DPC total execution time (s): 0.000357

CPU 4 DPC count: 38


CPU 5 Interrupt cycle time (s): 0.844233

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): 86.316940

CPU 5 DPC total execution time (s): 0.000380

CPU 5 DPC count: 24


CPU 6 Interrupt cycle time (s): 2.507683

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): 628.642987

CPU 6 DPC total execution time (s): 0.002536

CPU 6 DPC count: 131


CPU 7 Interrupt cycle time (s): 2.253318

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): 78.462659

CPU 7 DPC total execution time (s): 0.000498

CPU 7 DPC count: 43


CPU 8 Interrupt cycle time (s): 2.503921

CPU 8 ISR highest execution time (µs): 0.0

CPU 8 ISR total execution time (s): 0.0

CPU 8 ISR count: 0

CPU 8 DPC highest execution time (µs): 67.642987

CPU 8 DPC total execution time (s): 0.000702

CPU 8 DPC count: 53


CPU 9 Interrupt cycle time (s): 1.156733

CPU 9 ISR highest execution time (µs): 0.0

CPU 9 ISR total execution time (s): 0.0

CPU 9 ISR count: 0

CPU 9 DPC highest execution time (µs): 863.109290

CPU 9 DPC total execution time (s): 0.013373

CPU 9 DPC count: 835


CPU 10 Interrupt cycle time (s): 1.542999

CPU 10 ISR highest execution time (µs): 0.0

CPU 10 ISR total execution time (s): 0.0

CPU 10 ISR count: 0

CPU 10 DPC highest execution time (µs): 213.408015

CPU 10 DPC total execution time (s): 0.002136

CPU 10 DPC count: 127


CPU 11 Interrupt cycle time (s): 1.474553

CPU 11 ISR highest execution time (µs): 0.0

CPU 11 ISR total execution time (s): 0.0

CPU 11 ISR count: 0

CPU 11 DPC highest execution time (µs): 271.393443

CPU 11 DPC total execution time (s): 0.003871

CPU 11 DPC count: 267


CPU 12 Interrupt cycle time (s): 0.544781

CPU 12 ISR highest execution time (µs): 0.0

CPU 12 ISR total execution time (s): 0.0

CPU 12 ISR count: 0

CPU 12 DPC highest execution time (µs): 66.951730

CPU 12 DPC total execution time (s): 0.000725

CPU 12 DPC count: 68


CPU 13 Interrupt cycle time (s): 0.493015

CPU 13 ISR highest execution time (µs): 0.0

CPU 13 ISR total execution time (s): 0.0

CPU 13 ISR count: 0

CPU 13 DPC highest execution time (µs): 33.731330

CPU 13 DPC total execution time (s): 0.000092

CPU 13 DPC count: 10


CPU 14 Interrupt cycle time (s): 0.257525

CPU 14 ISR highest execution time (µs): 0.0

CPU 14 ISR total execution time (s): 0.0

CPU 14 ISR count: 0

CPU 14 DPC highest execution time (µs): 93.369763

CPU 14 DPC total execution time (s): 0.002228

CPU 14 DPC count: 137


CPU 15 Interrupt cycle time (s): 0.240582

CPU 15 ISR highest execution time (µs): 0.0

CPU 15 ISR total execution time (s): 0.0

CPU 15 ISR count: 0

CPU 15 DPC highest execution time (µs): 42.367031

CPU 15 DPC total execution time (s): 0.000455

CPU 15 DPC count: 37


Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,479 questions
Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,622 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,847 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.