DPC And General Latency Issues

Windows 10 DPC latency issue with ndis & tcpip.sys

Your code and my recent
CrazyPingTest3
trigger DPC latency issue of tcpip.sys after a couple of runs. Like you said.

One run of your code, one run of CrazyPingTest3 or infinite run of my infinite pings (original
CrazyPingTest) cause just 0.5 to 1 ms latency.

But! If I add a 50 ms sleep before starting a new thread, there is no latency at all. See my
CrazyPingTest3). There is a commented line.

And if I add Thread.Sleep(50); before your

p.SendAsync(ip, 1000, ip);

I see no DPC latency too.

And thank you for the link!

Upd. Oh, I was wrong. I made some more runs and had a DPC latency.

And I’m here because of “windows 10 ndis high dpc” issue too.

 

Read more here: Source link