Skip to content

Commit

Permalink
chore: tune the benchmark worker
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Dec 11, 2024
1 parent 1a5e6f9 commit cdf78c2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ jobs:
docker run -d --name nats-jetstream -p 4443:4443 -v ./nats/testdata:/testdata -v ./tls:/tls nats:latest --jetstream -c /testdata/nats-tls.conf
sleep 2
- name: Tune the environment
run: |
cat /proc/sys/fs/aio-max-nr
echo "fs.aio-max-nr = 1048576" >> /etc/sysctl.conf
sudo sysctl -p /etc/sysctl.conf
- name: Run Benchmarks
run: |
set -o pipefail
Expand Down

0 comments on commit cdf78c2

Please sign in to comment.