From owner-cvs-all@FreeBSD.ORG Thu Aug 17 16:38:50 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7485016A4E2; Thu, 17 Aug 2006 16:38:50 +0000 (UTC) (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 B1B8043D58; Thu, 17 Aug 2006 16:38:49 +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 9255C1A4DA5; Thu, 17 Aug 2006 09:38:49 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id EAF9652043; Thu, 17 Aug 2006 12:38:48 -0400 (EDT) Date: Thu, 17 Aug 2006 12:38:48 -0400 From: Kris Kennaway To: Brian Somers Message-ID: <20060817163848.GA27460@xor.obsecurity.org> References: <200608041234.k74CYoc1076722@repoman.freebsd.org> <44E389AA.3000003@FreeBSD.org> <44E38E2F.4000005@FreeBSD.org> <44E391AD.3010402@FreeBSD.org> <44E39535.10701@FreeBSD.org> <20060816234236.3428ab08@dev.lan.Awfulhak.org> <20060817094501.GA98961@xor.obsecurity.org> <20060817084317.55ae1c08@demarc.ca.sophos.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: <20060817084317.55ae1c08@demarc.ca.sophos.com> User-Agent: Mutt/1.4.2.2i Cc: Maxim Sobolev , cvs-all@FreeBSD.org, ports-committers@FreeBSD.org, G?bor K?vesd?n , Kris Kennaway , cvs-ports@FreeBSD.org, Erwin Lansing Subject: nullfs performance (Re: cvs commit: ports/Mk bsd.emacs.mk bsd.gnome.mk bsd.mail.mk bsd.openssl.mk bsd.port.mk bsd.port.subdir.mk bsd.python.mk bsd.ruby.mk bsd.scons.mk ports/Tools/scripts security-check.awk ports/databases/p5-DBD-Oracle Makefile ports/databases/p5-sqlrelay ...) X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2006 16:38:50 -0000 --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 17, 2006 at 08:43:17AM -0700, Brian Somers wrote: > On Thu, 17 Aug 2006 05:45:01 -0400 > Kris Kennaway wrote: >=20 > > On Wed, Aug 16, 2006 at 11:42:36PM -0700, Brian Somers wrote: > > > [-developers elided] > > >=20 > > > Interesting... I use nullfs as part of our build system here. > > > I found that it's performance is appalling when pushed a > > > little (running two builds on one machine, each with two > > > nullfs mounts, two devfs and two procfs mounts gives a build > > > time of 4.5 hours whereas a single build will finish in 1.5 > > > hours). I've seen >6 hour builds on a loaded box - only > > > attributable to nullfs. > >=20 > > What version? >=20 > The version that ships with 6.1. OK, that's unusual and bears further investigation then. When I measured it I did not see this kind of dramatic performance loss (anecdotally it doesn't fit with my own experiences either: I also use it for parallel compilations, and I do not see anomalously low performance compared to machines not using nullfs). The only thing I can think of is that the underlying filesystem is not mpsafe (e.g. are you using UFS quotas?), in which case it's not really nullfs to blame. Hmm, are you sure it's 6.1-RELEASE and not a prerelease? I think the code that was supposed to make the nullfs mount mpsafe conditional on the mpsafety of the lower layer was broken until some time during the release cycle, but it was fixed before the release. Kris --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE5JuYWry0BWjoQKURAjWVAJsFCLcBnseayJ0jKW7pZAr3KlqEUwCeMIql stpRDWoEryz5yZkyGQWOgNc= =+Uet -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL--