All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v10 0/4] randomize memory access of dirty_log_perf_test
@ 2022-11-07 18:22 Colton Lewis
  2022-11-07 18:22 ` [PATCH v10 1/4] KVM: selftests: implement random number generator for guest code Colton Lewis
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Colton Lewis @ 2022-11-07 18:22 UTC (permalink / raw)
  To: kvm; +Cc: pbonzini, maz, dmatlack, seanjc, oupton, ricarkol, Colton Lewis

Add the ability to randomize parts of dirty_log_perf_test,
specifically the order pages are accessed and whether pages are read
or written.

v10:

Move setting default random seed to argument parsing code.

Colton Lewis (4):
  KVM: selftests: implement random number generator for guest code
  KVM: selftests: create -r argument to specify random seed
  KVM: selftests: randomize which pages are written vs read
  KVM: selftests: randomize page access order

 .../selftests/kvm/access_tracking_perf_test.c |  2 +-
 .../selftests/kvm/dirty_log_perf_test.c       | 59 ++++++++++++++-----
 .../selftests/kvm/include/perf_test_util.h    |  8 ++-
 .../testing/selftests/kvm/include/test_util.h |  7 +++
 .../selftests/kvm/lib/perf_test_util.c        | 33 +++++++++--
 tools/testing/selftests/kvm/lib/test_util.c   | 17 ++++++
 6 files changed, 102 insertions(+), 24 deletions(-)

--
2.38.1.431.g37b22c650d-goog

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

end of thread, other threads:[~2022-11-30 20:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-07 18:22 [PATCH v10 0/4] randomize memory access of dirty_log_perf_test Colton Lewis
2022-11-07 18:22 ` [PATCH v10 1/4] KVM: selftests: implement random number generator for guest code Colton Lewis
2022-11-07 18:22 ` [PATCH v10 2/4] KVM: selftests: create -r argument to specify random seed Colton Lewis
2022-11-07 21:11   ` David Matlack
2022-11-07 18:22 ` [PATCH v10 3/4] KVM: selftests: randomize which pages are written vs read Colton Lewis
2022-11-07 18:22 ` [PATCH v10 4/4] KVM: selftests: randomize page access order Colton Lewis
2022-11-30 17:55 ` [PATCH v10 0/4] randomize memory access of dirty_log_perf_test Oliver Upton
2022-11-30 18:11   ` Marc Zyngier
2022-11-30 20:11     ` Sean Christopherson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.