Skip to contentSkip to conversation

only one CPU is detected when dom0 boots up

DISCUSSION Yu, Ping Y 2 participants 2 messages May 25, 2006 – May 26, 2006

lore
Share & tools
lore

Yu, Ping Y

author
#0 lore raw

I notice that it is caused by change set 10139, then does it mean that we have to configure CPU hot plug to start multiple CPUs in the future?

Ping

Quoted 52 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Yu, Ping Y
Sent: 2006年5月25日 16:01
To: Ryan Harper
Cc: [email protected]; Zheng, Jeff
Subject: RE: [Xen-devel] only one CPU is detected when dom0 boots up

Harper,

Thanks a lot. It works! But the question remains that why change set 10033 could bring up multiple CPUs without hotplug.
I notice that there is no change in build configuration since 9980.

Ping

Quoted 23 lines

-----Original Message-----
From: Ryan Harper [mailto:[email protected]]
Sent: 2006年5月25日 10:44
To: Yu, Ping Y
Cc: Zheng, Jeff; [email protected]
Subject: Re: [Xen-devel] only one CPU is detected when dom0 boots up

Quoted 5 lines · Yu, Ping Y

Harper,

You are right! The default build configuration linux-defconfig_xen0_x86_64/
linux-defconfig_xen0_x86_32 is UP, and we have manually changed the default
configure to make it SMP. We noticed that "uname -a" shows the dom0's kernel

is

Quoted 3 lines

SMP, but the problem is that only one CPU is found when dom0 boots up.
With the same change, we know at least change set 10033 is OK to boot with multiple CPUs.

Make sure CONFIG_HOTPLUG_CPU is also enabled. After having both CONFIG_SMP and CONFIG_HOTPLUG_CPU, try:

xm vcpu-set 0 2

Quoted 8 lines

replacing 2 with however many cpu's you think dom0 should have.

--
Ryan Harper
Software Engineer; Linux Technology Center IBM Corp., Austin, Tx
(512) 838-9253 T/L: 678-9253
[email protected]

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 2 lines · Ping Y

I notice that it is caused by change set 10139, then does it mean that we have to configure CPU hot plug to start multiple CPUs in the future?

It's needed for domU's. Dom0 can bring up SMP without hotplug infrastructure.

-- Keir