Re: 2.5.74-mm1

Daniel Phillips
2003-07-05T21:09:12Z

On Saturday 05 July 2003 21:14, Andrew Morton wrote:
> Daniel Phillips <phillips@arcor.de> wrote:
> > The situation re scheduling in 2.5 feels much as
> > the vm situation did in 2.3
>
> I've been trying to avoid thinking about that comparison.
>
> I don't think it's really, really bad at present. Just "should be a bit
> better".

Ever since I -niced Zinf a coupld of hours ago I haven't had a problem. This
is a fine way to handle the problem. We're not dealing with an "interactive
scheduling" problem here, it's simply realtime scheduling and needs to be
treated as such.

Unfortunately, negative priority requires root privilege, at least on Debian.
That's dumb. By default, the root privilege requirement should kick in at
something like -5 or -10, so ordinary users can set priorities higher than
the default, as well as lower. For the millions of desktop users out there,
sound ought to work by default, not be broken by default.

The "better" mechanism for sound scheduling is SCHED_RR, which requires root
privilege for some reason that isn't clear to me. Or maybe there once was a
good reason, back in the days of the dinosaurs.

Regards,

Daniel