mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-12 15:44:06 -08:00
ci(benchmark): Fix bootstrap script (#10863)
This commit is contained in:
parent
44e5fb9b06
commit
c1d88f3bb3
|
@ -43,7 +43,6 @@ sudo systemctl disable getty@tty1.service
|
||||||
sudo systemctl disable serial-getty@ttyS0.service
|
sudo systemctl disable serial-getty@ttyS0.service
|
||||||
# Snap
|
# Snap
|
||||||
sudo systemctl disable snapd.service
|
sudo systemctl disable snapd.service
|
||||||
sudo apt remove snapd
|
|
||||||
# Unattended upgrades
|
# Unattended upgrades
|
||||||
sudo systemctl disable unattended-upgrades.service
|
sudo systemctl disable unattended-upgrades.service
|
||||||
# Cron
|
# Cron
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Install fio
|
# Install fio
|
||||||
sudo apt-get -y install fio > /dev/null
|
DEBIAN_FRONTEND=noninteractive sudo apt-get -y install fio > /dev/null
|
||||||
|
|
||||||
# Run the disk benchmark
|
# Run the disk benchmark
|
||||||
fio --name=rand_rw --ioengine=libaio --rw=randrw --rwmixread=70 --bs=4k --numjobs=4 --size=1G --runtime=30 --directory=/n8n --group_reporting
|
fio --name=rand_rw --ioengine=libaio --rw=randrw --rwmixread=70 --bs=4k --numjobs=4 --size=1G --runtime=30 --directory=/n8n --group_reporting
|
||||||
|
@ -10,4 +10,4 @@ fio --name=rand_rw --ioengine=libaio --rw=randrw --rwmixread=70 --bs=4k --numjob
|
||||||
sudo rm /n8n/rand_rw.*
|
sudo rm /n8n/rand_rw.*
|
||||||
|
|
||||||
# Uninstall fio
|
# Uninstall fio
|
||||||
sudo apt-get -y remove fio
|
DEBIAN_FRONTEND=noninteractive sudo apt-get -y remove fio > /dev/null
|
||||||
|
|
Loading…
Reference in a new issue