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

Re: [Xen-users] XEN ignores vcpu setting



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


 


Rackspace

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