|
|
|
|
|
|
|
|
|
|
xen-bugs
[Xen-bugs] [Bug 659] only one CPU is detected when dom0 boots up
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=659
qun.li@xxxxxxxxx changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |qun.li@xxxxxxxxx
------- Comment #5 from qun.li@xxxxxxxxx 2006-06-20 00:04 -------
Tested against chgset 10449, IA-32e on Paxville(8G mem, 16LPs)
% grep -c processor /proc/cpuinfo
1
"xm vcpu-list" see 16 LPs, and "xm vcpu-set 0 16" really works.
Machine did not restart.
In "/etc/xen/xend-config.sxp", modify "(dom0-cpus 0)" to be "(dom0-cpus 16)"
and restart xend,
% grep -c processor /proc/cpuinfo
16
Change "(dom0-cpus 16)" back to "(dom0-cpus 0)" and restart xend,
% grep -c processor /proc/cpuinfo
16
Restart machine, we can still get 16. It seems that when setting "dom0-cpus" to
0, xend will use the non-zero number set last time, rather than the number of
all CPUs available.
To confirm this, I tried on another Paxville which could see 16 VCPUs since
Cset
10175. I changed "(dom0-cpus 0)" to "(dom0-cpus 4)", and got 4 VCPUs as
expected
after restart xend. Then I change 4 back to 0, restart xend or restart machine
always give me 4 CPUs in "/proc/cpuinfo".
--
Configure bugmail:
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs
|
|
|
|
|