Skip to content

Commit

Permalink
tests: memcached-benchmark: give the VM more memory
Browse files Browse the repository at this point in the history
Signed-off-by: Reto Achermann <[email protected]>
  • Loading branch information
achreto committed Jul 19, 2023
1 parent 2dbee84 commit 2f51c17
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions kernel/tests/s10_benchmarks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -854,11 +854,11 @@ fn s10_memcached_benchmark_internal() {

// memcached arguments // currently not there.
let (qemu_mem, memsize, queries, timeout) = if cfg!(feature = "smoke") {
(4096 /* MB */, 16 /* MB */, 2000000, 240_000)
(8 * 1024 /* MB */, 16 /* MB */, 2000000, 240_000)
} else {
(
96000, /* MB */
32 * 1024, /* MB */
128 * 1024, /* MB */
32 * 1024, /* MB */
50000000,
600_000,
)
Expand Down
4 changes: 2 additions & 2 deletions usr/rkapps/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@ fn main() {
.unwrap();

println!(
"CHECKOUT b6cea024897ef73a6f06935e6dd660ea74a5fe3c {:?}",
"CHECKOUT 83deed5780e271a0829b09bf8eeb831331bfd2d9 {:?}",
out_dir
);
Command::new("git")
.args(&["checkout", "b6cea024897ef73a6f06935e6dd660ea74a5fe3c"])
.args(&["checkout", "83deed5780e271a0829b09bf8eeb831331bfd2d9"])
.current_dir(&Path::new(&out_dir))
.status()
.unwrap();
Expand Down

0 comments on commit 2f51c17

Please sign in to comment.