Benchmarks of 5.4 and 6.0 on a 6-CPU host (HP Netserver LT
6000r)
Kris Kennaway
kris at obsecurity.org
Thu Jan 12 23:43:31 PST 2006
On Thu, Jan 12, 2006 at 11:27:34AM +0100, David Landgren wrote:
> List,
>
> 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
kernels)
* 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.
Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-smp/attachments/20060113/3003163e/attachment.bin
More information about the freebsd-smp
mailing list