Skip to contentSkip to conversation

Scheduler ( was: Just a second ) ...

DISCUSSION V Ganesh 1 participant 1 message Dec 18, 2001

lore
Share & tools
lore

V Ganesh

author
#0 lore raw

In article <[email protected]> you 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...

a bit offtopic, but the reason why there are so many interrupts is that there's probably something like esd running. I've observed that idle esd manages to generate tons of interrupts, although an strace of esd reveals it stuck in a select(). probably one of the ioctls it issued earlier is causing the driver to continuously read/write to the device. the interrupts stop as soon as you kill esd.

: SoundBlaster 16
: A change of hardware should help verify this.

it happens even with cs4232 (redhat 7.2, 2.4.7-10smp), so I doubt it's a soundblaster issue.

ganesh