Skip to content

Commit

Permalink
fix: run with sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Dec 11, 2024
1 parent cdf78c2 commit a7a26b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ jobs:
- name: Tune the environment
run: |
cat /proc/sys/fs/aio-max-nr
echo "fs.aio-max-nr = 1048576" >> /etc/sysctl.conf
sudo echo "fs.aio-max-nr = 1048576" >> /etc/sysctl.conf
sudo sysctl -p /etc/sysctl.conf
cat /proc/sys/fs/aio-max-nr
- name: Run Benchmarks
run: |
Expand Down

0 comments on commit a7a26b8

Please sign in to comment.