On Thu, Jan 12, 2006 at 11:27:34AM +0100, David Landgren wrote:
A while back, I mentioned that I was going to bring a six-processor box
(an HP Netserver LT 6000r) from 5.x to 6.0-STABLE, and someone asked for
some before and after benchmarks. With the recent spate of advisories, I
figured it was time to recompile the world, which gave me the chance to
perform the other side of the benchmark, to see how 6.0 performs.
The benchmark was of course to buildworld and buildkernel.
Unfortunately this isn't valid because you're not compiling the same
code using the same tools. A valid benchmark would
* Use the same compiler (e.g. 5.4 gcc toolchain, on 5.4 and 6.0
* Compile the same code, e.g. a 5.4 world (you can't use a 6.0 world
because there is extra bootstrapping compilation enabled when building
6.0 on a 5.4 kernel).
The easiest way to do this is to extract a 5.4 world + source tree
into a subdirectory, boot your chosen kernel, and chroot to the
subdirectory, then time the builds in both cases.