From owner-freebsd-questions@FreeBSD.ORG Sat Dec 22 00:45:58 2007 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 ACD2716A418 for ; Sat, 22 Dec 2007 00:45:58 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id 8052713C442 for ; Sat, 22 Dec 2007 00:45:58 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay12.apple.com (relay12.apple.com [17.128.113.53]) by mail-out3.apple.com (Postfix) with ESMTP id 7595A1BEBACB; Fri, 21 Dec 2007 16:45:58 -0800 (PST) Received: from relay12.apple.com (unknown [127.0.0.1]) by relay12.apple.com (Symantec Mail Security) with ESMTP id 6006628094; Fri, 21 Dec 2007 16:45:58 -0800 (PST) X-AuditID: 11807135-a48e3bb000002b6d-03-476c5e46726f Received: from cswiger1.apple.com (cswiger1.apple.com [17.214.13.96]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay12.apple.com (Apple SCV relay) with ESMTP id 4CC7F2808F; Fri, 21 Dec 2007 16:45:58 -0800 (PST) Message-Id: From: Chuck Swiger To: Jeffrey Goldberg In-Reply-To: <7E89BDCD-AF34-48D6-A4BD-D324A8BC0C5C@goldmark.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Fri, 21 Dec 2007 16:45:57 -0800 References: <7E89BDCD-AF34-48D6-A4BD-D324A8BC0C5C@goldmark.org> X-Mailer: Apple Mail (2.915) X-Brightmail-Tracker: AAAAAA== Cc: User questions Subject: Re: which cputype for Althon 64 X2 Dual Core 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: Sat, 22 Dec 2007 00:45:58 -0000 On Dec 21, 2007, at 4:33 PM, Jeffrey Goldberg wrote: > I'm building a new server with 7.0 BETA4 (it will track stable) with > the following CPU > > CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ (2600.02-MHz K8- > class CPU) [ ... ] > > What optimizations should I make in make.conf? A reasonable starting point is no special optimizations, and simply disable debug options like WITNESS, INVARIANTS, etc. If you plan to go beyond that, you'll need to start by doing some benchmarks before and after setting something like the CPU architecture that the compiler should tune for, and see whether you actually get any significant differences. > The example make.conf says > > AMD64 architecture: opteron, athlon64, nocona, prescott, core2 > > But I don't know whether althon64 or core2 would be the safest and > most appropriate. > > Also GENERIC for amd64 lists > > cpu HAMMER > > is that the best (only) choice? Yes, as far as AMD64 code goes. You could always switch down to running in 32-bit mode, though. -- -Chuck