High Latency on Wdf01000.sys driver causing Real Time Audio Playback issues

Anonymous
2022-12-20T11:06:29+00:00

Hi

I have ran Latency Mon as I am getting issues when using using my Traktor Kontrol s3 DJ controller causing real time audio play back issues and the above driver is reporting Highest execution of over 5.83 which appears to be causing the audio issues - have you any advice on what I can do to improve this?

Windows/drivers/BIOS are all up to date

Info below

SYSTEM INFORMATION

_________________________________________________________________________________________________________

Computer name: LAPTOP-RP5HJ9VC

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

Hardware: 81NC, LENOVO

BIOS: AMCN25WW(V1.08)

CPU: AuthenticAMD AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx

Logical processors: 8

Processor groups: 1

Processor group size: 8

RAM: 6082 MB total

CPU SPEED

_________________________________________________________________________________________________________

Reported CPU speed (WMI): 230 MHz

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

Windows 11 Version 22H2 (OS Build 22621.963)

I am not aware of any changes prior to my my issue

_________________________________________________________________________________________________________

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

_________________________________________________________________________________________________________

SYSTEM INFORMATION

_________________________________________________________________________________________________________

Computer name: LAPTOP-RP5HJ9VC

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

Hardware: 81NC, LENOVO

BIOS: AMCN25WW(V1.08)

CPU: AuthenticAMD AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx

Logical processors: 8

Processor groups: 1

Processor group size: 8

RAM: 6082 MB total

_________________________________________________________________________________________________________

CPU SPEED

_________________________________________________________________________________________________________

Reported CPU speed (WMI): 230 MHz

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

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

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

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

_________________________________________________________________________________________________________

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

Driver with highest ISR routine execution time: Wdf01000.sys - Kernel Mode Driver Framework Runtime, Microsoft Corporation

Highest reported total ISR routine time (%): 0.008239

Driver with highest ISR total time: Wdf01000.sys - Kernel Mode Driver Framework Runtime, Microsoft Corporation

Total time spent in ISRs (%) 0.008239

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

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

Driver with highest DPC routine execution time: Wdf01000.sys - Kernel Mode Driver Framework Runtime, Microsoft Corporation

Highest reported total DPC routine time (%): 0.116586

Driver with highest DPC total execution time: Wdf01000.sys - Kernel Mode Driver Framework Runtime, Microsoft Corporation

Total time spent in DPCs (%) 0.246767

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

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

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

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

DPC count (execution time 2000-4000 µs): 1

DPC count (execution time >=4000 µs): 1

_________________________________________________________________________________________________________

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 49848

Hard pagefault count of hardest hit process: 23033

Number of processes hit: 76

_________________________________________________________________________________________________________

PER CPU DATA

_________________________________________________________________________________________________________

CPU 0 Interrupt cycle time (s): 29.199812

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

CPU 0 ISR total execution time (s): 0.382205

CPU 0 ISR count: 68295

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

CPU 0 DPC total execution time (s): 9.460795

CPU 0 DPC count: 353658

_________________________________________________________________________________________________________

CPU 1 Interrupt cycle time (s): 3.327245

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

CPU 1 ISR total execution time (s): 0.000158

CPU 1 ISR count: 21

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

CPU 1 DPC total execution time (s): 0.131493

CPU 1 DPC count: 16616

_________________________________________________________________________________________________________

CPU 2 Interrupt cycle time (s): 5.915394

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

CPU 2 DPC total execution time (s): 0.450144

CPU 2 DPC count: 39039

_________________________________________________________________________________________________________

CPU 3 Interrupt cycle time (s): 3.192211

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

CPU 3 DPC total execution time (s): 0.154109

CPU 3 DPC count: 17995

_________________________________________________________________________________________________________

CPU 4 Interrupt cycle time (s): 5.699611

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

CPU 4 DPC total execution time (s): 0.369758

CPU 4 DPC count: 30900

_________________________________________________________________________________________________________

CPU 5 Interrupt cycle time (s): 4.162972

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

CPU 5 DPC total execution time (s): 0.233076

CPU 5 DPC count: 26874

_________________________________________________________________________________________________________

CPU 6 Interrupt cycle time (s): 4.355492

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

CPU 6 DPC total execution time (s): 0.374942

CPU 6 DPC count: 31047

_________________________________________________________________________________________________________

CPU 7 Interrupt cycle time (s): 3.526148

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

CPU 7 DPC total execution time (s): 0.277543

CPU 7 DPC count: 21351

_________________________________________________________________________________________________________

Windows for home | Windows 11 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

73 answers

Sort by: Most helpful
  1. Anonymous
    2025-01-02T08:27:41+00:00

    Hi, I solved my problem. (HP victus 15, Windows11)

    I got this message from LatencyMon:

    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. One problem may be related to power management, disable CPU throttling settings in Control Panel and BIOS setup. Check for BIOS updates.

    I did followed steps and still had the problem.

    1. windows update
    2. checking driver updates from hp(There was no recent update)

    But finally, I solved problem by:

    1. Installing nvidia gaming graphic driver
    2. Changing default GPU from 'auto select' to 'high performance nvidia processor' in nvidia control panel(3D option and PhysX)

    I'm not English native so be aware of translation.


    Not solved, but reduced...

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-08-29T21:43:02+00:00

    Yeah I've tried everything in every solution rabbit hole at this point... HPET was never on, Assigned specific Cores / affinity to individual processes, then tried assigning 'sets' of Cores (process lasso). Used Iobit to install any out of date drivers. Tried several different Nvidia drivers with clean installs (Nvidia cleanup tool and DDU), changed power management stuff everywhere in BIOS and windows device manager etc... (every USB device) I disabled Dynamic lighting and tried moving the mouse to different USB port ...several things listed in my last post. This a new supposedly powerhouse computer and it's junk.

    Wdf01000.sys and ntoskrnl.exe

    _________________________________________________________________________________________________________

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

    _________________________________________________________________________________________________________

    SYSTEM INFORMATION

    _________________________________________________________________________________________________________

    Computer name: VINS-DESKTOP

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

    Hardware: Intel(R) Core(TM) i7-14700KF, iBUYPOWER

    BIOS: 1663

    CPU: GenuineIntel Intel(R) Core(TM) i7-14700KF

    Logical processors: 28

    Processor groups: 1

    Processor group size: 28

    RAM: 32613 MB total

    _________________________________________________________________________________________________________

    CPU SPEED

    _________________________________________________________________________________________________________

    Reported CPU speed (WMI): 340 MHz

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

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

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

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

    _________________________________________________________________________________________________________

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

    Driver with highest ISR routine execution time: Wdf01000.sys - Kernel Mode Driver Framework Runtime, Microsoft Corporation

    Highest reported total ISR routine time (%): 0.000695

    Driver with highest ISR total time: Wdf01000.sys - Kernel Mode Driver Framework Runtime, Microsoft Corporation

    Total time spent in ISRs (%) 0.000695

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

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

    ISR count (execution time 500-1000 µs): 1

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

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

    Highest reported total DPC routine time (%): 0.006395

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

    Total time spent in DPCs (%) 0.014761

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

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

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

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

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

    DPC count (execution time >=4000 µs): 1

    _________________________________________________________________________________________________________

    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 49229

    Hard pagefault count of hardest hit process: 19076

    Number of processes hit: 52

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-08-26T17:43:21+00:00

    - 1. Desactive la configuración de suspensión selectiva de USB en su plan de energía, esto ayuda especialmente con la latencia de storport.sys, así como con otros de la lista anterior.

    -2. *IMPORTANTE* Descargue PowerSettingsExplorer desde aquí y ejecútelo como administrador. Luego busque las siguientes 2 opciones: Umbral de degradación de inactividad del procesador y Umbral de promoción de inactividad del procesador, **DESMARQUE ambas, luego vaya a la configuración de su plan de energía, busque la nueva opción en "Administración de energía del procesador" y configure ambas al 100%. . Eso ayuda a reducir casi todas las latencias. Si está satisfecho, puede detenerse aquí; si desea intentar reducirlas aún más, continúe.

    -3(Para NVIDIA, lea a continuación) Use DDU y luego NVCleanstall para instalar sus controladores, esto ayuda a reducir la latencia de nvlddmkm.sys ya que no hay telemetría ni otras basura ejecutándose en segundo plano. Además, seleccione "Preferir rendimiento máximo" en su configuración 3D. (Para AMD, lea a continuación) Utilice DDU y descargue el paquete de controladores más reciente, extráigalo y cancele la instalación una vez finalizada. Después de eso, vaya al administrador de dispositivos, busque su adaptador de pantalla, haga clic en actualizar controlador, seleccione "examinar mi computadora" y seleccione el directorio donde se extrajeron los controladores AMD e instálelos, nuevamente, sin problemas. Esto me ayudó a reducir la latencia de wdf01000.sys. Puede intentar usar MorePowerTool (AMD) de IgorsLab bajo su propio riesgo y con su propia investigación. Además, desactive el modo de ahorro de energía ultrabajo (ULPS) a través de MSI Afterburner, que se encuentra en la configuración.

    -4. Descargue MSI Utility v3 desde aquí y ejecútelo como administrador, configure su GPU en modo MSI (es posible que ya esté activado de forma predeterminada) y establezca la prioridad en Alta, luego reinicie y pruebe. Al menos debería ayudar con la tartamudez en juegos específicos, si no con la latencia, aunque ayudó a reducir la mía ligeramente.

    -5. Desinstale Windows Update Health Tools. Esto reduce la latencia por alguna razón desconocida; sin embargo, tenga en cuenta que se usa para determinar si su PC es capaz de ejecutar Windows 11 y no podrá actualizar si elimina él.

    -6. Probablemente hayas escuchado esto muchas veces, pero por si acaso, descarga los controladores de tu chipset directamente del fabricante de tu placa base. Sin embargo, Windows generalmente instala todo automáticamente para que todo siga funcionando, por lo que es posible que ni siquiera sea necesario si los problemas de latencia se solucionan en este momento.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2024-08-25T18:48:08+00:00

    To solve this issue on my PC I had to separate out the audiosrv tasks from the CPU 0 and 1 processors (I recall I put it on processors 6 amd 7 but you can pick processors that are not used). The windows OS defaults a number of these critical realtime tasks to CPUs 0 and 1 .... so you NEED TO CHANGE THAT for all tasks that you need to run in realtime and not have them interrupted by whatever is running on CPU 0 and 1.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2023-09-19T19:08:52+00:00

    What Mother board?

    Unfortunately my solution was a new next model up.

    There is some speculation the Win 11 23H2 may provide a solution.

    Was this answer helpful?

    0 comments No comments