Date: Thu, 17 Aug 2006 12:38:48 -0400 From: Kris Kennaway <kris@obsecurity.org> To: Brian Somers <brian@Awfulhak.org> Cc: Maxim Sobolev <sobomax@FreeBSD.org>, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org, G?bor K?vesd?n <gabor@FreeBSD.org>, Kris Kennaway <kris@obsecurity.org>, cvs-ports@FreeBSD.org, Erwin Lansing <erwin@FreeBSD.org> 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 ...) Message-ID: <20060817163848.GA27460@xor.obsecurity.org> In-Reply-To: <20060817084317.55ae1c08@demarc.ca.sophos.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <kris@obsecurity.org> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060817163848.GA27460>