Re: [RFC][PATCH] O(1) Entitlement Based Scheduler

From: John Lee
Date: Wed Feb 25 2004 - 21:06:35 EST




On Wed, 25 Feb 2004, Timothy Miller wrote:

> > Hm, I would have thought the vast majority of xmms users would be running
> > it on their own machines, to which they have root access. Hope I'm not
> > missing something here... :-)
>
> It's a security concern to have to login as root unnecessarily. It's
> bad enough we have to do that to change X11 configuration, but we
> shouldn't have to do that every time we want to start xmms. And just
> suid root is also a security concern.

Ah, OK. Security point taken.

> > Assuming that all/most xmms users do have root permissions, I would think
> > that this is a very minor inconvenience... isn't xmms something which you
> > tend to start up once and leave running until you log out?

<snip>

> What about computer labs of Linux boxes where users do not own the
> computers and are therefore not allowed to login as root. Should they
> be prohibited from running xmms properly?
>
> If someone does not own the box they're using, but they want to, say,
> contribute to xmms development, they're going to be starting and
> stopping the program quite frequently. They're not going to have any
> way to set the nice level.
>
> Consider what happens if some other user logs in remotely to that
> workstation and starts a large compile.

Valid points. I guess I've been too accustomed to playing MP3s on my own
box :-(.

> >From my testing so far, X and xmms have been the only candidates for a
>
> They are the most talked about, so you tested them. Fine. But we all
> know that they are not representative samples. There are bound to be
> numerous other programs that have similar problems.

No others that I've noticed yet, but yes you're probably right. Which is
why I'm really looking forward to getting feedback in this area.

> The way your scheduler works, USERS cannot "allocate CPU to their tasks
> in any way they deem fit". Only system administrators can.

Correct, I used the wrong word. Another symptom of too much play on my own
boxes...

> I read your paper, and I think you have some wonderful ideas. Don't get
> me wrong. I think that your ideas, coupled with an interactivity
> estimator, have an excellent chance of producing a better scheduler.

Thanks :-).

And thanks for your feedback.

Cheers,

John


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/