Building a High-Performance Cluster with Gentoo
Posted Apr 11, 2007 10:06 UTC (Wed) by
drag (subscriber, #31333)
In reply to:
Building a High-Performance Cluster with Gentoo by DeletedUser32991
Parent article:
Building a High-Performance Cluster with Gentoo
Ya and with that it shown that Gentoo compiled with 'optimizations' was slower then both Debian and Mandrake most of the time.
Of course this is old and with GCC 3.xx stuff. GCC 4.xx is a entirely different beast.
I think it's simply fair to compare whatever latest release of whatever distribution you plan on using and whatever software comes with it, more or less.
Historically speaking when your presented with vague claims by any software vendor of improved performance, but fails to back it up with facts.. then the vast majority of the time they were just mostly full of it.
I know that compile time optimizations can be counter intuitive in a lot of cases. The biggest example I know of is that the Linux kernel has best performance when compiled optimized for size, not for speed.
This is because when you optimize for speed you end up with larger binaries and larger logical steps. When compiled for size, the logic it tighter and the binaries are smaller. With this sort of setup more of the kernel runs in CPU cache and your CPU is going to spend less time retrieving kernel bits from main memory and more time actually processing.
So it's all a bit weird. I am sure that that isn't the only time compiling something -0s or -0 would end up faster then -03.
(
Log in to post comments)