[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Actually, in our machine, no matter what I write in
/etc/xen/xend-config.sxp, dom0 alaways uses the 32 cpus.

On 6/8/06, Apparao, Padmashree K <padmashree.k.apparao@xxxxxxxxx> wrote:




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




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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.