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

RE: [Xen-users] VCPU number configuration

To: "Songtao Liu" <songtao.liu@xxxxxxxx>
Subject: RE: [Xen-users] VCPU number configuration
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Mon, 2 Jul 2007 18:15:02 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 02 Jul 2007 09:14:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <iss.bb8178fe.7aa1.46892376.840a4.e@xxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ace8w5Gv8YtuzJOPT02pIaSWA2eQKwAAF/8A
Thread-topic: [Xen-users] VCPU number configuration
 

> -----Original Message-----
> From: Songtao Liu [mailto:songtao.liu@xxxxxxxx] 
> Sent: 02 July 2007 17:10
> To: Petersson, Mats
> Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-users] VCPU number configuration
> 
> 
> Original Message:
> 
>  
> <br />
> <br />> -----Original Message-----
> <br />> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> <br />> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> <br />> Songtao Liu
> <br />> Sent: 02 July 2007 15:51
> <br />> To: xen-users@xxxxxxxxxxxxxxxxxxx
> <br />> Subject: [Xen-users] VCPU number configuration
> <br />> 
> <br />> Hi
> <br />> 
> <br />> as when I installed the XenU I initialized the VCPU=1, is it 
> <br />> possible to change VCPU=2
> <br />
> <br />No, not without restarting the guest from scratch. 
> Whilst it's possible
> <br />to REDUCE the processor count, you can't increase it 
> after it's been
> <br />started [actually, the technicality of it is that 
> there's a MAX_CPU
> <br />count in the domain config parameters, which is hidden 
> from the config
> <br />files at present, but that is the number of VCPU's 
> "reserved" when the
> <br />domain is set up, and with a normal config file, you 
> get MAX_VCPUS=VCPUS
> <br />at the domain creation]. 
> <br />
> <br />--
> <br />Mats
> <br />
> <br />
> <br />
> So if I want to get a guest with 2 VCPUs, I must install a 
> new one? no other ways?

No, you need to change the configuration file for the original guest to
say VCPUS=2 instead of VCPUS=1. Then you could, if you wanted to, use
the "xm vcpu-set" to reduce it back down to 1, but you can't set it
higher than 2. 

--
Mats
> 
> Songtao
> 



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

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