Date: Wed, 11 Jul 2001 22:54:33 -0400 From: "Brian F. Feldman" <green@FreeBSD.org> To: Ian Dowse <iedowse@maths.tcd.ie> Cc: Dag-Erling Smorgrav <des@ofug.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/conf NOTES src/sys/conf files options src/sys/ufs/ufs dirhash.h ufs_dirhash.c inode.h ufs_inode.c ufs_lookup.c Message-ID: <200107120254.f6C2sXA12152@green.bikeshed.org> In-Reply-To: Message from Ian Dowse <iedowse@maths.tcd.ie> of "Wed, 11 Jul 2001 21:16:13 BST." <200107112116.aa67322@salmon.maths.tcd.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
Ian Dowse <iedowse@maths.tcd.ie> wrote: > In message <xzpg0c38f5q.fsf@flood.ping.uio.no>, Dag-Erling Smorgrav writes: > >Ian Dowse <iedowse@FreeBSD.org> writes: > >> Bring in dirhash, a simple hash-based lookup optimisation for large > > > >Are you going to MFC this in a while? > > Yeah, I have a releng_4 version that I've been running without any > problems, but I'll probably wait at least a week or two for any > bugs or suggestions to show up. There are almost certainly still > some access patterns where dirhash is a pessimisation over the > non-dirhash case - I think the worst of these (sequential access, > large working set) have mostly been addressed, but some filesystem > benchmarks may well come out worse with dirhash switched on. > > I'd be very interested in any such results, or any suggestions for > improvements. I'm not sure if it's just -CURRENT or dirhash being enabled, but there is a definite (10-20%) drop in speed for the large, linear access case. However, that's just a synthetic benchmark -- I use procmail and mh to sort all my mail to different maildirs, and I can say that this common operation is now DRAMATICALLY faster! Thanks for developing such a useful real-world solution. -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@FreeBSD.org `------------------------------' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107120254.f6C2sXA12152>