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

Commit 8d8bbe6

Browse files
committed
memcached: 64G memory and 10M queries
Signed-off-by: Reto Achermann <[email protected]>
1 parent 2c1f49b commit 8d8bbe6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kernel/testutils/src/memcached.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use std::time::Duration;
1111
use rexpect::errors::*;
1212
use rexpect::session::{spawn_command, PtySession};
1313

14-
pub const MEMCACHED_MEM_SIZE_MB: usize = 4 * 1024;
14+
pub const MEMCACHED_MEM_SIZE_MB: usize = 64 * 1024;
1515
pub const MEMCACHED_NUM_QUERIES: usize = 10_000_000;
1616

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

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

0 commit comments

Comments
 (0)