MagicAndre1981

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

1,451 posts in this topic

this is the gray theory, but in practice IRQ sharing is still an issue for some users even when using the latest drivers.

0

Share this post


Link to post
Share on other sites

this is the gray theory, but in practice IRQ sharing is still an issue for some users even when using the latest drivers.

Latest drivers on the subvendors website or the Chip/Codec vendors website?.

Many people have the incorrect assumption that their subvendor will have the latest and greatest driver, which is most often not the case.

The JMI sata drivers from gigabyte and asus for instance have not been updated on x48/x58 boards since 2009 (at the worst dating) which loses out on a number of idle spinwait fixes and bugs in the polling cycle in the very very latest, which can only be found by checking sites of other vendors (or going to station-drivers).

Same can be said for Atheros network drivers. the latest drivers can not even be obtained from their official website directly (and older versions have DPC and BSOD issues with SP1).

The most common DPC issue of late appears to be in the ntoskrnl executable, (which just happens to have gotten 2 or 3 important fixes lately).

of late, many pci-e enabled mainboards aren't even letting windows handle the interrupt handling.

Of course, you'd have to think awefully hard about using a subvendor who implements sharing on the main pci-e ports again, especially with a sata host.

0

Share this post


Link to post
Share on other sites

I always suggest drivers from direct vendor, not the subvendor.

0

Share this post


Link to post
Share on other sites

Hey guys ive ran into this high cpu usage/high dpc latency issue about 2 days ago. I don't know what the heck happened but my computer is CRAZZY slow. Ive tried to disable drivers/update drivers and nothing has worked. Did trojan/virus scans nothing. Any help or info would be greatly appreciated, thanks.

Here are some screenshots:

post-354044-0-34738400-1335676587_thumb.

Edited by dontratemedown
0

Share this post


Link to post
Share on other sites

make the xperf trace please and upload the compressed (as 7z or RAR) DPC_interrupt.etl (zippyshare.com, mediafire.,com, dropbox, skydrive) and send me the link.

0

Share this post


Link to post
Share on other sites

make the xperf trace please and upload the compressed (as 7z or RAR) DPC_interrupt.etl (zippyshare.com, mediafire.,com, dropbox, skydrive) and send me the link.

I pmed you that link

*EDIT

Im getting tons of "chrome could not find this page" and dns errors, theres nothing wrong with my internet I just have to keep refreshing until the page loads. Very odd, never had anything like this happen before.

Edited by dontratemedown
0

Share this post


Link to post
Share on other sites

Looks you have USB issues:


Total = 63795 for module USBPORT.SYS
Elapsed Time, > 256 usecs AND <= 512 usecs, 2100, or 3.29%
Elapsed Time, > 512 usecs AND <= 1024 usecs, 2947, or 4.62%
Elapsed Time, > 1024 usecs AND <= 2048 usecs, 3990, or 6.25%
Elapsed Time, > 2048 usecs AND <= 4096 usecs, 1508, or 2.36%
Elapsed Time, > 4096 usecs AND <= 8192 usecs, 4, or 0.01%
Total,

this is too high. Does it occurs if your unplug your Logitech devices? The Logitech drivers (LMouFilt.Sys, LHidFilt.Sys) are involved. If this doesn't fix it, unplug your USB phone and your USB HDD.

0

Share this post


Link to post
Share on other sites

Looks you have USB issues:


Total = 63795 for module USBPORT.SYS
Elapsed Time, > 256 usecs AND <= 512 usecs, 2100, or 3.29%
Elapsed Time, > 512 usecs AND <= 1024 usecs, 2947, or 4.62%
Elapsed Time, > 1024 usecs AND <= 2048 usecs, 3990, or 6.25%
Elapsed Time, > 2048 usecs AND <= 4096 usecs, 1508, or 2.36%
Elapsed Time, > 4096 usecs AND <= 8192 usecs, 4, or 0.01%
Total,

this is too high. Does it occurs if your unplug your Logitech devices? The Logitech drivers (LMouFilt.Sys, LHidFilt.Sys) are involved. If this doesn't fix it, unplug your USB phone and your USB HDD.

Ive unplug all usb devices, it does lower the latency but its still extremely high.

This high DPC latency just occured overnight, when I was streaming video or playing music everyone once in a while I could hear a popping/crackling sound. So I dled dpc latency checker and found out about every 5-10mins the latency would spike to 130-200kus. So I restarted my comp and the dpc issue become even worse, more reds and yellows than before(was all green with 1 red spike every 5-10mins). Then I ran some scans and stuff and restarted my comp again and Ive always been in the red...

This is what dpc latency shows with all usb devices unplugged.

post-354044-0-31174700-1335803653_thumb.

0

Share this post


Link to post
Share on other sites

please make a new trace without all USb devices.

0

Share this post


Link to post
Share on other sites

please make a new trace without all USb devices.

pm sent

*EDIT

Disabling Atheros L1 gigbit ethernet controller reduces dpc latency into the green/yellows. Removing all usbs while the network controller is disabled puts it in green permanently, even though its higher than it should be(800us). Two days ago when I ran dpc latency checker I was in the 300-400us with everything on with spikes once every 5-10mins into the 100k+ us range.

Edited by dontratemedown
0

Share this post


Link to post
Share on other sites

please make a trace without running DPC latency checker in background. i got wrong results when the tool runs.

0

Share this post


Link to post
Share on other sites

please make a trace without running DPC latency checker in background. i got wrong results when the tool runs.

sorry about that, pm sent

0

Share this post


Link to post
Share on other sites

DPC Info

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

CPU Usage Summing By Module For the Whole Trace

CPU Usage from 0 us to 58737359 us:

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

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

1725611 2.94, 0 0.00, 213637 0.36, 0 0.00, ataport.SYS

Total = 1782 for module USBPORT.SYS

Elapsed Time, > 512 usecs AND <= 1024 usecs, 34, or 1.91%

Elapsed Time, > 1024 usecs AND <= 2048 usecs, 53, or 2.97%

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

Total = 5002 for module ataport.SYS

Elapsed Time, > 512 usecs AND <= 1024 usecs, 639, or 12.77%

Elapsed Time, > 1024 usecs AND <= 2048 usecs, 19, or 0.38%

Elapsed Time, > 2048 usecs AND <= 4096 usecs, 129, or 2.58%

Total = 24 for module netbt.sys

Elapsed Time, > 1024 usecs AND <= 2048 usecs, 0, or 0.00%

Elapsed Time, > 2048 usecs AND <= 4096 usecs, 20, or 83.33%

Elapsed Time, > 4096 usecs AND <= 8192 usecs, 4, or 16.67%

USBport i still an issue, but 2 others also have huge impact. The ataport.sys causes some spikes. I can see that the Diskeeper service causes an extreme CPU usage. Your HDDs seem to run in IDE mode and this seems to cause the ataport DPC issues.

Device Id, Device Description, Device Friendly Name

IDE\CDROMATAPI_IHAS324___B_______________________AL1B____\5&5C4DDEF&0&1.0.0, CD-ROM Drive, ATAPI iHAS324 B ATA Device

IDE\CDROMPIONEER_DVD-RW__DVR-215D________________1.13____\5&5C4DDEF&0&1.1.0, CD-ROM Drive, PIONEER DVD-RW DVR-215D ATA Device

IDE\DISKSAMSUNG_HD753LJ_________________________1AA01107\5&CF4D2B6&0&0.0.0, Disk drive, SAMSUNG HD753LJ ATA Device

IDE\DISKWDC_WD7501AALS-00J7B0___________________05.00K05\5&2F484CA3&0&1.0.0, Disk drive, WDC WD7501AALS-00J7B0 ATA Device

So stop Diskeeper and only use the Windows internal defrag tool which only runs if the PC is idle.

Now the interesting part is netbt.sys. This is NetBIOS over TCP/IP. it ha only 24 DPCs but all of them are horrible slow (at least 2000µs). :blink:

Try to find out which service program depends on NetBIOS. Maybe it is Diskeeper which communicates this way.

0

Share this post


Link to post
Share on other sites

DPC Info

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

CPU Usage Summing By Module For the Whole Trace

CPU Usage from 0 us to 58737359 us:

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

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

1725611 2.94, 0 0.00, 213637 0.36, 0 0.00, ataport.SYS

Total = 1782 for module USBPORT.SYS

Elapsed Time, > 512 usecs AND <= 1024 usecs, 34, or 1.91%

Elapsed Time, > 1024 usecs AND <= 2048 usecs, 53, or 2.97%

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

Total = 5002 for module ataport.SYS

Elapsed Time, > 512 usecs AND <= 1024 usecs, 639, or 12.77%

Elapsed Time, > 1024 usecs AND <= 2048 usecs, 19, or 0.38%

Elapsed Time, > 2048 usecs AND <= 4096 usecs, 129, or 2.58%

Total = 24 for module netbt.sys

Elapsed Time, > 1024 usecs AND <= 2048 usecs, 0, or 0.00%

Elapsed Time, > 2048 usecs AND <= 4096 usecs, 20, or 83.33%

Elapsed Time, > 4096 usecs AND <= 8192 usecs, 4, or 16.67%

USBport i still an issue, but 2 others also have huge impact. The ataport.sys causes some spikes. I can see that the Diskeeper service causes an extreme CPU usage. Your HDDs seem to run in IDE mode and this seems to cause the ataport DPC issues.

Device Id, Device Description, Device Friendly Name

IDE\CDROMATAPI_IHAS324___B_______________________AL1B____\5&5C4DDEF&0&1.0.0, CD-ROM Drive, ATAPI iHAS324 B ATA Device

IDE\CDROMPIONEER_DVD-RW__DVR-215D________________1.13____\5&5C4DDEF&0&1.1.0, CD-ROM Drive, PIONEER DVD-RW DVR-215D ATA Device

IDE\DISKSAMSUNG_HD753LJ_________________________1AA01107\5&CF4D2B6&0&0.0.0, Disk drive, SAMSUNG HD753LJ ATA Device

IDE\DISKWDC_WD7501AALS-00J7B0___________________05.00K05\5&2F484CA3&0&1.0.0, Disk drive, WDC WD7501AALS-00J7B0 ATA Device

So stop Diskeeper and only use the Windows internal defrag tool which only runs if the PC is idle.

Now the interesting part is netbt.sys. This is NetBIOS over TCP/IP. it ha only 24 DPCs but all of them are horrible slow (at least 2000µs). :blink:

Try to find out which service program depends on NetBIOS. Maybe it is Diskeeper which communicates this way.

Its weird because ive had diskkeeper installed for over 2 years and no problems till 3 days ago. I know for a fact I installed windows with ahci, so I don't know why my hdds would be reading IDE.....welp time to start uninstalling one by one.

0

Share this post


Link to post
Share on other sites

So after uninstalling diskeeper and changing back to ahci.....computer runs much better but still left with netbt.sys and ndis.sys and usb one causing high dpc. I don't know what could be causing this.....and I don't know what to do...

Edited by dontratemedown
0

Share this post


Link to post
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.