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

Re: LD_PRELOAD library to speed directory traversal



On May 08, 2008  11:25 -0700, Ross Boylan wrote:
> Ted Ts'o wrote spd_readdir.c
> (http://marc.info/?l=mutt-dev&m=107226330912347&w=2) to improve the
> performance of some applications when reading the directory.  As I
> understand it, the standard system calls may not traverse in inode
> order, and so can be much slower.
> 
> I am taking another crack at using this, since some backups are taking
> over a day for me.
> 
> If I use it, it would be with an application that will be accessing both
> ext3 and other (specifically, Reiser) filesystems.  Does anyone know if
> it is safe to use in that context?

Yes, in fact for many filesystems the "inode number" does map in some
manner to disk offsets.

Please report your results here, as there isn't a lot of feedback about
using this code.

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.


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