Skip to content

Commit

Permalink
bench: find the timeout/memory value
Browse files Browse the repository at this point in the history
Signed-off-by: Reto Achermann <[email protected]>
  • Loading branch information
achreto committed Oct 11, 2023
1 parent 008d3c7 commit aa35275
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/tests/s11_rackscale_benchmarks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit aa35275

Please sign in to comment.