Sysinternals Homepage
Forum Home Forum Home > Sysinternals Utilities > Process Explorer
  New Posts New Posts RSS Feed: Hardware interrupts spiking
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Hardware interrupts spiking

 Post Reply Post Reply Page  12>
Author
Message Reverse Sort Order
PepoS View Drop Down
Groupie
Groupie


Joined: 10 October 2007
Location: Slovakia
Online Status: Offline
Posts: 40
Post Options Post Options   Quote PepoS Quote  Post ReplyReply Direct Link To This Post Topic: Hardware interrupts spiking
    Posted: 19 February 2008 at 3:48am
Originally posted by esegura

I was wondering what do you consider to be "high" when you talk about Context switches.
...
Looking forward to see your numbers Smile
On my machine, the global Contxt Switch Delta (Sys Info page) is still still above 100 000 over 10 second refresh intervall (up to 300k, pretty independent of whether the machine is (sort of) idle or 100% busy).
 
"Interrupts" process alone is constantly causing around 250-300 CSw/s.
 
The largest CSw consumer is PE alone Tongue when opened - 70-80 000 per refresh, few hundreds per refresh when minimized.


Edited by PepoS - 19 February 2008 at 3:49am
Peter
Back to Top
esegura View Drop Down
Newbie
Newbie


Joined: 18 February 2008
Online Status: Offline
Posts: 1
Post Options Post Options   Quote esegura Quote  Post ReplyReply Direct Link To This Post Posted: 18 February 2008 at 8:34pm
Hello folks,

I was wondering what do you consider to be "high" when you talk about Context switches.

This of course doesn't include those of you who have their CPUs clogged at 100% utilization. Dead

Using process explorer, I see that my "Interrupts" artificial process is causing a steady 1300 context switches per second. How does this compare to what you guys see on your systems?

As reference, while writing this, firefox is my 2nd-highest switcher, context switching at about 700 times per second.

Some info about my box:
Pentium 4 1.8 Ghz, 1.0 GB ram
Primary hard drive is a SCSI fujitsu
Two other hard drives, running smoothly on DMA-5 transfers
No discs in my dvd or cdrom drives
XP SP2 fully patched.

Looking forward to see your numbers Smile
Ed.
Back to Top
sweepdaddy View Drop Down
Newbie
Newbie


Joined: 17 February 2008
Online Status: Offline
Posts: 2
Post Options Post Options   Quote sweepdaddy Quote  Post ReplyReply Direct Link To This Post Posted: 17 February 2008 at 7:17pm
thank you everone who contributed to this post, i just reinstalled my ide driver and the comp is back up and running at full speed, having been crippled by 100% cpu. thank god i found this thread before reinstalling everything!! thanks again
Back to Top
metasploit View Drop Down
Newbie
Newbie


Joined: 31 October 2006
Location: China
Online Status: Offline
Posts: 1
Post Options Post Options   Quote metasploit Quote  Post ReplyReply Direct Link To This Post Posted: 31 October 2006 at 2:14am
I will check  the  above  thing for my  computer,because my  computer's  hardware  interrupts  is  always  high!


Thanks!
Back to Top
Buggy Buddha View Drop Down
Senior Member
Senior Member


Joined: 03 March 2006
Online Status: Offline
Posts: 114
Post Options Post Options   Quote Buggy Buddha Quote  Post ReplyReply Direct Link To This Post Posted: 05 September 2006 at 4:15pm
Originally posted by namrehto

One possibility is that CRC/timeout events occurred far enough in the past to have scrolled off the event log. Or the IDE could simply have been misconfigured in the first place. The thing to do now is to watch its behaviour (and the event log) to see if and how the problem recurs.


Yep, that's one possibility that I always try to be wary of. I have set a ridiculously high maximum size for all the event logs, and since this is a new system, the logs aren't anywhere near full - so the errors having dropped off the log is probably impossible, unless Windows has decided to randomly eat the logs. A full search and manual browse of the logs doesn't show any errors with a cdrom source. It could be that I'm not searching with the right terms, though, or looking for the right thing. They should have Cdrom as the source in any case, right? I can't find anything that has that source in the system log, starting from the date this system was built.

You know, I think you might have hit the nail on the head - maybe it was misconfigured to begin with. I haven't used it *that* much. It's odd that I haven't noticed it being slow or anything, though, if it was in PIO mode all the time. Maybe it's still fast enough to not feel slow. Then again, compared to fully formatting a 300 gig HD, which takes over an hour here, pretty much anything feels fast. :D But I will keep a very close eye on it from now on. Process Explorer, and this forum, is priceless for exactly this kind of thing. :)
Back to Top
namrehto View Drop Down
Senior Member
Senior Member


Joined: 23 June 2005
Location: Scotland
Online Status: Offline
Posts: 3861
Post Options Post Options   Quote namrehto Quote  Post ReplyReply Direct Link To This Post Posted: 05 September 2006 at 3:34pm
One possibility is that CRC/timeout events occurred far enough in the past to have scrolled off the event log. Or the IDE could simply have been misconfigured in the first place. The thing to do now is to watch its behaviour (and the event log) to see if and how the problem recurs.
Gil
Back to Top
Buggy Buddha View Drop Down
Senior Member
Senior Member


Joined: 03 March 2006
Online Status: Offline
Posts: 114
Post Options Post Options   Quote Buggy Buddha Quote  Post ReplyReply Direct Link To This Post Posted: 05 September 2006 at 3:23pm
Originally posted by Buggy Buddha

That does leave me to wonder what caused it to revert to PIO mode in the first place, though.


Quoting myself, but I've been trying to find the reason the DVD-drive went to PIO. I found this MS article that may be useful to others, as well: http://www.microsoft.com/whdc/device/storage/IDE-DMA.mspx

The most interesting thing I read there is this:

Windows XP will turn off DMA mode for a device after encountering certain errors during data transfer operations. If more that six DMA transfer timeouts occur, Windows will turn off DMA and use only PIO mode on that device.

--

All CRC and timeout errors are logged in the system event log. These types of errors could be caused by improper mounting or improper cabling (for example, 40-pin instead of 80-pin cable). Or such errors could indicate imminent hardware failure, for example, in a hard drive or chipset.


So, any errors that cause Windows to revert to PIO mode should be logged in the system event log. My event log absolutely does not have any such log entries. So are we to assume that Windows did not switch PIO mode on because of errors, but something else happened instead?
Back to Top
namrehto View Drop Down
Senior Member
Senior Member


Joined: 23 June 2005
Location: Scotland
Online Status: Offline
Posts: 3861
Post Options Post Options   Quote namrehto Quote  Post ReplyReply Direct Link To This Post Posted: 05 September 2006 at 1:52pm
@Icon: Open a new thread in the Troubleshooting forum for your problem. If the interrupts are pretty much constant - i.e. don't only occur during I/O - then one would suspect an issue with sound/video, possibly a driver problem.
Gil
Back to Top
Icon View Drop Down
Newbie
Newbie


Joined: 05 September 2006
Online Status: Offline
Posts: 3
Post Options Post Options   Quote Icon Quote  Post ReplyReply Direct Link To This Post Posted: 05 September 2006 at 12:37pm
My Hardware Interrupts are also showing at 50% but I do not think it's the DVD drive.I only have a Samsung CD writer/DVD reader and the IDE controllers are showing 'DMA if available'

Go easy on me as I hope I have understood the above but if I haven't please let me know.
Back to Top
Buggy Buddha View Drop Down
Senior Member
Senior Member


Joined: 03 March 2006
Online Status: Offline
Posts: 114
Post Options Post Options   Quote Buggy Buddha Quote  Post ReplyReply Direct Link To This Post Posted: 05 September 2006 at 8:31am
Looks like you were absolutely right. I checked the controller properties, and according to that, the DVD drive is in fact running in PIO mode. Windows even gave a nice warning in that menu, explaining that: "The transfer mode for this device was set to a mode lower than what it is capable of because of excessive transfer errors to that device. This will cause a loss of system performance. Please check the cabling to the device..." Nice. Going to set it back to Ultra DMA 2 mode and reboot. That does leave me to wonder what caused it to revert to PIO mode in the first place, though.
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down