login
Header Space

 
 

Re: [RFC/PATCH] Add sysfs control to modify a user's cpu share

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>
Cc: Dhaval Giani <dhaval@...>, Srivatsa Vaddagiri <vatsa@...>, Mike Galbraith <efault@...>, Peter Zijlstra <a.p.zijlstra@...>, Dmitry Adamushko <dmitry.adamushko@...>, lkml <linux-kernel@...>, <maneesh@...>, Andrew Morton <akpm@...>, Sudhir Kumar <skumar@...>
Date: Tuesday, October 2, 2007 - 6:12 pm

On Mon, 2007-10-01 at 16:44 +0200, Ingo Molnar wrote:

While a sysfs interface is OK and somewhat orthogonal to the interface
proposed the containers patches, I think maybe a new syscall should be
considered.

Since we now have a fair share cpu scheduler, maybe an interface to
specify the cpu share directly (alternatively to priority) make sense.

For processes, it may become more intuitive (and precise) to set the
processing share directly than setting a priority which is converted to
a share.

Maybe something similar to ioprio_set() and ioprio_get() syscalls:

- per user cpu share
- per user group cpu share
- per process cpu share
- per process group cpu share


Best regards,

- Eric


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC/PATCH] Add sysfs control to modify a user's cpu share, Srivatsa Vaddagiri, (Mon Oct 1, 12:37 pm)
[PATCH sched-devel] Generate uevents for user creation/destr..., Srivatsa Vaddagiri, (Tue Oct 9, 11:12 am)
Re: [RFC/PATCH -v2] Add sysfs control to modify a user's cpu..., Srivatsa Vaddagiri, (Fri Oct 5, 3:01 am)
Re: [RFC/PATCH -v2] Add sysfs control to modify a user's cpu..., Srivatsa Vaddagiri, (Thu Oct 4, 1:20 pm)
Re: [RFC/PATCH] Add sysfs control to modify a user's cpu share, Eric St-Laurent, (Tue Oct 2, 6:12 pm)
Re: [RFC/PATCH] Add sysfs control to modify a user's cpu share, Srivatsa Vaddagiri, (Wed Oct 3, 12:09 am)
Re: [RFC/PATCH] Add sysfs control to modify a user's cpu share, Srivatsa Vaddagiri, (Mon Oct 1, 11:32 am)
speck-geostationary