Whamcloud - gitweb
e2fsck: make default smallest RA size to 1M
authorWang Shilong <wshilong@ddn.com>
Tue, 15 Sep 2020 07:06:11 +0000 (15:06 +0800)
committerLi Dongyang <dongyangli@ddn.com>
Tue, 14 Jan 2025 04:15:37 +0000 (15:15 +1100)
commit4598553e2a64b8128c6591bc62c09ed9184fef01
tree02aad3d15b4bdecaa8e348de95f412e0a7d3dec2
parent7ccd3d7338ca3fe37526c2f6e2010c6c58d481a2
e2fsck: make default smallest RA size to 1M

If we have a smaller inodes per group, default ra size could
be very small(etc 128KiB), this hurts performances.

Tune above 128K to 1M, i see pass1 time drop down from
677.12 seconds to 246 secons with 32 threads.

E2fsprogs-commit: 9226b3264b74044013f4933280b1989c33be42f3

Change-Id: Ia503b4f73dc8f3d5e6be705c7311bdacc5b874a9
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/readahead.c