xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: "Jan Beulich" <jbeulich@novell.com>
To: duyuyang@gmail.com, pasik@iki.fi
Cc: xen-devel@lists.xensource.com
Subject: Re: PV kernel boot parameter maxcpus has no effect?
Date: Wed, 28 Apr 2010 08:22:28 +0100	[thread overview]
Message-ID: <4BD7F046020000780005CFEE@vpn.id2.novell.com> (raw)

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

             reply	other threads:[~2010-04-28  7:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-28  7:22 Jan Beulich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-04-28  3:07 PV kernel boot parameter maxcpus has no effect? Yuyang Du
2010-04-28  6:32 ` Pasi Kärkkäinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BD7F046020000780005CFEE@vpn.id2.novell.com \
    --to=jbeulich@novell.com \
    --cc=duyuyang@gmail.com \
    --cc=pasik@iki.fi \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).