Skip to content

Commit

Permalink
more tweaks with the memory sizes
Browse files Browse the repository at this point in the history
Signed-off-by: Reto Achermann <[email protected]>
  • Loading branch information
achreto committed Oct 12, 2023
1 parent 33538fe commit df26a1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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 @@ -868,7 +868,7 @@ fn s11_rackscale_memcached_benchmark_sharded_linux() {
}
};

let timeout_ms = 300_000;
let timeout_ms = if is_smoke { 60_000 } else { 600_000 };

fn run_benchmark_internal(config: &MemcachedShardedConfig, timeout_ms: u64) -> PtySession {
Command::new("killall").args(&["memcached"]).status().ok();
Expand Down Expand Up @@ -1324,7 +1324,7 @@ fn s11_rackscale_memcached_benchmark_sharded_nros() {
}

fn rackscale_timeout_fn(num_cores: usize) -> u64 {
600_000 + 4_500 * num_cores as u64
600_000 + 60_000 * num_cores as u64
}

fn mem_fn(num_cores: usize, is_smoke: bool) -> usize {
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci.bash
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ RUST_TEST_THREADS=1 cargo test --test s11* -- s11_rackscale_shmem_vmops_maptput_
RUST_TEST_THREADS=1 cargo test --test s11* -- s11_rackscale_shmem_vmops_maplat_benchmark --nocapture
RUST_TEST_THREADS=1 cargo test --test s11* -- s11_rackscale_shmem_fxmark_bench --nocapture
RUST_TEST_THREADS=1 cargo test --test s11* -- s11_rackscale_memcached_benchmark_internal --nocapture
RUST_TEST_THREADS=1 cargo test --test s11* -- s11_rackscale_memcached_benchmark_sharded_nros --nocapture
RUST_TEST_THREADS=1 cargo test --test s11* -- s11_rackscale_memcached_benchmark_sharded_linux --nocapture
RUST_TEST_THREADS=1 cargo test --test s11* -- s11_rackscale_memcached_benchmark_sharded_nros --nocapture

# Clone repo
rm -rf gh-pages
Expand Down

0 comments on commit df26a1e

Please sign in to comment.