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

RE: [Xen-devel] Unable to set dom0 vcpu to 1

To: "Subrahmanian, Raj" <raj.subrahmanian@xxxxxxxxxx>, "Carb, Brian A" <Brian.Carb@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Unable to set dom0 vcpu to 1
From: "Apparao, Padmashree K" <padmashree.k.apparao@xxxxxxxxx>
Date: Thu, 8 Jun 2006 14:20:11 -0700
Cc: "McAfee, Tommie M" <Tommie.McAfee@xxxxxxxxxx>, "Krysan, Susan" <KRYSANS@xxxxxxxxxx>, "Puthiyaparambil, Aravindh" <aravindh.puthiyaparambil@xxxxxxxxxx>, "Vessey, Bruce A" <Bruce.Vessey@xxxxxxxxxx>
Delivery-date: Thu, 08 Jun 2006 14:25:10 -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/GkAAANsw8AADLQEAAAAlsGAAAGcPAA==
Thread-topic: [Xen-devel] Unable to set dom0 vcpu to 1

I think it should too, but I ended up doing this to achieve what I needed.  ( only 1 vcpu for dom0)

 

-          Padma

-           

 


From: Subrahmanian, Raj [mailto:raj.subrahmanian@xxxxxxxxxx]
Sent: Thursday, June 08, 2006 2:16 PM
To: Apparao, Padmashree K; Carb, Brian A; xen-devel@xxxxxxxxxxxxxxxxxxx
Cc: McAfee, Tommie M; Krysan, Susan; Puthiyaparambil, Aravindh; Vessey, Bruce A
Subject: RE: [Xen-devel] Unable to set dom0 vcpu to 1

 

Padma,

Shouldn't the xm vcpu-set work regardless of the dom0-cpus value?

Raj

 


From: Apparao, Padmashree K [mailto:padmashree.k.apparao@xxxxxxxxx]
Sent: Thursday, June 08, 2006 5:03 PM
To: Carb, Brian A; xen-devel@xxxxxxxxxxxxxxxxxxx
Cc: McAfee, Tommie M; Krysan, Susan; Puthiyaparambil, Aravindh; Subrahmanian, Raj; Vessey, Bruce A
Subject: RE: [Xen-devel] Unable to set dom0 vcpu to 1

Set (dom-cpus=1) in  etc/xen/xend-config.sxp.

 

-          Padma

-         

 

 


From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Carb, Brian A
Sent: Thursday, June 08, 2006 1:12 PM
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Cc: McAfee, Tommie M; Krysan,Susan; Puthiyaparambil,Aravindh; Subrahmanian,Raj; Vessey,Bruce A; Carb, Brian A
Subject: [Xen-devel] 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