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: "Ryan Harper" <ryanh@xxxxxxxxxx>
Subject: RE: [Xen-devel] Unable to set dom0 vcpu to 1
From: "Carb, Brian A" <Brian.Carb@xxxxxxxxxx>
Date: Thu, 15 Jun 2006 11:11:57 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, "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>
Delivery-date: Thu, 15 Jun 2006 08:12:33 -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: AcaON+EVeKmsJzqwSe2limXJDH5fZwCU6rww
Thread-topic: [Xen-devel] Unable to set dom0 vcpu to 1
Thanks Ryan,

We're still seeing this problem as of changeset 10333 (which I believe
includes that patch). 

It seems as if the "vcpus" value as shown by "xm list --long 0" command
is getting set to 8, even when we boot dom0 with 16procs. In fact, vcpus
is still set to 8 even if we boot hyperthreaded to a 32x. Since the
release of procs with vcpu-set seems to key off this value, we can never
release more than 7.

--------------------------
m0075:~ # xm list --long 0
(domain
    (domid 0)
    (uuid 00000000-0000-0000-0000-000000000000)
    (vcpus 8)
    (cpu_weight 1.0)
    (memory 2728)
    (maxmem 15016)
    (features )
    (name Domain-0)
    (on_poweroff destroy)
    (on_reboot restart)
    (on_crash restart)
    (state r-----)
    (shutdown_reason poweroff)
    (cpu_time 1254.97341823)
    (online_vcpus 16)
) 


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

-----Original Message-----
From: Ryan Harper [mailto:ryanh@xxxxxxxxxx] 
Sent: Monday, June 12, 2006 11:50 AM
To: Carb, Brian A
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx; McAfee, Tommie M; Krysan, Susan;
Puthiyaparambil, Aravindh; Subrahmanian, Raj; Vessey, Bruce A
Subject: Re: [Xen-devel] Unable to set dom0 vcpu to 1

* Carb, Brian A <Brian.Carb@xxxxxxxxxx> [2006-06-12 10:44]:
> Thanks Ryan. We've experienced the wait as well (we contributed the 
> timeout loop in changeset 10043 for xm-test 
> 01_enforce_dom0_cpus_basic_pos). For some reason, though, vcpu-set is 
> not releasing procs above #7, even when we wait a long time.

There was a recent patch dealing with hotplug cpu and rcu sent to the
list by Harry Butterworth.  I think it has been committed yet but you
will probably want to try again with that patch.

--
Ryan Harper
Software Engineer; Linux Technology Center IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
ryanh@xxxxxxxxxx

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