Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754668AbZFEM7o (ORCPT ); Fri, 5 Jun 2009 08:59:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752062AbZFEM7i (ORCPT ); Fri, 5 Jun 2009 08:59:38 -0400 Received: from mx2.redhat.com ([66.187.237.31]:56975 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751368AbZFEM7i (ORCPT ); Fri, 5 Jun 2009 08:59:38 -0400 Message-ID: <4A291652.4090308@redhat.com> Date: Fri, 05 Jun 2009 15:57:54 +0300 From: Avi Kivity User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: bharata@linux.vnet.ibm.com CC: balbir@linux.vnet.ibm.com, linux-kernel@vger.kernel.org, Dhaval Giani , Vaidyanathan Srinivasan , Gautham R Shenoy , Srivatsa Vaddagiri , Ingo Molnar , Peter Zijlstra , Pavel Emelyanov , kvm@vger.kernel.org, Linux Containers , Herbert Poetzl Subject: Re: [RFC] CPU hard limits References: <4A27BBCA.5020606@redhat.com> <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> <4A28B539.3050001@redhat.com> <20090605063243.GC3872@in.ibm.com> In-Reply-To: <20090605063243.GC3872@in.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 934 Lines: 25 Bharata B Rao wrote: >> So the groups with guarantees get a priority boost. That's not a good >> side effect. >> > > That happens only in the presence of idle cycles when other groups [with or > without guarantees] have nothing useful to do. So how would that matter > since there is nothing else to run anyway ? > If there are three groups, each running a cpu hog, and they have (say) guarantees of 10%, 10%, and 0%, then they should each get 33% of the cpu, not biased towards the groups with the guarantee. If I want to change the weights, I'll alter their priority. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain. -- 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/