Re: [PATCH] Hookup group-scheduler with task container infrastructure

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>
Cc: Dmitry Adamushko <dmitry.adamushko@...>, Andrew Morton <akpm@...>, <ckrm-tech@...>, <linux-kernel@...>, <containers@...>, Jan Engelhardt <jengelh@...>, <dhaval@...>, <menage@...>
Date: Friday, September 14, 2007 - 11:59 am

On Fri, Sep 14, 2007 at 11:41:58AM +0200, Ingo Molnar wrote:

Thanks for the feedback!


I do want more people to test it and I agree that hooking onto
user-id based groups is the best way to get that done. How do we
implement that? I have two choices:

1. Do a kernel patch, as you suggest above, which defines task-groups
   based on user-id and hook that group definition with group scheduler.
   We need to provide some means for the admin to tune relative
   nice-value of each user (perhaps thr' sysctl?). 

   This user-id based grouping will have to be mutually exclusive with
   task-container based grouping. Hence we need to ensure that only one
   form of grouping is selected and not both at compile time.

2. Enable only one form of grouping, which is task-container based. Provide a 
   user-space daemon (attached) which can automatically put tasks of different 
   users in different task-containers. The daemon will need to be started at 
   early boot-time. It can also be extended to support a configuration file
   (ex: inittab) where cpu allocation for different users are specified.
   The fact that daemon is managing to provide fair allocation to users
   should be transparent.

   I hope that task-containers (aka cgroups) will go into 2.6.24, in which case 
   the second option seems to be more attractive to me.

I will neverthless try to work out Option 1, just to see how it looks.

--
Regards,
vatsa
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Hookup group-scheduler with task container infrastru..., Srivatsa Vaddagiri, (Mon Sep 10, 1:10 pm)
Re: [PATCH] Hookup group-scheduler with task container infra..., KAMEZAWA Hiroyuki, (Tue Sep 18, 4:19 am)
Re: [PATCH] Hookup group-scheduler with task container infra..., Srivatsa Vaddagiri, (Tue Sep 18, 6:44 am)
Re: [PATCH] Hookup group-scheduler with task container infra..., Srivatsa Vaddagiri, (Mon Sep 10, 1:23 pm)
Re: [Devel] Re: [PATCH] Hookup group-scheduler with task con..., Srivatsa Vaddagiri, (Tue Sep 11, 12:44 am)
Re: [PATCH] Hookup group-scheduler with task container infra..., Srivatsa Vaddagiri, (Mon Sep 10, 1:46 pm)
Re: [PATCH] Hookup group-scheduler with task container infra..., Srivatsa Vaddagiri, (Tue Sep 11, 11:51 am)
Re: [PATCH] Hookup group-scheduler with task container infra..., Srivatsa Vaddagiri, (Tue Sep 11, 12:41 am)
Re: [PATCH] Hookup group-scheduler with task container infra..., Srivatsa Vaddagiri, (Wed Sep 12, 7:42 am)
Re: [PATCH] Hookup group-scheduler with task container infra..., Dmitry Adamushko, (Wed Sep 12, 12:25 pm)
Re: [PATCH] Hookup group-scheduler with task container infra..., Srivatsa Vaddagiri, (Thu Sep 13, 8:33 am)
Re: [PATCH] Hookup group-scheduler with task container infra..., Srivatsa Vaddagiri, (Fri Sep 14, 11:59 am)
Re: [PATCH] Hookup group-scheduler with task container infra..., Srivatsa Vaddagiri, (Fri Sep 14, 12:22 pm)
Re: [PATCH] Hookup group-scheduler with task container infra..., Srivatsa Vaddagiri, (Wed Sep 12, 8:10 am)
Re: [PATCH] Hookup group-scheduler with task container infra..., Srivatsa Vaddagiri, (Mon Sep 10, 1:28 pm)