From aa3527533b4748d3d53c11e8006c0c35e4ee2959 Mon Sep 17 00:00:00 2001 From: Reto Achermann Date: Tue, 10 Oct 2023 20:28:10 -0700 Subject: [PATCH] bench: find the timeout/memory value Signed-off-by: Reto Achermann --- kernel/tests/s11_rackscale_benchmarks.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/tests/s11_rackscale_benchmarks.rs b/kernel/tests/s11_rackscale_benchmarks.rs index b63fa406..2b546f57 100644 --- a/kernel/tests/s11_rackscale_benchmarks.rs +++ b/kernel/tests/s11_rackscale_benchmarks.rs @@ -463,7 +463,7 @@ fn s11_rackscale_shmem_leveldb_benchmark() { bench.run_bench(false, is_smoke); } -const MEMCACHED_MEM_SIZE_MB: usize = 1 * 1024; +const MEMCACHED_MEM_SIZE_MB: usize = 256; const MEMCACHED_NUM_QUERIES: usize = 10_000_000; #[derive(Clone)] @@ -1313,7 +1313,7 @@ fn s11_rackscale_memcached_benchmark_sharded_nros() { } fn rackscale_timeout_fn(num_cores: usize) -> u64 { - 500_000 + 4_500 * num_cores as u64 + 600_000 + 4_500 * num_cores as u64 } fn mem_fn(num_cores: usize, is_smoke: bool) -> usize {