Windows – High DPC latency Windows 10, unable to fix

dpclatencywindows 10

Edit: I am still experiencing this issue. ndis.sys is causing issues and I have not been able to resolve it. I am at a loss of what to do. I have tried reinstalling windows AGAIN, reinstalling drivers and disabling throttling, nothing works.

I've had problems with Windows10 regarding DPC latency for a good while now, I've managed to relieve some of the issues but my computer still cannot process in real time according to latencymon.

I get audio crackling along with jaw dropping frame skipping and generally slow behaviour.

The main culprit is ndis.sys and also sometimes dxgkrnl.sys when playing games. I have yet to find out what is causing this problem, I've tried reinstalling wifi drivers, not using wifi (using LAN instead) and it still gives me latency.

Here are a few pastebins with my information:

My driver query: http://pastebin.com/UfN2Y9QV

My directX diagnostics: http://pastebin.com/j2wg7ugG

My latencymon results: http://pastebin.com/hFUPMe2A

It is important to note that Windows 8, the system this device came with had no issues, but whenever I downgrade to windows 8 now the same issues persist. I would rather fix the root of the problem instead of downgrading.

My device is an ASUS G771JM laptop.

Best Answer

Looking at the log shows indeed ndis.sys and nvlddmkm.sys spikes:

Total = 98101 for module nvlddmkm.sys
Elapsed Time, >      512 usecs AND <=     1024 usecs,     68, or   0.07%
Elapsed Time, >     1024 usecs AND <=     2048 usecs,     13, or   0.01%
Total,                                                 98101

Total = 2703 for module ndis.sys
Elapsed Time, >      512 usecs AND <=     1024 usecs,    103, or   3.81%
Elapsed Time, >     1024 usecs AND <=     2048 usecs,     19, or   0.70%
Total,                                                  2703

Looking at the stacks shows that NDIS.sys calls your Intel Wifi driver

Line #, DPC/ISR, Module, Stack, Count, Process, Weight (in view) (ms), TimeStamp (s), % Weight
14, , ndis.sys, [Root], 25, , 23,699083, , 0,01
15, , ,   |- ntoskrnl.exe!KiSystemServiceCopyEnd, 5, , 4,746332, , 0,00
16, , ,   |    |- ntoskrnl.exe!NtSetIoCompletion, 1, , 1,016103, , 0,00
17, , ,   |    |    ntoskrnl.exe!IoSetIoCompletionEx2, 1, , 1,016103, , 0,00
18, , ,   |    |    ntoskrnl.exe!IopAllocateMiniCompletionPacket, 1, , 1,016103, , 0,00
19, , ,   |    |    ntoskrnl.exe!KiInterruptDispatchNoLockNoEtw, 1, , 1,016103, , 0,00
20, , ,   |    |    ntoskrnl.exe!KiDpcInterruptBypass, 1, , 1,016103, , 0,00
21, , ,   |    |    ntoskrnl.exe!KiDispatchInterruptContinue, 1, , 1,016103, , 0,00
22, , ,   |    |    ntoskrnl.exe!KxRetireDpcList, 1, , 1,016103, , 0,00
23, , ,   |    |    ntoskrnl.exe!KiRetireDpcList, 1, , 1,016103, , 0,00
24, , ,   |    |    ntoskrnl.exe!KiExecuteAllDpcs, 1, , 1,016103, , 0,00
25, , ,   |    |    ndis.sys!ndisPeriodicReceivesTimer, 1, , 1,016103, , 0,00
26, , ,   |    |    ndis.sys!ndisQueuedMiniportDpcWorkItem, 1, , 1,016103, , 0,00
27, , ,   |    |    Netwbw02.sys!<PDB not found>, 1, , 1,016103, , 0,00
28, , ,   |    |    Netwbw02.sys!<PDB not found>, 1, , 1,016103, , 0,00
29, , ,   |    |    Netwbw02.sys!<PDB not found>, 1, , 1,016103, , 0,00
30, , ,   |    |    Netwbw02.sys!<PDB not found>, 1, , 1,016103, , 0,00
31, , ,   |    |    Netwbw02.sys!<PDB not found>, 1, , 1,016103, , 0,00
32, , ,   |    |    Netwbw02.sys!<PDB not found>, 1, , 1,016103, , 0,00
33, , ,   |    |    ndis.sys!NdisMIndicateReceiveNetBufferLists, 1, , 1,016103, , 0,00
34, , ,   |    |    ndis.sys!ndisCallReceiveHandler, 1, , 1,016103, , 0,00
35, , ,   |    |    ndis.sys!ndisMTopReceiveNetBufferLists, 1, , 1,016103, , 0,00
36, , ,   |    |    ndis.sys!ndisMIndicateNetBufferListsToOpen, 1, , 1,016103, , 0,00

You use driver version 18.33.5.1 which is the latest version for your Intel(R) Dual Band Wireless-AC 7260 adapter. Wait for newer drivers, replace the adapter with a different model (a Gamer Wifi adapter from Killer or newer Intel model) or use LAN cable connection.

Your nVIDIA GPU driver nvlddmkm.sys is version 376.19, which is a bit outdated. Try the driver 378.49 which the most recent one (as 2017-01-31) for your Geforce 860M.

Related Question