Skip to content
This repository was archived by the owner on Jul 17, 2025. It is now read-only.

Commit 1e8d4e1

Browse files
committed
bench: find the timeout/memory value
Signed-off-by: Reto Achermann <achreto@gmail.com>
1 parent dbcffdd commit 1e8d4e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kernel/tests/s11_rackscale_benchmarks.rs

Lines changed: 3 additions & 3 deletions
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 = 4 * 1024;
466+
const MEMCACHED_MEM_SIZE_MB: usize = 1 * 1024;
467467
const MEMCACHED_NUM_QUERIES: usize = 10_000_000;
468468

469469
#[derive(Clone)]
@@ -640,7 +640,7 @@ fn rackscale_memcached_benchmark(transport: RackscaleTransport) {
640640
}
641641

642642
fn rackscale_timeout_fn(num_cores: usize) -> u64 {
643-
240_000 + 5_000 * num_cores as u64
643+
500_000 + 5_000 * num_cores as u64
644644
}
645645

646646
fn mem_fn(num_cores: usize, is_smoke: bool) -> usize {
@@ -1313,7 +1313,7 @@ fn s11_rackscale_memcached_benchmark_sharded_nros() {
13131313
}
13141314

13151315
fn rackscale_timeout_fn(num_cores: usize) -> u64 {
1316-
300_000 + 4_500 * num_cores as u64
1316+
500_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)