From owner-freebsd-smp@FreeBSD.ORG Fri Jan 13 07:43:31 2006 Return-Path: X-Original-To: freebsd-smp@freebsd.org Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EF6816A41F for ; Fri, 13 Jan 2006 07:43:31 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC73243D48 for ; Fri, 13 Jan 2006 07:43:30 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id CB0D71A3C26; Thu, 12 Jan 2006 23:43:30 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C196851488; Fri, 13 Jan 2006 02:43:29 -0500 (EST) Date: Fri, 13 Jan 2006 02:43:29 -0500 From: Kris Kennaway To: David Landgren Message-ID: <20060113074328.GA53487@xor.obsecurity.org> References: <43C62F16.8030401@landgren.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline In-Reply-To: <43C62F16.8030401@landgren.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-smp@freebsd.org Subject: Re: Benchmarks of 5.4 and 6.0 on a 6-CPU host (HP Netserver LT 6000r) X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2006 07:43:31 -0000 --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--