Skip to content

RFC Add dirty page rate limit qtest

[email protected] qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2migration-test: Export migration-test util funtionstests/qtest/migration-helpers.c tests/qtest/migration-helpers.h tests/qtest/migration-test.c+110 -1020 replies
2/2tests: Add dirty page rate limit testtests/qtest/dirtylimit-test.c tests/qtest/meson.build+290 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/2] Add dirty page rate limit qtest

From: Hyman Huang(黄勇) <[email protected]>

This patchset is dirtylimit qtest and plan to be a supplement for patch series "support dirty restraint on vCPU".

Dirtylimit qtest use the existing bootsect in tests/migration/i386 to start test vm. The x86.bootsect repeatedly increments the first byte of each page in a 100MB range, so it can be a workload for dirtylimit test.

We limit dirtyrate at one-third of origin workload to check if dirtylimit take effect, then query the dirtylimit info and cancel it, so all the qmp interface can be covered.

Since the dirtylimit has not been merged yet, this patchset is posted for RFC.

Please review, thanks !

Yong.

Hyman Huang (2):
migration-test: Export migration-test util funtions
tests: Add dirty page rate limit test

 tests/qtest/dirtylimit-test.c   | 288 ++++++++++++++++++++++++++++++++++++++++
 tests/qtest/meson.build         |   2 +
 tests/qtest/migration-helpers.c |  95 +++++++++++++
 tests/qtest/migration-helpers.h |  15 +++
 tests/qtest/migration-test.c    | 102 --------------
 5 files changed, 400 insertions(+), 102 deletions(-)
 create mode 100644 tests/qtest/dirtylimit-test.c
Signature · 1 line
1.8.3.1