mirror_qemu/tests/migration
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
..
aarch64 tests/migration/aarch64: Speed up the aarch64 migration test 2022-08-24 10:14:49 +01:00
guestperf tests/migration: Introduce dirty-limit into guestperf 2023-11-03 07:48:25 +01:00
i386 i386/a-b-bootblock: zero the first byte of each page on start 2023-10-04 11:47:40 +02:00
s390x s390x/a-b-bios: zero the first byte of each page on start 2023-10-04 11:48:18 +02:00
Makefile migration-test: Only generate a single target architecture 2018-10-11 19:58:26 +01:00
guestperf-batch.py tests/: spelling fixes 2023-09-08 13:08:52 +03:00
guestperf-plot.py tests/migration: Fix LGPL information in the file headers 2020-11-15 17:04:40 +01:00
guestperf.py tests/: spelling fixes 2023-09-08 13:08:52 +03:00
initrd-stress.sh meson: convert migration/initrd-stress 2020-09-08 11:43:16 +02:00
meson.build meson: do not unnecessarily use cmake for dependencies 2023-09-07 13:32:14 +02:00
migration-test.h Clean up a few header guard symbols 2019-06-12 13:20:20 +02:00
stress.c tests: Use g_mkdir_with_parents() 2022-08-25 15:24:09 +02:00