mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
performance-metrics: Add AIO completion drain micro benchmark
Add micro_block_raw_aio_drain_128_us and micro_block_raw_aio_drain_256_us tests that submit N AIO writes to a temporary file, wait for the eventfd signal, then time how long it takes to drain all completions via next_completed_request(). This measures per completion syscall overhead and provides a baseline before any batching optimizations. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -1596,8 +1596,10 @@ dependencies = [
|
||||
name = "performance-metrics"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"block",
|
||||
"clap",
|
||||
"dirs",
|
||||
"libc",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"test_infra",
|
||||
|
||||
Reference in New Issue
Block a user