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.
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.