Whamcloud - gitweb
LU-8465 ext2fs: parallel bitmap loading 51/39851/9
authorWang Shilong <wshilong@ddn.com>
Thu, 3 Sep 2020 02:51:49 +0000 (10:51 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 26 Sep 2020 06:39:03 +0000 (06:39 +0000)
commit0e888c3cca27332cfc46e165a5b726c4f0681f00
tree6f877d459440c18b28bf9c805886dcab7fc8bd0a
parent38247c218eed14f510953906e406352c4c9a6126
LU-8465 ext2fs: parallel bitmap loading

In our benchmarking for PiB size filesystem, pass5 takes
10446s to finish and 99.5% of time takes on reading bitmaps.

It makes sense to reading bitmaps using multiple threads,
a quickly benchmark show 10446s to 626s with 64 threads.

Signed-off-by: Wang Shilong <wshilong@ddn.com>
Change-Id: I8d7389413a09bf262d0ae657cb485e8862385d0c
Reviewed-on: https://review.whamcloud.com/39851
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lib/ext2fs/rw_bitmaps.c