OSDN Git Service

tests/migration: Introduce dirty-ring-size option into guestperf
authorHyman Huang <yong.huang@smartx.com>
Wed, 1 Nov 2023 14:04:07 +0000 (22:04 +0800)
committerJuan Quintela <quintela@redhat.com>
Fri, 3 Nov 2023 06:48:25 +0000 (07:48 +0100)
commit4cc563d460b6e8a29d18b27381dab8ca0621f2da
tree6a7c56ad8ab2861d076bf1259ed9f865969756aa
parent17257b90be4f51dd3040ca2e472201407b2327c4
tests/migration: Introduce dirty-ring-size option into guestperf

Dirty ring size configuration is not supported by guestperf tool.

Introduce dirty-ring-size (ranges in [1024, 65536]) option so
developers can play with dirty-ring and dirty-limit feature easier.

To set dirty ring size with 4096 during migration test:
$ ./tests/migration/guestperf.py --dirty-ring-size 4096 xxx

Signed-off-by: Hyman Huang <yong.huang@smartx.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <8a388cec5c1f73a34d42515bbc43837e97ee3839.1698847223.git.yong.huang@smartx.com>
tests/migration/guestperf/engine.py
tests/migration/guestperf/hardware.py
tests/migration/guestperf/shell.py