From owner-freebsd-stable@FreeBSD.ORG Mon May 23 21:31:08 2005 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 C094016A41C for ; Mon, 23 May 2005 21:31:08 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B7A543D1D for ; Mon, 23 May 2005 21:31:08 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id BEBD05138D; Mon, 23 May 2005 14:31:55 -0700 (PDT) Date: Mon, 23 May 2005 14:31:55 -0700 From: Kris Kennaway To: Matthias Buelow Message-ID: <20050523213155.GA46718@xor.obsecurity.org> References: <3248.172.16.0.199.1116876092.squirrel@172.16.0.1> <20050523195123.GA13810@xor.obsecurity.org> <3482.172.16.0.199.1116882013.squirrel@172.16.0.1> <20050523211307.GA36552@xor.obsecurity.org> <42924949.1070902@incubus.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline In-Reply-To: <42924949.1070902@incubus.de> User-Agent: Mutt/1.4.2.1i Cc: Mike Jakubik , freebsd-stable@freebsd.org, Kris Kennaway Subject: Re: Performance of 4.x vs 5.x (Re: Lifetime of FreeBSD branches) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2005 21:31:08 -0000 --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 23, 2005 at 11:21:13PM +0200, Matthias Buelow wrote: > Kris Kennaway wrote: >=20 > > One thing that probably confuses and misleads a lot of people is when > > they build world or a kernel and notice that it's taking much longer > > than it did under 4.x, so they assume this means that 5.x is slower > > than 4.x. It doesn't. What it means is that 5.x and 4.x have > > different C compilers, and gcc 3.x is much slower at compiling code > > than gcc 2.x. You have to be very careful to draw conclusions based > > on subjective assessments like this. >=20 > Another thing might be that interactive response time seems to be worse. > While I (or rather ports) unpack the firefox/thunderbird source, the > machine is pretty much bogged down (mouse cursor jumps around, audio > stutters...). Haven't seen that on FreeBSD since the 386 days. I don't run FreeBSD on my desktop machines so I haven't seen this myself. One obvious guess is that it's due to VFS being under Giant, which causes lots of contention with other subsystems that also require Giant, and therefore introduces latency. If so, you'd see a substantial performance improvement on 6.0 with debug.mpsafevfs=3D1. This option isn't yet ready for production use (especially on SMP machines) since it still contains bugs, but it would be interesting if someone who sees this problem could test it on 6.0. Any takers? Kris --J/dobhs11T7y2rNN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCkkvLWry0BWjoQKURAqNQAJ0Zd4M/yKHWiU4kahGEc0GrGeJeTwCfajfJ cUMJDYFD6sEC4EDFH69XbeY= =gj/K -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN--