From owner-cvs-all@FreeBSD.ORG Thu Aug 17 22:29:39 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 6547716A4E2; Thu, 17 Aug 2006 22:29:39 +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 088D143D4C; Thu, 17 Aug 2006 22:29:39 +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 E03891A4DA3; Thu, 17 Aug 2006 15:29:38 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id A8C9151AD0; Thu, 17 Aug 2006 18:29:37 -0400 (EDT) Date: Thu, 17 Aug 2006 18:29:37 -0400 From: Kris Kennaway To: Brian Somers Message-ID: <20060817222937.GA38985@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> <20060817163848.GA27460@xor.obsecurity.org> <20060817134546.0c05e607@demarc.ca.sophos.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <20060817134546.0c05e607@demarc.ca.sophos.com> User-Agent: Mutt/1.4.2.2i Cc: cvs-ports@FreeBSD.org, ports-committers@FreeBSD.org, cvs-all@FreeBSD.org, Kris Kennaway Subject: Re: 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 22:29:39 -0000 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 17, 2006 at 01:45:46PM -0700, Brian Somers wrote: > I guess the missing info might be that things get indirected somewhat. >=20 > We check out code into /some/deep/directory/tree. Then, to protect > against the 80 character path limitation, we create /tmp/bld.XXXXX/ > and create a scratch -> /tmp/bld.XXXXX symlink in > /some/deep/directory/tree. Hmm, could be due to the indirecting I guess...you should be able to test that pretty easily. > We then do various things like: >=20 > mount -t nullfs /some/deep/directory/tree/src scratch/build/src > mount -t nullfs /some/deep/directory/tree/obj scratch/build/obj > mount -t devfs devfs scratch/dev > mount -t procfs procfs scratch/proc >=20 > and do a "OBJDIRPREFIX=3D/build/obj chroot scratch make -C /build/src". >=20 > Oh, and errum, we've got debug.mpsafenet=3D"0" in /boot/loader.conf - > which is a remnant of when we were using 5.4 and the races in the > socket code killed our application under load. >=20 > Does the nullfs code path hit the network stack?? No. Kris --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE5O3RWry0BWjoQKURAhgMAKDl4g8B5wxZyuupOKhApxfE/7AcBACeOe6E 6TQrNmej8aH788suzXnFwmQ= =k70g -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY--