Date: Mon, 5 Dec 2011 09:19:14 -0800 From: Garrett Cooper <yanegomi@gmail.com> To: rank1seeker@gmail.com Cc: hackers@freebsd.org Subject: Re: CPUTYPE and friends, from 'make.conf' benchmark Message-ID: <CAGH67wTjGyhWAMYsCtzp8X7nN=yswOGntO=46AmT7yxymHSQ%2Bg@mail.gmail.com> In-Reply-To: <20111205.171654.020.1@DOMY-PC> References: <20111205.171654.020.1@DOMY-PC>
next in thread | previous in thread | raw e-mail | index | archive | help
2011/12/5 <rank1seeker@gmail.com>: > I've took machine and installed binary FreeBSD(amd64 8.2-p4 GENERIC) on i= t. > 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: > =A0 =A0394.2 > Completed in 22.8 min > > > Then I've recompiled everything, from src, world and kernel, with 'make.c= onf': > -- > CPUTYPE?=3Dcore2 > CFLAGS+=3D-march=3Dnative > NO_CPU_CFLAGS=3Dyes > COPTFLAGS+=3D-march=3Dnative > NO_CPU_COPTFLAGS=3Dyes > -- > > After reboot, I've run: '# time unixbench', final score was: > =A0 =A0313.5 > Completed in 26.7 min > > I'm getting worse result, with optimized FreeBSD's binaries?!? > How come? Seems like -march=3Dnative is redundant. -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wTjGyhWAMYsCtzp8X7nN=yswOGntO=46AmT7yxymHSQ%2Bg>