Skip to content

Commit

Permalink
Since we run with 3 replicas sometimes, total memory needs to be divi…
Browse files Browse the repository at this point in the history
…ble by both # of cores and also by 3
  • Loading branch information
hunhoffe committed Jul 29, 2023
1 parent af0102b commit 2bb554a
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 @@ -622,7 +622,7 @@ fn rackscale_memcached_benchmark(transport: RackscaleTransport) {
}

fn mem_fn(num_cores: usize, is_smoke: bool) -> usize {
512 * num_cores + if is_smoke { 8192 } else { 40_000 }
512 * num_cores + if is_smoke { 8192 } else { 36_000 }
}

let bench = RackscaleBench {
Expand Down Expand Up @@ -702,7 +702,7 @@ fn rackscale_monetdb_benchmark(transport: RackscaleTransport) {
}

fn mem_fn(num_cores: usize, is_smoke: bool) -> usize {
512 * num_cores + if is_smoke { 8192 } else { 40_000 }
512 * num_cores + if is_smoke { 8192 } else { 36_000 }
}

let bench = RackscaleBench {
Expand Down

0 comments on commit 2bb554a

Please sign in to comment.