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-bugs

[Xen-bugs] [Bug 659] only one CPU is detected when dom0 boots up

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 659] only one CPU is detected when dom0 boots up
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Tue, 20 Jun 2006 00:04:29 -0700
Delivery-date: Tue, 20 Jun 2006 00:05:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <bug-659-3@xxxxxxxxxxxxxxxxxxxxxxxxxxx/bugzilla/>
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
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

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