Date: Sun, 22 Mar 2015 09:37:27 -0700 From: "Sven Brehmer" <sven.brehmer@polycoresoftware.com> To: "'Ian Lepore'" <ian@freebsd.org> Cc: freebsd-arm@freebsd.org Subject: RE: Booting < 4 SMP cores on Wandboard-Quad? Message-ID: <009701d064be$7c030180$74090480$@polycoresoftware.com> In-Reply-To: <1427039443.49126.2.camel@freebsd.org> References: <000001d0642f$56f59540$04e0bfc0$@polycoresoftware.com> <1427039443.49126.2.camel@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Ian, Great, thank you! Regards, Sven -----Original Message----- From: Ian Lepore [mailto:ian@freebsd.org] Sent: Sunday, March 22, 2015 08:51 To: Sven Brehmer Cc: freebsd-arm@freebsd.org Subject: Re: Booting < 4 SMP cores on Wandboard-Quad? On Sat, 2015-03-21 at 16:32 -0700, Sven Brehmer wrote: > Hello, > > > > We are working with FreeBSD on the Wandboard and we are trying to boot > less than 4 cores in SMP mode. We have tried a number of way's with > settings in sysctl.conf, loader.conf and customizing the kernel build > with "options MAXCPU=2", but without success. > > > > Any advice would be appreciated. Set the hw.ncpu tunable to the number you want. If you have forth enabled add to loader.conf: hw.ncpu=2 otherwise (no forth) add to loader.rc: set hw.ncpu=2 I'm not sure there's good error checking, so don't set it to more cores than you actually have. :) -- Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?009701d064be$7c030180$74090480$>