From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bharata B Rao Subject: Re: [RFC] CPU hard limits Date: Fri, 5 Jun 2009 13:46:51 +0530 Message-ID: <20090605081651.GD3872@in.ibm.com> References: <20090605030309.GA3872@in.ibm.com> <4A28921C.6010802@redhat.com> <661de9470906042137u603e2997n80c270bf7f6191ad@mail.gmail.com> <4A28A2AB.3060108@redhat.com> <20090605044946.GA11755@balbir.in.ibm.com> <20090605051050.GB11755@balbir.in.ibm.com> <4A28AB67.7040800@redhat.com> <20090605052755.GE11755@balbir.in.ibm.com> <20090605053159.GB3872@in.ibm.com> <4A28B4CE.4010004@redhat.com> Reply-To: bharata-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Peter Zijlstra , Pavel Emelyanov , Dhaval Giani , kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Gautham R Shenoy , Linux Containers , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Ingo Molnar , Balbir Singh To: Avi Kivity Return-path: Content-Disposition: inline In-Reply-To: <4A28B4CE.4010004-H+wXaHxf7aLQT0dZR+AlfA@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 List-Id: kvm.vger.kernel.org On Fri, Jun 05, 2009 at 09:01:50AM +0300, Avi Kivity wrote: > Bharata B Rao wrote: >> >> But could there be client models where you are required to strictly >> adhere to the limit within the bandwidth and not provide more (by advancing >> the bandwidth period) in the presence of idle cycles ? >> > > That's the limit part. I'd like to be able to specify limits and > guarantees on the same host and for the same groups; I don't think that > works when you advance the bandwidth period. > > I think we need to treat guarantees as first-class goals, not something > derived from limits (in fact I think guarantees are more useful as they > can be used to provide SLAs). I agree that guarantees are important, but I am not sure about 1. specifying both limits and guarantees for groups and 2. not deriving guarantees from limits. Guarantees are met by some form of throttling or limiting and hence I think limiting should drive the guarantees. Regards, Bharata.