MSFN Forum: How to get the cause of high CPU usage by DPC / Interrupt - MSFN Forum

Jump to content


  • 62 Pages +
  • « First
  • 36
  • 37
  • 38
  • 39
  • 40
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

How to get the cause of high CPU usage by DPC / Interrupt Rate Topic: -----

#741 User is offline   dontratemedown 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 28-April 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 29 April 2012 - 02:20 PM

View PostMagicAndre1981, on 29 April 2012 - 03:32 AM, said:

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.

This post has been edited by dontratemedown: 29 April 2012 - 10:35 PM



#742 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 5,018
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 30 April 2012 - 09:35 AM

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.

#743 User is offline   dontratemedown 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 28-April 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 30 April 2012 - 10:34 AM

View PostMagicAndre1981, on 30 April 2012 - 09:35 AM, said:

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.

Attached File(s)



#744 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 5,018
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 30 April 2012 - 10:44 AM

please make a new trace without all USb devices.

#745 User is offline   dontratemedown 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 28-April 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 30 April 2012 - 12:00 PM

View PostMagicAndre1981, on 30 April 2012 - 10:44 AM, said:

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.

This post has been edited by dontratemedown: 30 April 2012 - 03:40 PM


#746 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 5,018
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 30 April 2012 - 03:41 PM

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

#747 User is offline   dontratemedown 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 28-April 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 30 April 2012 - 06:14 PM

View PostMagicAndre1981, on 30 April 2012 - 03:41 PM, said:

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


sorry about that, pm sent

#748 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 5,018
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 01 May 2012 - 05:30 AM

Quote

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

Quote

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.

#749 User is offline   dontratemedown 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 28-April 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 May 2012 - 11:34 AM

View PostMagicAndre1981, on 01 May 2012 - 05:30 AM, said:

Quote

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

Quote

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.

#750 User is offline   dontratemedown 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 28-April 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 May 2012 - 01:06 PM

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

This post has been edited by dontratemedown: 01 May 2012 - 01:06 PM


#751 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 5,018
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 02 May 2012 - 12:17 PM

make a new trace, please.

#752 User is offline   dontratemedown 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 28-April 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 02 May 2012 - 03:48 PM

View PostMagicAndre1981, on 02 May 2012 - 12:17 PM, said:

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

#753 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 5,018
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 03 May 2012 - 12:27 PM

Quote

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?

#754 User is offline   dontratemedown 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 28-April 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 03 May 2012 - 01:55 PM

View PostMagicAndre1981, on 03 May 2012 - 12:27 PM, said:

Quote

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 :

Attached File(s)


This post has been edited by dontratemedown: 03 May 2012 - 01:59 PM


#755 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 5,018
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 04 May 2012 - 02:52 PM

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:

Quote

--------------------------
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.sevenforu...le-disable.html

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

#756 User is offline   dontratemedown 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 28-April 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 04 May 2012 - 04:32 PM

View PostMagicAndre1981, on 04 May 2012 - 02:52 PM, said:

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:

Quote

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

Attached File(s)


This post has been edited by dontratemedown: 04 May 2012 - 04:32 PM


#757 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 5,018
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 05 May 2012 - 01:17 PM

wow, great :)

Have an nice weekend :thumbup

#758 User is offline   HSCIII 

  • Group: Members
  • Posts: 4
  • Joined: 02-May 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 May 2012 - 01:51 AM

Attached File  SummaryTable2.jpg (99K)
Number of downloads: 3Attached File  Interuprt graph2.gif (23.55K)
Number of downloads: 2
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

This post has been edited by HSCIII: 06 May 2012 - 01:59 AM


#759 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 5,018
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 06 May 2012 - 10:38 AM

zip the DPC_interrupt.etl, upload it to your Skydrive, dropbox or mediafire.com and send me the link.

#760 User is offline   HSCIII 

  • Group: Members
  • Posts: 4
  • Joined: 02-May 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 May 2012 - 09:27 AM

Thank you very much
I just PM's you the link to the trace file

Share this topic:


  • 62 Pages +
  • « First
  • 36
  • 37
  • 38
  • 39
  • 40
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

10 User(s) are reading this topic
0 members, 10 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy