CPUTYPE and friends, from 'make.conf' benchmark

Freddie Cash fjwcash at gmail.com
Mon Dec 5 17:27:30 UTC 2011


2011/12/5 <rank1seeker at 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.

-- 
Freddie Cash
fjwcash at gmail.com


More information about the freebsd-hackers mailing list