qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] Add dirty page rate limit qtest
@ 2022-03-09 15:57 huangy81
  2022-03-09 15:58 ` [RFC PATCH 1/2] migration-test: Export migration-test util funtions huangy81
  2022-03-09 15:58 ` [RFC PATCH 2/2] tests: Add dirty page rate limit test huangy81
  0 siblings, 2 replies; 5+ messages in thread
From: huangy81 @ 2022-03-09 15:57 UTC (permalink / raw)
  To: qemu-devel
  Cc: Markus Armbruster, Hyman, Dr. David Alan Gilbert, Peter Xu,
	Juan Quintela

From: Hyman Huang(黄勇) <huangy81@chinatelecom.cn>

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

-- 
1.8.3.1



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-03-10 14:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-09 15:57 [RFC PATCH 0/2] Add dirty page rate limit qtest huangy81
2022-03-09 15:58 ` [RFC PATCH 1/2] migration-test: Export migration-test util funtions huangy81
2022-03-09 15:58 ` [RFC PATCH 2/2] tests: Add dirty page rate limit test huangy81
2022-03-10  8:29   ` Peter Xu
2022-03-10 14:50     ` Hyman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).