gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] readdir() optimization for ext3/Linux 2.6


From: Florian Weimer
Subject: [Gnu-arch-users] readdir() optimization for ext3/Linux 2.6
Date: Mon, 6 Oct 2003 10:27:49 +0200
User-agent: Mutt/1.5.4i

I've just finished a patch for Maildir support in mutt CVS that sorts
the directory entries by inode before opening them.  Without this
optimization, you incur a tremendous seek overhead because due to the
new directory hashing, readdir() returns the entries in random order.
On an uncached Maildir folder with 18,000+ messages, my patch cuts down
the time required for parsing the folder contents from 200 seconds to
below 15.

I think this could speed up tree traversals for tla, too.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]