mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
ci(benchmark): Fix bootstrap script (#10863)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user