From owner-freebsd-questions@FreeBSD.ORG Sun Jan 31 03:38:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5184A106566C for ; Sun, 31 Jan 2010 03:38:02 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-qy0-f204.google.com (mail-qy0-f204.google.com [209.85.221.204]) by mx1.freebsd.org (Postfix) with ESMTP id 0FB6F8FC1A for ; Sun, 31 Jan 2010 03:38:01 +0000 (UTC) Received: by qyk42 with SMTP id 42so1558070qyk.33 for ; Sat, 30 Jan 2010 19:38:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=xR+PEQFOgKjcHxn4ABWe+7RabQtwMwkMRKC0U9LuCpQ=; b=cqTyuBgHnK2qHQuO+q5erYvn3iMBxzyrFHHzAdClJ3DV3W84UPEV16hN9+/TXAu4dn 7NYkoGhrZgrSgOGs0kf/vgD+Cz0g2ZdgaUcEssdXseuap784fZx0pMeMBRiHzV66cfoD lg2B/Ji1rt/UiTAZdVRdHLBiLSnjZG4KlY0g0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ZGjiNJEjtnVVB8wx2U/ElYxXFAQuOsaMw145SWnl2rHkFX4UUwKZ61PHmv/+nkt2UB wViAFX/F4KDD43I14ldG7QWfM2np686F2RZ82FQH/aIeTpIAxzYo39LFwkEZ75zdl8SC qGGbKEeX70ceiiyKRxKokvTKZXVz4KLTAre+Y= MIME-Version: 1.0 Received: by 10.229.59.203 with SMTP id m11mr941847qch.94.1264909081209; Sat, 30 Jan 2010 19:38:01 -0800 (PST) Date: Sat, 30 Jan 2010 19:38:01 -0800 Message-ID: <560f92641001301938q7fe279b2nd99851ec83f11694@mail.gmail.com> From: Nerius Landys To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Subject: Nehelem & 64 bit, kern conf and /etc/make.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jan 2010 03:38:02 -0000 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 Features2=0x9ce3bd AMD Features=0x28100800 AMD Features2=0x1 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.