Compiling Kernel for Computer with 2 CPUs
Lukas Razik
lukas at razik.de
Sat May 27 11:14:51 PDT 2006
Hello!
You need this option/device in your KERNCONF file:
options SMP
device apic
For better performance comment out SCHED_4BSD:
#options SCHED_4BSD
And take this:
options SCHED_ULE
You could also try these optimizations:
makeoptions COPTFLAGS="-O2 -pipe -funroll-loops -ffast-math"
Read this:
http://www.de.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
http://www.silverwraith.com/papers/freebsd-kernel.php
> Another thing, is it a good box for running a webserver with mysql-database
> or should I buy one?
Normally it is but it depends on the load...
And more important than the number of CPUs could be the RAM...
Regards,
Lukas
More information about the freebsd-questions
mailing list