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

Commit df26a1e

Browse files
committed
more tweaks with the memory sizes
Signed-off-by: Reto Achermann <achreto@gmail.com>
1 parent 33538fe commit df26a1e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

kernel/tests/s11_rackscale_benchmarks.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ fn s11_rackscale_memcached_benchmark_sharded_linux() {
868868
}
869869
};
870870

871-
let timeout_ms = 300_000;
871+
let timeout_ms = if is_smoke { 60_000 } else { 600_000 };
872872

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

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

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

scripts/ci.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ RUST_TEST_THREADS=1 cargo test --test s11* -- s11_rackscale_shmem_vmops_maptput_
3131
RUST_TEST_THREADS=1 cargo test --test s11* -- s11_rackscale_shmem_vmops_maplat_benchmark --nocapture
3232
RUST_TEST_THREADS=1 cargo test --test s11* -- s11_rackscale_shmem_fxmark_bench --nocapture
3333
RUST_TEST_THREADS=1 cargo test --test s11* -- s11_rackscale_memcached_benchmark_internal --nocapture
34-
RUST_TEST_THREADS=1 cargo test --test s11* -- s11_rackscale_memcached_benchmark_sharded_nros --nocapture
3534
RUST_TEST_THREADS=1 cargo test --test s11* -- s11_rackscale_memcached_benchmark_sharded_linux --nocapture
35+
RUST_TEST_THREADS=1 cargo test --test s11* -- s11_rackscale_memcached_benchmark_sharded_nros --nocapture
3636

3737
# Clone repo
3838
rm -rf gh-pages

0 commit comments

Comments
 (0)