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] XEN ignores vcpu setting

To: disconnect <disconnect@xxxxxxx>
Subject: Re: [Xen-users] XEN ignores vcpu setting
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Mon, 28 Jul 2008 17:00:15 +0300
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 28 Jul 2008 07:00:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <18688972.post@xxxxxxxxxxxxxxx>
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>
References: <18688972.post@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Mon, Jul 28, 2008 at 05:29:09AM -0700, disconnect wrote:
> 
> CPU: Intel Core2Quad Q6600
> MB: Intel DQ35MP
> MEM: NCP 4x2GB PC2-6400
> HDD: 4xWD2500AAKS
> 
> I'm trying to run Fedora9 in paravirt. DomU and allocate 2 VCPU's and 4GB of
> mem. This is my /etc/xen/Fedora9 config:
> name = "Fedora9"
> uuid = "80601cf5-109d-1737-e3f3-74b5f3cfabcd"
> maxmem = 4096
> memory = 4096
> vcpus = 2
> bootloader = "/usr/bin/pygrub"
> on_poweroff = "destroy"
> on_reboot = "restart"
> on_crash = "restart"
> vfb = [ "type=vnc,vncdisplay=0" ]
> disk = [ "phy:/dev/md1,xvda,w" ]
> vif = [ "mac=00:16:3e:79:bb:59,bridge=xenbr0" ]
> 
> 
> The problem: Fedora9 DomU uses one VCPU ignoring vcpus setting in
> /etc/xen/Fedora9.
> I tried disabling SELinux in both Dom0 and DomU but it did not help.
> 
> The 'xm list' command prints me that DomU have only one VCPU (while i
> specified two in /etc/xen/Fedora9):
> Name                                      ID Mem(MiB) VCPUs State   Time(s)
> Domain-0                                   0     3885     4 r-----     24.2
> Fedora9                                    1     4096     1 -b----      8.4
> 
> but 'vcpu-list' command prints me this:
> Name                              ID VCPUs   CPU State   Time(s) CPU
> Affinity
> Domain-0                           0     0     0   -b-      12.8 0
> Domain-0                           0     1     1   -b-       3.8 1
> Domain-0                           0     2     2   -b-       4.9 2
> Domain-0                           0     3     3   r--       2.4 3
> Fedora9                            1     0     3   -b-       8.2 any cpu
> Fedora9                            1     1     -   --p       0.0 any cpu
> 
> One of DomU's VCPU's in paused state :E
> I tried pause/unpause DomU, but it did not help.
> Setting vcpu-pin's didnt help too (i tried rebooting DomU after changes)
> xm vcpu-pin Fedora9 0 2
> xm vcpu-pin Fedora9 1 3
> 
> 
> any ideas?

Are you running 64bit domU ?

If I remember correctly x86-64 kernel-xen in F9 only supports single CPU..
ie it's missing SMP support.

32b kernel-xen in F9 supports SMP.

-- Pasi

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

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