Skip to content

iotests: multiprocessing!!

Vladimir Sementsov-Ogievskiy qemu-devel 1 version Applied

Status from this message: Applied to my block-next branch:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 17 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3iotests/testrunner.py: add doc string for run_test()tests/qemu-iotests/testrunner.py+13 -03 replies
2/3iotests/testrunner.py: move updating last_elapsed to run_teststests/qemu-iotests/testrunner.py+3 -14 replies
3/3iotests: check: multiprocessing supporttests/qemu-iotests/check tests/qemu-iotests/testrunner.py+64 -96 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJohn Snow
SeriesT-b
1/3R-b
2/3R-b
3/3A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] iotests: multiprocessing!!

Hi all!

Finally, I can not stand it any longer. So, I'm happy to present multiprocessing support for iotests test runner.

testing on tmpfs:

Before:

time check -qcow2
...

real    12m28.095s
user    9m53.398s
sys     2m55.548s

After:

time check -qcow2 -j 12
...

real    2m12.136s
user    12m40.948s
sys     4m7.449s

Hmm, seems -j 6 should be enough. I have 6 cores, 2 threads per core. Anyway, that's so fast!

Vladimir Sementsov-Ogievskiy (3):
iotests/testrunner.py: add doc string for run_test() iotests/testrunner.py: move updating last_elapsed to run_tests
iotests: check: multiprocessing support

 tests/qemu-iotests/check         |  4 +-
 tests/qemu-iotests/testrunner.py | 86 ++++++++++++++++++++++++++++----
 2 files changed, 80 insertions(+), 10 deletions(-)
Signature · 1 line
2.31.1