Skip to content

Commit aa35275

Browse files
committed
bench: find the timeout/memory value
Signed-off-by: Reto Achermann <[email protected]>
1 parent 008d3c7 commit aa35275

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/tests/s11_rackscale_benchmarks.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ fn s11_rackscale_shmem_leveldb_benchmark() {
463463
bench.run_bench(false, is_smoke);
464464
}
465465

466-
const MEMCACHED_MEM_SIZE_MB: usize = 1 * 1024;
466+
const MEMCACHED_MEM_SIZE_MB: usize = 256;
467467
const MEMCACHED_NUM_QUERIES: usize = 10_000_000;
468468

469469
#[derive(Clone)]
@@ -1313,7 +1313,7 @@ fn s11_rackscale_memcached_benchmark_sharded_nros() {
13131313
}
13141314

13151315
fn rackscale_timeout_fn(num_cores: usize) -> u64 {
1316-
500_000 + 4_500 * num_cores as u64
1316+
600_000 + 4_500 * num_cores as u64
13171317
}
13181318

13191319
fn mem_fn(num_cores: usize, is_smoke: bool) -> usize {

0 commit comments

Comments
 (0)