WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: Scheduling groups, credit scheduler support

To: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: Scheduling groups, credit scheduler support
From: "Mike D. Day" <ncmike@xxxxxxxxxx>
Date: Wed, 19 Dec 2007 15:18:56 -0500
Delivery-date: Wed, 19 Dec 2007 12:20:32 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20071214164935.GL4296@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM Linux Technology Center
References: <20071129201959.GC12559@xxxxxxxxxxxxxxxxxxxxxx> <C37ADE8C.195B0%Keir.Fraser@xxxxxxxxxxxx> <20071204135020.GB10634@xxxxxxxxxxxxxxxxxxxxxx> <20071214164935.GL4296@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: ncmike@xxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.15+20070412 (2007-04-11)
On 14/12/07 16:49 +0000, Samuel Thibault wrote:
> Hi,
> 
> Mike D. Day, le Tue 04 Dec 2007 08:50:20 -0500, a écrit :
> > Credits are "stolen" only when the stub domain runs, so if the hvm
> > domain is doing no I/O then none of its credits go to the stub domain.
> 
> Ok, but take for instance the case where vcpu1 of the HVM does a lot of
> I/O while vcpu2 of the HVM prefers to burn CPU. Here we would probably
> like to see the stubdomain take as much CPU time for performing the I/O
> as the vcpu2 has for burning. I'm not sure that your allocation permits
> this.

One simple way to handle this is to increase the weight of the hvm
domain, which will allow both hvm and stub more credits. Of course,
that does nothing to favor the stub domain.

The right way to fix this is to allow the hvm domain to defer its
credits to the stub domain. I'll work up a patch. 

Mike


-- 
Mike D. Day
IBM LTC
Cell: 919 412-3900
Sametime: ncmike@xxxxxxxxxx AIM: ncmikeday  Yahoo: ultra.runner
PGP key: http://www.ncultra.org/ncmike/pubkey.asc

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>