Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jan 2010 19:38:01 -0800
From:      Nerius Landys <nlandys@gmail.com>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Nehelem & 64 bit, kern conf and /etc/make.conf
Message-ID:  <560f92641001301938q7fe279b2nd99851ec83f11694@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x9ce3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT>
  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:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
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:
CPUTYPE?=core2
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?560f92641001301938q7fe279b2nd99851ec83f11694>