Re: how to increase speed to iterate all file's name in a XFS , about million files.

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

 



2010/9/29 Dave Chinner <david@xxxxxxxxxxxxx>:
> On Wed, Sep 29, 2010 at 08:28:08AM +0800, hank peng wrote:
>> Hi:
>> I have a XFS file system which contains about million files in it. I
>> want to iterate all file's name using readdir function and I found
>> that a little time-consuming.
>> Anybody to suggest a way to increase its speed?
>
> In what way was it time consuming? IO bound? CPU bound? something
> else?
>
I think it is IO bound, file names information is scattered in whole
partition, right?
> Cheers,
>
> Dave.
> --
> Dave Chinner
> david@xxxxxxxxxxxxx
>



-- 
The simplest is not all best but the best is surely the simplest!

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux