atom feed4 messages in org.freebsd.freebsd-smpBenchmarks of 5.4 and 6.0 on a 6-CPU ...
FromSent OnAttachments
David LandgrenJan 12, 2006 2:29 am 
Xin LIJan 12, 2006 8:54 am 
Julian ElischerJan 12, 2006 11:06 am 
Kris KennawayJan 12, 2006 11:43 pm 
Subject:Benchmarks of 5.4 and 6.0 on a 6-CPU host (HP Netserver LT 6000r)
From:Kris Kennaway (kr@obsecurity.org)
Date:Jan 12, 2006 11:43:20 pm
List:org.freebsd.freebsd-smp

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