Date: Fri, 3 Nov 2006 23:52:23 +0300 From: "Andrew Pantyukhin" <infofarmer@FreeBSD.org> To: Eric <heli@mikestammer.com>, "FreeBSD Questions" <questions@freebsd.org> Subject: Re: Athlon64 3200+ make.conf settings Message-ID: <cb5206420611031252i3ef8ecadnbd704ecb3eba4f82@mail.gmail.com> In-Reply-To: <454BAA8F.5050507@mikestammer.com> References: <454BA917.1040201@mikestammer.com> <cb5206420611031243g5d8aa3d2gd0250475b949c38d@mail.gmail.com> <454BAA8F.5050507@mikestammer.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/3/06, Eric <heli@mikestammer.com> wrote: > Andrew Pantyukhin wrote: > > On 11/3/06, Eric <heli@mikestammer.com> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cb5206420611031252i3ef8ecadnbd704ecb3eba4f82>