Compiling Kernel for Computer with 2 CPUs

2006-05-27 Thread Maan Jee

Hi

I have a Companq Professional AP400 with two Pentium III processors. I want
to install FreeBSD on my computer and use it as Web Server.

To make real use of Two Processors, I want to Recompile Kernel but I don't
see any option to compile the kernel in the file as there used to be in old
version such as 5 and 5.4, etc.

Could you advise me that how can I compile my kernel, with which option, so
I could make use of my two processors?

Another thing, is it a good box for running a webserver with mysql-database
or should I buy one?

Thanks

--
BR / mj
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compiling Kernel for Computer with 2 CPUs

2006-05-27 Thread Lukas Razik

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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]