Hello everyone.
I have an issue for some weeks:
I am using Windows 8 Pro x64
When I'm using any application which uses sound output - e.g. games, media players and so on - I can hear sound cracking, popping, skipping, etc. periodically, sometimes really heavily. I started to investigate this and found that that could be the high DPC case. I used LatecyMon and found out that my network-related dpc is awfully high - up to 65000 µs in some cases. So I started to , spent few days googling for the solution, and tried a lot of things (none of which helped):
- maxing out power management plan in Windows
- disabling any power-saving features in both BIOS and windows
- disabling any overclocking and Intel Speedstep in BIOS
- making a clean installation of Windows (to make sure no software like antivirus, etc. affecting DPC)
- updating all the drivers available for my motherboard (and BIOS as well)
- disabling HPET in BIOS
- disabling built-in network adapters and replacing them by new pci-ex. network adapter
- using a "bcdedit /set disabledynamictick" command
The only thing that helps is disabling the network adapter, but it's not a proper solution.
I tried use Windows 7 x64 on the same system - and there is no problems with DPC at all under that OS! The DPC is about 200-400 µs no matter what network load is or how long the system is running, and no sound problems at all.
But under Win 8 I got dpc suddenly (and rather often) jumping up to 10000 or even 65000 µs.
I tried everything I could found for the issue with no result and lost completely. The only clue i got - high DPC is somehow connected with the core #0 of the CPU - it's always the core with the top DPC execution time. While other cores have 0,2 - 0,3 ms top DPC - the core #0 can easily have 23ms, which is 100 times higher than other core's timings.
Any help is highly appreciated! Thank you beforehand!
Below is my typical LatencyMon stats:
_________________________________________________________________________________________________________
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. At least one detected problem appears to be network related. In case you are using a WLAN adapter, try disabling it to get better results. 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:02:53 (h:mm:ss) on all processors.
_________________________________________________________________________________________________________
SYSTEM INFORMATION
_________________________________________________________________________________________________________
Computer name: X1
OS version:
Windows 8 , 6.2, build: 9200 (x64)
Hardware:
ASUSTeK Computer INC., P8P67 DELUXE
CPU:
GenuineIntel Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
Logical processors: 8
Processor groups: 1
RAM:
8159 MB total
_________________________________________________________________________________________________________
CPU SPEED
_________________________________________________________________________________________________________
Reported CPU speed: 3503,0 MHz
Measured CPU speed: 2888,0 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.
_________________________________________________________________________________________________________
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): 22196,748706
Average measured interrupt to process latency (µs): 7,927179
Highest measured interrupt to DPC latency (µs): 22194,99460
Average measured interrupt to DPC latency (µs): 2,138165
_________________________________________________________________________________________________________
MEASURED SMI, IPI AND CPU STALLS
_________________________________________________________________________________________________________
The SMI, IPI and CPU stalls value represents the highest measured interval that a CPU did not respond while having its maskable interrupts disabled.
Highest measured SMI or CPU stall (µs) 8,185828
_________________________________________________________________________________________________________
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): 171,571510
Driver with highest ISR routine execution time: SCSIPORT.SYS - SCSI Port Driver, Microsoft Corporation
Highest reported total ISR routine time (%): 0,027018
Driver with highest ISR total time: SCSIPORT.SYS - SCSI Port Driver, Microsoft Corporation
Total time spent in ISRs (%) 0,079412
ISR count (execution time <250 µs): 165884
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): 22914,350842
Driver with highest DPC routine execution time: tcpip.sys - Драйвер TCP/IP, Microsoft Corporation
Highest reported total DPC routine time (%): 0,188281
Driver with highest DPC total execution time: cmudaxp.sys - C-Media Audio WDM Driver, C-Media Inc
Total time spent in DPCs (%) 0,345866
DPC count (execution time <250 µs): 1008268
DPC count (execution time 250-500 µs): 0
DPC count (execution time 500-999 µs): 21
DPC count (execution time 1000-1999 µs): 1
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.
Process with highest pagefault count: palemoon.exe
Total number of hard pagefaults 81
Hard pagefault count of hardest hit process: 62
Highest hard pagefault resolution time (µs): 997,818156
Total time spent in hard pagefaults (%): 0,001225
Number of processes hit: 3
_________________________________________________________________________________________________________
PER CPU DATA
_________________________________________________________________________________________________________
CPU 0 Interrupt cycle time (s): 14,923096
CPU 0 ISR highest execution time (µs): 171,571510
CPU 0 ISR total execution time (s): 1,099059
CPU 0 ISR count: 165884
CPU 0 DPC highest execution time (µs): 22914,350842
CPU 0 DPC total execution time (s): 4,311924
CPU 0 DPC count: 906888
_________________________________________________________________________________________________________
CPU 1 Interrupt cycle time (s): 8,081308
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): 249,866686
CPU 1 DPC total execution time (s): 0,037654
CPU 1 DPC count: 2585
_________________________________________________________________________________________________________
CPU 2 Interrupt cycle time (s): 2,923862
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): 376,669997
CPU 2 DPC total execution time (s): 0,203767
CPU 2 DPC count: 81465
_________________________________________________________________________________________________________
CPU 3 Interrupt cycle time (s): 5,843945
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): 212,234085
CPU 3 DPC total execution time (s): 0,032150
CPU 3 DPC count: 2434
_________________________________________________________________________________________________________
CPU 4 Interrupt cycle time (s): 2,408270
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): 229,237796
CPU 4 DPC total execution time (s): 0,040292
CPU 4 DPC count: 3695
_________________________________________________________________________________________________________
CPU 5 Interrupt cycle time (s): 5,967709
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): 253,734513
CPU 5 DPC total execution time (s): 0,057514
CPU 5 DPC count: 3753
_________________________________________________________________________________________________________
CPU 6 Interrupt cycle time (s): 2,208380
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): 229,538110
CPU 6 DPC total execution time (s): 0,036979
CPU 6 DPC count: 4024
_________________________________________________________________________________________________________
CPU 7 Interrupt cycle time (s): 5,668896
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): 242,174993
CPU 7 DPC total execution time (s): 0,066508
CPU 7 DPC count: 3457
_________________________________________________________________________________________________________