From owner-freebsd-stable@FreeBSD.ORG Sat May 13 07:01:44 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA74716A422 for ; Sat, 13 May 2006 07:01:44 +0000 (UTC) (envelope-from noackjr@alumni.rice.edu) Received: from smtp101.biz.mail.re2.yahoo.com (smtp101.biz.mail.re2.yahoo.com [68.142.229.215]) by mx1.FreeBSD.org (Postfix) with SMTP id 2D2D043D6D for ; Sat, 13 May 2006 07:01:30 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: (qmail 90191 invoked from network); 13 May 2006 07:01:30 -0000 Received: from unknown (HELO optimator.noacks.org) (noackjr@supercrime.org@24.99.22.177 with login) by smtp101.biz.mail.re2.yahoo.com with SMTP; 13 May 2006 07:01:29 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 024BF63A4; Sat, 13 May 2006 03:01:28 -0400 (EDT) X-Virus-Scanned: amavisd-new at noacks.org Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id c3mx0oVVm3c6; Sat, 13 May 2006 03:01:27 -0400 (EDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id 75DD16202; Sat, 13 May 2006 03:01:27 -0400 (EDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by compgeek.noacks.org (8.13.6/8.13.6) with ESMTP id k4D71Pal098987; Sat, 13 May 2006 03:01:26 -0400 (EDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <4465843E.9070108@alumni.rice.edu> Date: Sat, 13 May 2006 03:01:18 -0400 From: Jonathan Noack User-Agent: Thunderbird 1.5.0.2 (X11/20060422) MIME-Version: 1.0 To: Dmitry Pryanishnikov References: <20060427160536.M96305@atlantis.atlantis.dp.ua> <20060427181226.GA66431@xor.obsecurity.org> <20060428122448.K57436@atlantis.atlantis.dp.ua> <20060428182818.GA10410@xor.obsecurity.org> <20060512161836.R75964@atlantis.atlantis.dp.ua> <20060513020051.GB18438@xor.obsecurity.org> <20060513084236.W74146@atlantis.atlantis.dp.ua> In-Reply-To: <20060513084236.W74146@atlantis.atlantis.dp.ua> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=991D8195; url=http://www.noacks.org/cert/noackjr.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigFDEE3FB92E6ADF2D3540A255" Cc: freebsd-stable@FreeBSD.org, Kris Kennaway Subject: Re: RELENG_4 -> 5 -> 6: significant performance regression X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 May 2006 07:01:45 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFDEE3FB92E6ADF2D3540A255 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 05/13/06 01:59, Dmitry Pryanishnikov wrote: > On Fri, 12 May 2006, Kris Kennaway wrote: >>>>>>> %Sys %Intr %Idl >>>>>>> RELENG_6 + rl0 45 40 15 >>>>>>> RELENG_6 + fxp0 45 35 20 >>>> >>>>> %Sys %Intr %Idl "time md5 -t" wall clock time= >>>>> RELENG_6 + rl0 34 24 42 1:43 >>>>> RELENG_6 + fxp0 30 20 50 1:40 >>> >>> is caused by just these: >>> >>> options INVARIANTS >>> options INVARIANT_SUPPORT >> >> So what is the overall status? I am not clear what your results are. >=20 > Results for RELENG_6+rl0 are >=20 > %Sys %Intr %Idl > 34 24 42 >=20 > without INVARIANTS, and >=20 > %Sys %Intr %Idl > 45 40 15 >=20 > with them. Other options like QUOTA and "makeoptions > CONF_CFLAGS=3D-fno-builtin" make almost no difference. So, under my tes= t > conditions, the best % of idle CPU time under RELENG_6 is 42%, while > under RELENG_4 we had >=20 > %Sys %Intr %Idl > 14 14 72 >=20 > under the same conditions (and with INVARIANTS!) ;( >=20 >>> available for application under RELENG_5/6 than under RELENG_4 (under= >>> identical load pattern). I ran "time md5 -t" several (3-5 times) just= to >>> confirm my assumptions, and results didn't vary more than 3%. So I >>> suppose >>> that ministat isn't necessary in my tests. >> >> Perhaps not when the difference is large, but you need to be very >> careful when differences are below ~10%, because it's easy to make >> incorrect conclusions. >=20 > I agree with you. I would make more measurements if my aim was to > determine > which branch between RELENG_5 and _6 to use. But as these results are c= lose > enough, and RELENG_6 is superiour regarding new features (and often > stability), IMHO there's no point in using RELENG_5 at all. I'm just tr= ying > to understand why performance of RELENG_6 is worse than in RELENG_4 > _that much_, and whether this sad situation can be improved somehow. Have you tried putting I586_CPU in there? See http://lists.freebsd.org/pipermail/freebsd-stable/2005-December/020696.ht= ml. Also, use the link0 option with your fxp cards if they support it. See the fxp(4) man page for more info. Here is an example /etc/rc.conf entry= : ifconfig_fxp0=3D"inet xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx link0" --=20 Jonathan Noack | noackjr@alumni.rice.edu | OpenPGP: 0x991D8195 --------------enigFDEE3FB92E6ADF2D3540A255 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEZYRFUFz01pkdgZURArK7AKDAmfndjwh/aWzjTMOjyFKXJAfh0ACfSfD6 SUFJY7PEg2J12gKeWqnRick= =OyMc -----END PGP SIGNATURE----- --------------enigFDEE3FB92E6ADF2D3540A255--