Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 2006 19:39:56 -0500
From:      Jonathan Horne <jhorne@dfwlp.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: smp kernel
Message-ID:  <200606201939.56661.jhorne@dfwlp.com>
In-Reply-To: <Pine.SOL.4.53.0606202000200.14129@brak>
References:  <20060620233734.GH11625@tigger.digitaltorque.ca> <Pine.SOL.4.53.0606202000200.14129@brak>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 20 June 2006 19:01, Andy Reitz wrote:
> On Tue, 20 Jun 2006, Michael P. Soulier wrote:
> > Hello,
> >
> > Is SMP enabled in the GENERIC kernel? I have a hyperthreading box, and on
> > Linux it shows up with two cpus. When I do a top on the box in FreeBSD I
> > still see only one CPU. Also, sysctl -a | grep cpu only shows a
> > dev.cpu.0.
>
> Hi Mike,
>
> If you have the kernel source code installed, you can read
> /usr/src/sys/<arch>/conf/GENERIC, to see what options are in the GENERIC
> kernel. I'm pretty sure that most FreeBSD releases don't have the SMP
> option in the generic kernel, but I haven't used them all, so I can't be
> sure. :)
>
> HTH,
> 	-Andy.
>
> _______________________________________________

all you need to do is edit your kernel configuration file and add this:

options	SMP

and btw, top in freebsd does not seem to have the '1' toggle that linux has, 
so after you compile your new kernel, your just going to have to have faith 
in sysctl -a|grep cpu  :)

cheers,
jonathan



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