From mboxrd@z Thu Jan 1 00:00:00 1970 From: Balbir Singh Subject: Re: [PATCH 2/2] Make res_counter hierarchical Date: Tue, 11 Mar 2008 15:23:04 +0530 Message-ID: <47D65680.4090106@linux.vnet.ibm.com> References: <47D16004.7050204@openvz.org> <20080308134514.434f38f4.kamezawa.hiroyu@jp.fujitsu.com> <47D63FBC.1010805@openvz.org> <6599ad830803110157u71fe6c3cse125d0202610413b@mail.gmail.com> <20080311181325.c0bf6b90.kamezawa.hiroyu@jp.fujitsu.com> <6599ad830803110211u1cb48874l30aa75d21dc2b23@mail.gmail.com> <47D64E0A.3090907@linux.vnet.ibm.com> <20080311183940.11695e41.kamezawa.hiroyu@jp.fujitsu.com> Reply-To: balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080311183940.11695e41.kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@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: KAMEZAWA Hiroyuki Cc: Linux Containers , Linux MM , Paul Menage , Pavel Emelyanov List-Id: containers.vger.kernel.org KAMEZAWA Hiroyuki wrote: > On Tue, 11 Mar 2008 14:46:58 +0530 > Balbir Singh wrote: > >> Paul Menage wrote: >>> On Tue, Mar 11, 2008 at 2:13 AM, KAMEZAWA Hiroyuki >>> 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). >> Some times end users want to set virtual limit == RSS limit, so that the cgroup >> OOMs on cross the RSS limit. >> > I have no objection to adding virtual limit itself. > (It can be considered as extended ulimit.) > > But if you'd like to add relationship between virtual-limit/memory-usage-limit, > please take care to make it clear that relationship is reaseonable. > No, I don't want to add a relationship, just plain virtual memory limits and let the system administrators determine what works for them. -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL