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] Unable to set dom0 vcpu to 1

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Unable to set dom0 vcpu to 1
From: "Carb, Brian A" <Brian.Carb@xxxxxxxxxx>
Date: Thu, 8 Jun 2006 16:11:37 -0400
Cc: "McAfee, Tommie M" <Tommie.McAfee@xxxxxxxxxx>, "Krysan, Susan" <KRYSANS@xxxxxxxxxx>, "Puthiyaparambil, Aravindh" <aravindh.puthiyaparambil@xxxxxxxxxx>, "Subrahmanian, Raj" <raj.subrahmanian@xxxxxxxxxx>, "Vessey, Bruce A" <Bruce.Vessey@xxxxxxxxxx>, "Carb, Brian A" <Brian.Carb@xxxxxxxxxx>
Delivery-date: Thu, 08 Jun 2006 13:12:55 -0700
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
Thread-index: AcaJrbXR1ctLesELTM6KCcNYtTuN9QBcvszAAAN/GkAAANsw8A==
Thread-topic: Unable to set dom0 vcpu to 1

Running xen-unstable changeset 10269 on a Unisys ES7000/one, x86_64, 16 procs, 16 GB RAM under SLES 10 RC1.

At startup, dom0-cpus is set to 0 (the default) in the xend-config.sxp file, and dom0 uses all 16 cpus. 'xm top' shows 16 procs, 'xm list' shows dom0 using 16 cpus, and 'xm vcpu-list' shows 16 cpus assigned to dom0.

When we try to reduce the procs for dom0 to 1 using 'xm vcpu-set 0 1', the number of procs, as shown by /proc/cpuinfo, reduces to 9. 'xm list' shows dom0 using 9 procs, and 'xm vcpu-list' shows that procs 1-7 have been released, while procs 0 and 8 through 15 are still assigned. Nothing is shown on the serial port.

Can anyone shed some light on why the rest of the procs might not be released? Thanks.

The following is output from 'xm list' and 'xm vcpu-list':

m0075:~ # xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0    15912    16 r-----   849.3
m0075:~ # xm vcpu-list
Name                              ID  VCPU  CPU  State  Time(s)  CPU Affinity
Domain-0                           0     0    0   -b-     438.1  any cpu
Domain-0                           0     1    1   -b-       4.0  any cpu
Domain-0                           0     2    2   -b-       5.4  any cpu
Domain-0                           0     3    3   -b-       4.5  any cpu
Domain-0                           0     4    4   -b-       8.4  any cpu
Domain-0                           0     5    5   -b-       6.1  any cpu
Domain-0                           0     6    6   -b-       5.0  any cpu
Domain-0                           0     7    7   -b-       4.5  any cpu
Domain-0                           0     8    8   -b-      30.3  any cpu
Domain-0                           0     9    9   -b-      14.6  any cpu
Domain-0                           0    10   10   r--      29.1  any cpu
Domain-0                           0    11   11   -b-      15.1  any cpu
Domain-0                           0    12   12   -b-      71.6  any cpu
Domain-0                           0    13   13   -b-     177.0  any cpu
Domain-0                           0    14   14   -b-      14.5  any cpu
Domain-0                           0    15   15   -b-      21.9  any cpu

m0075:~ # xm vcpu-set 0 1
m0075:~ # xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0    15912     9 r-----   853.2
m0075:~ # xm vcpu-list
Name                              ID  VCPU  CPU  State  Time(s)  CPU Affinity
Domain-0                           0     0    0   -b-     439.3  any cpu
Domain-0                           0     1    -   --p       4.0  any cpu
Domain-0                           0     2    -   --p       5.6  any cpu
Domain-0                           0     3    -   --p       4.5  any cpu
Domain-0                           0     4    -   --p       8.4  any cpu
Domain-0                           0     5    -   --p       6.1  any cpu
Domain-0                           0     6    -   --p       5.0  any cpu
Domain-0                           0     7    -   --p       4.5  any cpu
Domain-0                           0     8    8   -b-      30.3  any cpu
Domain-0                           0     9    9   -b-      15.0  any cpu
Domain-0                           0    10   10   r--      29.3  any cpu
Domain-0                           0    11   11   -b-      15.2  any cpu
Domain-0                           0    12   12   -b-      72.7  any cpu
Domain-0                           0    13   13   -b-     177.5  any cpu
Domain-0                           0    14   14   -b-      14.5  any cpu
Domain-0                           0    15   15   -b-      22.0  any cpu

brian carb
unisys corporation - malvern, pa
brian.carb@xxxxxxxxxx

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