smp kernel

Erik Norgaard norgaard at
Wed Jun 21 08:42:07 UTC 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. 

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).

More information about the freebsd-questions mailing list