tests/migration: introduce multifd into guestperf
authorHyman <huangy81@chinatelecom.cn>
Fri, 19 Mar 2021 17:04:56 +0000 (01:04 +0800)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 13 May 2021 17:21:14 +0000 (18:21 +0100)
commit1c3baa1ac4dee2b52837fda89d1d9deeb5da512e
tree562066505fa001d01ed5126304347482625ceda5
parentff7b9b56cd7053eef0aaf40c32c2be475fd37df8
tests/migration: introduce multifd into guestperf

Guestperf tool does not cover the multifd-enabled migration
currently, it is worth supporting so that developers can
analysis the migration performance with all kinds of
migration.

To request that multifd is enabled, with 4 channels:
$ ./tests/migration/guestperf.py \
    --multifd --multifd-channels 4 --output output.json

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

Signed-off-by: Hyman Huang(黄勇) <huangy81@chinatelecom.cn>
Message-Id: <cfeeb04d17ad932c42a9871294058b77429ad1b7.1616171924.git.huangy81@chinatelecom.cn>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
tests/migration/guestperf/comparison.py
tests/migration/guestperf/engine.py
tests/migration/guestperf/scenario.py
tests/migration/guestperf/shell.py