]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: selftests: Report per-vcpu demand paging rate from demand paging test
authorAnish Moorthy <amoorthy@google.com>
Thu, 15 Feb 2024 23:54:01 +0000 (23:54 +0000)
committerSean Christopherson <seanjc@google.com>
Tue, 9 Apr 2024 21:16:48 +0000 (14:16 -0700)
commit2ca76c12c48b7a2792b21a673ca01a6d8fb2e835
tree5b838f1f306d7edf6ab7571c50690d9758304115
parentfec50db7033ea478773b159e0e2efb135270e3b7
KVM: selftests: Report per-vcpu demand paging rate from demand paging test

Using the overall demand paging rate to measure performance can be
slightly misleading when vCPU accesses are not overlapped. Adding more
vCPUs will (usually) increase the overall demand paging rate even
if performance remains constant or even degrades on a per-vcpu basis. As
such, it makes sense to report both the total and per-vcpu paging rates.

Signed-off-by: Anish Moorthy <amoorthy@google.com>
Link: https://lore.kernel.org/r/20240215235405.368539-11-amoorthy@google.com
[sean: fix formatting]
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/demand_paging_test.c