xfs
[Top] [All Lists]

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

To: hank peng <pengxihan@xxxxxxxxx>
Subject: Re: how to increase speed to iterate all file's name in a XFS , about million files.
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Wed, 29 Sep 2010 10:48:09 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <AANLkTikd2Gf-=jimO-OvKb-66UquPkjfCN=+bx-3fhY-@xxxxxxxxxxxxxx>
References: <AANLkTikd2Gf-=jimO-OvKb-66UquPkjfCN=+bx-3fhY-@xxxxxxxxxxxxxx>
User-agent: Mutt/1.5.20 (2009-06-14)
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?

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>