Skip to content

Commit

Permalink
memcached: 64G memory and 10M queries
Browse files Browse the repository at this point in the history
Signed-off-by: Reto Achermann <[email protected]>
  • Loading branch information
achreto committed Nov 27, 2023
1 parent 2c1f49b commit 8d8bbe6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kernel/testutils/src/memcached.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use std::time::Duration;
use rexpect::errors::*;
use rexpect::session::{spawn_command, PtySession};

pub const MEMCACHED_MEM_SIZE_MB: usize = 4 * 1024;
pub const MEMCACHED_MEM_SIZE_MB: usize = 64 * 1024;
pub const MEMCACHED_NUM_QUERIES: usize = 10_000_000;

pub const RACKSCALE_MEMCACHED_CSV_COLUMNS: &str =
Expand Down Expand Up @@ -248,6 +248,7 @@ pub fn spawn_loadbalancer(config: &MemcachedShardedConfig, timeout_ms: u64) -> R
}
command.arg(servers.as_str());
command.current_dir(config.path.as_path());
command.env("LD_LIBRARY_PATH", "build/lib")

// give the servers some time to be spawned
std::thread::sleep(Duration::from_secs(5));
Expand Down

0 comments on commit 8d8bbe6

Please sign in to comment.