tag name | rmap-speedups_2021-08-25 (4a590f66b791f514ac92cdfead3c1d6dd0b83522) |
tag date | 2021-08-25 22:27:06 -0700 |
tagged by | Darrick J. Wong <djwong@kernel.org> |
tagged object | commit 9740d734c8... |
xfs: fix rmap inefficiencies
Reduce the performance impact of the reverse mapping btree when reflink
is enabled by using the much faster non-overlapped btree lookup
functions when we're searching the rmap index with a fully specified
key. If we find the exact record we're looking for, great! We don't
have to perform the full overlapped scan. For filesystems with high
sharing factors this reduces the xfs_scrub runtime by a good 15%.
This has been shown to reduce the fstests runtime for realtime rmap
configurations by 30%, since the lack of AGs severely limits
scalability.
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEUzaAxoMeQq6m2jMV+H93GTRKtOsFAmEnJioACgkQ+H93GTRK
tOsH7RAAn3GEUeJ7RCB9XY3kH5KUckFFW7UQjQ9l74LvzEmkrJm7zqahG8LBOsXK
jV30CVK+BEexAacNrocrOuKOZXirnL+NQpxGEMM98MZB1vfx7Y35Co/ZTKC+byxD
4qNILOrxDGPhLmADjpWRHuGOmkIl1wFbcdP/IHepExyllNNgE+wKXO8v3SkOcK4k
ZB8TuWY7TTQAgBOYHPVM3LBdAK+QmJLDt9MTNdbRGmwGSJweaJZeY0ymaR482VVR
kADS18lZVmcaVlFPF5B2pE/+sDzgUq++Q4r1mVoAWwrOPicY1dni8mzvPV4BRJ7f
+ahePHD/2LQ33F/ecahUtGnWaMllefJez/obZFAluFFDyIFo5I05enipslHmAbZu
HoIwFACrxPMBkGMJk2y6CG7IwK2YRrxmRl44VfTqcTPkcu3qJakVIMX9yqAakQx8
2Nmrf0SMhHHBrr54jwV51hp6F8Bjbc5rTU5e9aoEcjR7YJKGqn5ZFO9YAJofjxJC
Gk3qK6eoBjALospIXJoQO8stRMVR/bmQvBnSIQtiFjz7krnaslH2QbjGS9MBs8pK
ENnJx76bTa7eE2BJTn5PPXD7pbNDP0Vam+llTZkfJX4O9Lb+bxy5bCW4HNFh8XR1
owFrN7GS7hiPd2iD6PTCwpQdMh0rG3afc/xRdGX2FED+Zt7dwuM=
=HPVa
-----END PGP SIGNATURE-----