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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Srivatsa Vaddagiri
Date: Monday, October 1, 2007 - 9:37 am

On Mon, Oct 01, 2007 at 12:12:21PM -0400, Dave Jones wrote:

Hi Dave,
	We will in the next version of the patch. At this point, the patch was 
sent out to get an idea of whether sysfs is the right place for this interface 
or not.


Quick answer before we release the next version : This has to do with
the CONFIG_FAIR_USER_SCHED feature which allows dividing CPU bandwidth
equally between all users of a system. Before this patch, CPU bandwidth was 
divided equally among all non-root users. After this patch, it will
be possible to control CPU bandwidth allocation to each user separately.

For ex: by setting user "vatsa"'s cpu_share to be twice that of user
"guest", it would be possible for user "vatsa" to get 2x CPU bandwidth that of 
user "guest"


--
Regards,
vatsa
-
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, 8:32 am)
Re: [RFC/PATCH] Add sysfs control to modify a user's cpu share, Srivatsa Vaddagiri, (Mon Oct 1, 9:37 am)
Re: [RFC/PATCH] Add sysfs control to modify a user's cpu share, Srivatsa Vaddagiri, (Tue Oct 2, 9:09 pm)
Re: [RFC/PATCH -v2] Add sysfs control to modify a user's c ..., Srivatsa Vaddagiri, (Thu Oct 4, 10:20 am)
Re: [RFC/PATCH -v2] Add sysfs control to modify a user's c ..., Srivatsa Vaddagiri, (Fri Oct 5, 12:01 am)
[PATCH sched-devel] Generate uevents for user creation/des ..., Srivatsa Vaddagiri, (Tue Oct 9, 8:12 am)