DPC Stress testing and bugcheck 00000133

7: kd> .bugcheck
Bugcheck code 00000133
Arguments 0000000000000001 0000000000001e00 fffff80305571358 0000000000000000

Hi all,

is there a good way to stress test a machine with a DPC routine registered to find if the watchdog timer expires under high load? I suspect that our driver is taking too much time in certain scenarios inside the DPC routine, causing a bug check once in a while. But I am unable to reproduce this in-house.

a simple way is to create a trivial UM program that elevates enough threads to thread priority critical while they run tight loops. don’t include sleep or do things that the CPU might be able to interpret as sleep, but do ‘useful’ things like calculating digits of pi. its high school math and even if you get the formula wrong, it serves to stress the CPU all the same