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

[Xen-users] vcpus and vcpu_avail

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] vcpus and vcpu_avail
From: "Pawel J." <sq6elt@xxxxx>
Date: Fri, 05 Mar 2010 17:46:23 +0100
Delivery-date: Fri, 05 Mar 2010 08:47:30 -0800
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>
Organization: Nowa Poczta Wirtualnej Polski S.A. http://www.wp.pl/
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
i want to start domain with 2 cpus avail, but also have the opportunity
to change on-the-fly the number of cpus to, for example, 4.

in my domain.cfg i have:

vcpus       = 2
vcpu_avail =  7

The domain starts with 2 cpus, as expected, but rising the number
does not work. It silently fails. Lowering the number works as expected.

$ xm vcpu-set domain 3

$ xm list
Name                                        ID   Mem VCPUs      State   
Time(s)
Domain-0                                     0  7016     8     r-----   
1445.7
domain                                      53   256     2     -b----    
 45.8

Did I miss something? Any suggestions?

Dom0 system is Debian/lenny based.
xm info:
host                   : dom0
release                : 2.6.26-2-xen-amd64
version                : #1 SMP Wed Jan 13 00:12:41 UTC 2010
machine                : x86_64
nr_cpus                : 8
nr_nodes               : 1
cores_per_socket       : 4
threads_per_core       : 1
cpu_mhz                : 1995
total_memory           : 8185
free_memory            : 515
node_to_cpu            : node0:0-7
xen_major              : 3
xen_minor              : 2
xen_extra              : -1
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
cc_compiler            : gcc version 4.3.1 (Debian 4.3.1-2)
cc_compile_by          : waldi
cc_compile_domain      : debian.org
cc_compile_date        : Sat Jun 28 09:32:18 UTC 2008
xend_config_format     : 4

Regadrs,
   Pawel



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

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