Skip to contentSkip to conversation

PV kernel boot parameter maxcpus has noeffect?

DISCUSSION Yuyang Du 2 participants 2 messages Apr 28, 2010

lore
Share & tools
lore

Yuyang Du

author
#0 lore raw
Quoted 2 lines

However, given that the bringing up of secondary CPUs happens from common (even arch-independent) code, the whole issue seems a little suspicious - namely what indication he uses to see that there are more than 4 vCPU-s in use by Dom0.

I was not clear, and using maxcpus boot parameter in dom0 kernel is not what I want.

I wanted to let xen see only one socket and schedule only that socket (4 cores), so giving dom0 kernel boot parameter does not help. So I was wrong about that.

What I am looking for is to tell xen to schedule only a portion of the available physical processors to whatever VMs, is there any method? I checked the BIOS options, and there is no way to disable a processor.

Thanks,
Shawn

#1 lore raw
Quoted 2 lines
Quoted 1 line
Quoted 1 line

"Yuyang Du" <[email protected]> 28.04.10 12:18 >>>

What I am looking for is to tell xen to schedule only a portion of the available physical processors to whatever VMs, is there any method? I checked the BIOS options, and there is no way to disable a processor.

Sure - just pass maxcpus=4 on the Xen command line rather than on the Dom0 one.

Jan