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

Re: [Xen-users] about xm vcpu-set


  • To: Nick Couchman <Nick.Couchman@xxxxxxxxx>
  • From: Yassine AYACHI <yassinegtr4@xxxxxxxxx>
  • Date: Thu, 28 May 2009 16:36:08 +0000
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 29 May 2009 08:35:02 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=saBfUrNX8rNnunbXZ/5BohqrJ094OiSoSwYv1uN8SKCUdEhYu4uwghJDZe/oL5lon2 5BhU73o8pdeWJ/MAFsWIi+JGoaVZ9RhVZRUAO1t8xjWg3gqJqbhVuww/ThJeonrjtQLU qdS80f35jmu9lE34+XcjAtu/u7HKzTBTo8uK8=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Thanks for replay,

You're right, I assigned 4 vcpus and my VM load average decreased remarkably.

Only one trick to report the VM must be shutdown then start and not restart.

Thanks again,



2009/5/28 Nick Couchman <Nick.Couchman@xxxxxxxxx>
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.



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

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

 


Rackspace

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