Re: [RFC] libcg: design and plans

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Xpl++ <xpl@...>
Cc: Dhaval Giani <dhaval@...>, <fedora-devel-list@...>, <opensuse-packaging@...>, lkml <linux-kernel@...>, <containers@...>, Balbir Singh <balbir@...>, <menage@...>, Peter Zijlstra <a.p.zijlstra@...>, Srivatsa Vaddagiri <vatsa@...>, Sudhir Kumar <skumar@...>
Date: Wednesday, March 5, 2008 - 12:48 am

Xpl++ wrote:

The configuration file is important, since it allows us two levels of control.
At one level the system administrator and at the other level applications. Each
application can maintain it's own hierarchy across reboots.

We thought of a daemon, but there were several overheads and disadvantages. For
one, we needed an IPC mechanism to communicate every client request to the
daemon, the client being the application. The daemon also becomes the single
point of failure for all applications. Moreover, we want to provide the ability
to programmatically update the configuration. A daemon, if desired can be built
on top of the library we propose.



I agree that cgroups is flexible, but why do you think abstracting common tasks
amongst applications will be hard to manage and work with? We want to provide
API that will allow us to fill in parameters and say -- go create this group or
delete this group.


We don't assume that there cannot be two different resource managers per node.
We don't enforce any policy, we just allow for easy creation and manipulation of
control groups hierarchially.

And should there be

Could you please elaborate, why is it probably easier?

-- 
	Warm Regards,
	Balbir Singh
	Linux Technology Center
	IBM, ISTL
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] libcg: design and plans, Dhaval Giani, (Tue Mar 4, 11:23 am)
Re: [RFC] libcg: design and plans, Rik van Riel, (Thu Mar 20, 6:04 pm)
Re: [RFC] libcg: design and plans, Paul Menage, (Wed Mar 5, 2:15 am)
Re: [RFC] libcg: design and plans, Dhaval Giani, (Wed Mar 5, 6:33 am)
Re: [RFC] libcg: design and plans, Paul Menage, (Wed Mar 5, 6:41 am)
Re: [RFC] libcg: design and plans, Dhaval Giani, (Wed Mar 5, 7:07 am)
Re: [RFC] libcg: design and plans, Paul Menage, (Wed Mar 5, 7:51 am)
Re: [RFC] libcg: design and plans, Balbir Singh, (Wed Mar 5, 10:24 am)
Re: [RFC] libcg: design and plans, Paul Menage, (Wed Mar 5, 2:55 pm)
Re: [Devel] Re: [RFC] libcg: design and plans, Denis V. Lunev, (Wed Mar 5, 3:17 am)
Re: [Devel] Re: [RFC] libcg: design and plans, Balbir Singh, (Wed Mar 5, 7:48 am)
Re: [RFC] libcg: design and plans, Dave Hansen, (Tue Mar 4, 2:05 pm)
Re: [RFC] libcg: design and plans, Xpl++, (Tue Mar 4, 1:15 pm)
Re: [RFC] libcg: design and plans, Dhaval Giani, (Wed Mar 5, 1:26 am)
Re: [RFC] libcg: design and plans, Xpl++, (Wed Mar 5, 7:56 am)
Re: [RFC] libcg: design and plans, Dhaval Giani, (Wed Mar 5, 11:53 am)
Re: [RFC] libcg: design and plans, Xpl++, (Wed Mar 5, 3:36 pm)
Re: [RFC] libcg: design and plans, Balbir Singh, (Wed Mar 5, 12:48 am)