mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Add micro_bench_qcow_random_read which reads clusters from a prepopulated qcow2 image in a deterministic pseudo-random order. Unlike the sequential read benchmark, this exercises L2 cache miss and eviction behaviour under random access patterns. Uses Fisher-Yates shuffle with DefaultHasher for reproducible permutation across runs. Two TEST_LIST entries: micro_block_qcow_random_read_128_us and micro_block_qcow_random_read_256_us with 128 and 256 cluster workloads. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>