Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030394AbWILX6Q (ORCPT ); Tue, 12 Sep 2006 19:58:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030396AbWILX6Q (ORCPT ); Tue, 12 Sep 2006 19:58:16 -0400 Received: from e32.co.us.ibm.com ([32.97.110.150]:27346 "EHLO e32.co.us.ibm.com") by vger.kernel.org with ESMTP id S1030394AbWILX6N (ORCPT ); Tue, 12 Sep 2006 19:58:13 -0400 Subject: Re: [ckrm-tech] [PATCH] BC: resource beancounters (v4) (added user memory) From: Chandra Seetharaman Reply-To: sekharan@us.ibm.com To: Pavel Emelianov Cc: balbir@in.ibm.com, Srivatsa , Rik van Riel , CKRM-Tech , Dave Hansen , Linux Kernel Mailing List , Andi Kleen , Christoph Hellwig , Andrey Savochkin , devel@openvz.org, Matt Helsley , Hugh Dickins , Alexey Dobriyan , Kirill Korotaev , Oleg Nesterov , Alan Cox In-Reply-To: <45069072.4010007@openvz.org> References: <44FD918A.7050501@sw.ru> <44FDAB81.5050608@in.ibm.com> <44FEC7E4.7030708@sw.ru> <44FF1EE4.3060005@in.ibm.com> <1157580371.31893.36.camel@linuxchandra> <45011CAC.2040502@openvz.org> <1157730221.26324.52.camel@localhost.localdomain> <4501B5F0.9050802@in.ibm.com> <450508BB.7020609@openvz.org> <4505161E.1040401@in.ibm.com> <45051AC7.2000607@openvz.org> <1158000590.6029.33.camel@linuxchandra> <45069072.4010007@openvz.org> Content-Type: text/plain Organization: IBM Date: Tue, 12 Sep 2006 16:58:08 -0700 Message-Id: <1158105488.4800.23.camel@linuxchandra> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-7) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2141 Lines: 50 On Tue, 2006-09-12 at 14:48 +0400, Pavel Emelianov wrote: > > I do not think it is that simple since > > - there is typically more than one class I want to set guarantee to > > - I will not able to use both limit and guarantee > > - Implementation will not be work-conserving. > > > > Also, How would you configure the following in your model ? > > > > 5 classes: Class A(10, 40), Class B(20, 100), Class C (30, 100), Class D > > (5, 100), Class E(15, 50); (class_name(guarantee, limit)) > > > What's the total memory amount on the node? Without it it's hard to make > any > guarantee. I wrote the example treating them as %, so 100 would be the total amount of memory. > > "Limit only" approach works for DoS prevention. But for providing QoS > > you would need guarantee. > > > You may not provide guarantee on physycal resource for a particular group > without limiting its usage by other groups. That's my major idea. I agree with that, but the other way around (i.e provide guarantee for everyone by imposing limits on everyone) is what I am saying is not possible. > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > ckrm-tech mailing list > https://lists.sourceforge.net/lists/listinfo/ckrm-tech -- ---------------------------------------------------------------------- Chandra Seetharaman | Be careful what you choose.... - sekharan@us.ibm.com | .......you may get it. ---------------------------------------------------------------------- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/