Author Topic: DPC latency  (Read 9924 times)

Carrera

  • Posts: 102
DPC latency
« on: January 20, 2016, 05:17:29 PM »
After I upgraded my mobo and processor I have had my audio popping so i did some hunting online and found out that i have a really high DPC latency and the program at fault is trend micro, my security program. I really like the program and don't want to get rid of it. Does anyone know of anyway to solve this issue without a software change? Also the amount of hard faults are concerning but i know not all hard faults are bad.

below are my findings and a copy paste from the Latencymon status tab.
P.S. it says i am running win8 but i am actually running 10.



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


_________________________________________________________________________________________________________
SYSTEM INFORMATION
_________________________________________________________________________________________________________
Computer name:                                        DESKTOP-6QAD08L
OS version:                                           Windows 8 , 6.2, build: 9200 (x64)
Hardware:                                             ASUSTeK COMPUTER INC., Z170-DELUXE
CPU:                                                  GenuineIntel Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Logical processors:                                   8
Processor groups:                                     1
RAM:                                                  16306 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):   9107.432290
Average measured interrupt to process latency (µs):   34.792590

Highest measured interrupt to DPC latency (µs):       9068.086915
Average measured interrupt to DPC latency (µs):       31.697304


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

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

Total time spent in ISRs (%)                          0.186128

ISR count (execution time <250 µs):                   27062
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):              5658.630988
Driver with highest DPC routine execution time:       tmeevw.sys - Trend Micro EagleEye Driver (VW) (amd64-fre), Trend Micro Inc.

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

Total time spent in DPCs (%)                          0.165660

DPC count (execution time <250 µs):                   305672
DPC count (execution time 250-500 µs):                0
DPC count (execution time 500-999 µs):                11
DPC count (execution time 1000-1999 µs):              1
DPC count (execution time 2000-3999 µs):              1
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:                 coreserviceshell.exe

Total number of hard pagefaults                       19
Hard pagefault count of hardest hit process:          17
Highest hard pagefault resolution time (µs):          18118.793413
Total time spent in hard pagefaults (%):              0.018447
Number of processes hit:                              2


_________________________________________________________________________________________________________
 PER CPU DATA
_________________________________________________________________________________________________________
CPU 0 Interrupt cycle time (s):                       2.477956
CPU 0 ISR highest execution time (µs):                207.807136
CPU 0 ISR total execution time (s):                   0.894113
CPU 0 ISR count:                                      27062
CPU 0 DPC highest execution time (µs):                341.753992
CPU 0 DPC total execution time (s):                   0.585901
CPU 0 DPC count:                                      238801
_________________________________________________________________________________________________________
CPU 1 Interrupt cycle time (s):                       1.103342
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):                123.616018
CPU 1 DPC total execution time (s):                   0.009230
CPU 1 DPC count:                                      2235
_________________________________________________________________________________________________________
CPU 2 Interrupt cycle time (s):                       1.088818
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):                338.094311
CPU 2 DPC total execution time (s):                   0.051366
CPU 2 DPC count:                                      16121
_________________________________________________________________________________________________________
CPU 3 Interrupt cycle time (s):                       1.084987
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):                100.993513
CPU 3 DPC total execution time (s):                   0.005039
CPU 3 DPC count:                                      839
_________________________________________________________________________________________________________
CPU 4 Interrupt cycle time (s):                       1.180439
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):                168.490020
CPU 4 DPC total execution time (s):                   0.066220
CPU 4 DPC count:                                      26790
_________________________________________________________________________________________________________
CPU 5 Interrupt cycle time (s):                       1.171627
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):                114.510978
CPU 5 DPC total execution time (s):                   0.008019
CPU 5 DPC count:                                      2264
_________________________________________________________________________________________________________
CPU 6 Interrupt cycle time (s):                       0.995662
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):                5658.630988
CPU 6 DPC total execution time (s):                   0.055898
CPU 6 DPC count:                                      15933
_________________________________________________________________________________________________________
CPU 7 Interrupt cycle time (s):                       1.034977
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):                192.010479
CPU 7 DPC total execution time (s):                   0.014119
CPU 7 DPC count:                                      2703
_________________________________________________________________________________________________________

Powell

  • Posts: 190
Re: DPC latency
« Reply #1 on: January 20, 2016, 08:14:56 PM »
After doing some quick searching on DPC latency, it sounds like Trend Micro is doing something that is making the driver take too long. It's not like Trend Micro is just taking up too much CPU, but rather like its directly watching/scanning/monitoring or what-have-you messing with your Audio driver.

  • Clean install of Trend Micro
  • Clean uninstall / reinstall of audio driver (updated from manufacturer)
  • Adding exception to Trend Micro, to avoid/leave alone your audio driver files
  • Setting Audio Driver process to higher priority than Trend Micro, might make it ignore Trend's requests... but thats reaching kinda far out there.

DPC Latency is defined as: DPC stands for Deferred Procedure Call. In its simplest form it is the part of your Windows system that handles driver efficiency. If there is a driver that is taking longer than normal to process, it may prevent other drivers from being processed in time.
« Last Edit: January 20, 2016, 08:18:45 PM by WO1 Powell »

Carrera

  • Posts: 102
Re: DPC latency
« Reply #2 on: January 20, 2016, 08:19:26 PM »
thanks chief, a clean install of Trend fixed the issue. For now.
« Last Edit: January 20, 2016, 08:20:57 PM by SPC Carrera »

Powell

  • Posts: 190
Re: DPC latency
« Reply #3 on: January 20, 2016, 08:24:55 PM »
I spent a few minutes sifting through forums you've probably already searched... however, Followed a long thread on bleepingcomputer.com which after doing a million things, the last and only thing that solved one guys DPC Latency problem was a "repair install" of windows over the top of his current install. Most likely either a damaged/corrupted part of windows or bad registry key(s). So the half-nuclear option. Full-nuclear being complete windows reinstall.... which noone likes.


(EDIT)
You replied while I was writing this post. Glad you got it solved for now, let us know if you have any more problems. o/