From: Balbir Singh <balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
To: Paul Menage <menage-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
Cc: Linux Containers
<containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org>,
Linux MM <linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org>,
Pavel Emelyanov <xemul-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
Subject: Re: [PATCH 2/2] Make res_counter hierarchical
Date: Tue, 11 Mar 2008 21:29:38 +0530 [thread overview]
Message-ID: <47D6AC6A.1060404@linux.vnet.ibm.com> (raw)
In-Reply-To: <6599ad830803110856j5333f032n2e26fb51111a839c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Paul Menage wrote:
> On Tue, Mar 11, 2008 at 2:16 AM, Balbir Singh <balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org> wrote:
>> Paul Menage wrote:
>> > On Tue, Mar 11, 2008 at 2:13 AM, KAMEZAWA Hiroyuki
>> > <kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org> wrote:
>> >> or remove all relationship among counters of *different* type of resources.
>> >> user-land-daemon will do enough jobs.
>> >>
>> >
>> > Yes, that would be my preferred choice, if people agree that
>> > hierarchically limiting overall virtual memory isn't useful. (I don't
>> > think I have a use for it myself).
>> >
>>
>> Virtual limits are very useful. I have a patch ready to send out.
>> They limit the amount of paging a cgroup can do (virtual limit - RSS limit).
>
> Ah, from this should I assume that you're talking about virtual
> address space limits, not virtual memory limits?
>
> My comment above was referring to Pavel's proposal to limit total
> virtual memory (RAM + swap) for a cgroup, and then limit swap as a
> subset of that, which basically makes it impossible to limit the RAM
> usage of cgroups properly if you also want to allow swap usage.
>
> Virtual address space limits are somewhat orthogonal to that.
>
Yes, I was referring to Virtual address limits (along the lines of RLIMIT_AS). I
guess it's just confusing terminology. I have patches for Virtual address
limits. I should send them out soon.
--
Warm Regards,
Balbir Singh
Linux Technology Center
IBM, ISTL
WARNING: multiple messages have this Message-ID (diff)
From: Balbir Singh <balbir@linux.vnet.ibm.com>
To: Paul Menage <menage@google.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>,
Pavel Emelyanov <xemul@openvz.org>,
Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>,
Linux Containers <containers@lists.osdl.org>,
Linux MM <linux-mm@kvack.org>
Subject: Re: [PATCH 2/2] Make res_counter hierarchical
Date: Tue, 11 Mar 2008 21:29:38 +0530 [thread overview]
Message-ID: <47D6AC6A.1060404@linux.vnet.ibm.com> (raw)
In-Reply-To: <6599ad830803110856j5333f032n2e26fb51111a839c@mail.gmail.com>
Paul Menage wrote:
> On Tue, Mar 11, 2008 at 2:16 AM, Balbir Singh <balbir@linux.vnet.ibm.com> wrote:
>> Paul Menage wrote:
>> > On Tue, Mar 11, 2008 at 2:13 AM, KAMEZAWA Hiroyuki
>> > <kamezawa.hiroyu@jp.fujitsu.com> wrote:
>> >> or remove all relationship among counters of *different* type of resources.
>> >> user-land-daemon will do enough jobs.
>> >>
>> >
>> > Yes, that would be my preferred choice, if people agree that
>> > hierarchically limiting overall virtual memory isn't useful. (I don't
>> > think I have a use for it myself).
>> >
>>
>> Virtual limits are very useful. I have a patch ready to send out.
>> They limit the amount of paging a cgroup can do (virtual limit - RSS limit).
>
> Ah, from this should I assume that you're talking about virtual
> address space limits, not virtual memory limits?
>
> My comment above was referring to Pavel's proposal to limit total
> virtual memory (RAM + swap) for a cgroup, and then limit swap as a
> subset of that, which basically makes it impossible to limit the RAM
> usage of cgroups properly if you also want to allow swap usage.
>
> Virtual address space limits are somewhat orthogonal to that.
>
Yes, I was referring to Virtual address limits (along the lines of RLIMIT_AS). I
guess it's just confusing terminology. I have patches for Virtual address
limits. I should send them out soon.
--
Warm Regards,
Balbir Singh
Linux Technology Center
IBM, ISTL
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2008-03-11 15:59 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-07 15:32 [PATCH 2/2] Make res_counter hierarchical Pavel Emelyanov
2008-03-07 15:32 ` Pavel Emelyanov
[not found] ` <47D16004.7050204-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
2008-03-08 4:45 ` KAMEZAWA Hiroyuki
2008-03-08 4:45 ` KAMEZAWA Hiroyuki
[not found] ` <20080308134514.434f38f4.kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2008-03-11 8:15 ` Pavel Emelyanov
2008-03-11 8:15 ` Pavel Emelyanov
[not found] ` <47D63FBC.1010805-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
2008-03-11 8:32 ` KAMEZAWA Hiroyuki
2008-03-11 8:32 ` KAMEZAWA Hiroyuki
[not found] ` <20080311173225.937935eb.kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2008-03-11 8:38 ` Pavel Emelyanov
2008-03-11 8:38 ` Pavel Emelyanov
[not found] ` <47D6451A.7090807-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
2008-03-11 9:03 ` Daisuke Nishimura
2008-03-11 9:03 ` Daisuke Nishimura
2008-03-11 9:07 ` KAMEZAWA Hiroyuki
2008-03-11 9:07 ` KAMEZAWA Hiroyuki
2008-03-11 8:57 ` Paul Menage
2008-03-11 8:57 ` Paul Menage
[not found] ` <6599ad830803110157u71fe6c3cse125d0202610413b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-03-11 9:13 ` KAMEZAWA Hiroyuki
2008-03-11 9:13 ` KAMEZAWA Hiroyuki
[not found] ` <20080311181325.c0bf6b90.kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2008-03-11 9:11 ` Paul Menage
2008-03-11 9:11 ` Paul Menage
[not found] ` <6599ad830803110211u1cb48874l30aa75d21dc2b23-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-03-11 9:16 ` Balbir Singh
2008-03-11 9:16 ` Balbir Singh
[not found] ` <47D64E0A.3090907-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2008-03-11 9:39 ` KAMEZAWA Hiroyuki
2008-03-11 9:39 ` KAMEZAWA Hiroyuki
[not found] ` <20080311183940.11695e41.kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2008-03-11 9:53 ` Balbir Singh
2008-03-11 9:53 ` Balbir Singh
[not found] ` <47D65680.4090106-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2008-03-11 10:03 ` KAMEZAWA Hiroyuki
2008-03-11 10:03 ` KAMEZAWA Hiroyuki
2008-03-11 15:56 ` Paul Menage
2008-03-11 15:56 ` Paul Menage
[not found] ` <6599ad830803110856j5333f032n2e26fb51111a839c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-03-11 15:59 ` Balbir Singh [this message]
2008-03-11 15:59 ` Balbir Singh
2008-03-08 19:06 ` Balbir Singh
2008-03-08 19:06 ` Balbir Singh
[not found] ` <47D2E3C2.8050402-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2008-03-11 8:17 ` Pavel Emelyanov
2008-03-11 8:17 ` Pavel Emelyanov
[not found] ` <47D64037.3000705-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
2008-03-11 8:24 ` Balbir Singh
2008-03-11 8:24 ` Balbir Singh
[not found] ` <47D641B8.5000701-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2008-03-11 8:40 ` Pavel Emelyanov
2008-03-11 8:40 ` Pavel Emelyanov
2008-03-12 23:05 ` YAMAMOTO Takashi
2008-03-12 23:05 ` YAMAMOTO Takashi
[not found] ` <20080312230541.CB9021E703D-Pcsii4f/SVk@public.gmane.org>
2008-03-12 23:36 ` YAMAMOTO Takashi
2008-03-12 23:36 ` YAMAMOTO Takashi
2008-03-13 8:56 ` Pavel Emelyanov
2008-03-13 8:56 ` Pavel Emelyanov
2008-04-02 15:26 ` Balbir Singh
[not found] ` <47F3A5BF.1080301-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2008-04-03 12:26 ` Pavel Emelyanov
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=47D6AC6A.1060404@linux.vnet.ibm.com \
--to=balbir-23vcf4htsmix0ybbhkvfkdbpr1lh4cv8@public.gmane.org \
--cc=containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org \
--cc=linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org \
--cc=menage-hpIqsD4AKlfQT0dZR+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.