From owner-freebsd-questions@FreeBSD.ORG Fri Nov 3 20:52:25 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C481B16A403 for ; Fri, 3 Nov 2006 20:52:25 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2583B43D4C for ; Fri, 3 Nov 2006 20:52:24 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so467857uge for ; Fri, 03 Nov 2006 12:52:23 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=WDro/Ayzgsq7DvSLrdZslPxoQ8bG4YWNFhUDzg3h7JxJaT+gIefWt/G53mnUBATjJd5a/pzqHjEX6a95126olWVuiuVXbqNYgMdapyU+fRQbbqgTlXqss2mK7YGI0JNqKhGTchPANisJWP6ZvR+TKQIPfBuXxZL4FOw7fW6x6AU= Received: by 10.78.51.9 with SMTP id y9mr3411447huy.1162587143379; Fri, 03 Nov 2006 12:52:23 -0800 (PST) Received: by 10.78.167.16 with HTTP; Fri, 3 Nov 2006 12:52:23 -0800 (PST) Message-ID: Date: Fri, 3 Nov 2006 23:52:23 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: Eric , "FreeBSD Questions" In-Reply-To: <454BAA8F.5050507@mikestammer.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <454BA917.1040201@mikestammer.com> <454BAA8F.5050507@mikestammer.com> X-Google-Sender-Auth: 7c2d1777c5f4be2a Cc: Subject: Re: Athlon64 3200+ make.conf settings 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: Fri, 03 Nov 2006 20:52:25 -0000 On 11/3/06, Eric wrote: > Andrew Pantyukhin wrote: > > On 11/3/06, Eric wrote: > >> in my /etc/make.conf i have: > >> > >> CPUTYPE=athlon64 > >> CFLAGS= -O2 -pipe -funroll-loops -ffast-math > >> COPTFLAGS= -O2 -pipe -funroll-loops -ffast-math > > > > You only really need CPUTYPE, and set it with "?=" > > > >> in my kernel config, I have this: > >> > >> machine i386 > >> makeoptions COPTFLAGS="-O2 -pipe -ffast-math" > >> cpu I686_CPU > > > > I'd leave makeoptions out > > > > My $.02 > > > ok so now i just have this in make.conf > > CPUTYPE?=athlon64 > > that look right? Yes, very nice :-) Beware that in some rare cases you might experience software failures because of CPUTYPE being set. It's not very clear whether it's worth having a marginal boost in performance along with some instability. I usually gamble on performance, but YMMV.