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

Jump to content


  • 62 Pages +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • 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: -----

#81 User is offline   NewestGuy 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 30-March 10
  • OS:none specified
  • Country: Country Flag

Posted 13 May 2010 - 09:05 AM

View Postomenofthephoenix, on 13 May 2010 - 08:41 AM, said:

Hi everyone,
I have spikes in CPU usage at fairly regular intervals when streaming video or playing a game full-screen.
I have done as MagicAndre has suggested and done a trace and found the USBport.sys is most likely the problem.
You mentioned updating chipset drivers, I think I did that but not sure if I did it correctly, I don't really understand the chipset thing.
Tried updating USB drivers, nVidia chipset? drivers and BIOS but still having problems.
Anyone able to help?
Let me know if there's any info you might need.

AMD athlon processors
ASUS M2N-VN DVI motherboard
nVidia chipset (nForce 560 and Southbridge nForce 630a) from CPU-Z
Windows 7 Pro 64bit


Asus does not offer W7 32 or 64bit chipset drivers for that motherboard, they do offer them for Vista 64bit, and should work for W7, but they are dated 03/07/2008, they might work better than the default drivers W7 installed.




Choose Vista 64bit as the OS selection to download the chipset drivers.

http://support.asus....SLanguage=en-us



If found this on the Nvidia site, not sure it is the chipset driver though.

http://www.nvidia.co...ta64_15.23.html

.

This post has been edited by NewestGuy: 13 May 2010 - 09:20 AM



#82 User is offline   glmoreky 

  • Group: Members
  • Posts: 8
  • Joined: 13-May 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 13 May 2010 - 07:58 PM

System Specs:

Sapphire AMD 939 A9RD480Adv Motherboard (BIOS 6.0)
AMD Athlon 64 x2 4400+
ATI Radeon HD 4850(2) (Crossfire)
WD 500GB Hard drive(2) (Raid 0)
4Gigs RAM DDR
OCZ ModXtreme 600W Power Supply
Windows 7 32bit

Hi there. It seems as if I'm having the problem a few of you are having. I followed the instructions to the letter and have discovered that my amdk8.sys is causing the second core of my CPU to constantly run and peak at 100% usage. Upon further inspection, the function that is the culprit is C1HALT. I read in a few previous post that this is nothing to be alarmed about...but no solution has been stated as in how to fix this. If I wasn't a gamer or use graphically intense programs, then i wouldn't worry about it. But the CPU slow down is preventing me from taking advantage of the system that I've built.


As you can see from the sidebar gadget also, its causing my second core to constantly run around 100%. I have all the up to date drivers for my devices, the latest bios for my board (not much of an option here since my board is kinda old). So is there any fix to the C1HALT issue or am I just screwed and have to bite the bullet and do a total overhaul of my system with newer components? any help would be greatly appreciated.

Thanks in advance.

Attached File(s)


This post has been edited by glmoreky: 13 May 2010 - 08:58 PM


#83 User is offline   ilove2learn 

  • Group: Members
  • Posts: 4
  • Joined: 13-May 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 May 2010 - 09:40 PM

Hello MagicAndre & friends,

I join this thread hoping you can help me improve my DPC latency. Back in XP SP3, DPC latency used to stick around 40-50 µs. Within win7 64, I don't have huge red spikes often, but yellow ones (1070 µs for example) happen quite easily, and overall my latency is in the 300-400 µs range, which feels too much and uncomfortable : this is supposed to be a fully functionnal DAW for me to earn a living with it.

Xperf shows an unknown module and it's function 0xfffffa8002fb20f0 which i suspect is reponsible for the situation. Please find with this post

a .txt summary of my PC
http://www.zshare.ne...065675ce27aac1/
a screen shot of DPC latency checker
Posted Image

a screen shot of xperf's Summary table
Posted Image
http://www.zshare.ne...065675ce27aac1/

Best Regards.

This post has been edited by ilove2learn: 13 May 2010 - 09:41 PM


#84 User is offline   MagicAndre1981 

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

Posted 14 May 2010 - 05:17 AM

@glmoreky

ignore the IDLE- Process. This doesn't create the CPU usage! The C1Halt command is a power saving feature.

@ilove2learn

sort for duration, not the count! Which DPCs take most time?

#85 User is offline   glmoreky 

  • Group: Members
  • Posts: 8
  • Joined: 13-May 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 14 May 2010 - 06:58 AM

View PostMagicAndre1981, on 14 May 2010 - 05:17 AM, said:

@glmoreky

ignore the IDLE- Process. This doesn't create the CPU usage! The C1Halt command is a power saving feature.

@ilove2learn

sort for duration, not the count! Which DPCs take most time?


Well if I post a screen shot of the whole table, before the break downs, could you possibly tell me whats going on and whats causing this?

#86 User is offline   glmoreky 

  • Group: Members
  • Posts: 8
  • Joined: 13-May 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 14 May 2010 - 08:23 AM

I took another look at the table and saw that my problem was being caused by USBPORT.sys. I tried to update the driver...still problem remained. So I went to my local computer store and purchased a USB card for $17.00USD. Plugged it in and let windows find it and install drivers. Restarted my computer and the problem is now resolved. Thank you for posting the tutorial. Wish I would have found this when the problem first occurred. Would have saved me 6 days of headaches lol.

#87 User is offline   cluberti 

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

Posted 14 May 2010 - 08:23 AM

Potentially - from the screenshot we have, the largest consumer (by far) of DPC time is ndis.sys calling ndisInterruptDPC, meaning the network driver is indeed responsible for some of that time. If the network miniport driver registered itself an ISR handler, it either shares an IRQ with another device or the driver must capture interrupt-specific data from NIC registers at DIRQL - both would cause calls into this API.

It would be best if we had access to the data set itself, but a screenshot is better than nothing :).

#88 User is offline   MagicAndre1981 

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

Posted 14 May 2010 - 09:04 AM

@glmoreky

great, that you found the cause with the help of this guide :)

@cluberti

any ideas about the unknown module? How can I detect which driver it is?

#89 User is offline   ilove2learn 

  • Group: Members
  • Posts: 4
  • Joined: 13-May 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 14 May 2010 - 11:28 AM

View PostMagicAndre1981, on 14 May 2010 - 05:17 AM, said:

@ilove2learn
sort for duration, not the count! Which DPCs take most time?


As i tried to update my PC since previous post, i did a new xperf. Here is it's summary table :

Posted Image

#90 User is offline   MagicAndre1981 

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

Posted 14 May 2010 - 04:55 PM

upload the etl file and post the link here.

#91 User is offline   ilove2learn 

  • Group: Members
  • Posts: 4
  • Joined: 13-May 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 14 May 2010 - 06:47 PM

here it is

:)

This post has been edited by ilove2learn: 14 May 2010 - 06:51 PM


#92 User is offline   MagicAndre1981 

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

Posted 15 May 2010 - 04:14 AM

You don't have any DPC or interrupt issues! Both use less than 1% of CPU. You only have CPU usage spikes caused by Everest Ultimate.

#93 User is offline   ilove2learn 

  • Group: Members
  • Posts: 4
  • Joined: 13-May 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 15 May 2010 - 11:34 AM

View PostMagicAndre1981, on 15 May 2010 - 04:14 AM, said:

You don't have any DPC or interrupt issues! Both use less than 1% of CPU. You only have CPU usage spikes caused by Everest Ultimate.



ok then :) ! my mistake was to believe i needed to be in the 40 µs range under windows 7.
Thanks for your expertise and kindness André, you are a true blessing for all of us !

#94 User is offline   glmoreky 

  • Group: Members
  • Posts: 8
  • Joined: 13-May 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 May 2010 - 04:27 PM

Okay...I'm back.When using the usb pci card that I bought to initially solve my problem, it seems I've ran into another. When I log off my system or restart it, I'll of my drivers disappear. So upon restart I have to let windows re-install them each time. Not sure what is causing that issue, so i went back to just using the usb ports on the motherboard and I'm getting the USBPORT.SYS issue again. Is there a way to resolve this, or do I just need to replace my mother board?

#95 User is offline   MagicAndre1981 

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

Posted 15 May 2010 - 07:29 PM

which card did you buy? Have you installed the latest drivers from the support page of the card?

#96 User is offline   glmoreky 

  • Group: Members
  • Posts: 8
  • Joined: 13-May 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 May 2010 - 07:45 PM

View PostMagicAndre1981, on 15 May 2010 - 07:29 PM, said:

which card did you buy? Have you installed the latest drivers from the support page of the card?



It's a Ali USB 2.0 PCI card. Made by FS (generic brand lol). It came with the driver cd and I installed from there.

#97 User is offline   glmoreky 

  • Group: Members
  • Posts: 8
  • Joined: 13-May 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 May 2010 - 10:46 PM

I found this as a possible solution, but don't know if the issue will reoccur:

I went to device manager and disabled all of the on board USB controllers and also the USB Root Hubs. After about 3 secs my CPU usage dropped to only 7-10%. Then I enabled them again and the CPU usage stayed at the 7-10%. So when inspecting which ".sys" files are controlling those devices, I saw USBhub.sys, USBohci.sys and USBport.sys all on the ATI I/O Communications Processors. Then on the USB Root Hubs I saw USBbd.sys and USBhub.sys. The question is, which file is most likely the culprit. Since I get the USBport.sys using most of my CPU, can I just replace that driver. And if so, where can I locate it. There are none on my motherboard manufacturers website and the one that is installed was installed by Windows 7 when I did a clean install.

I also read on another forum that if another device shares the same IRQ as the USB controller, that it could cause this issue as well. So I took a look at my Resources By Type in device manager and saw several devices sharing the IRQ of the USB controller. Also there were multiple instances of them...see screen shot attached below. Is there a way to change which IRQ these are on so they can run in sequential order to see if that will correct the problem?

As of right now I reinstalled the USB pci card. I just hope I don't have to turn of my computer for anything and go through the whole missing drivers issue again, or at least til I get this problem fixed. Any help would be greatly appreciated.

Attached File(s)



#98 User is offline   NewestGuy 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 30-March 10
  • OS:none specified
  • Country: Country Flag

Posted 16 May 2010 - 09:00 AM

View Postglmoreky, on 15 May 2010 - 10:46 PM, said:

Since I get the USBport.sys using most of my CPU, can I just replace that driver. And if so, where can I locate it. There are none on my motherboard manufacturers website and the one that is installed was installed by Windows 7 when I did a clean install.

I also read on another forum that if another device shares the same IRQ as the USB controller, that it could cause this issue as well. So I took a look at my Resources By Type in device manager and saw several devices sharing the IRQ of the USB controller. Also there were multiple instances of them...see screen shot attached below. Is there a way to change which IRQ these are on so they can run in sequential order to see if that will correct the problem?



The time usbport.sys is part of the chipset driver, at least on Intel chipset boards.


Sometimes a bios update can resolve USB issues, and others as well.


W7 irq discussion here, W7 is pretty good about flagging irq conflicts, they will show up in System Information. All Programs>Accessories>System Tools>System Information>Hardware Resources.

http://social.answer...ef-056ff6503e85

Looks like in W7, the only way to change an IRQ in device manager is if there is a conflict, otherwise the change button is greyed out. There probably is a registry hack, but would be risky to do so.
http://helpdeskgeek....indows-vista-7/

more on irqs
http://www.gearslutz...ows-7-irqs.html

.



.

This post has been edited by NewestGuy: 16 May 2010 - 09:18 AM


#99 User is offline   omenofthephoenix 

  • Group: Members
  • Posts: 2
  • Joined: 13-May 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 May 2010 - 10:53 AM

View PostNewestGuy, on 13 May 2010 - 09:05 AM, said:

View Postomenofthephoenix, on 13 May 2010 - 08:41 AM, said:

Hi everyone,
I have spikes in CPU usage at fairly regular intervals when streaming video or playing a game full-screen.
I have done as MagicAndre has suggested and done a trace and found the USBport.sys is most likely the problem.
You mentioned updating chipset drivers, I think I did that but not sure if I did it correctly, I don't really understand the chipset thing.
Tried updating USB drivers, nVidia chipset? drivers and BIOS but still having problems.
Anyone able to help?
Let me know if there's any info you might need.

AMD athlon processors
ASUS M2N-VN DVI motherboard
nVidia chipset (nForce 560 and Southbridge nForce 630a) from CPU-Z
Windows 7 Pro 64bit


Asus does not offer W7 32 or 64bit chipset drivers for that motherboard, they do offer them for Vista 64bit, and should work for W7, but they are dated 03/07/2008, they might work better than the default drivers W7 installed.




Choose Vista 64bit as the OS selection to download the chipset drivers.

http://support.asus....SLanguage=en-us



If found this on the Nvidia site, not sure it is the chipset driver though.

http://www.nvidia.co...ta64_15.23.html

.


Tried those (updating chipset drivers) and I think it helped, but still getting high USBport.sys in DPC and Interrupts CPU usage.
Still freezing up at regular intervals.

#100 User is offline   glmoreky 

  • Group: Members
  • Posts: 8
  • Joined: 13-May 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 16 May 2010 - 09:17 PM

I did a search for my motherboards chipset drivers but couldn't find one. So I created a restore point and then uninstalled the USB 1.1 ans 2.0 OHCI Controllers and then rebooted. When the computer came back online, I let windows find the drivers for them, which included usbport.sys. So far so good...no latency or cpu usage issues. I'll report back in a day or two if the problem resurfaces.

Share this topic:


  • 62 Pages +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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



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