Skip to content

Calculate memory access latency stats

Colton Lewis kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3KVM: selftests: Allocate additional space for latency samplestools/testing/selftests/kvm/lib/perf_test_util.c+10 -23 replies
2/3KVM: selftests: Collect memory access latency samplestools/testing/selftests/kvm/lib/perf_test_util.c+32 -28 replies
3/3KVM: selftests: Print summary stats of memory latency distributiontools/testing/selftests/kvm/dirty_log_perf_test.c tools/testing/selftests/kvm/include/perf_test_util.h tools/testing/selftests/kvm/lib/perf_test_util.c+66 -04 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] Calculate memory access latency stats

Sample the latency of memory accesses in dirty_log_perf_test and report summary stats to give a picture of the latency distribution. Specifically, focus on the right tail with the 50th, 90th, and 99th percentile reported in ns.

This patch depends on my previous dirty_log_perf_test patch adding the ability to randomize memory accesses. It needs the pRNG to do random sampling.

https://lore.kernel.org/kvm/[email protected]/

Colton Lewis (3):
KVM: selftests: Allocate additional space for latency samples
KVM: selftests: Collect memory access latency samples
KVM: selftests: Print summary stats of memory latency distribution

 .../selftests/kvm/dirty_log_perf_test.c       |   2 +
 .../selftests/kvm/include/perf_test_util.h    |   2 +
 .../selftests/kvm/lib/perf_test_util.c        | 103 +++++++++++++++++-
 3 files changed, 104 insertions(+), 3 deletions(-)

--
2.38.1.431.g37b22c650d-goog