qemu/tests/migration/guestperf
Hyman Huang 22b7cb2c79 tests/migration: Introduce dirty-limit into guestperf
Currently, guestperf does not cover the dirty-limit
migration, support this feature.

Note that dirty-limit requires 'dirty-ring-size' set.

To enable dirty-limit, setting x-vcpu-dirty-limit-period
as 500ms and x-vcpu-dirty-limit as 10MB/s:
$ ./tests/migration/guestperf.py \
    --dirty-ring-size 4096 \
    --dirty-limit --x-vcpu-dirty-limit-period 500 \
    --vcpu-dirty-limit 10 --output output.json \

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

Signed-off-by: Hyman Huang <yong.huang@smartx.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Message-Id: <516e7a55dfc6e33d33510be37eb24223de5dc072.1697815117.git.yong.huang@smartx.com>
Message-ID: <e1283565b00b34b0377bbd27bee4bb8fc7c255a8.1698847223.git.yong.huang@smartx.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
2023-11-03 07:48:25 +01:00
..
__init__.py
comparison.py tests/migration: Introduce dirty-limit into guestperf 2023-11-03 07:48:25 +01:00
engine.py tests/migration: Introduce dirty-limit into guestperf 2023-11-03 07:48:25 +01:00
hardware.py tests/migration: Introduce dirty-ring-size option into guestperf 2023-11-03 07:48:25 +01:00
plot.py
progress.py tests/migration: Introduce dirty-limit into guestperf 2023-11-03 07:48:25 +01:00
report.py
scenario.py tests/migration: Introduce dirty-limit into guestperf 2023-11-03 07:48:25 +01:00
shell.py tests/migration: Introduce dirty-limit into guestperf 2023-11-03 07:48:25 +01:00
timings.py