Date: Tue, 20 Jan 2009 04:14:39 -0800 (PST) From: Barney Cordoba <barney_cordoba@yahoo.com> To: Christoph Mallon <christoph.mallon@gmx.de> Cc: freebsd-current@freebsd.org Subject: Re: Running on only some cores Message-ID: <693347.98930.qm@web63904.mail.re1.yahoo.com> In-Reply-To: <4975B49A.5060205@gmx.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--- On Tue, 1/20/09, Christoph Mallon <christoph.mallon@gmx.de> wrote: > From: Christoph Mallon <christoph.mallon@gmx.de> > Subject: Re: Running on only some cores > To: barney_cordoba@yahoo.com > Cc: freebsd-current@freebsd.org > Date: Tuesday, January 20, 2009, 6:25 AM > Barney Cordoba schrieb: > > Can FreeBSD be configured to only run on N cores? So > for example, if I have an 8 core system, can it be > configured in loader.conf or through a simple hack to only > run on 2 cores? > > > > We're testing various configs, and its not > terribly convenient to keep swapping out CPUs. > > man 4 smp > look for machdep.hlt_cpus I've tried various settings for this but the system still launches all 4 cpus machdep.hlt_cpus="0x7" machdep.hlt_cpus="1" machedp.hlt_cpus="0xC" all result in 4 cpus being lauched. What is the trick? Barney
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?693347.98930.qm>