Re: 2.5.74-mm1

Daniel Phillips (phillips@arcor.de)
Sat, 5 Jul 2003 23:09:12 +0200


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

-
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/