• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
MagicAndre1981

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

1,451 posts in this topic

Alright good news, I think! I managed to get a USB keyboard and mouse and the audio crackle I used to get from my PS/2 keyboard is gone completely!

However, I checked the DPC latency to make sure it was all gone but now it seems that ndis.sys and USBPORT.SYS are spiking, up to about 4.5% CPU usage. Is this something that needs fixing or is everything normal now?

If so, then the only downside is that I have to get used to this new keyboard. Oh well, much better than the alternative. Thank you so much for all your help, you're a godsend.

Edit: I noticed some clicking while I was watching some HD videos on youtube so I checked my DPC latency out while watching. It seems my USBPORT.SYS is spiking up to %10 CPU usage. Is there a way to fix this aswell?

Edited by ZodiacFlop
0

Share this post


Link to post
Share on other sites

I am also using a keyboard and mouse with a PS/2 plug so I know that the drivers for these are causing the problems.

Going to try an USB/Keyboard mouse asap to see if this changes...

ok, do this.

Alright good news, I think! I managed to get a USB keyboard and mouse and the audio crackle I used to get from my PS/2 keyboard is gone completely!

nice to hear this :thumbup

Edit: I noticed some clicking while I was watching some HD videos on youtube so I checked my DPC latency out while watching. It seems my USBPORT.SYS is spiking up to %10 CPU usage. Is there a way to fix this aswell?

in this case it is caused by the USB mouse/keyboard. Run latencymon and look what the highest spike is. Is it still green? If yes, it is ok and you can ignore it.

0

Share this post


Link to post
Share on other sites

Okay I checked it. Everything is still in the green. Finally this problem is completely solved! Thanks again!

0

Share this post


Link to post
Share on other sites

Finally this problem is completely solved! Thanks again!

You're welcome. Enjoy your Windows 7 :thumbup

0

Share this post


Link to post
Share on other sites

If you look at CPU time while just listening to music or watching video with an audio stream, do you see any cpu usage in any particular process? The spikes are coming from the keyboard filter, but the DPC and interrupts are tracking back to the HD audio driver - what driver is installed on your system for audio?

0

Share this post


Link to post
Share on other sites

Bought a keyboard and mouse with USB input and the problem seems to be gone.

Thanks very much!

I have a Reatelk HD audio drivers.

I've considered buying a new sound card but don't know if this would fix the problem

Edited by Illisvyel
0

Share this post


Link to post
Share on other sites

@cluberti

can you look at the trace of hottroc?

0

Share this post


Link to post
Share on other sites

Looks like the problem isn't over, I'm still getting popping sound problems and it's apparently the HDAud.sys drivers that are at fault but I have no idea what to do.

0

Share this post


Link to post
Share on other sites

have you updated the sound drivers?

upload the latest trace file, please.

0

Share this post


Link to post
Share on other sites

I've tried updating the drivers online automatically (since I don't know the manufacturer) but the problem won't go away.

latencyq.png

lat2.png

0

Share this post


Link to post
Share on other sites

run the xperf commands upload the zipped ETL file

0

Share this post


Link to post
Share on other sites

http://www.mediafire.com/?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.

0

Share this post


Link to post
Share on other sites

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.microsoft.com/kb/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.

Edited by MagicAndre1981
0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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?

0

Share this post


Link to post
Share on other sites

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

Edited by hottroc
0

Share this post


Link to post
Share on other sites

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.

http://www.mediafire.com/?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?

0

Share this post


Link to post
Share on other sites

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.

post-60999-0-11502800-1306282636_thumb.j

post-60999-0-40676200-1306282640_thumb.j

post-60999-0-49250400-1306282687_thumb.j

Edited by jdub
0

Share this post


Link to post
Share on other sites

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.

Edited by Illisvyel
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.