Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Dec 2011 18:16:54 +0100
From:      rank1seeker@gmail.com
To:        hackers@freebsd.org
Subject:   CPUTYPE and friends, from 'make.conf' benchmark
Message-ID:  <20111205.171654.020.1@DOMY-PC>

next in thread | raw e-mail | index | archive | help

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

--



After reboot, I've run: '# time unixbench', final score was:

    313.5

Completed in 26.7 min



I'm getting worse result, with optimized FreeBSD's binaries?!?

How come?





Domagoj Smolčić



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111205.171654.020.1>