All of lore.kernel.org
 help / color / mirror / Atom feed
From: Balbir Singh <balbir@linux.vnet.ibm.com>
To: "Denis V. Lunev" <den@parallels.com>
Cc: Paul Menage <menage@google.com>,
	Dhaval Giani <dhaval@linux.vnet.ibm.com>,
	fedora-devel-list@redhat.com, opensuse-packaging@opensuse.org,
	Peter Zijlstra <a.p.zijlstra@chello.nl>,
	containers@lists.linux-foundation.org,
	Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>,
	lkml <linux-kernel@vger.kernel.org>,
	Sudhir Kumar <skumar@linux.vnet.ibm.com>
Subject: Re: [Devel] Re: [RFC] libcg: design and plans
Date: Wed, 05 Mar 2008 17:18:18 +0530	[thread overview]
Message-ID: <47CE8882.9020003@linux.vnet.ibm.com> (raw)
In-Reply-To: <1204701467.15157.3.camel@iris.sw.ru>

Denis V. Lunev wrote:
> On Tue, 2008-03-04 at 22:15 -0800, Paul Menage wrote:
>> Hi Dhaval,
>>
>> On Tue, Mar 4, 2008 at 7:23 AM, Dhaval Giani <dhaval@linux.vnet.ibm.com> wrote:
>>> Hi,
>>>
>>>  We have been working on a library for control groups which would provide
>>>  simple APIs for programmers to utilize from userspace and make use of
>>>  control groups.
>>>
>>>  We are still designing the library and the APIs. I've attached the
>>>  design (as of now) to get some feedback from the community whether we
>>>  are heading in the correct direction and what else should be addressed.
>> There are a few things that it would be nice to include in such a
>> library, if you're going to develop one:
>>
>> - the ability to create abstract groups of processes, and resource
>> groups, and have the ability to tie these together arbitrarily. E.g
>> you might create abstract groups A, B and C, and be able to say that A
>> and B share memory with each other but not with C, and all three
>> groups are isolated from each other for CPU. Then libcg would mount
>> different resource types in different cgroup hierarchies (you would
>> probably tell it ahead of time which combinations of sharing you would
>> want, in order that it could minimize the number of mounted
>> hierarchies). When you tell libcg to move a process into abstract
>> group A, it would move it into the appropriate resource group in each
>> hierarchy.
> 
> There is one more important thing. In addition to the processes you must
> unite or provide a way to unite other objects like sockets. This is
> needed to create a group-based socket buffer management.
> 
> The mapping between socket and a process does not exists right now and,
> we can have (virtually), sockets from from different namespaces in one
> process.
> 

Not sure how any of this is related to the library design we are discussing.
Your talking about writing a controller that groups based on sockets, that is a
totally different thing.

-- 
	Warm Regards,
	Balbir Singh
	Linux Technology Center
	IBM, ISTL

  reply	other threads:[~2008-03-05 11:49 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-04 15:23 [RFC] libcg: design and plans Dhaval Giani
2008-03-04 17:15 ` Xpl++
     [not found]   ` <47CD83C7.4020206-d4um4pvOpxY@public.gmane.org>
2008-03-05  4:48     ` Balbir Singh
2008-03-05  5:26     ` Dhaval Giani
2008-03-05  4:48   ` Balbir Singh
2008-03-05  5:26   ` Dhaval Giani
2008-03-05 11:56     ` Xpl++
     [not found]       ` <47CE8A67.3050109-d4um4pvOpxY@public.gmane.org>
2008-03-05 15:53         ` Dhaval Giani
2008-03-05 15:53       ` Dhaval Giani
2008-03-05 19:36         ` Xpl++
     [not found]         ` <20080305155310.GA5349-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2008-03-05 19:36           ` Xpl++
     [not found]     ` <20080305052631.GA26361-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2008-03-05 11:56       ` Xpl++
     [not found] ` <20080304152341.GB5659-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2008-03-04 17:15   ` Xpl++
2008-03-04 18:05   ` Dave Hansen
2008-03-05  6:15   ` Paul Menage
2008-03-05 12:01   ` Paul Menage
     [not found]     ` <6599ad830803050401j2dbbfaa7ycdf0bbfce59539b2-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-03-05 12:27       ` Balbir Singh
2008-03-20 22:04   ` Rik van Riel
2008-03-04 18:05 ` Dave Hansen
2008-03-05  6:15 ` Paul Menage
2008-03-05  7:17   ` [Devel] " Denis V. Lunev
2008-03-05 11:48     ` Balbir Singh [this message]
     [not found]     ` <1204701467.15157.3.camel-aPCOdVxUTlgvJsYlp49lxw@public.gmane.org>
2008-03-05 11:48       ` Balbir Singh
     [not found]   ` <6599ad830803042215n6aedb3eeub0c037e6a4e7bb34-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-03-05  7:17     ` Denis V. Lunev
2008-03-05 10:33     ` Dhaval Giani
2008-03-05 10:33   ` Dhaval Giani
     [not found]     ` <20080305103343.GA22217-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2008-03-05 10:41       ` Paul Menage
2008-03-05 10:41     ` Paul Menage
     [not found]       ` <6599ad830803050241k590e4389ud95b9b3ef920f8b6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-03-05 11:07         ` Dhaval Giani
2008-03-05 11:07       ` Dhaval Giani
     [not found]         ` <20080305110730.GB22217-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2008-03-05 11:51           ` Paul Menage
2008-03-05 11:51         ` Paul Menage
2008-03-05 14:24           ` Balbir Singh
2008-03-05 18:55             ` Paul Menage
     [not found]             ` <47CEAD38.3080501-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2008-03-05 18:55               ` Paul Menage
     [not found]           ` <6599ad830803050351p91bdacahd47059e863f56817-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-03-05 14:24             ` Balbir Singh
2008-03-20 22:04 ` Rik van Riel

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=47CE8882.9020003@linux.vnet.ibm.com \
    --to=balbir@linux.vnet.ibm.com \
    --cc=a.p.zijlstra@chello.nl \
    --cc=containers@lists.linux-foundation.org \
    --cc=den@parallels.com \
    --cc=dhaval@linux.vnet.ibm.com \
    --cc=fedora-devel-list@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=menage@google.com \
    --cc=opensuse-packaging@opensuse.org \
    --cc=skumar@linux.vnet.ibm.com \
    --cc=vatsa@linux.vnet.ibm.com \
    /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.