Re: [kvm-unit-tests PATCH v8 05/35] arch-run: Add a "continuous" migration option for tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 05/04/2024 10.35, Nicholas Piggin wrote:
The cooperative migration protocol is very good to control precise
pre and post conditions for a migration event. However in some cases
its intrusiveness to the test program, can mask problems and make
analysis more difficult.

For example to stress test migration vs concurrent complicated
memory access, including TLB refill, ram dirtying, etc., then the
tight spin at getchar() and resumption of the workload after
migration is unhelpful.

This adds a continuous migration mode that directs the harness to
perform migrations continually. This is added to the migration
selftests, which also sees cooperative migration iterations reduced
to avoid increasing test time too much.

Signed-off-by: Nicholas Piggin <npiggin@xxxxxxxxx>
  common/selftest-migration.c | 16 +++++++++--
  lib/migrate.c               | 18 ++++++++++++
  lib/migrate.h               |  3 ++
  scripts/arch-run.bash       | 55 ++++++++++++++++++++++++++++++++-----
  4 files changed, 82 insertions(+), 10 deletions(-)

Reviewed-by: Thomas Huth <thuth@xxxxxxxxxx>

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux