Re: [patch] voluntary-preempt-2.6.8-rc2-M5

Thomas Charbonnel
2004-08-01T16:18:12Z

Ingo Molnar wrote :
> i've uploaded the latest version of the voluntary-preempt patch:
>
> http://redhat.com/~mingo/voluntary-preempt/voluntary-preempt-2.6.8-rc2-M5
>

This patch doesn't solve the latency spikes I see every ~8 seconds on my
system. They still appear in latencytest when the rtc interrupt is the
only non threaded interrupt on the system, and they still produce xruns
in jack in conjunction with the keyboard even if the the sound card's
interrupt is the only non threaded irq and jack's SCHED_FIFO priority is
higher than the irq threads. I suspected a clock issue and switched from
tsc to pmtmr without success. I now suspect a hardware issue (the
machine is a laptop with a PIII M 1GHz cpu) or a scheduler corner case.
Running jack at 96000Hz with 2 periods of 64 samples, I can see regular
bursts of cpu usage every 2 or 3 seconds. Oprofile reveals that schedule
is then the second most CPU intensive function on the system.

Thomas