From: "George Dunlap" Subject: Re: XEN Proposal Date: Thu, 11 Dec 2008 19:38:53 +0000 Message-ID: References: <573BF77E-A544-448E-BEBB-1DE3503B77CF@tycho.ncsc.mil> <4940B1D2.4060706@fujitsu-siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Juergen Gross Cc: Chris , "Tian, Kevin" , xen-devel@lists.xensource.com, Keir Fraser List-Id: xen-devel@lists.xenproject.org On Thu, Dec 11, 2008 at 3:13 PM, George Dunlap wrote: > It seems like what you really want is to cap the number of credits the > VMs can get, and then take them offline when their credits go negative > (instead of competing for resources in a "best-effort" fashion). :-) Actually, it turns out this functionality is already present. xm sched-credit -d [domid] -c 30 will "cap" the domain to 30% of one cpu, even if there are no other cpus running. You should be able to utilize that directly, no development needed. -George