NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-xen/42441: DOM0 and DOMU work with only one cpu
>Number: 42441
>Category: port-xen
>Synopsis: DOM0 and DOMU work with only one cpu
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-xen-maintainer
>State: open
>Class: support
>Submitter-Id: net
>Arrival-Date: Fri Dec 11 09:50:00 +0000 2009
>Originator: petea gasrstea
>Release: netbsd 5-0-1 stable updated
>Organization:
fincombank
>Environment:
DOM-0:
NetBSD NetBSD 5.0.1 NetBSD 5.0.1 (XEN3_DOM0) #0: Thu Dec 3 17:56:47 EET 2009
peter@NetBSD:/usr/src/sys/arch/i386/compile/XEN3_DOM0 i386
DOMU
NetBSD 5.0.1 NetBSD 5.0.1 (XEN3_DOMU) #0: Tue Dec 8 21:21:30 EET 2009
peter@NetBSD:/usr/objdir/sys/arch/i386/compile/XEN3_DOMU i386
>Description:
hello!
i updated the system and install the:
xentools3-3.1.4nb4
xenkernel3-3.1.4nb3
i have the system with 4 cpu and configured DOM0 to use only one cpu
(dom0-cpus 1) - in xend config file, and DOMU with the 1,2,3 cpus, it doesnt
work, then i tried to do it manualy with the following commands:
DOM0:
xm vcpu-set 0 1
xm vcpu-pin 0 0 0
DOMU:
xm vcpu-set 2 3
xm vcpu-pin 2 0 1
xm vcpu-pin 2 1 2
xm vcpu-pin 2 2 3
xm vcpu-list
Name ID VCPU CPU State Time(s) CPU Affinity
Domain-0 0 0 0 r-- 741.2 0
Domain-0 0 1 - --p 0.0 0
Domain-0 0 2 - --p 0.0 0
Domain-0 0 3 - --p 0.0 0
NetBSD-STABLE-DOMU 2 0 1 -b- 12.4 1
NetBSD-STABLE-DOMU 2 1 - --p 0.0 2
NetBSD-STABLE-DOMU 2 2 - --p 0.0 3
So i see that dom0 has 4 vcpu but i gave to it only one vcpu, The domu has been
created with the 3 vcpu and useses cpu 1,2,3 but second and third vcpu have
pause state that means domu doesnt use it
xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 256 1 r----- 744.0
NetBSD-STABLE-DOMU 2 512 1 -b---- 14.2
My conclusion is:
Im doing something wrong
or the hyperviosion is not working correctly.
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index