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: Too much VCPUS makes domU high CPU utiliazation

To: MaoXiaoyun <tinnycloud@xxxxxxxxxxx>
Subject: [Xen-devel] Re: Too much VCPUS makes domU high CPU utiliazation
From: George Dunlap <george.dunlap@xxxxxxxxxx>
Date: Thu, 19 May 2011 17:21:12 +0100
Cc: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, xen devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 19 May 2011 09:18:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <blu157-w3926296290D038E14CB39ADA8F0@xxxxxxx>
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: <BAY0-MC1-F215criL7a002cc34e@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <blu157-w3926296290D038E14CB39ADA8F0@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
This happens only during boot, is that right?  It sounds like maybe
Linux is trying to use some kind of barrier synchronization and failing
because it's having a hard time getting all 16 vcpus to run at once.  If
that's the case, I think it's pretty much a Linux kernel issue; not sure
what the hypervisor can do about it.

 -George

On Wed, 2011-05-18 at 17:19 +0100, MaoXiaoyun wrote:
> HI: 
>  
>      I have a host with 16 physical CPUS. Dom0 has 4 VCPUS.
>  
>     When only start a domU-A(windows 2003 x86 64rc 2) with 16 VCPUS,
> it starts quickly and eveything is fine.
>  
>      But if I first start domU-B, which has 2VCPUS, domU-C 4VCPUS, and
> domU-D 8 VCPUS,  later I start DomUA again,
> (so we have total 34 VCPUS, plus dom0), it will takes very long time
> for domU-A to start ,and during the start, its CPU
> utilizaiton is around 800% from xm top, after its start, it response
> very slow in VNC, ans CPU utiliazation keeps high.
> And right after I destoy other 3 domUs, domUA CPU drops to normal.
>  
>    It might relate to CPU schedule, btw, my xen is 4.0.1.
>  
>   Any comments? 
>  
>      



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