Skip to content

Commit 0338a13

Browse files
committed
perf-test: Permit 100% overcommit
It's ok to use all the memory, we aren't running other workloads while benchmarking.
1 parent 0fb27b4 commit 0338a13

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/perf-test/run-on-ec2.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ chmod o+wt '/sys/fs/cgroup/cpu,cpuacct/user.slice'
2525
chmod o+wt '/sys/fs/cgroup/memory/user.slice'
2626
chmod o+wt '/sys/fs/cgroup/freezer/'
2727

28+
# we can use all the memory
29+
echo 100 > /proc/sys/vm/overcommit_ratio
30+
2831
# update benchmarks
2932
cd /mnt/sv-benchmarks
3033
git pull

0 commit comments

Comments
 (0)