Random slowdowns and high DPC latency issues

Sevenarth

New member
Joined
Mar 6, 2017
Posts
1
Hi all!

I am currently encountering serious problems with my desktop, which I built in the end of November. I also had this problems, but I have never faced them seriously up to now.
I did lots of research regarding my problems, but anything really helped me. I am posting here since I see you are quite expert regarding high DPC latency issues, therefore I hope I will finally find a solution with you.

First of all my build is the following:
Intel Core i7-6700k (without overclock)
ASUS Z170 Pro Gaming
NVIDIA GTX 1070
Corsair 16GB 3000MHz CL15 dual channel
Samsung SM961 256GB NVMe SSD

external devices:
TP-LINK TL-WN823N as WiFi adaptor (which I am unluckily forced to use where I currently live. So no internal Ethernet adaptor used)

I updated every driver, I updated the BIOS to the last version, but nothing changed.
Initially I had really high audio latency (HDAudBus.sys, Realtek ALC1150) along with high latency given by the NVIDIA drivers. (nvlddmkm.sys) (the latter managed to have a delay up to 500ms, milliseconds!)
The consequence to this was random and really annoying system lags with audio often crackling or popping. (audio actually never stopped doing this)
All the audio problems vanished when I actually switched to the Intel graphics card, and the performance boosted considerably.
Whenever I first start a videogame I have really poor performance with 5/10 fps, but after game restart (not system) the game worked perfectly fine with a framerate of over 150 fps (in Rainbow six siege).
This really annoying issue happens with every game I try to run! Finding myself forced to restart every time a game to play it! Watch dogs 2 actually gave me this problem on every level, and I had to restart the game for every level!
I don't know if it might help, but my system often and randomly stopped on start up (or restart) without any POST screen, with the BOOT DEVICE LED lit and giving video output of a still underscore ONLY on the integrated graphics card output! To solve this I have to restart the system several times, sadly hoping for the best.
I tried Ubuntu 16.04, and I actually found out that on this system i get random freezes and total slow downs as well...
Today, for no reason, when I started to boot up the computer, after the windows loading I got a BSOD reporting BOOT_DEVICE_INACCESSIBLE. At this moment, seems that the audio driver is working a little better, but before on DPC Latency checker it was only really high constant RED bars.

My LatencyMon output is the following:
Code:
_________________________________________________________________________________________________________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. 
LatencyMon has been analyzing your system for  0:26:40  (h:mm:ss) on all processors.




_________________________________________________________________________________________________________
SYSTEM INFORMATION
_________________________________________________________________________________________________________
Computer name:                                        DESKTOP-QWARTH
OS version:                                           Windows 10 , 10.0, build: 14393 (x64)
Hardware:                                             ASUSTeK COMPUTER INC., Z170 PRO GAMING/AURA
CPU:                                                  GenuineIntel Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Logical processors:                                   8
Processor groups:                                     1
RAM:                                                  16324 MB total




_________________________________________________________________________________________________________
CPU SPEED
_________________________________________________________________________________________________________
Reported CPU speed:                                   4008 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):   14661.742884
Average measured interrupt to process latency (µs):   8.224325


Highest measured interrupt to DPC latency (µs):       14659.187995
Average measured interrupt to DPC latency (µs):       4.137456




_________________________________________________________________________________________________________
 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):              10301.399950
Driver with highest ISR routine execution time:       ntoskrnl.exe - NT Kernel & System, Microsoft Corporation


Highest reported total ISR routine time (%):          0.189053
Driver with highest ISR total time:                   ntoskrnl.exe - NT Kernel & System, Microsoft Corporation


Total time spent in ISRs (%)                          0.192333


ISR count (execution time <250 µs):                   1531807
ISR count (execution time 250-500 µs):                0
ISR count (execution time 500-999 µs):                2
ISR count (execution time 1000-1999 µs):              1
ISR count (execution time 2000-3999 µs):              65
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):              30556.270459
Driver with highest DPC routine execution time:       Wdf01000.sys - Kernel Mode Driver Framework Runtime, Microsoft Corporation


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


Total time spent in DPCs (%)                          1.006162


DPC count (execution time <250 µs):                   7330046
DPC count (execution time 250-500 µs):                0
DPC count (execution time 500-999 µs):                95008
DPC count (execution time 1000-1999 µs):              394
DPC count (execution time 2000-3999 µs):              197
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:                 explorer.exe


Total number of hard pagefaults                       3184
Hard pagefault count of hardest hit process:          1125
Highest hard pagefault resolution time (µs):          445237.593313
Total time spent in hard pagefaults (%):              0.050793
Number of processes hit:                              26




_________________________________________________________________________________________________________
 PER CPU DATA
_________________________________________________________________________________________________________
CPU 0 Interrupt cycle time (s):                       161.721837
CPU 0 ISR highest execution time (µs):                7871.426647
CPU 0 ISR total execution time (s):                   15.557318
CPU 0 ISR count:                                      1094096
CPU 0 DPC highest execution time (µs):                18421.455838
CPU 0 DPC total execution time (s):                   92.746947
CPU 0 DPC count:                                      6605528
_________________________________________________________________________________________________________
CPU 1 Interrupt cycle time (s):                       86.863648
CPU 1 ISR highest execution time (µs):                10301.399950
CPU 1 ISR total execution time (s):                   9.057745
CPU 1 ISR count:                                      436160
CPU 1 DPC highest execution time (µs):                30556.270459
CPU 1 DPC total execution time (s):                   26.280794
CPU 1 DPC count:                                      489156
_________________________________________________________________________________________________________
CPU 2 Interrupt cycle time (s):                       34.997880
CPU 2 ISR highest execution time (µs):                90.929890
CPU 2 ISR total execution time (s):                   0.008069
CPU 2 ISR count:                                      1647
CPU 2 DPC highest execution time (µs):                4715.09980
CPU 2 DPC total execution time (s):                   3.491695
CPU 2 DPC count:                                      84304
_________________________________________________________________________________________________________
CPU 3 Interrupt cycle time (s):                       56.973099
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):                2805.785180
CPU 3 DPC total execution time (s):                   0.463367
CPU 3 DPC count:                                      27019
_________________________________________________________________________________________________________
CPU 4 Interrupt cycle time (s):                       34.628386
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):                3551.138723
CPU 4 DPC total execution time (s):                   1.377534
CPU 4 DPC count:                                      60976
_________________________________________________________________________________________________________
CPU 5 Interrupt cycle time (s):                       59.919803
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):                5782.316118
CPU 5 DPC total execution time (s):                   2.147217
CPU 5 DPC count:                                      57821
_________________________________________________________________________________________________________
CPU 6 Interrupt cycle time (s):                       33.686952
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):                6686.446607
CPU 6 DPC total execution time (s):                   1.715301
CPU 6 DPC count:                                      66962
_________________________________________________________________________________________________________
CPU 7 Interrupt cycle time (s):                       58.762937
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):                578.192615
CPU 7 DPC total execution time (s):                   0.589813
CPU 7 DPC count:                                      33990
_________________________________________________________________________________________________________

Since it is affecting both Windows and Linux, I think the problem here is hardware related, maybe faulty. Though I cannot understand which. My first guess would be the motherboard, since I keep getting problems of every sort!
 
Preamble
Read More:


Would you try these steps?

  • Left-click on Start, type directly msconfig, press enter.
    Is the radio button on normal startup?
  • 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:
    dism /online /cleanup-image /checkhealth
    Do you get my same result?
    Read More:
    If yes, go to the next point.
    If no:
    Read More:
  • Launch this command from an elevated command prompt and let it work until it finishes (it could last from 10 to 60 minutes):
    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.


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 - current version 1.30.730 (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 generate a log, named MsInfo.nfo, on your desktop, after some time (few seconds or minutes).
    Upload it here when windows finished its creation.
    It obviously should be run from an elevated command prompt:
    Code:
    msinfo32 /nfo msinfo32 /nfo "%userprofile%\desktop\MsInfo.nfo"

  • Download and install the Windows Performance Toolkit on dev.windows.com - Windows Software Development Kit (SDK) for Windows 10 - sdksetup.exe 1.12MB (click):
    Read More:
    Then open an elevated command prompt and launch these commands:
    Read More:

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

    How to Diagnose and Fix High DPC Latency Issues with WPA (Windows Vista/7/8) (click) (by Niemiro)
 
Last edited:

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

Back
Top