From owner-freebsd-performance@FreeBSD.ORG Sun Oct 24 00:14:06 2010 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4EA0106566C for ; Sun, 24 Oct 2010 00:14:06 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id 8527B8FC0A for ; Sun, 24 Oct 2010 00:14:06 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.4/8.14.4) with ESMTP id o9O0E6Rn070553 for ; Sat, 23 Oct 2010 17:14:06 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.4/8.14.4/Submit) id o9O0E51p070552 for freebsd-performance@freebsd.org; Sat, 23 Oct 2010 17:14:05 -0700 (PDT) (envelope-from david) Date: Sat, 23 Oct 2010 17:14:05 -0700 From: David Wolfskill To: freebsd-performance@freebsd.org Message-ID: <20101024001405.GT52404@albert.catwhisker.org> References: <20101020174854.GZ21226@albert.catwhisker.org> <4CBF8032.8000609@freebsd.org> <20101022231730.GP52404@albert.catwhisker.org> <20101022234817.GQ52404@albert.catwhisker.org> <4CC22758.3040201@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6axCafNXXMM8qu6Q" Content-Disposition: inline In-Reply-To: <4CC22758.3040201@freebsd.org> User-Agent: Mutt/1.4.2.3i Subject: Re: Possible evidence of performance regression for 8.1-S (vs. 7.1) X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Oct 2010 00:14:06 -0000 --6axCafNXXMM8qu6Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 22, 2010 at 05:07:52PM -0700, Julian Elischer wrote: > On 10/22/10 4:48 PM, David Wolfskill wrote: > >On Fri, Oct 22, 2010 at 04:17:30PM -0700, David Wolfskill wrote: > >>On Wed, Oct 20, 2010 at 04:50:10PM -0700, Julian Elischer wrote: > >>>... > >>>try the 7.x machine but running the 8.x kernel.. i.e. change nothing, > >>>but boot the new kernel. > >>I just started that test, to run over the weekend. > >>... > >Moot point: the build fails. > > > that shouldn't happen > maybe you need to set the uname vars so that the build THINKS it is on 7.x OK; poking through the source tree, I found quite a few references to uname -- and several to kern.osreldate. I tried setting UNAME_r to a value that gegins with "7.1-RELEASE", and the build ran, completing with a status code of 0. I'm not especially confident that the result of the build was equivalent -- some of my statistics-gathering was a bit warped by the experience, but appears to be salvagable. I've fired off a sequence of 5 iterations of the test build, with the UNAME_r set as above; we should have answers (to the question of the rusage data for 8.1-S kernel and 7.1-R+ userland) by Monday. Thanks! > ... > it's not unusual to have to do this when cross building with a=20 > different kernel. :-} OK; I confess that it hadn 't occurred to me that this would be useful, let alone expected to work. (Sure, I expect some basic stuff to function in that environment, but with more "moving parts," I get a tad nervous.) > Running an 8.x kernel with the 7.x userland is a crucial part of=20 > debugging this. > we really can't do much more until we have the results. We should have them, as above. > If the build fails. it's either becasue the build detects the kernel=20 > rev (which we want to > stop with this) or because of a bug in 8.1. It's supposed to be=20 > downwards compatible. Well, I know that there were some changes made to our build in order to get it to even work under 8.x at all; I suppose I can be thankful that those seem to be based on uname values, vs. kern.osreldate. :-} Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --6axCafNXXMM8qu6Q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkzDekwACgkQmprOCmdXAD2b3ACggBdUAkz68/98S0PHVsraKJ5t t2IAoIJkKNbQBUSiZhTASusMIfMugA9o =aBfP -----END PGP SIGNATURE----- --6axCafNXXMM8qu6Q--