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] Odd behaviour of Xen guests on multiprocessor systems ?

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Odd behaviour of Xen guests on multiprocessor systems ?
From: Arjun <cse.syslab@xxxxxxxxx>
Date: Tue, 25 Apr 2006 20:56:30 -0400
Delivery-date: Tue, 25 Apr 2006 17:56:51 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=nJFZle6MeJyz2bcto5vQgYbItK7dfqow04m3lZVqr4NuuXcUglfE+GWfYz85tkDRO1AsXTd06ZCTtGrK5LQ2yEHOSetKU23N1ygOvX+wLbe/sglzp9t2D9CDEblzBBISQzXN/xuNfzCByDDQgI8E3fNpYrvNJlU5cs3wlwcSPC8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I noticed an odd thing recenlty when running some experiments with several xen guests on a multiprocessor host:-

I was running some tests with infinite while loops inside the guests and used xentop on the host to see what was happening.
Firstly, xentop doesn't give per-physical-cpu information for multiprocessors, it gives VCPU information (have a separate posted query on this).
During the tests I noticed that in some cases I, when I started the infinite loops inside the guests, 2 guests appeared to be on the same
CPU - I inferred this because xentop would show 49.9% VCPU usage for each of the 2 guests. In other cases, the 2 guests appeared to be on different
CPUs because xentop would show 99.9% VCPU usage for each. This state would remain the same for however long I ran the experiment.

Can anyone explain why this is the case ? Once a guest VM is started on a multiprocessor system, does it always stick to one particular physical
CPU ? If so why and doesn't this have some serious implications for provisioning for mulitple colocated VMs ?

Thanks and regards
Arjun



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>