xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* PV kernel boot parameter maxcpus has no effect?
@ 2010-04-28  3:07 Yuyang Du
  2010-04-28  6:32 ` Pasi Kärkkäinen
  0 siblings, 1 reply; 3+ messages in thread
From: Yuyang Du @ 2010-04-28  3:07 UTC (permalink / raw)
  To: xen-devel

Hi all,

I have a two-socket (each socket processor has 4 cores) machine, but only want to use one socket processor. I give pv dom0 boot parameter maxcpus=4, but in fact there is no effect, other cpus 4-7 are still used. Is this a bug or something?

Shawn

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: PV kernel boot parameter maxcpus has no effect?
@ 2010-04-28  7:22 Jan Beulich
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Beulich @ 2010-04-28  7:22 UTC (permalink / raw)
  To: duyuyang, pasik; +Cc: xen-devel

>>> Pasi Kärkkäinen 04/28/10 8:33 AM >>>
>On Wed, Apr 28, 2010 at 11:07:36AM +0800, Yuyang Du wrote:
>> Hi all,
>> 
>> I have a two-socket (each socket processor has 4 cores) machine, but only want to use one socket processor. I give pv
dom0 boot parameter maxcpus=4, but in fact there is no effect, other cpus 4-7 are still used. Is this a bug or
something?
>> 
>
>You need to give _Xen_ (xen.gz) option dom0_max_vcpus=X

Yes and no - the other scenario also has its use case (i.e. have Dom0 initially just bring up a subset of the vCPU-s it
has been given).

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.

Jan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-28  7:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-28  3:07 PV kernel boot parameter maxcpus has no effect? Yuyang Du
2010-04-28  6:32 ` Pasi Kärkkäinen
  -- strict thread matches above, loose matches on Subject: below --
2010-04-28  7:22 Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).