Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 2006 02:43:29 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        David Landgren <david@landgren.net>
Cc:        freebsd-smp@freebsd.org
Subject:   Re: Benchmarks of 5.4 and 6.0 on a 6-CPU host (HP Netserver LT 6000r)
Message-ID:  <20060113074328.GA53487@xor.obsecurity.org>
In-Reply-To: <43C62F16.8030401@landgren.net>
References:  <43C62F16.8030401@landgren.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--C7zPtVaVf+AK4Oqc
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jan 12, 2006 at 11:27:34AM +0100, David Landgren wrote:
> List,
>=20
> A while back, I mentioned that I was going to bring a six-processor box=
=20
> (an HP Netserver LT 6000r) from 5.x to 6.0-STABLE, and someone asked for=
=20
> some before and after benchmarks. With the recent spate of advisories, I=
=20
> figured it was time to recompile the world, which gave me the chance to=
=20
> perform the other side of the benchmark, to see how 6.0 performs.
>=20
> 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=20

* 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

--C7zPtVaVf+AK4Oqc
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDx1ogWry0BWjoQKURAl6MAKCuZVXG5jSROy2knG1KpdoY4VKNWQCgio2R
eZ48OBe8pW6qb7bSiaYptdM=
=wqAf
-----END PGP SIGNATURE-----

--C7zPtVaVf+AK4Oqc--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060113074328.GA53487>