View Single Post
  #5   (View Single Post)  
Old 25th June 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

Quote:
Originally Posted by FWS View Post
(I don't know whether it is of any importance, but I just noticed that I forgot to add the "machine i386" line to P200MMX. It wasn't in GENERIC either though.)
This line is not needed, and the build system really should have complained about it being included twice. The FreeBSD 7.0 kernel build system automatically includes the contents of /usr/src/sys/<arch>/conf/DEFAULTS into the kernel config file. "machine i386" is in the DEFAULTS file. Anything in that file, does not need to (and should not) be in the kernel config file.

Also, with any CPU newer than an i386, you should remove the cpu i386 line. For any CPU newer than an i486, you should remove the cpu i386 and cpu i486 lines.

But, for all other x86 CPUs (Pentium, PPro, P2, P3, P4, Athlons, etc), you should keep the cpu i586 line (and add cpu i686 if appropriate). There are a bunch of memory operations that are included by the i586 option that speed things up on everything since the Pentium.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote