iotests: multiprocessing!!
Status from this message: Applied to my block-next branch:
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | iotests/testrunner.py: add doc string for run_test()tests/ | +13 | 3 replies | |
| 2/3 | iotests/testrunner.py: move updating last_elapsed to run_teststests/ | +3 | 4 replies | |
| 3/3 | iotests: check: multiprocessing supporttests/ tests/ | +64 | 6 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | John Snow |
|---|---|
| Series | T-b |
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | A-b R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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