Re: [f2fs-dev] [RFC PATCH 1/3] f2fs: introduce sysfs readdir_ra to readahead inode block in readdir

2018-01-01 Thread Sheng Yong
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

Re: [f2fs-dev] [RFC PATCH 1/3] f2fs: introduce sysfs readdir_ra to readahead inode block in readdir

2017-12-30 Thread Ju Hyung Park
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,

Re: [f2fs-dev] [RFC PATCH 1/3] f2fs: introduce sysfs readdir_ra to readahead inode block in readdir

2017-11-23 Thread Chao Yu
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

[f2fs-dev] [RFC PATCH 1/3] f2fs: introduce sysfs readdir_ra to readahead inode block in readdir

2017-11-22 Thread Sheng Yong
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