linux/tools/testing/selftests/kvm/lib
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 selftests: kvm: Add exception handling to selftests 2020-11-08 06:02:15 -05:00
s390x selftests: kvm: Add exception handling to selftests 2020-11-08 06:02:15 -05:00
x86_64 selftests: kvm: test enforcement of paravirtual cpuid features 2020-11-08 06:02:16 -05:00
assert.c KVM: selftests: Use consistent message for test skipping 2020-03-16 17:59:05 +01:00
elf.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00
io.c selftests: kvm: Uses TEST_FAIL in tests/utilities 2020-03-16 17:59:11 +01:00
kvm_util_internal.h selftests: kvm: Add exception handling to selftests 2020-11-08 06:02:15 -05:00
kvm_util.c KVM: selftests: Drop pointless vm_create wrapper 2020-11-08 06:03:36 -05:00
sparsebit.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00
test_util.c KVM: selftests: Introduce the dirty log perf test 2020-11-08 06:04:08 -05:00