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

Jump to content


  • 62 Pages +
  • « First
  • 22
  • 23
  • 24
  • 25
  • 26
  • 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: -----

#461 User is offline   MagicAndre1981 

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

Posted 19 May 2011 - 03:46 PM

run the xperf commands upload the zipped ETL file


#462 User is offline   Adam101 

  • Group: Members
  • Posts: 2
  • Joined: 20-May 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 20 May 2011 - 04:11 PM

http://www.mediafire...z7d9wgsifb3cmh8

Here is my .etl

My problem is with my Tascam US-122 mkII usb audio interface. When I connect it to my laptop my processor usually goes to around 5% because of system interrupts and when I use it as my sound card to play music through I get spikes that go to around 20% every few seconds. The interface used to work perfectly and I can't remember what I did that might have caused it to start acting like this. Im using an HP pavilion dv6-2116ea. I took the .etl while playing music through it so the spikes should be obvious.

#463 User is offline   MagicAndre1981 

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

Posted 20 May 2011 - 05:18 PM

I can see that the EHCI_Get32BitFrameNumber function from the USBEHCI.sys causes some CPU usage. Your Version is the Windows 7 RTM Version: "USBEHCI.sys", "6.1.7600.16385 (win7_rtm.090713-1255)" but you use the Windows 7 Sp1.

You run into this issue:

http://support.micro...b/2529073/en-us

Please check Windows Update and install this missing update.

The hugest spikes are only 512 µsecs and they happen only rarely. So you should see no delays or other sound issues.

This post has been edited by MagicAndre1981: 21 May 2011 - 08:00 AM


#464 User is offline   Adam101 

  • Group: Members
  • Posts: 2
  • Joined: 20-May 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 21 May 2011 - 07:55 AM

The more serious problems come when I am using ableton or other music software and asking the tascam to do a lot more work than just playing back an mp3, in which case the processor normally goes to 100% and sound cuts out or lags.

I read through that link but I am not sure which files I should be downloading. Should I just search MS download center for Usbccgp.sys and Usbhub.sys and install whatever it gives me? It said something about a global hotfix file but I didn't see a link or file name.

#465 User is offline   MagicAndre1981 

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

Posted 21 May 2011 - 08:00 AM

download this update:

http://www.microsoft...9a-d1bb903e9823

and install it. If you can repro the 100% CPU usage, make a new trace, please which captures this 100% cpu usage.

#466 User is offline   hottroc 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 13-April 11
  • OS:Windows 7 x64

Posted 23 May 2011 - 12:05 PM

I didn't get much response from cluberti I'm afraid. He did reply to my PM, by PM, saying that he would look at my trace in a few days time, but that was ages ago well before you asked him in this topic. I've since sent a reminder PM but got no reply from that, so maybe he's too busy to help. Maybe when he has some free time he will respond. In the meantime, recently it has seemed a little better, going somewhat longer between occurrences of the interrupt problem. I have no idea why or even if it's just my imagination but I'll keep observing and let you know if I find anything else out.

#467 User is offline   MagicAndre1981 

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

Posted 23 May 2011 - 12:21 PM

please run those 2 commands:

xperf -start perf!GeneralProfiles.InSequentialFile


wait some times and run

xperf -stop perf!GeneralProfiles.InSequentialFile Perftrace.etl


zip and upload the PerfTrace.etl. This trace includes more data.

#468 User is offline   Illisvyel 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 05-May 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 23 May 2011 - 02:17 PM

Here's my etl -- http://www.mediafire...2mo33kkmi07biun

hope this helps.

#469 User is offline   MagicAndre1981 

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

Posted 23 May 2011 - 02:41 PM

please uninstall DAEMON Tools Lite. The driver used by this tool is shown an UNKNOWN and hides the real cause. Upload the new etl trace.

#470 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,208
  • Joined: 09-September 01
  • OS:Windows RT
  • Country: Country Flag

Posted 23 May 2011 - 05:55 PM

Sorry for the delay, but I posted a reply that apparently died due to my crappy internet connection last week. I reviewed the data, and it looked like it was either the audio driver on the hdaudio bus, or something attached to the USB bus. Unfortunately, this is one area (without stack traces) where I can only go that far. Does the problem reproduce with no USB devices attached to the system?

#471 User is offline   hottroc 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 13-April 11
  • OS:Windows 7 x64

Posted 24 May 2011 - 10:37 AM

View Postcluberti, on 23 May 2011 - 05:55 PM, said:

....it looked like it was either the audio driver on the hdaudio bus, or something attached to the USB bus. Unfortunately, this is one area (without stack traces) where I can only go that far. Does the problem reproduce with no USB devices attached to the system?


Hi, thanks for your response.... yes it seems to. What do you mean "without stack traces"? How do I get these? Or do you mean the Memory dump? You will see in an earlier post I offered to upload the memory dump for inspection. Would this help?

MagicAndre1981 - was your post #467 aimed at me?

This post has been edited by hottroc: 24 May 2011 - 02:20 PM


#472 User is offline   Illisvyel 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 05-May 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 24 May 2011 - 02:15 PM

http://www.mediafire...zw4dzl13c874aze

uploaded the trace after uninstalling daemon tools.

#473 User is offline   MagicAndre1981 

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

Posted 24 May 2011 - 04:21 PM

View Posthottroc, on 24 May 2011 - 10:37 AM, said:

MagicAndre1981 - was your post #467 aimed at me?


yes, maybe this new trace gives us more hints. Run it in a CleanBoot so that all 3rd party tools are closed.

View PostIllisvyel, on 24 May 2011 - 02:15 PM, said:

http://www.mediafire...zw4dzl13c874aze

uploaded the trace after uninstalling daemon tools.


I still see some spikes which show UNKNOWN. so a different driver still uses dynamic code. My guess is this here: GEARAapiWDM.sys Which tool uses this driver?

#474 User is offline   jdub 

  • Newbie
  • Group: Members
  • Posts: 20
  • Joined: 18-June 05

Posted 24 May 2011 - 06:18 PM

I am having latency issues when playing back video's and playing games.

Win 7 x64 - sp1 + all updates
Intel Core2 Duo E6750
Asus P5Q Pro Turbo
Evga Nvidia 8800gt - should be latest drivers
4 GB of RAM (checked it with memtest no errors)
5 hard drives

I believe I had daemon tools installed but I've uninstalled it. I do have True Crypt v7 installed

I've uploaded some basics but I don't know how to resolve these issues. If anyone could help me find a fix it would be much appreciated.

EDIT: Oh I should add I tried a selective startup disabling most things but it didnt fix anything.

Attached File(s)


This post has been edited by jdub: 24 May 2011 - 08:23 PM


#475 User is offline   Illisvyel 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 05-May 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 25 May 2011 - 09:39 AM

View PostMagicAndre1981, on 24 May 2011 - 04:21 PM, said:


I still see some spikes which show UNKNOWN. so a different driver still uses dynamic code. My guess is this here: GEARAapiWDM.sys Which tool uses this driver?



It's a CD DVD filter according to Latencymon.
Edit: Found these drivers associated with my DVD/CD drives.

This post has been edited by Illisvyel: 25 May 2011 - 09:42 AM


#476 User is offline   MagicAndre1981 

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

Posted 25 May 2011 - 12:13 PM

View Postjdub, on 24 May 2011 - 06:18 PM, said:

I am having latency issues when playing back video's and playing games.


based on your pictures everything is fine. You only have page faults (data must be read from the disk because they were not in the RAM). Maybe because of the pagefault you have the playback issues.

View PostIllisvyel, on 25 May 2011 - 09:39 AM, said:

It's a CD DVD filter according to Latencymon.
Edit: Found these drivers associated with my DVD/CD drives.


and do you have the issue too if you remove this driver?

#477 User is offline   jdub 

  • Newbie
  • Group: Members
  • Posts: 20
  • Joined: 18-June 05

Posted 25 May 2011 - 01:02 PM

View PostMagicAndre1981, on 25 May 2011 - 12:13 PM, said:

View Postjdub, on 24 May 2011 - 06:18 PM, said:

I am having latency issues when playing back video's and playing games.


based on your pictures everything is fine. You only have page faults (data must be read from the disk because they were not in the RAM). Maybe because of the pagefault you have the playback issues.


I wish that were so but my machine is definitely capable of playing back movies without stuttering. I get the problem when playing starcraft 2 as well. I use Media player classic HC edition for video playback (latest CCCP) Maybe its related to this?:
http://forums.nvidia...howtopic=178303

I saw a few threads on other forums dating back to 2004-05 where people had similar problems with nvidia cards. I may swap out my 800GT for another card to see what that does. The micro stutters/lags have plagued me for a long time but I was never sure what caused them. It's high time I get to the bottom of this.

#478 User is offline   MagicAndre1981 

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

Posted 26 May 2011 - 10:47 AM

can you try to reproduce this and run the xperf commands to trace this? Zip the etl and upload it to mediafire.com

#479 User is offline   jdub 

  • Newbie
  • Group: Members
  • Posts: 20
  • Joined: 18-June 05

Posted 26 May 2011 - 02:55 PM

Wouldnt that create an oversized file? I'll give it a try and see if I can get it to happen inside a minute or so of launching the game.

#480 User is offline   MagicAndre1981 

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

Posted 26 May 2011 - 03:07 PM

try to capture 1 minute where you get the error. Zip it with 7z (ULTRA/LZMA2) to dramatically reduce the size of the file.

Share this topic:


  • 62 Pages +
  • « First
  • 22
  • 23
  • 24
  • 25
  • 26
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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



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