DPC Latency problem

zClown

Active member
Joined
Feb 26, 2016
Posts
30
Hello everybody, I'd like to ask for help on finding the cause of mouse delay and short stutters in games, because for fps games accurate and fast mouse movements are the biggest advantage over enemies.


I've done clean windows 10 install yesterday (formatted both SSD and HDD). Haven't installed a single program besides steam and 2 games. Windows update installed everything it needs. Haven't installed any drivers from motherboard manually and I can really say that Microsoft drivers made significant improvement on how the mouse behaves in game such as cs go, over the ones from asrock. However, Im not sure if my pc is optimized for best performance without the custom drivers made specially for my motherboard.

My computer ->
CPU: Intel i5 4690
GPU: GTX 1060 3gb
RAM: DDR3 Kingston HyperX blue 2x4 1333mhz cl9
MOBO: ASROCK H97M Pro 4
HDD: WD BLUE 3.5 1TB 7200RPM
SSD: Corsair Force LS 60GB
PSU: Cooler Master Thunder M 620w
CPU Cooler: Cooler Master Hyper evo 212
Mouse: Logitech g402
Monitor: Dell p2314h 1920x1080@60hz


Both processor and video card do not reach over 45 Celsius while gaming.


Things done to solve the problem:
1. Disabled xbox dvr
2. Switched between balanced - performance mode in battery settings.
3. Newest NVidia drivers
4. Ran latency mon test: Imgur: The most awesome images on the Internet


Summary _________________________________________________________________________________________________________
CONCLUSION
_________________________________________________________________________________________________________
Your system appears to be suitable for handling real-time audio and other tasks without dropouts.
LatencyMon has been analyzing your system for 0:17:34 (h:mm:ss) on all processors.




_________________________________________________________________________________________________________
SYSTEM INFORMATION
_________________________________________________________________________________________________________
Computer name: DESKTOP-BNDSOFC
OS version: Windows 10 , 10.0, build: 14393 (x64)
Hardware: ASRock, H97M Pro4
CPU: GenuineIntel Intel(R) Core(TM) i5-4690 CPU @ 3.50GHz
Logical processors: 4
Processor groups: 1
RAM: 8127 MB total




_________________________________________________________________________________________________________
CPU SPEED
_________________________________________________________________________________________________________
Reported CPU speed: 3499 MHz
Measured CPU speed: 1 MHz (approx.)


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.


WARNING: the CPU speed that was measured is only a fraction of the CPU speed reported. Your CPUs may be throttled back due to variable speed settings and thermal issues. It is suggested that you run a utility which reports your actual CPU frequency and temperature.






_________________________________________________________________________________________________________
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): 936,791864
Average measured interrupt to process latency (µs): 2,623720


Highest measured interrupt to DPC latency (µs): 916,59860
Average measured interrupt to DPC latency (µs): 0,917977




_________________________________________________________________________________________________________
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): 196,412975
Driver with highest ISR routine execution time: dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation


Highest reported total ISR routine time (%): 0,179504
Driver with highest ISR total time: dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation


Total time spent in ISRs (%) 0,223668


ISR count (execution time <250 µs): 1150640
ISR count (execution time 250-500 µs): 0
ISR count (execution time 500-999 µs): 0
ISR count (execution time 1000-1999 µs): 0
ISR count (execution time 2000-3999 µ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): 867,317805
Driver with highest DPC routine execution time: ndis.sys - Network Driver Interface Specification (NDIS), Microsoft Corporation


Highest reported total DPC routine time (%): 0,073889
Driver with highest DPC total execution time: Wdf01000.sys - Kernel Mode Driver Framework Runtime, Microsoft Corporation


Total time spent in DPCs (%) 0,307659


DPC count (execution time <250 µs): 3990422
DPC count (execution time 250-500 µs): 0
DPC count (execution time 500-999 µs): 37
DPC count (execution time 1000-1999 µs): 0
DPC count (execution time 2000-3999 µ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: svchost.exe


Total number of hard pagefaults 9640
Hard pagefault count of hardest hit process: 2392
Highest hard pagefault resolution time (µs): 196781,727922
Total time spent in hard pagefaults (%): 0,247774
Number of processes hit: 32




_________________________________________________________________________________________________________
PER CPU DATA
_________________________________________________________________________________________________________
CPU 0 Interrupt cycle time (s): 38,413287
CPU 0 ISR highest execution time (µs): 196,412975
CPU 0 ISR total execution time (s): 9,416753
CPU 0 ISR count: 1148344
CPU 0 DPC highest execution time (µs): 867,317805
CPU 0 DPC total execution time (s): 11,751447
CPU 0 DPC count: 3745557
_________________________________________________________________________________________________________
CPU 1 Interrupt cycle time (s): 12,160050
CPU 1 ISR highest execution time (µs): 129,933124
CPU 1 ISR total execution time (s): 0,013212
CPU 1 ISR count: 2069
CPU 1 DPC highest execution time (µs): 455,830237
CPU 1 DPC total execution time (s): 0,416407
CPU 1 DPC count: 80144
_________________________________________________________________________________________________________
CPU 2 Interrupt cycle time (s): 10,810138
CPU 2 ISR highest execution time (µs): 16,331523
CPU 2 ISR total execution time (s): 0,000848
CPU 2 ISR count: 227
CPU 2 DPC highest execution time (µs): 523,629608
CPU 2 DPC total execution time (s): 0,380425
CPU 2 DPC count: 73708
_________________________________________________________________________________________________________
CPU 3 Interrupt cycle time (s): 25,135746
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): 509,720777
CPU 3 DPC total execution time (s): 0,423984
CPU 3 DPC count: 91050
_________________________________________________________________________________________________________
 
Hi hook. :wave:


Would you try these steps?

Preamble
In case you don't know how to open an elevated command prompt in windows 10, this is the simplest procedure: right-click windows start, click command prompt (admin).


  • Left-click on Start, type directly msconfig, press enter.
    Is the radio button on normal startup?
  • Launch this command from an elevated command prompt:
    dism /online /cleanup-image /checkhealth
    Do you get my same result?
    Read More:
  • Advanced disk cleanup with cleanmgr:
    • Open an elevated command prompt
    • Type cleanmgr /sageset:1 and press enter.
    • Select all the options, or leave unticked the ones you prefer.
    • Type cleanmgr /sagerun:1 and press enter
    • Let it work until it finishes.
  • Launch this command from an elevated command prompt:
    sfc /scannow
    If you get the following message:
    Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log
    Read Windows Update Forum Posting Instructions (click) and provide the necessary (and missing) informations to the experts.I.e., you should:
    • export and zip/compress the entire CBS folder on your desktop
    • open a new topic in the windows update sub-forum (in sysnative.com)
    • attach that zipped file to that new topic
    If the CBS compressed folder will be too large, you can check the second post on that thread (to use the sfcfix tool with a script) or you can use a (possibly fast) web service like MS OneDrive, Google Drive, DropBox, Box, Mega, Apple iCloud, Amazon Cloud Drive, and so forth...
    Instead if you get the following messages, go to the next step:
    Windows Resource Protection did not find any integrity violations
    Windows Resource Protection found corrupt files and successfully repaired them. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log
  • Defragment your system drive (using windows default defragmenter). Steps:
    • Open an elevated command prompt
    • Type defrag c: /h and press enter
    • Wait until it finishes
  • Check your system partition, then post the result here. Steps:
    • Open an elevated command prompt.
    • Type chkdsk c: /b and press enter.
    • You'll get:
      The type of the file system is NTFS.
      Cannot lock current drive.
      Chkdsk cannot run because the volume is in use by another
      process. Would you like to schedule this volume to be
      checked the next time the system restarts? (Y/N)
    • Type Y and press enter.
    • Then restart/reboot and wait until it finishes this check.
    • To find chkdsk result:
      • Open an elevated command prompt
      • Copy/paste this command and press enter:
        Code:
        wevtutil qe application /c:1 /rd:true  /f:text /q:"*[System[Provider[(@Name='Microsoft-Windows-Wininit')]]]" > "%userprofile%\desktop\ChkDskLOG.txt" & notepad "%userprofile%\desktop\ChkDskLOG.txt"
      • It should create chkdsklog.txt on your desktop and open it: paste its content here.
      • If the command won't work, type eventvwr, press enter, in the event viewer window double-left-click Windows Logs to expand it, left-click Application, double-left-click the information event with source wininit, copy its content and post it here.

After all those operations, reboot your machine and see if the problem persists.



If the problem persists:

  • Please provide answers for (answer the best that you can):
    • System Manufacturer?
    • Laptop or Desktop?
    • Exact model number (if laptop, check label on bottom)
    • OS ? (Windows 10, 8.1, 8, 7, Vista)
    • x86 (32bit) or x64 (64bit)?
    • Service pack?
    • What was original installed OS on system?
    • Is the OS an OEM version (came pre-installed on system) or full retail version (YOU purchased it from retailer)?
    • Age of system? (hardware)
    • Age of OS installation?
    • Have you re-installed the OS?
    • CPU
    • RAM (brand, model, which slots are you using?)
    • Video Card
    • MotherBoard - (if NOT a laptop)
    • Power Supply - brand & wattage (if laptop, skip this one)
    • What security software are you using? (Firewall, antivirus, antimalware, antispyware, and so forth)
    • Are you using proxy, vpn, ipfilters or similar software?
    • Are you using Disk Image tools? (like daemon tools, alcohol 52% or 120%, virtual CloneDrive, roxio software)
    • Are you currently under/overclocking? Are there overclocking software installed on your system?

  • Retrieve System Information, using speccy
    1. Download Speccy portable - actual version 1.29.714 (click), unzip/decompress it and put it on your desktop.
    2. When the program opens, it will retrieve some information regarding your system.
    3. Once it's done, select the File menu and choose Publish snapshot. Answer Yes to the confirmation message.
      (Or generate a log in your pc, if you prefer to not publish the snapshot for some reason)
    4. On the next screen that comes up, choose the Copy to Clipboard button and paste this link in your next reply.
      (Or upload here the generated log, in case you didn't publish the snapshot)


  • Facultative System information log (if previous point fails for some obscure reason)
    The following command should be run from an elevated command prompt.
    It should generate a log, named MsInfo.nfo, on your desktop, after some time (few seconds or minutes).
    Read More:
    Code:
    msinfo32 /nfo msinfo32 /nfo "%userprofile%\desktop\MsInfo.nfo"
    (Then upload it here)

  • Download and install the Windows Performance Toolkit - Windows Assessment and Deployment Kit (Windows ADK) for Windows 8.1 Update - adksetup.exe 1.36MB (click):
    Read More:
    Then open an elevated command prompt (right-click on the windows start button on bottom-left corner, left-click Command Prompt (Admin)) and launch these commands:
    Read More:

    You can also read the original tutorial/guide and its following posts for more informations:

    How to Diagnose and Fix High DPC Latency Issues with WPA (Windows Vista/7/8) (click) (by Niemiro)
 
Last edited:
Is this the same pc and problem of your other thread?
If yes, I'll merge them.
This is the same pc and the problem is same, however motherboard, cpu and video card of the computer have been updated as following:
CPU: AMD FX 8350 -> i5 4690
GPU: HD RADEON 7850 2gb -> GTX 1060 3gb
MOBO: Asrock 970 pro 3 r2.0 -> Asrock H97M PRO 3
 
Progress so far:
A. I hadn't changed it since clean install of windows, however it is set on Selective Startup and all the three boxes below are checked. I remember trying before to set it back at normal, but it just auto changes to selective
B. Same as yours
C. Checked all and ran.
D. Windows Resource Protection did not find any integrity violations
E. Done
F. Zippyshare.com - ChkDskLOG.txt

After these steps I rebooted my pc, started latency mon and played some counter strike global offensive, here are my results:
Imgur: The most awesome images on the Internet

I will continue doing the other steps.

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

_________________________________________________________________________________________________________
SYSTEM INFORMATION
_________________________________________________________________________________________________________
Computer name: DESKTOP-BNDSOFC
OS version: Windows 10 , 10.0, build: 14393 (x64)
Hardware: ASRock, H97M Pro4
CPU: GenuineIntel Intel(R) Core(TM) i5-4690 CPU @ 3.50GHz
Logical processors: 4
Processor groups: 1
RAM: 8127 MB total

_________________________________________________________________________________________________________
CPU SPEED
_________________________________________________________________________________________________________
Reported CPU speed: 3499 MHz
Measured CPU speed: 1 MHz (approx.)
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.
WARNING: the CPU speed that was measured is only a fraction of the CPU speed reported. Your CPUs may be throttled back due to variable speed settings and thermal issues. It is suggested that you run a utility which reports your actual CPU frequency and temperature.

_________________________________________________________________________________________________________
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): 5375,801256
Average measured interrupt to process latency (µs): 2,314536
Highest measured interrupt to DPC latency (µs): 5357,656573
Average measured interrupt to DPC latency (µs): 0,864956

_________________________________________________________________________________________________________
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): 179,131180
Driver with highest ISR routine execution time: dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation
Highest reported total ISR routine time (%): 0,195047
Driver with highest ISR total time: dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation
Total time spent in ISRs (%) 0,251238
ISR count (execution time <250 µs): 795619
ISR count (execution time 250-500 µs): 0
ISR count (execution time 500-999 µs): 0
ISR count (execution time 1000-1999 µs): 0
ISR count (execution time 2000-3999 µ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): 450,737925
Driver with highest DPC routine execution time: nvlddmkm.sys - NVIDIA Windows Kernel Mode Driver, Version 378.49 , NVIDIA Corporation
Highest reported total DPC routine time (%): 0,135136
Driver with highest DPC total execution time: Wdf01000.sys - Kernel Mode Driver Framework Runtime, Microsoft Corporation
Total time spent in DPCs (%) 0,369245
DPC count (execution time <250 µs): 2693336
DPC count (execution time 250-500 µs): 0
DPC count (execution time 500-999 µs): 3
DPC count (execution time 1000-1999 µs): 0
DPC count (execution time 2000-3999 µ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: svchost.exe
Total number of hard pagefaults 7538
Hard pagefault count of hardest hit process: 2519
Highest hard pagefault resolution time (µs): 107954,101172
Total time spent in hard pagefaults (%): 0,937951
Number of processes hit: 33

_________________________________________________________________________________________________________
PER CPU DATA
_________________________________________________________________________________________________________
CPU 0 Interrupt cycle time (s): 21,692023
CPU 0 ISR highest execution time (µs): 179,131180
CPU 0 ISR total execution time (s): 5,499286
CPU 0 ISR count: 792160
CPU 0 DPC highest execution time (µs): 450,737925
CPU 0 DPC total execution time (s): 7,532266
CPU 0 DPC count: 2567570
_________________________________________________________________________________________________________
CPU 1 Interrupt cycle time (s): 15,465473
CPU 1 ISR highest execution time (µs): 69,036010
CPU 1 ISR total execution time (s): 0,009308
CPU 1 ISR count: 3339
CPU 1 DPC highest execution time (µs): 114,936268
CPU 1 DPC total execution time (s): 0,233562
CPU 1 DPC count: 52847
_________________________________________________________________________________________________________
CPU 2 Interrupt cycle time (s): 6,201416
CPU 2 ISR highest execution time (µs): 15,336953
CPU 2 ISR total execution time (s): 0,000408
CPU 2 ISR count: 114
CPU 2 DPC highest execution time (µs): 170,383538
CPU 2 DPC total execution time (s): 0,174770
CPU 2 DPC count: 38353
_________________________________________________________________________________________________________
CPU 3 Interrupt cycle time (s): 5,940542
CPU 3 ISR highest execution time (µs): 5,742784
CPU 3 ISR total execution time (s): 0,000025
CPU 3 ISR count: 6
CPU 3 DPC highest execution time (µs): 82,303229
CPU 3 DPC total execution time (s): 0,156037
CPU 3 DPC count: 34569
_________________________________________________________________________________________________________
 
  1. Custom built pc from parts
  2. Deskop
  3. -
  4. Windows 10 PRO x64
  5. Version 1607, OS Build 14393.693
  6. Preinstalled windows 8, upgraded to win 8.1 later to windows 10.
  7. I'm not sure
  8. Every part except GPU, CPU and motherboard are 3 years old
  9. Yesterday
  10. Yes
  11. intel i5 4690
  12. DDR3 Kingston HyperX blue 2x4 1333mhz cl9. Slots 2 and 4 in dual mode.
  13. Asus GTX 1060 3GB not OC
  14. AsROCK H97M PRO 4
  15. Windows defender
  16. No
  17. No
  18. No

Speccy: http://speccy.piriform.com/results/e5DnOccqsuvkb2bXVmcLjYg
Facultative System information log: Zippyshare.com - MsInfo.nfo
I'm not sure how to perform the SysnativeFileCollectionApp.

Should I run windows performance toolkit now?
 
Is this information suffient to find out the cause or I need to do something else? sorry for double post
 
You didn't provide the bsod collection app logs.
Did you not install intel smart technology on purpose?
Are you using one of the four usb 3.0 ports, near the rj45 port?
And what things are you connecting to them?
I'm still not sure about your RAM model: HX313C9FK2/8 ? 9905402-532.A00LF ?
Your speccy log shows: motherboard --> voltage --> memory controller: 1.832V; I'm not sure if this has nothing to do with the RAM, but if it has, it isn't correct given that your ram voltage should be set on 1.5V.
It also seems dual channel is not working; it says 8,00GB Dual-Channel DDR3 @ 666MHz (9-9-9-24).
I think it should be 1333Mhz.
Check your ram settings in the bios (especially the voltage) and correct them if it is necessary.
If that won't help, try to move your ram sticks to slot 1 and 3 (starting from the cpu).
 
Last edited:
Good morning, sorry I forgot the bsod app logs, will do when I get home.

Im pretty sure my ram sticks are these Kingston Technology HyperX Blu 8GB 1333MHz DDR3 Non-ECC CL9 DIMM (Kit of 2) KHX1333C9D3B1K2/8G at Amazon.com

I don't own intel storage device (ssd or hdd), that's why I didn't install the driver, should I?

Had my Logitech g402 mouse connected at the blue usb 3.0 port but recently moved it back at the black port which is 2.0

Last time I checked the bios at front page it says that ram runs in dual mode and every setting is made to auto (default), will double check again.
 
Also, maybe the problem is related to hardpage faults? Everytime I run latencymon it skyrocks to the end of the bar (red)
 
Try to remove all the programs that are starting with windows, the ones present in msinfo32 - software environment - startup programs.

And if that won't help, try also to disable the windows "fast startup".
It can be disabled in Control Panel\Hardware and Sound\Power Options\System Settings - change settings that are currently unavailable - untick turn on fast startup - ok.
(This was for win8/8.1; I think it's the same in Win10, but at the moment I'm using Italian on this pc)
 
Last edited:
I used every advice you gave me, however it isn't solved yet,
Imgur: The most awesome images on the Internet

software installed Imgur: The most awesome images on the Internet

I upgraded bios last week and ran the test in high performance pc (control panel -> battery )
Also updated all drivers one by one in device manager with option to upgrade automatically from web search, not motherboard
One more of the symptoms I noticed that there is sometimes delay in mouse actions for example wheel scrolling. It will stop for a moment and when you want to scroll down in a web page with wheel it doesn't respond for like 0.5 seconds

While idle the latency is way lower, however when gaming it goes nutes
Read More:
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top