[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6599ad830807100951w53c54f0cl50bddb4286bc696e@mail.gmail.com>
Date: Thu, 10 Jul 2008 09:51:52 -0700
From: "Paul Menage" <menage@...gle.com>
To: "Vivek Goyal" <vgoyal@...hat.com>
Cc: "KAMEZAWA Hiroyuki" <kamezawa.hiroyu@...fujitsu.com>,
"linux kernel mailing list" <linux-kernel@...r.kernel.org>,
"Libcg Devel Mailing List" <libcg-devel@...ts.sourceforge.net>,
"Balbir Singh" <balbir@...ux.vnet.ibm.com>,
"Dhaval Giani" <dhaval@...ux.vnet.ibm.com>,
"Peter Zijlstra" <pzijlstr@...hat.com>,
"Kazunaga Ikeno" <k-ikeno@...jp.nec.com>,
"Morton Andrew Morton" <akpm@...ux-foundation.org>,
"Thomas Graf" <tgraf@...hat.com>, "Rik Van Riel" <riel@...hat.com>
Subject: Re: [RFC] How to handle the rules engine for cgroups
On Thu, Jul 10, 2008 at 7:30 AM, Vivek Goyal <vgoyal@...hat.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists