From: "Jan Beulich" Subject: Re: PV kernel boot parameter maxcpus has no effect? Date: Wed, 28 Apr 2010 08:22:28 +0100 Message-ID: <4BD7F046020000780005CFEE@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: duyuyang@gmail.com, pasik@iki.fi Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >>> Pasi K=E4rkk=E4inen 04/28/10 8:33 AM >>> >On Wed, Apr 28, 2010 at 11:07:36AM +0800, Yuyang Du wrote: >> Hi all, >>=20 >> I have a two-socket (each socket processor has 4 cores) machine, but o= nly want to use one socket processor. I give pv dom0 boot parameter maxcpus=3D4, but in fact there is no effect, other cp= us 4-7 are still used. Is this a bug or something? >>=20 > >You need to give _Xen_ (xen.gz) option dom0_max_vcpus=3DX Yes and no - the other scenario also has its use case (i.e. have Dom0 ini= tially 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 th= ere are more than 4 vCPU-s in use by Dom0. Jan