Re: Scheduler ( was: Just a second ) ...

Adam Schrotenboer (adam@tabris.net)
Tue, 18 Dec 2001 09:21:08 -0500


On Monday 17 December 2001 23:55, William Lee Irwin III wrote:
> On Mon, Dec 17, 2001 at 08:27:18PM -0800, Linus Torvalds wrote:
> > The most likely cause is simply waking up after each sound interrupt: you
> > also have a _lot_ of time handling interrupts. Quite frankly, web surfing
> > and mp3 playing simply shouldn't use any noticeable amounts of CPU.
>
> I think we have a winner:
> /proc/interrupts
> ------------------------------------------------
> CPU0
> 0: 17321824 XT-PIC timer
> 1: 4 XT-PIC keyboard
> 2: 0 XT-PIC cascade
> 5: 46490271 XT-PIC soundblaster
> 9: 400232 XT-PIC usb-ohci, eth0, eth1
> 11: 939150 XT-PIC aic7xxx, aic7xxx
> 14: 13 XT-PIC ide0
>
> Approximately 4 times more often than the timer interrupt.
> That's not nice...

FWIW, I have an ES1371 based sound card, and mpg123 drives it at 172
interrupts/sec (calculated in procinfo). But that _is_ only when playing. And
(my slightly hacked) timidity drives my card w/ only 23(@48kHz sample rate;
21 @ 44.1kHz) interrupts/sec

Is this 172 figure right? (Not through esd either. i almost always turn it
off, and sp recompiled mpg123 to use the std OSS driver)

>
> On Mon, Dec 17, 2001 at 08:27:18PM -0800, Linus Torvalds wrote:
> > Which sound driver are you using, just in case this _is_ the reason?
>
> SoundBlaster 16
> A change of hardware should help verify this.
>
>
> Cheers,
> Bill
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/