diff options
author | 2024-02-22 12:30:46 -0800 | |
---|---|---|
committer | 2024-02-22 12:30:46 -0800 | |
commit | c473a3320be32b2273042bfdf0fe8db5da7ae5d0 (patch) | |
tree | b54e7ff49047e3948050c56b21ac1edca1fa098b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | xfs: allow scrub to hook metadata updates in other writers (diff) | |
download | wireguard-linux-c473a3320be32b2273042bfdf0fe8db5da7ae5d0.tar.xz wireguard-linux-c473a3320be32b2273042bfdf0fe8db5da7ae5d0.zip |
xfs: stagger the starting AG of scrub iscans to reduce contention
Online directory and parent repairs on parent-pointer equipped
filesystems have shown that starting a large number of parallel iscans
causes a lot of AGI buffer contention. Try to reduce this by making it
so that iscans scan wrap around the end of the filesystem, and using a
rotor to stagger where each scanner begins. Surprisingly, this boosts
CPU utilization (on the author's test machines) from effectively
single-threaded to 160%. Not great, but see the next patch.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions