linux/tools/testing/selftests/kvm/include
Ben Gardon 4fd94ec7d5 KVM: selftests: Introduce the dirty log perf test
The dirty log perf test will time verious dirty logging operations
(enabling dirty logging, dirtying memory, getting the dirty log,
clearing the dirty log, and disabling dirty logging) in order to
quantify dirty logging performance. This test can be used to inform
future performance improvements to KVM's dirty logging infrastructure.

This series was tested by running the following invocations on an Intel
Skylake machine:
dirty_log_perf_test -b 20m -i 100 -v 64
dirty_log_perf_test -b 20g -i 5 -v 4
dirty_log_perf_test -b 4g -i 5 -v 32
demand_paging_test -b 20m -v 64
demand_paging_test -b 20g -v 4
demand_paging_test -b 4g -v 32
All behaved as expected.

Signed-off-by: Ben Gardon <bgardon@google.com>
Message-Id: <20201027233733.1484855-6-bgardon@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-11-08 06:04:08 -05:00
..
aarch64 kvm: selftests: introduce aarch64_vcpu_add_default 2019-06-05 14:14:45 +02:00
s390x KVM: selftests: Add processor code for s390x 2019-06-04 14:05:38 +02:00
x86_64 selftests: kvm: test enforcement of paravirtual cpuid features 2020-11-08 06:02:16 -05:00
evmcs.h KVM: selftests: Fix build for evmcs.h 2020-05-06 06:51:36 -04:00
kvm_util.h KVM: selftests: Drop pointless vm_create wrapper 2020-11-08 06:03:36 -05:00
perf_test_util.h KVM: selftests: Introduce the dirty log perf test 2020-11-08 06:04:08 -05:00
sparsebit.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00
test_util.h KVM: selftests: Introduce the dirty log perf test 2020-11-08 06:04:08 -05:00