Re: LD_PRELOAD library to speed directory traversal

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

 



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.

_______________________________________________
Ext3-users mailing list
Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux