]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/encoding: run readable.sh with a sliding window of jobs 69605/head
authorSun Yuechi <sunyuechi@iscas.ac.cn>
Sun, 14 Jun 2026 12:43:50 +0000 (20:43 +0800)
committerSun Yuechi <sunyuechi@iscas.ac.cn>
Wed, 24 Jun 2026 12:01:11 +0000 (20:01 +0800)
commitd843b01385ece3362238cf9017ce417a1081f3dd
tree53d104e4af07fc29d517e88b793cf604165b724f
parent0bdeb61ac7f992113cb42035a2f0e18dca286121
test/encoding: run readable.sh with a sliding window of jobs

The old scheduler spawned nproc jobs, then waited for the whole batch to
finish before starting the next, so cores that finished early sat idle
waiting on the slowest type in the batch. Keep a sliding window instead:
once the window is full, reap a single finished job before spawning the
next, which keeps the cores busy when per-type runtimes vary widely.

While here, pass vdir/arversion into test_object explicitly instead of
reading the loop globals, and give each job its own result file instead
of reusing slot-numbered files that the sliding window would otherwise
hand out to overlapping jobs.

Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>
src/test/encoding/readable.sh