Jump to content

How to get the cause of high CPU usage by DPC / Interrupt


Recommended Posts

Hi Andre,

Well I seem to have finally fixed my endless DPC problems. I performed a fresh install of Windows 7 and carefully installed all drivers and updates for everything in the following order:

- Asus motherboard drivers

- Flashed the BIOS and reinstalled latest vers.

- AMD CPU drivers

- All Windows 7 important updates incl SP1

- GPU drivers

- and lastly, the drivers for the external firewire audio device.

Hardware wise, I changed the slot that the GPU was installed on. I had it in PCI slot 3, and on reading the manual, they recommended slot 1 for the GPU. I also removed an Astrotek PCI firewire adapter card which was not being used.

Something in that mix of changes was the secret sauce to fixing the DPC problems. Now I can run video, audio, flick between screens rapidly at any resolution and DPC never peaks above about 153. I've even still got aero running. I've got fingers and toes crossed that this remains stable, but this is the first time I've ever had Win 7 so calm since first installing it 18 months ago. I was never able to install and run my audio production software through Windows 7 due to these issues and had a dual boot machine so I could run XP side by side. Now I'm going to give it another go and see if I can run everything inside the one O/S.

Many thanks for all your help Andre. Really appreciate it. :thumbup

Link to comment
Share on other sites


Oh - the other thing I did was install everything "lean".

I did not install the AI utilities for Asus, after you said you spotted the AiCharger.sys misbehaving.

I also only installed the graphics drivers for the GPU - not PhysX, or 3D etc etc.

Link to comment
Share on other sites

  • 3 weeks later...

The values are fine. Highest spikes (only 2) are between 128 and 256µs:

Total = 4905

Elapsed Time, > 0 usecs AND <= 1 usecs, 1858, or 37.88%

Elapsed Time, > 1 usecs AND <= 2 usecs, 895, or 18.25%

Elapsed Time, > 2 usecs AND <= 4 usecs, 1337, or 27.26%

Elapsed Time, > 4 usecs AND <= 8 usecs, 644, or 13.13%

Elapsed Time, > 8 usecs AND <= 16 usecs, 96, or 1.96%

Elapsed Time, > 16 usecs AND <= 32 usecs, 55, or 1.12%

Elapsed Time, > 32 usecs AND <= 64 usecs, 13, or 0.27%

Elapsed Time, > 64 usecs AND <= 128 usecs, 5, or 0.10%

Elapsed Time, > 128 usecs AND <= 256 usecs, 2, or 0.04%

Total, 4905

Do you have any kinds of issues?

Link to comment
Share on other sites

LatencyMon says I have an issue.

Please see attachment. Looks like some network driver.

Sadly both my drivers are the latest already.

Generic Marvell Yukon 88E8053 based Ethernet Controller - 11.45.4.3 - 3/23/2012

Realtek PCIe GBE Family Controller - 7.56.316.2012 - 3/16/2012

Link to comment
Share on other sites

dpc.txt: http://www.datafilehost.com/download-9860fdd5.html

DPC_Interrupt.etl: http://www.datafilehost.com/download-1c60bd97.html

Update: I updated my USB 3 driver @ http://www.station-drivers.com/page/renesas.htm and installed KB2654363 hotfix (http://support.microsoft.com/kb/2654363) and seems to have fixed the issue. :)

LatencyMon has been running for 11 minutes now and still good, where as before after 10 seconds every single time it would say there was a problem.

post-1403-0-08896000-1348179296_thumb.pn

Sadly I could NOT update the firmware. It blue screens every time so still on Firmware Version 3021.

Though still have what seems a very high hard page fault of 10,674us.

Looks like Comodo Firewall is the main one at 193 hard faults followed by explorer at 96.

Seems odd since I have 16GB of RAM of which 11GB is free according to Process Explorer.

Page file setting is set to be controlled by Windows.

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


_________________________________________________________________________________________________________
SYSTEM INFORMATION
_________________________________________________________________________________________________________
Computer name: WILL-DESKTOP
OS version: Windows 7 Service Pack 1, 6.1, build: 7601 (x64)
CPU: GenuineIntel Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz
Logical processors: 8
Processor groups: 1
RAM: 16382 MB total


_________________________________________________________________________________________________________
CPU SPEED
_________________________________________________________________________________________________________
Reported CPU speed: 2812.0 MHz
Measured CPU speed: 3126.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 KERNEL TIMER LATENCIES
_________________________________________________________________________________________________________
Highest measured kernel timer latency (µs): 320.393676


_________________________________________________________________________________________________________
MEASURED SMIs AND CPU STALLS
_________________________________________________________________________________________________________
Highest measured SMI, IPI or CPU stall (µs) 0.364084


_________________________________________________________________________________________________________
REPORTED DPCs
_________________________________________________________________________________________________________
Highest DPC routine execution time (µs): 882.672831
Driver with highest DPC routine execution time: tcpip.sys - TCP/IP Driver, Microsoft Corporation

Highest reported total DPC routine time (%): 0.047319
Driver with highest DPC total execution time: USBPORT.SYS - USB 1.1 & 2.0 Port Driver, Microsoft Corporation

Total time spent in DPCs (%) 0.106778

DPC count (execution time <250 µs): 1310440
DPC count (execution time 250-500 µs): 0
DPC count (execution time 500-999 µs): 69
DPC count (execution time 1000-1999 µs): 0
DPC count (execution time 2000-3999 µs): 0
DPC count (execution time >=4000 µs): 0


_________________________________________________________________________________________________________
REPORTED ISRs
_________________________________________________________________________________________________________
Highest ISR routine execution time (µs): 190.926031
Driver with highest ISR routine execution time: dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation

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

Total time spent in ISRs (%) 0.067320

ISR count (execution time <250 µs): 1161805
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 HARD PAGEFAULTS
_________________________________________________________________________________________________________
Process with highest pagefault count: none

Total number of hard pagefaults 748
Hard pagefault count of hardest hit process: 230
Highest hard pagefault resolution time (µs): 10674.473684
Total time spent in hard pagefaults (%): 0.00360
Number of processes hit: 0


_________________________________________________________________________________________________________
PER CPU DATA
_________________________________________________________________________________________________________
CPU 0 Interrupt cycle time (s): 3.315328
CPU 0 ISR highest execution time (µs): 10.68990
CPU 0 ISR total execution time (s): 0.282464
CPU 0 ISR count: 664792
CPU 0 DPC highest execution time (µs): 882.672831
CPU 0 DPC total execution time (s): 1.194685
CPU 0 DPC count: 637364
_________________________________________________________________________________________________________
CPU 1 Interrupt cycle time (s): 0.743772
CPU 1 ISR highest execution time (µs): 15.940256
CPU 1 ISR total execution time (s): 0.233335
CPU 1 ISR count: 65953
CPU 1 DPC highest execution time (µs): 54.566145
CPU 1 DPC total execution time (s): 0.089894
CPU 1 DPC count: 67341
_________________________________________________________________________________________________________
CPU 2 Interrupt cycle time (s): 0.248988
CPU 2 ISR highest execution time (µs): 7.499289
CPU 2 ISR total execution time (s): 0.011901
CPU 2 ISR count: 4243
CPU 2 DPC highest execution time (µs): 50.792319
CPU 2 DPC total execution time (s): 0.053041
CPU 2 DPC count: 10665
_________________________________________________________________________________________________________
CPU 3 Interrupt cycle time (s): 1.018640
CPU 3 ISR highest execution time (µs): 20.317212
CPU 3 ISR total execution time (s): 0.003629
CPU 3 ISR count: 286
CPU 3 DPC highest execution time (µs): 49.347084
CPU 3 DPC total execution time (s): 0.065467
CPU 3 DPC count: 40899
_________________________________________________________________________________________________________
CPU 4 Interrupt cycle time (s): 1.125730
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): 41.036984
CPU 4 DPC total execution time (s): 0.079731
CPU 4 DPC count: 43175
_________________________________________________________________________________________________________
CPU 5 Interrupt cycle time (s): 0.834373
CPU 5 ISR highest execution time (µs): 8.869132
CPU 5 ISR total execution time (s): 0.220760
CPU 5 ISR count: 90423
CPU 5 DPC highest execution time (µs): 298.725462
CPU 5 DPC total execution time (s): 0.240074
CPU 5 DPC count: 68575
_________________________________________________________________________________________________________
CPU 6 Interrupt cycle time (s): 1.144007
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): 45.170697
CPU 6 DPC total execution time (s): 0.131362
CPU 6 DPC count: 63188
_________________________________________________________________________________________________________
CPU 7 Interrupt cycle time (s): 6.856097
CPU 7 ISR highest execution time (µs): 190.926031
CPU 7 ISR total execution time (s): 2.803134
CPU 7 ISR count: 336108
CPU 7 DPC highest execution time (µs): 107.435277
CPU 7 DPC total execution time (s): 3.784764
CPU 7 DPC count: 379302
_________________________________________________________________________________________________________

Edited by war59312
Link to comment
Share on other sites

dpc.txt: http://www.datafilehost.com/download-9860fdd5.html

DPC_Interrupt.etl: http://www.datafilehost.com/download-1c60bd97.html

Update: I updated my USB 3 driver @ http://www.station-drivers.com/page/renesas.htm and seems to have fixed the issue. :)

Hey thanks, I'm not having any problems at the moment but I didn't even realise my USB3 driver was out-of-date.

Sadly I could NOT update the firmware. It blue screens every time so still on Firmware Version 3021.

I'm not sure which USB3 chip you have (I can't see a firmware v3.0.2.1 on that page) but I managed to update my uPD720200 ports to 4.0.2.0 by taking the commandline utility from an earlier package and following the advice here http://pete.akeo.ie/2011/10/flashing-necrenesas-usb-30.html

The GUI utility doesn't work as it says there's more than one port and quits, which seems rather daft!

Link to comment
Share on other sites

@doveman Nice find, will give that a try some time. Yeah I had downloaded firmware v3.0.2.1 from station-drivers awhile back.

@MagicAndre1981 Ok, yeah that is interesting.

The ones it is warning about is my RAID setup and my eSATA 3Gb/s drive.

And warns about Disk 5 which is my SATA 3 6Gb/s SSD drive.

Link to comment
Share on other sites

  • 2 weeks later...

Hi, newbie here.

I'm having an issue with my laptop having a cpu idle usage of 30% or so. I did some research and came across the hardware interrupt issue. I've also done a clean install and still had the high idle cpu usage. Anyway screenshot of my process manage and DPC latency is attached to this message.

Does the windows performance kit work for windows 7? Because the one linked is for windows 8.

I have tried to follow the tutorial but failing to make progress. Can someone help please?

post-362839-0-14348800-1349219811_thumb.

post-362839-0-56144600-1349219830_thumb.

Edited by bruvau12
Link to comment
Share on other sites

Hello everyone, new to the forums.

Stumbled across this thread while looking for a solution to my high dpc latency on my PC; It occurs most while online gaming (game would stutter, frames would drop dramatically, and mouse would receive input lag all within 5 min of playtime), and while browsing the web. As suggested on this site among others, i ran a trace test as well as LatencyMon.

dpc.txt: My link

DPC_Interrupt.etl: My link

LatencyMon Report: My link (LatencyMon is showing the NDIS 6.20 driver as having the highest execution time.)

LatencyMon listed by IRS: My link

LatencyMon listed by Executions: My link

I've tried updating all drivers to no avail, issue persists. I'm still new to PC's in general and having a hard time trying to figure out my next steps to resolve the issue.

Any help would be extremely appreciated!

Note: Tests were done while browsing websites randomly so as to reproduce the DPC latency.

Pc Specs, Gateway fx6831-01: Windows 7 HP 64bit / i7 860 @2.8 (stock) / IntelH57 Mobo / 8 Gigs RAM / HD 5850

Edited by 3Seven
Link to comment
Share on other sites

Does the windows performance kit work for windows 7? Because the one linked is for windows 8.

I have tried to follow the tutorial but failing to make progress. Can someone help please?

yes it works. Where do you have issues to follow?

Stumbled across this thread while looking for a solution to my high dpc latency on my PC; It occurs most while online gaming (game would stutter, frames would drop dramatically, and mouse would receive input lag all within 5 min of playtime), and while browsing the web. As suggested on this site among others, i ran a trace test as well as LatencyMon.

DPC Info

Elapsed Time, > 1024 usecs AND <= 2048 usecs, 70, or 0.06%

Elapsed Time, > 2048 usecs AND <= 4096 usecs, 46, or 0.04%

Elapsed Time, > 4096 usecs AND <= 8192 usecs, 23, or 0.02%

Elapsed Time, > 8192 usecs AND <= 16384 usecs, 3, or 0.00%

Elapsed Time, > 16384 usecs AND <= 32768 usecs, 1, or 0.00%

Total, 119737

Total = 1392 for module ndis.sys

Elapsed Time, > 1024 usecs AND <= 2048 usecs, 69, or 4.96%

Elapsed Time, > 2048 usecs AND <= 4096 usecs, 46, or 3.30%

Elapsed Time, > 4096 usecs AND <= 8192 usecs, 23, or 1.65%

Elapsed Time, > 8192 usecs AND <= 16384 usecs, 3, or 0.22%

Elapsed Time, > 16384 usecs AND <= 32768 usecs, 1, or 0.07%

Total, 1392

so ndis.sys causes most spikes. Does the issue also occur if you remove Symantec? I can see the driver is called at many times.

Link to comment
Share on other sites

so ndis.sys causes most spikes. Does the issue also occur if you remove Symantec? I can see the driver is called at many times.

I'm having difficulty killing my Symantec/Norton 360 at the moment, it refuses me access. It's funny, because the possibility of it being my AV never even crossed my mind; will update once i've figured out how to kill all Norton processes to test again.

Edited by 3Seven
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...