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] CPU usage for credit2

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] CPU usage for credit2
From: Yuehai Xu <yuehaixu@xxxxxxxxx>
Date: Thu, 23 Sep 2010 09:48:10 -0400
Cc: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, xen-tools@xxxxxxxxxxxxxxxxxxx, yhxu@xxxxxxxxx
Delivery-date: Thu, 23 Sep 2010 06:49:01 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:cc:content-type; bh=TovrebsFpf2q814hgJYiK4YZ5zEC9gjWKVvFT7QsUF8=; b=wQN0DQJ05Z1cpb4i1RcI80cjsQfVOzA2yCCW3KUUioUyOS44noKvaz8UEICrcu1Nl8 xR6T5IC+TIJj/Le8NDamZNydi2kt9CBweNJZ2ZkZQpxQd4O/AThgYpAed/4Di0PADcnr xKVDNd4z+wbTg3/ho1uG/wRPA8efrRwg+t0L0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=lG35clBQUu3NLKiRMlMIMgRK1I/Lc754QNqpZYeOTwm1y4CL5AT4kcA2LLAgkyT8Bc JoOvaAYLohwshxaHXQkZIu3shvgPsZpXRxdX+58lE5RfSTd9y6MlOYsfPYznZp1/fVHO 988xlJtVON+03/cIOXaSKUO+avnySNO4Sn0xE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

Suppose 2 VMs both of which just has a single VCPU share a single
PCPU, if I run CPU intensive program in both of the VMs, the
percentage of CPU usage from xentop is almost 100% for both of the
VMs. I got confusing because since 2 VCPU shares a single PCPU, the
percentage for each one should be around 50%, which is the result if I
change the scheduler from credit2 to credit.

Does it because credit2 change something or is this a bug for xentop or credit2?

Thanks,
Yuehai

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

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