On Thu, 26 Feb 2004, Peter Williams wrote:
Another idea that we are playing with for handling programs like xmms (i.e. programs that require gauranteed CPU bandwidth to perform well) is the complement of caps namely per task CPU reservations.
Of course, this won't solve the "need to be root" problem as this is obviously the sort of control that should be reserved for root
Not necessarily. We've just fixed this dilemma in the CKRM
project, using a resource class filesystem for this kind of
stuff.
A user could have a certain percentage of the CPU guaranteed
(especially the console user) and carve out part of his/her
guarantee for multimedia applications.
Please see the attached document, which is the 6th draft of
this particular CKRM design. If you have any improvements
for this spec, feel free to let us know ;)