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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] XEN ignores vcpu setting
From: disconnect <disconnect@xxxxxxx>
Date: Mon, 28 Jul 2008 05:29:09 -0700 (PDT)
Delivery-date: Mon, 28 Jul 2008 05:29:43 -0700
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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?
-- 
View this message in context: 
http://www.nabble.com/XEN-ignores-vcpu-setting-tp18688972p18688972.html
Sent from the Xen - User mailing list archive at Nabble.com.


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

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