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-users

[Xen-users] Q: CPU usage in Dom0

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Q: CPU usage in Dom0
From: "Ulrich Windl" <ulrich.windl@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 25 Oct 2006 15:56:04 +0200
Delivery-date: Wed, 25 Oct 2006 06:57:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Universitaet Regensburg, Klinikum
Priority: normal
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

there's no vm config file form Dom0, right? So how does XEN assign virtual CPUs 
to 
real CPUs? I see this on a two Dual-Core Opteron machine:
# xm vcpu-list
Name                              ID  VCPU  CPU  State  Time(s)  CPU Affinity
Domain-0                           0     0    1   r--    2927.8  any cpu
Domain-0                           0     1    2   -b-    2551.1  any cpu
Domain-0                           0     2    0   -b-    2477.0  any cpu
Domain-0                           0     3    0   -b-    2231.4  any cpu

So VCPU 2 and 3 use the same CPU (0), even though there's another CPU (3). Why?

On another machine (same model) things look better:

# xm vcpu-list
Name                              ID  VCPU  CPU  State  Time(s)  CPU Affinity
Domain-0                           0     0    0   -b-     142.9  any cpu
Domain-0                           0     1    2   -b-      90.0  any cpu
Domain-0                           0     2    1   -b-      81.6  any cpu
Domain-0                           0     3    3   r--     134.6  any cpu

Regards,
Ulrich


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

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