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

Jump to content


  • 62 Pages +
  • « First
  • 11
  • 12
  • 13
  • 14
  • 15
  • 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: -----

#241 User is offline   MagicAndre1981 

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

Posted 29 November 2010 - 09:03 AM

the USBport driver is the cause. Which USB devices do you use? Have you installed all motherboard drivers?


#242 User is offline   djquartz 

  • Group: Members
  • Posts: 8
  • Joined: 28-November 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 30 November 2010 - 11:40 AM

Hello Andre,

I've been looking for newer chipset drivers, I've updated all my other drivers such as the network adapter, wireless, etc. I have updated the Intel Storage Matrix drivers which should contain chipset drivers as well correct?

The main usb devices I use on my system are the following.

Native Instruments Audio 8 DJ
Native Instruments Traktor Kontrol X1

They both have the latest drivers installed, however the spike occur when they are connected or not regadless.

This post has been edited by djquartz: 30 November 2010 - 11:41 AM


#243 User is offline   MagicAndre1981 

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

Posted 30 November 2010 - 05:15 PM

View Postdjquartz, on 30 November 2010 - 11:40 AM, said:

The main usb devices I use on my system are the following.

Native Instruments Audio 8 DJ
Native Instruments Traktor Kontrol X1

They both have the latest drivers installed, however the spike occur when they are connected or not regadless.


contact the Native Instruments support about this.

#244 User is offline   djquartz 

  • Group: Members
  • Posts: 8
  • Joined: 28-November 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 30 November 2010 - 07:15 PM

What I meant to say is I still get high spikes when those devices are not connected. I was just stating which usb devices I use normally with this system.

I can get the same spikes without those devices connected. So what I'm trying to troubleshoot is the source of the spikes being seen in windows without any external devices.

I'm a beta tester for Native Instruments so I always get the newest drivers when available and I have been in contact directly regarding dpc issues.

However the system has the issue when just sitting idle without any external usb devices connected.

Also, with suspending the acpi.sys thread with Process Explorer, it stops the spikes with or without these same devices connected.

This post has been edited by djquartz: 30 November 2010 - 07:19 PM


#245 User is offline   djquartz 

  • Group: Members
  • Posts: 8
  • Joined: 28-November 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 30 November 2010 - 11:44 PM

I found a utility that actually was able to identify the chipset properly. I have the Intel GM45 Express chipset on my motherboard.

I'm looking for updated chipset drivers to see if I can update the usb controller drivers. The current drivers installed are from 2007.

#246 User is offline   djquartz 

  • Group: Members
  • Posts: 8
  • Joined: 28-November 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 01 December 2010 - 12:10 AM

I think, keyword THINK, I might have fixed the problem. Now I don't know if it's a combination or just the driver update that fixed it.

I had a Seagate 500gb 5400 rpm drive installed as a secondary drive in my laptop for over a year now.

I replaced it with a 750gb 7200rpm drive this evening after ghosting all the data over to it.

Now, I booted up and yes I still had spikes shortly after my last post about the chipset, etc.

So I jumped on the Intel website in search of newer drivers. It's telling me my chipset drives are the latest released 2009, which I don't fully believe. I updated my Intel 5100 drives about a week ago to a 2009 release because that's all I could find. The online inf identifier informed me there was a newer driver for my wireless adapter as of 07/2010.

I installed that driver and checked with the dpc latency checker. I had no red spikes, nothing but green. Also, keep in mind I have my wireless disabled when using audio applications.

<UPDATE>

While typing this message I seen a couple yellow spikes, and then one red spike. However, it has really improved from previous because I would get them continuously with the wireless disabled. I think the laptop was running for almost 15 minutes straight without any spikes which has never happened before.

I'm still in search to see if I can find updated chipset drivers because that could be the missing piece of the puzzle and solve the interrupts for good.

#247 User is offline   djquartz 

  • Group: Members
  • Posts: 8
  • Joined: 28-November 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 01 December 2010 - 12:29 AM

The current 2007 usb drivers are version 8.3.0.1011, doing a little bit of searching on Google shows there version 9.1.1.1004. So I'm hunting for that installer now.

#248 User is offline   djquartz 

  • Group: Members
  • Posts: 8
  • Joined: 28-November 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 01 December 2010 - 12:48 AM

Found a newer installer from a thread and learned a good piece of information. I had to install the inf updated with the /overall switch. This forced the new drivers onto the system. Now I have usb drivers 8.3.1.1011from 2008 installed and my controller drivers, etc are updated to 9.3.1.1013 from 2009.

I'll have to see how my system performs now.

#249 User is offline   darren 

  • Group: Members
  • Posts: 4
  • Joined: 03-December 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 06 December 2010 - 07:03 AM

I was using my laptop as normal and it became slower and slower until it almost ground to a halt. So I rebooted, thats when the problem started. This isnt the first time either its quite regular.

I have the trace commands set as .bat files on my desktop, it took 20 minutes to run the trace and to stop the trace and the desktop to fully load.

I dont know how much use the .etl file is or if it even captured all of the problems.

Looks to me like svchost.exe is the culprit, but there are so many processes below this tree that I cant pinpoint exactly where the problem is.

http://rapidshare.co...592/100_CPU.ETL

#250 User is offline   MagicAndre1981 

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

Posted 06 December 2010 - 11:20 AM

the Indexer casues the issue:

Process Name, Process, Stack, Count, Time (s), Cpu, Count: Sampled Profile
System, System (4), [Root], 8652, , , 8652
, ,    |- ntkrpamp.exe!PspSystemThreadStartup, 8496, , , 8496
, ,    |     |- ntkrpamp.exe!ExpWorkerThread, 8232, , , 8232
, ,    |     |     |- syscache.sys!ScpInitializationWorker, 7969, , , 7969
, ,    |     |     |     syscache.sys!ScpInitializeCache, 7969, , , 7969
, ,    |     |     |     |- ntkrpamp.exe!ZwLoadKeyEx, 7968, , , 7968
, ,    |     |     |     |     ntkrpamp.exe!KiFastCallEntry, 7968, , , 7968
, ,    |     |     |     |     ntkrpamp.exe!NtLoadKeyEx, 7968, , , 7968
, ,    |     |     |     |     ntkrpamp.exe!CmLoadKey, 7968, , , 7968
, ,    |     |     |     |     |- ntkrpamp.exe!CmpCmdHiveOpen, 7967, , , 7967



syscache.sys = discache.sys = System Indexer/Cache Driver

I don't know why the driver opens registry hives. How large is your Index? reduce the size of the indexed locations.

You can also run Process Monitor in background and look which registry values are being read all the time.

#251 User is offline   rollape 

  • Group: Members
  • Posts: 2
  • Joined: 06-December 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 December 2010 - 11:30 AM

Hello Andre, thanks a lot for this tutorial, it is very helpful.

My problem with High CPU usage by Interrupts begins 5 secs AFTER I run a game. However, the problem doesn't appears allways I run a game (I can't determinate why sometimes the problem shows up and other times it doesn't)

When the high CPU Usage begins, it doesn't stop when I (slowly and patiently) shut down the game. The problem remains for about 5 minutes, and then the computers is back to normal.

Here are the pics when i have just shut down the game and the problem remains:

Posted Image

Posted Image

I Have:

-AMD Phenom II x6 1090 T Processor
-ATI Raedon HD 5770 Graphic Card
-Asus M4A89GTD PRO Motherboard

I hope you can help me solve this problem, I am dealing with this since I purchase this computer. Any ideas about what SCSIPort.sys, dxgkrnl.sys, and ataport.sys?

Thankyou Andre

PD: Sorry for my bad english


#252 User is offline   MagicAndre1981 

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

Posted 06 December 2010 - 12:38 PM

View Postrollape, on 06 December 2010 - 11:30 AM, said:

Any ideas about what SCSIPort.sys, dxgkrnl.sys, and ataport.sys?


SCSIport and ATAport.sys are HDD drivers. Are you using the latest drivers for your ASUS motherboard?

dxgkrnl.sys = DirectX driver which is used for Aero Glass. Are you using the latest ATI/AMD Catalyst driver?

#253 User is offline   surfer2124 

  • Group: Members
  • Posts: 1
  • Joined: 29-November 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 08 December 2010 - 10:11 AM

You are the man Andre... I had high CPU usage on 3 different PC's and couln't figure out what the cause was. I formatted the first two and the issue went away but I was determinned to find the cause on the 3rd. I came across this forum and your information. I was able to use xperf to find that the driver fslx.sys which is tied to Norton was the cause of my issue. I had a norton/firefox virtual browser installed which I removed and since then the issue has been none existant.

Mine was hard to troubleshoot because sometime I could go almost a day without high cpu usage so it took me alomost a week of trying different things to figure this out. I def could not have done it without the info provided here.

Thanks

#254 User is offline   rollape 

  • Group: Members
  • Posts: 2
  • Joined: 06-December 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 December 2010 - 11:27 AM

View PostMagicAndre1981, on 06 December 2010 - 12:38 PM, said:

View Postrollape, on 06 December 2010 - 11:30 AM, said:

Any ideas about what SCSIPort.sys, dxgkrnl.sys, and ataport.sys?


SCSIport and ATAport.sys are HDD drivers. Are you using the latest drivers for your ASUS motherboard?

dxgkrnl.sys = DirectX driver which is used for Aero Glass. Are you using the latest ATI/AMD Catalyst driver?



Thanks for the answer Andre, I think I am going to format and reinstall Windows 7 all over again, because I'm very confused about what is actually installed and what it isn't (this days I installed, uninstalled, and re-installed A LOT of applications, drivers. etc)...

I will be back in here maybe tomorrow or in a few days for posting my results.


#255 User is offline   MagicAndre1981 

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

Posted 08 December 2010 - 12:49 PM

@surfer2124

nice to hear that this guide helped you to find the cause :)

#256 User is offline   mrvip 

  • Group: Members
  • Posts: 2
  • Joined: 08-December 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 10 December 2010 - 06:22 AM

EDIT 6.2.2011:

PROBLEM IS FIXED BY INSTALLING THIS UPDATE http://support.micro...om/?kbid=976972 !


Hi,

it seems to be the best forum to discuss my problem, considering MagicAndre1981 is on it :)

Summary of the problem: high interrupt and DPC count (but no high latency !!!), taking 100% of the second core of my CPU, when using patched 32 bit kernel to enable PAE.

System:

CPU: Athlon 64 X2 4000+
mb: Gigabyte GA-M56S-S3, nforce 560 chipset
OS: Windows 7, 34 bit with patched kernel to enable PAE and access the full 4GB of memory, instead of only 3GB (i have a printer and a scanner that don't have 64 bit drivers, so i have to stick to 32bit)
storage: 2 sata hdds in raid0 + another ata hdd
driver updates:
- only audio driver update listed for my MB/OS combination on Gigabyte's site, downloaded and installed it
- only HDMI driver update is listed for my Chipset/OS combination on Nvidia's site, i don't have HDMI audio, but tried to install it just to be sure, and as expected it says that i don't have such hardware.

BIOS updates:
currently using bios version F5, tried F6C a some time ago, but it didn't have the SATA RAID part of the bios, so i have switched back to F5. I see that there is F6H version available now instead of F6C, i have to try it, but haven't done so yet.

The problem shows up after about a day of use and is temporarily cured by reboot. The problem started after i have used a patch that allows the 32 bit kernel of Windows 7 to utilise all 4GB of memory that i have installed, instead of only using 3GB. The patch documentation says that it only enables the PAE in kernel by changing some licensing information, i.e. it doesn't add code or change Microsoft code. When i boot the old kernel (non-PAE), i don't have the problem. Using xpref to analyse the cause showed both storport.sys in funcion RaidpAdapterInterruptRoutine and "Unknown" module in funcion 0x88685bf8 with about the same unusual high number of interrupts. I had both Daemon Tools and Alcohol 120% installed, both install the sptd.sys driver. Following advice on another forum i removed both , but that didn't remove sptd.sys so i had to download the sptd standalone package and use it's uninstall funcion to successfuly remove sptd.sys. After removing it, the problem still appeared, but there was a difference: again one of the drivers with high interrupts was storport.sys/RaidpAdapterInterruptRoutine but the other one now was usbport.sys/USBPORT_InterruptService (instead of the "Unknown" module when the sptd.sys was installed). I have two USB controllers listed in device manager:

"standard openhcd usb host controller", this one is showed as the parrent of all usb 1.1 devices, no matter in which port i plug them
"standard enhanced pci to usb host controller", this one is showed as the parrent of all usb 2.0 device, again it doesn't matter in which port they are plugged

both "standard enhanced pci to usb host controller" and "nvidia nforce serial ata controller" are sharing IRQ 22, which i think is the cause of the problem.
the devices with usb 2.0 interface, attached to the system, are a card reader and a canon canoscan 3000 scanner. I think their drivers should not be causing the problem, because they don't handle irqs directly.

This article: http://support.microsoft.com/kb/930261 deals with IRQL_NOT_LESS_OR_EQUAL in storport.sys on machines with nvidia chipset using 4gb or more memory, but with Vista as the OS and the solution is to install the latest service pack, obviously Windows 7 has newer drivers than a Vista service pack.

It seems that i am close to the solution, but i have yet to connect the dots, so any help would be appreciated.

on my todo list:
- Disable the usb 2.0 controller when the high interrupt condition occure to see whether it will fix it. It is not a permanent fix, because i need usb2.0
- Try to make the usb 2.0 controller and the sata controller use different irqs. I don't know how to accomplish this - both are onboard devices, so i can't move them around pci slots, and windows 7 doesn't allow the user to change irqs on devices.
- try the latest bios (hoping that Gigabyte didn't forget to include the raid support in F6H as they did in F6C)

Regards,
Velko

This post has been edited by mrvip: 06 February 2011 - 12:27 PM


#257 User is offline   MagicAndre1981 

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

Posted 10 December 2010 - 06:51 AM

Other users had the USB issues with older nForce chipsets, too. The solution was to add a new PCI(E) USB2 adapter card to the PC and disable the USb ports from the motherboard.

This post has been edited by MagicAndre1981: 10 December 2010 - 06:52 AM


#258 User is offline   mrvip 

  • Group: Members
  • Posts: 2
  • Joined: 08-December 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 10 December 2010 - 09:05 AM

Thanks for the reply, could you point me to the discussion about usb and older nforce chipsets? Also you say PCI(E), do you mean that it should be PCI _Express_ exactly, or PCI would be ok as well? Is there any way to resolve the IRQ conflict (force sata and usb to use different irqs)?

#259 User is offline   MagicAndre1981 

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

Posted 10 December 2010 - 01:56 PM

http://www.msfn.org/...post__p__936884

here an example of a collision of an old ATI USB adapter.

http://www.msfn.org/...post__p__923468

this user also bought a new PCI USB2 card and it solved the issues.

#260 User is offline   demokid18 

  • Group: Members
  • Posts: 7
  • Joined: 10-December 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 December 2010 - 10:58 PM

I was having this slowing issue amd realized my cpu was at 90%+ usage on each core. I followed your guide (great btw, very clear) and these are the results. Can you help me translate the results into knowledge on what I can do to solve??

SYS SPECS:
ASUS M4A89GTD PRO USB3
AMD PHENOM II X2 (X4) 3.2GHz
4GB (2x2) G. SKILL RIPJAWS 1600MHz DDR3
COOLER MASTER V8
WD 500GB GREEN HDD, SEAGATE 1TB 7200RPM HDD
Win.7 Home Edition 32 Bit. If I can fix this problem, have 64 bit pro that I will be installing.
Just built this system up and ive been having this prblem since.

http://img5.imagesha...5/410/lolxb.png

Attached File(s)

  • Attached File  lol.png (74.76K)
    Number of downloads: 14

This post has been edited by demokid18: 10 December 2010 - 11:04 PM


Share this topic:


  • 62 Pages +
  • « First
  • 11
  • 12
  • 13
  • 14
  • 15
  • 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