Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2009 07:23:27 -0600
From:      Astrodog <astrodog@gmail.com>
To:        barney_cordoba@yahoo.com
Cc:        Christoph Mallon <christoph.mallon@gmx.de>, freebsd-current@freebsd.org
Subject:   Re: Running on only some cores
Message-ID:  <2fd864e0901200523q5559f301qa0475983d6e6deb1@mail.gmail.com>
In-Reply-To: <10041.11443.qm@web63907.mail.re1.yahoo.com>
References:  <4975B49A.5060205@gmx.de> <10041.11443.qm@web63907.mail.re1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
You can set MAXCPU in the kernel config, if nothing else...

On Tue, Jan 20, 2009 at 6:27 AM, Barney Cordoba
<barney_cordoba@yahoo.com> wrote:
>
>
>
> --- 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
>
> Ok, I see this does something when run after boot. So there is no way to get the OS to simply not launch the CPU? We have something that reads the number of cpus, which doesn't seem to change.
>
> Barney
>
>
>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>



-- 
"A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects."
--- Robert A. Heinlein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2fd864e0901200523q5559f301qa0475983d6e6deb1>