All of lore.kernel.org
 help / color / mirror / Atom feed
From: Balbir Singh <balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
To: Daniel Lezcano <dlezcano-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
Cc: containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org,
	Pavel Emelianov <xemul-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
Subject: Re: statistics accounting in container
Date: Wed, 05 Nov 2008 18:53:03 +0530	[thread overview]
Message-ID: <49119E37.7030905@linux.vnet.ibm.com> (raw)
In-Reply-To: <4910C088.4050109-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>

Daniel Lezcano wrote:
> Ian jonhson wrote:
>> Dear all,
>>
>> I am now working in the development of user tool for container
>> (built by Daniel Lezcano) and interest in the accounting
>> of container. Now, I would like to know whether the patches stated
>> in:
>> http://lwn.net/Articles/229974/
> 
> I think this one is known as CONFIG_CGROUP_CPUACCT and it is in mainline.
> 
>> http://lwn.net/Articles/243795/
> 
> This one is in mainline too. It is a subsystem of the resource
> controller. Note that it is related to physical memory.
> 
>> is been embedded in mainstream. More further, what is the
>> development status of  CPU,MEM, network bandwidth in container?
> 
> I am not sure what you mean by CPU bandwidth. There is the cgroup
> scheduler which allows to prioritize a group of processes but I don't 
> think there is a resource controller which blocks a set of processes 
> when a cpu consumption limit has been reached.
> 

This is under discussion, since the implementation needs many more things to be
considered.

> For the memory, there is the memory controller which gives an amount of 
> physical memory to a group of processes. When the limit is reached, the 
> processes begin to swap. There is some statistics in the cgroup files 
> about the memory consumption and the limits reached by the group.
> 

Some features like hierarchy support and soft limits are under development. Only
hard limits are available ATM.

-- 
	Balbir

      parent reply	other threads:[~2008-11-05 13:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-03  7:45 statistics accounting in container Ian jonhson
     [not found] ` <8f34198c0811022345t6030bb8cg4ccb48ef49f6b4bb-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-11-04 21:37   ` Daniel Lezcano
     [not found]     ` <4910C088.4050109-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-11-05 13:23       ` Balbir Singh [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49119E37.7030905@linux.vnet.ibm.com \
    --to=balbir-23vcf4htsmix0ybbhkvfkdbpr1lh4cv8@public.gmane.org \
    --cc=containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org \
    --cc=dlezcano-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org \
    --cc=xemul-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.