Date: Sat, 27 May 2006 20:16:12 +0200 From: Lukas Razik <lukas@razik.de> To: Maan Jee <maanjee@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Compiling Kernel for Computer with 2 CPUs Message-ID: <4478976C.8000207@razik.de> In-Reply-To: <2cd0a0da0605271024s3d554af4w8ff7db780a15c568@mail.gmail.com> References: <2cd0a0da0605271024s3d554af4w8ff7db780a15c568@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4478976C.8000207>