Date: Mon, 5 Dec 2011 17:31:48 +0000 From: Chris Rees <crees@freebsd.org> To: Freddie Cash <fjwcash@gmail.com> Cc: rank1seeker@gmail.com, hackers@freebsd.org Subject: Re: CPUTYPE and friends, from 'make.conf' benchmark Message-ID: <CADLo83_=FCiZuk8uof-HZTW82unjJKa-ebQr_t5oBsQ4Eq=ojg@mail.gmail.com> In-Reply-To: <CAOjFWZ4Dct3F2t1K21nr13C=kF7e_SV0XMz2fxyH=hC8f1_Wjg@mail.gmail.com> References: <20111205.171654.020.1@DOMY-PC> <CAOjFWZ4Dct3F2t1K21nr13C=kF7e_SV0XMz2fxyH=hC8f1_Wjg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 5 Dec 2011 17:27, "Freddie Cash" <fjwcash@gmail.com> wrote: > > 2011/12/5 <rank1seeker@gmail.com> > > > I've took machine and installed binary FreeBSD(amd64 8.2-p4 GENERIC) on it. > > Then I've installed 'benchmarks/unixbench' port. > > > > So everything is a default generic binary install ('make.conf' empty - no > > CPU optimization flags) > > > > After running: '# time unixbench', final score was: > > 394.2 > > Completed in 22.8 min > > > > > > Then I've recompiled everything, from src, world and kernel, with > > 'make.conf': > > -- > > CPUTYPE?=core2 > > CFLAGS+=-march=native > > NO_CPU_CFLAGS=yes > > COPTFLAGS+=-march=native > > NO_CPU_COPTFLAGS=yes > > > > And, how does it do if you remove everything except the CPUTYPE line? Most > of the rest if unnecessary. > Also, you should set these in src.conf. Sticking them in make.conf is going to annoy people when you ask why your ports are breaking ;) Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo83_=FCiZuk8uof-HZTW82unjJKa-ebQr_t5oBsQ4Eq=ojg>