Messages in this thread | | | Date | Thu, 10 Jul 2008 21:12:37 +0530 | From | Dhaval Giani <> | Subject | Re: [RFC] How to handle the rules engine for cgroups |
| |
> > So it boils down to. > > 1) Can we bear the delay in task classification (Especially, exec). If yes, > then all the classification job can take place in userspace.
The answer is not really.
> > 2) If no, > a) Then either we need to implement rule based engine to let > kernel do classfication. > > b) or we need to do various things in user space as you suggested. > - Pur wrapper around applications. > - Job launcher (ex. Grid daemon) is modified to determine > the right cgroup and place application there before > actually launching the job. >
I like this approach. The whole classification should really be done by userspace. Let the wrapper move into the correct group and then start the task. The kernel really is not the right place for the classification.
And you can have a default group for tasks who really don't care about where they are placed.
-- regards, Dhaval
| |