Re: SCHED_SOFTRR patch

Daniel Phillips
2003-08-07T16:05:07Z

On Monday 28 July 2003 21:27, Steven Newbury wrote:
> While testing SCHED_SOFTRR with XMMS I had to modify XMMS slightly since it
> usually checks for uid 0 before enabling SCHED_RR.

Oh good, then you won't have any problem with modifying the kernel to put in a
printk or two ;-)

> Under 2.6.0-test1 based kernels I have experienced quite a lote of
> drop-outs with XMMS playing mp3's with a moderate load, however, when run
> as root (with SCHED_RR) I encountered no drop-outs at all. When using
> SOFTRR under I had very choppy playback when the machine was under load.
> It was a constant jittering more than intermittent drop-outs.

According to me, this should not happen, since your cpu usage is well below
what is supposed to be the cutoff for the realtime slice. I've only seen one
report like yours, where SOFTRR isn't working as intended. On the other
hand, I've missed a lot of lkml traffice lately, so there could be more.

What kind of system is this? Is it a laptop with speedstep?

Regards,

Daniel