From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dhaval Giani Subject: Re: [Libcg-devel] Control groups and Resource Management notes (part I) Date: Wed, 6 Aug 2008 23:08:49 +0530 Message-ID: <20080806173849.GE14984@linux.vnet.ibm.com> References: <489315B2.2080506@linux.vnet.ibm.com> Reply-To: Dhaval Giani Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <489315B2.2080506-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Balbir Singh Cc: Linux Containers , menage-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, Balaji Rao List-Id: containers.vger.kernel.org On Fri, Aug 01, 2008 at 07:24:58PM +0530, Balbir Singh wrote: > 4. Binary statistics - The question about binary statistics was raised. Since > control groups don't enforce any particular kind of API, is there a way to > generically handle control files and their parameters in the library? Paul > suggested his binary API approach, where every control group and it's API is > documented in an api file. Eric suggested using an ASCII interface (since that > is very generic) and using one file per API. Balbir mentioned that this will > lead to too many dentries and issues related to having extensive number of dentries. So where are we heading with respect to this issue? Was any consensus reached? I plan to look at enabling statistics in libcgroup soon. Also I believe Balaji is also looking at cgroupstats. Thanks, -- regards, Dhaval