]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
xfs/442: rescale load so it's not exponential
authorDave Chinner <dchinner@redhat.com>
Tue, 26 Nov 2024 20:58:10 +0000 (07:58 +1100)
committerZorro Lang <zlang@kernel.org>
Sun, 8 Dec 2024 14:08:54 +0000 (22:08 +0800)
commit92d6f78787436b0de653532c93bd059fd80877bc
tree3dada1e6f8f83a5a8c3724ae840732f30266ca90
parent5f7a66b6dc4ce839e21ddf40dba1759bb1095f98
xfs/442: rescale load so it's not exponential

....
xfs/442 491
....

xfs/442 takes a long time to run because it is scaling the load
by the number of processes it is going to run on twice. It scales
the number of operations by the number of processes it is going to
run, meaning that doubling the number of processes quadruples the
runtime.

Reduce it to scale linearly by fixing the number of ops it runs per
process.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Zorro lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/xfs/442