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

Re: [Xen-devel] [PATCH] Accurate vcpu weighting for credit scheduler

To: "Atsushi SAKAI" <sakaia@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Accurate vcpu weighting for credit scheduler
From: "George Dunlap" <George.Dunlap@xxxxxxxxxxxxx>
Date: Tue, 9 Dec 2008 10:25:18 +0000
Cc: Emmanuel Ackaouy <ackaouy@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 09 Dec 2008 02:25:42 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=chznjwdM0UAgfV0yRUqGzh+QU7U/lt93p47f9WCXyxg=; b=CrqHx4aMwoTcFQr+Mjd32U+yd4NwsubFymvgBrTAUoTxSlddDjvG8q0m8Rmnz3aFkN bE66BaB8XFMorNlhJ7aKSIeZNkh5UJG35Su41hQdwThTuTyQJ6r7+3ZG1ltQEosF83I3 OQWgQ0l724aNxv6mY6aey6PoYNFucpd81Yk9c=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=VioPIi/BQ+XwJPp8r+kkx2pLh7FVqvJFPW/camwgVgzuJyBxLH6WqNbZIJxnfrTSrs XOjs9f0exoB3Yasm8ghzQA8TPBoBmRbwjrnzPH+rsqHerrcYae8DxRNFUOjGsS9SKex9 4mKFe7Azb3H9aBx7lgZ00s35t7w6N0YTf/VnQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20081209073341.B92931806F@xxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <de76405a0812080301t4bf6d339k82616708a65df9c7@xxxxxxxxxxxxxx> <20081209073341.B92931806F@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Dec 9, 2008 at 7:33 AM, Atsushi SAKAI <sakaia@xxxxxxxxxxxxxx> wrote:
> You mean it should get rid of "credit reset"?

Yes, that's exactly what I was thinking.  Removing the check for vcpus
on the runqueue may actually be functionally equivalent to removing
the check altogether.

I guess part of the thought might be that we don't want to have a
single cpu running for a really long time without other cpus getting a
chance to run at all.  But in order for "weight" to have any meaning,
sometimes a cpu will have to get a long time to run.

What workload are you running -- is it just while(1); loops?

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