Thread: Hardware interrupts

  1. #1
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719

    Hardware interrupts

    I've been having some problems with hardware interrupts. When I go into Process Explorer it's showing sometimes 10-30% CPU usage going to hardware interrupts. I've figured out which hardware is causing this. It is my Creative Audigy 2 ZS sound card. When I disable it in device manager, the interrupts cease to exist. My question is how do I fix this? I've installed what I assume to be the proper drivers because my sound does work, except I get these interrupts. How can I fix this?
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Probably a problem with the driver - even if it's the RIGHT driver, it is not correct that interrupts take up more than 10% of your CPU time (at least not if you are not playing sound at the time - it still seems quite high when playing sound, but it is POSSIBLE).

    It is quite likely that your driver is simply not doing the right thing for some reason.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    Quote Originally Posted by matsp View Post
    Probably a problem with the driver - even if it's the RIGHT driver, it is not correct that interrupts take up more than 10% of your CPU time (at least not if you are not playing sound at the time - it still seems quite high when playing sound, but it is POSSIBLE).

    It is quite likely that your driver is simply not doing the right thing for some reason.

    --
    Mats
    Well I've tried a number of different drivers from the Creative site and they all seem to cause these interrupts. They must have some really poor drivers. Also, it seemed like this all of a sudden happened out of nowhere, but I'm not sure why because I didn't modify anything sound related.
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  4. #4
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    If you sound card has some kind of fault, it could be that the driver is attempting to work around it by switching into a different mode. For instance if the driver fails to obtain a DMA channel it will probably drop into PIO mode, which is going to cause zillions of interrupts.

    Either it's a really crummy driver or your sound card is having issues.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  5. #5
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    It would only fail to do DMA if it was an ISA card - PCI is a Bus Master device, so it can not fail to achieve DMA access like it used to be with the ISA bus.

    Ah: Havign said that, it's a PCMCIA card, isn't it? Then it makes sense that it may be in PIO mode.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  6. #6
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    Ok, I think I got it now. I took it out, and tried it in a new PCI slot, but it still had the problem. So I found some new drivers and tried it, and now it works! Creative is very confusing with their drivers. I had to get them off a third-party site because Creative didn't have the right ones!
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 6
    Last Post: 11-30-2009, 03:32 AM
  2. X-10 Hardware
    By jmd15 in forum Tech Board
    Replies: 1
    Last Post: 09-29-2005, 07:34 PM
  3. How does hardware interpret data?
    By Silvercord in forum Tech Board
    Replies: 3
    Last Post: 01-29-2003, 01:46 PM
  4. Linux Hardware Handbook
    By Nutshell in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 04-02-2002, 06:06 AM
  5. hardware interrupts
    By stupid_mutt in forum Tech Board
    Replies: 4
    Last Post: 02-20-2002, 04:22 PM