Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2001 22:29:43 +0100
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Sean Chittenden <sean@chittenden.org>
Cc:        Ian Dowse <iedowse@maths.tcd.ie>, Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>, Anatoliy Dmytriyev <tolid@plab.ku.dk>, freebsd-stable@FreeBSD.ORG
Subject:   Re: UFS_DIRHASH - your opinion 
Message-ID:   <200110252229.aa61044@salmon.maths.tcd.ie>
In-Reply-To: Your message of "Thu, 25 Oct 2001 14:06:51 PDT." <20011025140651.A8755@ninja1.internal> 

next in thread | previous in thread | raw e-mail | index | archive | help
> How about for Maildir mailboxes?  In anyone mailbox I have roughly
> 10,000 messages which means 10,000 files per directory and mutt
> opening/reading the directory every time I switch mail folders.

I suspect that you'll see a big improvement with directories like this.

> Granted I should rebuild a system and do the tests myself, but do you
> have any preliminary numbers in terms of slowdowns for small dirs, and
> speedups for large dirs?  -sc

There should be no loss of performance for small directories. The
main area where there might be a loss would be if your application
just looks up one entry in the directory and doesn't return to
that directory again.

BTW - you don't need to rebuild the filesystem to use dirhash. All
you need to do is compile it into the kernel. If it is compiled in
then it automatically works on all ufs filesystems.

	David.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi? <200110252229.aa61044>