Jump to content

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


Recommended Posts


make a new trace, please.

pm sent,

I left my pc on all last night, before I went to sleep I check dpc latency checker and it showed me in all red with some yellows.

Woke up this morning to find myself in high greens low yellows, and random spikes of red. Power went off due to a large storm here and guess what, im back in all high reds. meh...

Link to comment
Share on other sites

Total = 2515 for module USBPORT.SYS

Elapsed Time, > 1024 usecs AND <= 2048 usecs, 59, or 2.35%

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

Total, 2515

Total = 16 for module netbt.sys

Elapsed Time, > 2048 usecs AND <= 4096 usecs, 14, or 87.50%

Elapsed Time, > 4096 usecs AND <= 8192 usecs, 2, or 12.50%

Total, 16

Total = 27026 for module ntoskrnl.exe

Elapsed Time, > 1024 usecs AND <= 2048 usecs, 39, or 0.14%

Elapsed Time, > 2048 usecs AND <= 4096 usecs, 2, or 0.01%

Total = 763 for module tcpip.sys

Elapsed Time, > 512 usecs AND <= 1024 usecs, 249, or 32.63%

Elapsed Time, > 1024 usecs AND <= 2048 usecs, 7, or 0.92%

Is the driver l160x64.sys, version 2.4.7.27 the latest driver for your Atheros L1 Gigabit Ethernet 10/100/1000Base-T? Also make sure all offloading options are enabled in the driver settings. Does this help?

Link to comment
Share on other sites

Total = 2515 for module USBPORT.SYS

Elapsed Time, > 1024 usecs AND <= 2048 usecs, 59, or 2.35%

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

Total, 2515

Total = 16 for module netbt.sys

Elapsed Time, > 2048 usecs AND <= 4096 usecs, 14, or 87.50%

Elapsed Time, > 4096 usecs AND <= 8192 usecs, 2, or 12.50%

Total, 16

Total = 27026 for module ntoskrnl.exe

Elapsed Time, > 1024 usecs AND <= 2048 usecs, 39, or 0.14%

Elapsed Time, > 2048 usecs AND <= 4096 usecs, 2, or 0.01%

Total = 763 for module tcpip.sys

Elapsed Time, > 512 usecs AND <= 1024 usecs, 249, or 32.63%

Elapsed Time, > 1024 usecs AND <= 2048 usecs, 7, or 0.92%

Is the driver l160x64.sys, version 2.4.7.27 the latest driver for your Atheros L1 Gigabit Ethernet 10/100/1000Base-T? Also make sure all offloading options are enabled in the driver settings. Does this help?

No its not the latest, but I downgraded from the latest version to see if that was the cause and downgrading/upgrading doesn't make a difference. If anything upgrading makes it worse....

But, I downloaded tuneup utilites and it found some bad drivers from a program I used called sandboxie. After uninstalling it and making other changing im actually in the greens/yellows with spikes of red again. Ill go ahead and send you the trace of it.

Im actually able to play music/games now without cracking/popping sounds. Heres what dpc checker looks like :

post-354044-0-62013200-1336075173_thumb.

Edited by dontratemedown
Link to comment
Share on other sites

Sandboxie is a tool to run programs in an isolated space which prevents them from making permanent changes to other programs and data in your computer.

It is better, but still not optimal. You still have yellow and red bars which means that there are still issues:

--------------------------

DPC Info

Total = 84850

Elapsed Time, > 512 usecs AND <= 1024 usecs, 74, or 0.09%

Elapsed Time, > 1024 usecs AND <= 2048 usecs, 29, or 0.03%

Elapsed Time, > 2048 usecs AND <= 4096 usecs, 2, or 0.00%

Total, 84850

Total = 1753 for module USBPORT.SYS

Elapsed Time, > 512 usecs AND <= 1024 usecs, 49, or 2.80%

Elapsed Time, > 1024 usecs AND <= 2048 usecs, 11, or 0.63%

Total, 1753

Total = 5600 for module ataport.SYS

Elapsed Time, > 256 usecs AND <= 512 usecs, 16, or 0.29%

Elapsed Time, > 512 usecs AND <= 1024 usecs, 1, or 0.02%

Total = 20 for module netbt.sys

Elapsed Time, > 1024 usecs AND <= 2048 usecs, 18, or 90.00%

Elapsed Time, > 2048 usecs AND <= 4096 usecs, 2, or 10.00%

Total, 20

netbt.sys seems to cause the red spikes.

Have you ever activated DriverVerifier to get better crash dumps when you have a BSOD (maybe sandboxie related)? If yes disable this, please:

http://www.sevenforums.com/tutorials/101379-driver-verifier-enable-disable.html

I can see a lot of Verifier calls (ntkrnlmp.exe!VfKeIrqlLogLower, ntkrnlmp.exe!VerifierKeAcquireInStackQueuedSpinLock).

Link to comment
Share on other sites

Sandboxie is a tool to run programs in an isolated space which prevents them from making permanent changes to other programs and data in your computer.

It is better, but still not optimal. You still have yellow and red bars which means that there are still issues:

--------------------------

DPC Info

Total = 84850

Elapsed Time, > 512 usecs AND <= 1024 usecs, 74, or 0.09%

Elapsed Time, > 1024 usecs AND <= 2048 usecs, 29, or 0.03%

Elapsed Time, > 2048 usecs AND <= 4096 usecs, 2, or 0.00%

Total, 84850

Total = 1753 for module USBPORT.SYS

Elapsed Time, > 512 usecs AND <= 1024 usecs, 49, or 2.80%

Elapsed Time, > 1024 usecs AND <= 2048 usecs, 11, or 0.63%

Total, 1753

Total = 5600 for module ataport.SYS

Elapsed Time, > 256 usecs AND <= 512 usecs, 16, or 0.29%

Elapsed Time, > 512 usecs AND <= 1024 usecs, 1, or 0.02%

Total = 20 for module netbt.sys

Elapsed Time, > 1024 usecs AND <= 2048 usecs, 18, or 90.00%

Elapsed Time, > 2048 usecs AND <= 4096 usecs, 2, or 10.00%

Total, 20

netbt.sys seems to cause the red spikes.

Have you ever activated DriverVerifier to get better crash dumps when you have a BSOD (maybe sandboxie related)? If yes disable this, please:

http://www.sevenforums.com/tutorials/101379-driver-verifier-enable-disable.html

I can see a lot of Verifier calls (ntkrnlmp.exe!VfKeIrqlLogLower, ntkrnlmp.exe!VerifierKeAcquireInStackQueuedSpinLock).

**** that was it.....I ran the verifier.exe scan...or I thought it was a one time scan when I was having constant 400us and 130k us spikes dpc.....I didn't know it stayed on always. Then when I restarted my comp, I was completely in the red.....I feel real dumb.

My spikes are now 500us and its constant around 80-200us......great job man I really appreciate it! My computer runs much better than ever before, and just yesterday I had my windows disc ready to format this computer cause I was so irritated.

Life saver man, TYVM..

post-354044-0-70096700-1336170674_thumb.

Edited by dontratemedown
Link to comment
Share on other sites

post-354226-0-84063500-1336291067_thumb.post-354226-0-42045800-1336291066_thumb.

I'm using Sonar XL1 Producer with win 7 home premium ( 64) and the audio drop outs are killing me so its time to solve the issue!

I followed the instructions to install the

SDK Performance tool, which I ran using the cmd with the switches indicated in the tutorial. As soon as I has a major audio drop out, I ended the trace ,creating the .etl file.

I continued to follow the instructions and I think I got to the correct place to identify the problem, but I’m not sure exactly what to do

I have attached screen shots of the graph, the section I selected and the summary table.

If someone can look at them and tell me what they see or if I have to do something else I would be sincerely appreciative

I'm sure about the add image to post feature because I don't thing the info is readbale so I hope the files are still available to be downloaded

Thank you very much

HSC III

Edited by HSCIII
Link to comment
Share on other sites

you have USB issues:

--------------------------

DPC Info

--------------------------

CPU Usage Summing By Module For the Whole Trace

CPU Usage from 0 us to 151962691 us:

CPU 0 Usage, CPU 1 Usage, CPU 2 Usage, CPU 3 Usage,

usec %, usec %, usec %, usec %, Module

5728799 3.77, 5425104 3.57, 5791293 3.81, 5521188 3.63, USBPORT.SYS

9046 0.01, 0 0.00, 0 0.00, 0 0.00, Wdf01000.sys

1070 0.00, 0 0.00, 0 0.00, 0 0.00, afd.sys

your iTunes and HPTouchSmartMusic software causes a high CPu usage.

Please also install the latest iTunes version and install the Win7 Sp1 + all missing updates.

Link to comment
Share on other sites

Fuirst thank you so much for helping me.

I made all the update as you suggested. I haven't had a chance to push the compute using Sonar Xl1, however, I have yet to expereiance any drops when just playing audio,wheter its itunes of a different file format in a different player.

Prior to the updates the drop outs where coming fairly often as of the last 2 weeks.

However after running for 4-5 minutes the Latency monitor applciation states i have issues will likely cause drop outs,clicks etc. ( see below)

I have stopped using my powered USB port excpr when its explcitily needed but it looks like USB is still a source of issues. In device manager there looked to be way too many instances of generic USB Root Hub, but I'm not sure what action to take

I'll run the test to create another trace file so should you request it,I'll it hready to send

thanks again

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 belonging to a driver running in your system appear to be executing for too long.

LatencyMon has been analyzing your system for 0:04:37 (h:mm:ss)

_________________________________________________________________________________________________________

System Information

_________________________________________________________________________________________________________

Computer name: HSC-PC

OS version: Windows 7 , 6.1, build: 7600

CPU: GenuineIntel Intel® Core2 Quad CPU Q8300 @ 2.50GHz

Logical processors: 4

RAM: 8553422848 total

VM: 2147352576, free: 1960853504

_________________________________________________________________________________________________________

CPU SPEED

_________________________________________________________________________________________________________

Reported CPU speed: 2493 MHz

Measured CPU speed: 1619 MHz

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): 2365.1805

_________________________________________________________________________________________________________

MEASURED SMIs AND CPU STALLS

_________________________________________________________________________________________________________

Highest measured SMI routine or CPU stall (µs) 16.4248

_________________________________________________________________________________________________________

REPORTED DPCs

_________________________________________________________________________________________________________

Highest DPC routine execution time (µs): 2567.3734

Driver with highest DPC routine execution time: ataport.SYS - ATAPI Driver Extension, Microsoft Corporation

Highest reported total DPC routine time (%): 3.7579

Driver with highest DPC total execution time: USBPORT.SYS - USB 1.1 & 2.0 Port Driver, Microsoft Corporation

Total time spent in DPCs (%) 4.7465

DPC count (execution time <250 µs): 1955890

DPC count (execution time 250-500 µs): 0

DPC count (execution time 500-999 µs): 604

DPC count (execution time 1000-1999 µs): 3

DPC count (execution time 2000-3999 µs): 1

DPC count (execution time >=4000 µs): 0

_________________________________________________________________________________________________________

REPORTED ISRs

_________________________________________________________________________________________________________

Highest ISR routine execution time (µs): 26.7990

Driver with highest ISR routine execution time: ataport.SYS - ATAPI Driver Extension, Microsoft Corporation

Highest reported total ISR routine time (%): 0.8630

Driver with highest ISR total time: USBPORT.SYS - USB 1.1 & 2.0 Port Driver, Microsoft Corporation

Total time spent in ISRs (%) 0.1416

ISR count (execution time <250 µs): 528311

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 1184

Hard pagefault count of hardest hit process: 355

Highest hard pagefault resolution time (µs): 232783.1768

Total time spent in hard pagefaults (%): 1.1357

TODO: Number of processes hit: 0

_________________________________________________________________________________________________________

PER CPU DATA

_________________________________________________________________________________________________________

CPU 0 ISR count: 339904

CPU 0 ISR highest execution time: 26.8580

CPU 0 ISR total execution time: 609777.5146

CPU 0 DPC count: 1142361

CPU 0 DPC highest execution time: 2567.3734

CPU 0 DPC total execution time: 18274091.1696

_________________________________________________________________________________________________________

CPU 1 ISR count: 62810

CPU 1 ISR highest execution time: 24.4610

CPU 1 ISR total execution time: 309104.7380

CPU 1 DPC count: 273525

CPU 1 DPC highest execution time: 420.9085

CPU 1 DPC total execution time: 11420937.2394

_________________________________________________________________________________________________________

CPU 2 ISR count: 62572

CPU 2 ISR highest execution time: 26.7990

CPU 2 ISR total execution time: 335129.3072

CPU 2 DPC count: 268384

CPU 2 DPC highest execution time: 1321.9073

CPU 2 DPC total execution time: 11702237.5600

_________________________________________________________________________________________________________

CPU 3 ISR count: 63025

CPU 3 ISR highest execution time: 22.9089

CPU 3 ISR total execution time: 318912.4973

CPU 3 DPC count: 272228

CPU 3 DPC highest execution time: 1227.1873

CPU 3 DPC total execution time: 11299994.1945

_________________________________________________________________________________________________________

Link to comment
Share on other sites

Hello,

I have an 2 units of Acer Veriton S670.

They both have this problem of high CPU usage (60 to 80 percent) while idle.

It is due to hardware interrupts, but the DPC Latency tool doesn't show any spike (high red bars). It just remains in the low green area. (Hope I'm making sense).

How should I proceed from here?

More info:

unit 1 is running on WinXP SP3, I have run windows update and selected all the critical updates. I also have installed all the latest drivers.

unit 2 is running on Win 7. At first this had the same problem, but it went away after I installed all the recent drivers.

Both units have ATI Radeon 4350.

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...