It is quite unreasonable to expect a custom compiled distribution to be slower than a generic compiled distribution (unless the system-admin was braindamaged) so no surprises here.
Well, the whole idea of Gentoo is that there are no disk images. You compile everything from scratch. It takes ages, but in the end all the code is hyper-optimised for your hardware, which is fairly important for slow devices. If you're asking about the images used in benchmarking in order to reproduce the results, though, then it's another matter.
Yea, I noticed that as well. Also, I installed 4.7 on my device manually, but even then it installs into a new slot, and by default the old compiler is used.
It is quite unreasonable to expect a custom compiled distribution to be slower than a generic compiled distribution (unless the system-admin was braindamaged) so no surprises here.
One can easily run gcc-config to switch between multiple installed gcc versions in gentoo. But you probably already know thisAnother interesting trick is to tune gcc configuration, which can be done in the following way:
The optimization flags are normally specified in CFLAGS variable from /etc/make.conf, but changing gcc configuration is more reliable because it has global effect (even for the packages not built by portage). In particular, this is a good way to deliver CPU specific optimization settings to phoronix-test-suite. Also you can add "--with-mode=thumb" option for a fair comparison with ubuntu/linaro.Code:mkdir /etc/portage/env mkdir /etc/portage/env/sys-devel echo 'EXTRA_ECONF="--with-cpu=cortex-a9 --with-fpu=neon"' > /etc/portage/env/sys-devel/gcc emerge sys-devel/gcc
The articles claims that Gentoo stable was compiled with GCC 4.7, which you can do, although as you say, it is unsupported.
How do you propose that be done for Linaro? As far as I know. Linaro distributes binaries while Gentoo distributes source code. Installing a different system compiler on Linaro will not make the binaries that they distribute faster.
Gentoo developers do this all the time, mainly because we are the people who fix the bugs when things go wrong. If this were a Gentoo developer's system, it would not be surprising for it to use the latest GCC.Edit:
Also, if GCC was upgraded to a non-stable (and even non-testing) package version, then who knows what else was. I suspect the person who made the images for Phoronix didn't even mention this.
With that said, I would love to know who this Robert Sanders is. We don't have any active or retired developers by the name of Robert Sanders:
http://www.gentoo.org/proj/en/devrel...l/userinfo.xml
http://www.gentoo.org/proj/en/devrel...Filter=Retired
If you have GCC 4.7, it's not Gentoo Stable anymore.
I don't disagree* with anything else you said, since it's not the point. The point is that Gentoo Stable was not tested in this benchmark.
* Well, maybe with not installing GCC 4.7 in Linaro. The Phronix Test Suite is built from source, so why wouldn't GCC 4.7 affect the results? I say it would affect them greatly.
I assumed that the phoronix test suite was a bunch of scripts that used the system libraries and binaries. Is that incorrect?
By the way, I really would like to know who this Robert Sanders is. Michael claims that he was given shell access to a "board to be used as the primary build host for Gentoo weekly ARM stages". This makes no sense to me because I was under the impression that the release engineering team cross compiled the stages using catalyst.