Hi, Ju Hyung
On 2017/12/31 4:37, Ju Hyung Park wrote:
May I ask why is this disabled by default?
Since the readahead only improves "readdir + stat" scenario, and it will cause
overhead if we only call a readdir, we don't know how user lookup files. So I
think it's better to provide an option
May I ask why is this disabled by default?
On Thu, Nov 23, 2017 at 10:11 PM, Chao Yu wrote:
> On 2017/11/22 18:23, Sheng Yong wrote:
>> This patch introduces a sysfs interface readdir_ra to enable/disable
>> readaheading inode block in f2fs_readdir. When readdir_ra is enabled,
On 2017/11/22 18:23, Sheng Yong wrote:
> This patch introduces a sysfs interface readdir_ra to enable/disable
> readaheading inode block in f2fs_readdir. When readdir_ra is enabled,
> it improves the performance of "readdir + stat".
>
> For 300,000 files:
> time find /data/test > /dev/null
This patch introduces a sysfs interface readdir_ra to enable/disable
readaheading inode block in f2fs_readdir. When readdir_ra is enabled,
it improves the performance of "readdir + stat".
For 300,000 files:
time find /data/test > /dev/null
disable readdir_ra: 1m25.69s real 0m01.94s user