• Still running Windows 7 or earlier? Support for Windows 7 ended on January 14th 2020. Please review the thread here for more details.

[W7SP1 x64] High Latency, DPC/Pagefault Time Issues

Sytron

Member
Joined
Sep 17, 2017
Posts
6
Hello, I've got an issue with a machine I built for myself that for the better part of a month I have not been able to pinpoint exactly what is going wrong. In games (specifically noticable in Fallout 4) I get Micro stuttering (visual). I started looking into what could cause this issue and ended up looking into DPC's from things like my video card drivers ect. I ran LatencyMon and found something I don't have a clue how to interpret. This is what I get just from loading firefox, or any application I have. There is a noticeable pause, the highest measured interrupt to process latency rises to whats seen here, and the program loads. The pagefault resolution time sits in the yellow at idle, and skyrockets once I load something like firefox along with the pause before it finishes loading.

LatencyMon.jpg
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 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:42:28  (h:mm:ss) on all processors.


_________________________________________________________________________________________________________
SYSTEM INFORMATION
_________________________________________________________________________________________________________
Computer name:                                        SYTRON-DESK
OS version:                                           Windows 7 Service Pack 1, 6.1, build: 7601 (x64)
Hardware:                                             Z270X-Gaming K7, Gigabyte Technology Co., Ltd.
CPU:                                                  GenuineIntel Intel(R) Core(TM) i5-7600K CPU @ 3.80GHz
Logical processors:                                   4
Processor groups:                                     1
RAM:                                                  16336 MB total


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

Highest measured interrupt to DPC latency (µs):       986.705667
Average measured interrupt to DPC latency (µs):       0.388137


_________________________________________________________________________________________________________
 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):              92.348101
Driver with highest ISR routine execution time:       HDAudBus.sys - High Definition Audio Bus Driver, Microsoft Corporation

Highest reported total ISR routine time (%):          0.004015
Driver with highest ISR total time:                   hal.dll - Hardware Abstraction Layer DLL, Microsoft Corporation

Total time spent in ISRs (%)                          0.007079

ISR count (execution time <250 µs):                   2613802
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):              194.959388
Driver with highest DPC routine execution time:       nvlddmkm.sys - NVIDIA Windows Kernel Mode Driver, Version 385.41 , NVIDIA Corporation

Highest reported total DPC routine time (%):          0.042328
Driver with highest DPC total execution time:         nvlddmkm.sys - NVIDIA Windows Kernel Mode Driver, Version 385.41 , NVIDIA Corporation

Total time spent in DPCs (%)                          0.130390

DPC count (execution time <250 µs):                   14321813
DPC count (execution time 250-500 µs):                0
DPC count (execution time 500-999 µs):                0
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                       36788
Hard pagefault count of hardest hit process:          10048
Highest hard pagefault resolution time (µs):          499550.641614
Total time spent in hard pagefaults (%):              1.134535
Number of processes hit:                              29


_________________________________________________________________________________________________________
 PER CPU DATA
_________________________________________________________________________________________________________
CPU 0 Interrupt cycle time (s):                       25.737490
CPU 0 ISR highest execution time (µs):                92.348101
CPU 0 ISR total execution time (s):                   0.721569
CPU 0 ISR count:                                      2613802
CPU 0 DPC highest execution time (µs):                194.959388
CPU 0 DPC total execution time (s):                   13.165567
CPU 0 DPC count:                                      14308825
_________________________________________________________________________________________________________
CPU 1 Interrupt cycle time (s):                       6.191724
CPU 1 ISR highest execution time (µs):                0.0
CPU 1 ISR total execution time (s):                   0.0
CPU 1 ISR count:                                      0
CPU 1 DPC highest execution time (µs):                36.543249
CPU 1 DPC total execution time (s):                   0.038809
CPU 1 DPC count:                                      4147
_________________________________________________________________________________________________________
CPU 2 Interrupt cycle time (s):                       4.832174
CPU 2 ISR highest execution time (µs):                0.0
CPU 2 ISR total execution time (s):                   0.0
CPU 2 ISR count:                                      0
CPU 2 DPC highest execution time (µs):                39.148734
CPU 2 DPC total execution time (s):                   0.048205
CPU 2 DPC count:                                      4987
_________________________________________________________________________________________________________
CPU 3 Interrupt cycle time (s):                       4.721352
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):                99.372890
CPU 3 DPC total execution time (s):                   0.037949
CPU 3 DPC count:                                      3854
_________________________________________________________________________________________________________

I'm running an i5 7600k, a Gigabyte z270x gaming k7, and 16gb of corsair dominator platinum, along with my main OS on a 240gb corsair neutron ssd, and my games on a 480gb neutron. Having tried all I found (disable HPET, disable C-states, disable intergrated audio/network cards (in bios and windows) and even running with intergrated graphics) the issues are still present.

Any suggestions would be appreciated.
 
Re: High Latency, DPC/Pagefault Time Issues

Hi Sytron. :welcome:

Would you try these steps?

Preamble

In case you don't know how to open an elevated command prompt in windows 7, you can use one of these three methods:
  • click start, all programs, accessories, right-click the command prompt in the list and click run as administrator, click yes on the user account control window that should appear
  • click start, type cmd in the searchbox, right-click the cmd in the list of results and click run as administrator, click yes on the user account control window that should appear
  • click start, type cmd in the searchbox, press and keep pressed ctrl + shift Keys on your keyboard, then press enter, click yes on the user account control window that should appear

  • 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:
    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 - actual 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 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:
Re: High Latency, DPC/Pagefault Time Issues

Ok here we go.
Speccy: http://speccy.piriform.com/results/OhkZTiqIEs4zohR8xOkhZCx
Sysnative Collection App: SysnativeFileCollectionApp.zip - Google Drive
Xperf Trace: trace.etl - Google Drive
ChkDsk Log: ChkDskLOG.txt - Google Drive

As for the rest:

  • System Manufacturer? n/a system built by myself
  • Laptop or Desktop? Desktop
  • Exact model number (if laptop, check label on bottom)
  • OS ? (Windows 10, 8.1, 8, 7, Vista) Windows 7 Ultimate
  • x86 (32bit) or x64 (64bit)? 64bit
  • Service pack? SP1
  • What was original installed OS on system? n/a
  • Is the OS an OEM version (came pre-installed on system) or full retail version (YOU purchased it from retailer)? Full Retail
  • Age of system? (hardware) > 6 months (GPU, CPU, RAM, Motherboard)
  • Age of OS installation? > 6 Months Installed fresh for this build
  • Have you re-installed the OS? Fresh install on a completely different SSD. Exact problems persisted, reverted back to current windows install to continue troubleshooting.
  • CPU Intel Core i7 7600k
  • RAM (brand, model, which slots are you using?) Corsair Dominator DDR4 (CMD16GX4M2B3000C15) Currently Dimms 0/2 although tested using Dimms 1/3 Memtest x86 full pass with no errors both installed as well as individually.
  • Video Card Evga 1070 GTX (current) Also tested with 2 different 680 GTX cards, (only 1 card utilized at a time), a 950GTX, and the boards integrated graphics
  • MotherBoard - (if NOT a laptop) Gigabyte z270x Gaming k7
  • Power Supply - brand & wattage (if laptop, skip this one) Corsair HX1000 (current) also tested with a OCZ 500W
  • What security software are you using? (Firewall, antivirus, antimalware, antispyware, and so forth) N/A only windows firewall
  • Are you using proxy, vpn, ipfilters or similar software? No
  • Are you using Disk Image tools? (like daemon tools, alcohol 52% or 120%, virtual CloneDrive, roxio software) No
  • Are you currently under/overclocking? Are there overclocking software installed on your system? Not that I'm aware currently, cpu frequency and voltage at auto in bios, same for RAM, XMP. However the issues remained with any overclocks to the CPU and RAM including using XMP Profiles.
Other: I've also ran this machine outside of a case on my wood desk to rule out ground/short/static issues. Also changed all minor cables such as DVI/HDMI/SATA with no improvment. Tried using 3 different displays as well.

I've Tried All that I can to eliminate any thing I myself may have caused. Thanks for your time!
 
Re: High Latency, DPC/Pagefault Time Issues

Your MB should support DRAM Frequency until 2400MHz, without overclocking.
Intel declares DDR4-2133/2400 @ 1.35V, supported by your cpu (without overclocking, I suppose).
Speccy reports 1500.0 MHz (i.e. it's 3000 right now), and XMP-2998 --- 1499MHz --- 15-17-17-35 --- Voltage 1.350V.
Then I saw (under motherboard): Voltage CPU CORE: 1.212V --- MEMORY CONTROLLER: 2.040V.
I'm not sure if that value should be 1.350 (or 1.200, with other RAM profiles).

It seems your MB manufacturer tested the RAM sticks (that model is present on their QVL) with these values: 15-17-17-35 1.35 2133.
It also seems they tested the sticks on all the four slots.

In the end, I'd try first to modify the XMP profile in your BIOS settings to jedec 7 or 8 (see speccy), i.e. I'd set the DRAM Frequency to 2133.
 
Last edited:
Re: High Latency, DPC/Pagefault Time Issues

In the end, I'd try first to modify the XMP profile in your BIOS settings to jedec 7 or 8 (see speccy), i.e. I'd set the DRAM Frequency to 2133.

Ok having done that, still getting the same results. I also looked at lowering the memory controller voltage but 1.94 is as low as it goes.
 
Re: High Latency, DPC/Pagefault Time Issues

I forgot you modified some settings in your BIOS.
Load the optimized defaults in your BIOS, then re-check the DRAM frequency value.
If it choose 3000, set it to 2133.

Another thing you can try is to unmount every piece of your hardware, (remove dust if present, and apply new thermal compound on your CPU if necessary), then re-mount it.
 
Re: High Latency, DPC/Pagefault Time Issues

Loaded the optimized defaults, checked the DRAM frequency and then reduced it from 3000 to 2133. No change
Forgot to mention when I was trying different videocard/SSD/PSU combinations on my desk I also re-did the thermal paste on my CPU. Re-mounted everything (cooler, gpu, ram, SSD, PSU ect) once I put my motherboard back into the case I'm using. Thanks again for all the time your taking trying to help me find whats wrong here. I really appreciate it!
 
Re: High Latency, DPC/Pagefault Time Issues

Can't seem to find the edit button, anyways I'm noticing more and more times when even scrolling in firefox or steam that my machine seems to freeze in the midst of scrolling then continue on as normal. It's as though if I do something it has to "wake up" taking about 2-3 seconds before it responds to my actions. My mouse cursor is unaffected during these freeze's, reminds me of the days of using dial-up and playing first person shooters online with a 400ms+ latency.
 
Re: High Latency, DPC/Pagefault Time Issues

Update at last, I found something that may be of use to others. Though the issue I've been chasing (visual stutter) seems to persist.

I did a fresh format, installed Win10 Pro, switched over to a corsair ForceMP 500 M2 SSD, nothing changed. Looking further I found out something about 7th gen intel chips that I never knew about. A feature called core parking. I used a program to "unpark" the cores that had been parked. That solved the noticeable pause that I would get when loading up an application like Firefox or even scrolling down a page after sitting idle. DPC issues seem to be gone along with the high pagefaults.

However the overall issue I've been chasing is still present and hasn't changed. I've tried various games, emulators, all of which have the same stuttering. Running Dolphin a Gamecube emulator that my old 3770k used to handle just fine, FPS stays at 60 but at random times the video stutters.

Is it possible my CPU is faulty? The motherboard/cpu are the only things I haven't been able to switch out and A/B compare. I checked the board for blown/bulged caps and found none. The cpu socket *looks* fine so far as I was able to tell. No burnt smells of any kind either.
 

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

Back
Top