Nehelem & 64 bit, kern conf and /etc/make.conf

Nerius Landys nlandys at
Sun Jan 31 03:38:02 UTC 2010

I just installed FreeBSD 8.0 (amd64) onto my new Nehalem-based system.

CPU: Intel(R) Xeon(R) CPU           L5506  @ 2.13GHz (2128.00-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x106a5  Stepping = 5
  AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant

I am now in the process of configuring the kernel config file.

A few questions;

1. Is the kernel config file I want to modify
/usr/src/sys/amd64/conf/GENERIC ?  (Copy that file as /root/PORKY, and
set up a symlink from /usr/src/sys/amd64/conf to /root/PORKY.)

2. What should I set this line to:
cpu             HAMMER
Right now it's "HAMMER", I have no idea what Hammer is.  What would be
the best thing to set it to?  I want to be as specific as possible for
my CPU type.

3. The instructions here:
mention a line like this:
machine        i386
(which would probably by "amd64" in my case), but the "machine" line
is missing entirely from GENERIC conf file.  Should I add it?

4. In /etc/make.conf, I'm used to having, for example:
What would be my CPU in this case (Xeon L5506)?  I know this line is
not necessary, but I'd like to set it to the most specific kind of CPU
possible for my case to gain any optimizations, so long as it does not
make my system unstable.

More information about the freebsd-questions mailing list