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] about xm vcpu-set

To: "yassine ayachi" <ayachi.yassine@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] about xm vcpu-set
From: "Nick Couchman" <Nick.Couchman@xxxxxxxxx>
Date: Thu, 28 May 2009 07:05:36 -0600
Cc:
Delivery-date: Thu, 28 May 2009 06:06:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
xm list should show the change in the number of vCPUs assigned to a domU - it does on my Xen installations, anyway.  You may need to set the "maxvcpus" parameter in the configuration file for your domU and delete and re-add the domU to Xen for this to work properly.
 
As long as you have the physical CPUs and/or cores to support 4 vCPUs, there should be no problem with this.  I have four 8-core machines and have several domUs that run 4 vCPUs.
 
-Nick

>>> On 2009/05/28 at 05:52, yassine ayachi <ayachi.yassine@xxxxxxxxx> wrote:
Hi all,

To increase a VM performance I launched the command xm vcpu-set domU 2 to add an other processor to my VM.

Where can I check if it works knowing that the command xm list dont show a changed cpu nember ?

[root@localhost ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 4035 4 r----- 29851.8
domU 3 2047 1 r----- 96114.6

[root@localhost ~]# xm vcpu-set 3 2

[root@localhost ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 4035 4 r----- 29852.2
domU 3 2047 1 r----- 96137.4

An other question, is it healthy that I set more than 2 processors (4 for example) ?

Thanks in advance.

--
Yassine AYACHI
Ingénieur réseaux et systèmes


<br><hr>
This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>