Messages in this thread |  | | | Date | Thu, 10 Jul 2008 09:51:52 -0700 | | From | "Paul Menage" <> | | Subject | Re: [RFC] How to handle the rules engine for cgroups |
| |
On Thu, Jul 10, 2008 at 7:30 AM, Vivek Goyal <vgoyal@redhat.com> wrote: > > Well, that would mean first wrappers need to be created around all the > applications which needs to be controlled. Then wrapper needs to > synchronize with the classification daemon
I was suggesting that you wouldn't need a classification daemon in this case. The logic of which cgroup to enter would be in the script/command invoked by the wrapper.
>> - grid jobs, which are moved into the appropriate cgroup (actually, >> currently cpuset) by the grid daemon when it starts the job > > So grid daemon probably first forks off, determines the right cpuset > move the job there and then do exec?
Pretty much, yes. Most jobs have their own cpuset that's created for them dynamically when the job starts on the machine.
Paul
|  |