On Tue, Aug 23, 2011 at 11:21:28AM -0700, Dhaval Giani wrote: > On Tue, Aug 23, 2011 at 10:34 AM, Vivek Goyal <vgo...@redhat.com> wrote: > > On Tue, Aug 23, 2011 at 10:26:12AM -0700, Dhaval Giani wrote: > >> > Ok. But we still have that problem of conflict between systemd and > >> > cgconfig cgroups. > >> > > >> > What if a user wants following hiearchy. > >> > > >> > root > >> > / \ > >> > xyz systemd > >> > > >> > systemd will create its groups in top hierachy and cgconfig does not have > >> > any way to control them. > >> > > >> > >> why should cgconfig care about it? > > > > Because one of the current jobs of cgconfig is allowing creating a abitrary > > complex cgroup hierarchy in a persistent manner. > > > > Are you saying that above is not a valid configuration using cgconfig? > > > > It is, but cgconfig doesn't necessarily have to work with that model. > We just care about the persistent groups which we have. cgconfig is a > lot more flexible than we give it credit for ;-). One of the bigger > uses I see for it is that of namespaces, applications can define how > they want their cgroup to be setup and assign tasks as they care.
How would applications assign tasks to cgroups? That means application is aware of the cgroup. If application is aware of cgroup, then he does not have to use cgconfig for that and applications can keep all the configuraitons with them and create groups dynamically, like systemd and libvirt do. This leads to my other question in another mail that in general who uses cgconfig and how it is useful without having any capability to enforce what is launched in what group. Thanks Vivek ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel