Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jun 2006 10:41:59 +0200
From:      Erik Norgaard <norgaard@locolomo.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: smp kernel
Message-ID:  <44990657.6040609@locolomo.org>
In-Reply-To: <20060620233734.GH11625@tigger.digitaltorque.ca>
References:  <20060620233734.GH11625@tigger.digitaltorque.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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. 

The GENERIC does not support SMP.

If you look into the config files you will see two kernel configuration 
files: SMP and GENERIC, SMP simply changes the IDENT, sets option SMP 
and includes GENERIC.

Simply build and install your kernel,

# make KERNCONF=SMP buildkernel
# make KERNCONF=SMP installkernel

to get an SMP enabled GENERIC kernel.

Cheers, Erik (I assume you're on v. 6.x).



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