]> git.ipfire.org Git - thirdparty/qemu.git/commit
guestperf: Introduce multifd compression option
authorHyman Huang <yong.huang@smartx.com>
Fri, 14 Feb 2025 10:55:25 +0000 (18:55 +0800)
committerFabiano Rosas <farosas@suse.de>
Fri, 14 Feb 2025 18:19:07 +0000 (15:19 -0300)
commit45f34156e4d9c3f4215402b34d7da32f00073066
tree69e7dcf9022494d29b70e44d48671cd2f541c046
parent42f5975cd84eed96661468ae0b895eed0e16074b
guestperf: Introduce multifd compression option

Guestperf tool does not cover the multifd compression option
currently, it is worth supporting so that developers can
analysis the migration performance with different
compression algorithms.

Multifd support 4 compression algorithms currently:
zlib, zstd, qpl, uadk

To request that multifd with the specified compression
algorithm such as zlib:
$ ./tests/migration-stress/guestperf.py \
    --multifd --multifd-channels 4 --multifd-compression zlib \
    --output output.json

To run the entire standardized set of multifd compression
comparisons, with unix migration:
$ ./tests/migration-stress/guestperf-batch.py \
    --dst-host localhost --transport unix \
    --filter compr-multifd-compression* --output outputdir

Signed-off-by: Hyman Huang <yong.huang@smartx.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <c0e3313d81e8130f8119ef4f242e4625886278cf.1739530098.git.yong.huang@smartx.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
tests/migration-stress/guestperf/comparison.py
tests/migration-stress/guestperf/engine.py
tests/migration-stress/guestperf/scenario.py
tests/migration-stress/guestperf/shell.py