lkml.org 
[lkml]   [2004]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] O(1) Entitlement Based Scheduler


Timothy Miller wrote:

[..]

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

Maybe I'm missing something, but xmms run OK with zero load, right? The
problem is that, when building the kernel and the entire kde tree, each
with make -j 16, xmms skips a few times? Well, tough luck...

And the user *can* do something about it, just nice -n 19 the builds and
left xmms alone. (Or you can use other player... :-)

With this patch you can even say that each of the build processes can
only hog 5% (at the most!) of the CPU (maybe the build is not a good
example for mandatory CPU time caps, but it is usefull).

Besides, this implements a true run-only-when-noone-else-wants-to-run
nice mode wich, combined with the absolut cpu time caps, hits some of my
wish list for a complete scheduler :-) so I can't wait to test it :-)

A final note to John Lee: you may want to check the Class-based Kernel
Resource Management (CKRM) at:
http://ckrm.sourceforge.net/

Thanks,
Nuno Silva



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

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.130 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site