Automated test scripts
YABS
https://github.com/masonr/yet-another-bench-script
curl -LO https://raw.githubusercontent.com/l2dy/yet-another-bench-script/0ec2a2afb086506b58c813ff103862a187135cc9/yabs.sh
chmod +x yabs.sh
sudo apt install fio iperf3
./yabs.sh
fio
IOPS performance test
# Test disk random read
sudo fio --filename=<device name> --direct=1 --rw=randread --bs=4k --ioengine=libaio --iodepth=256 --runtime=120 --numjobs=4 --time_based --group_reporting --name=iops-test-job --eta-newline=1 --readonly
# Test file random read/writes
sudo fio --filename=/<custom mount point>/file --size=500GB --direct=1 --rw=randrw --bs=4k --ioengine=libaio --iodepth=256 --runtime=120 --numjobs=4 --time_based --group_reporting --name=iops-test-job --eta-newline=1
# Test disk random read/writes (dangerous)
sudo fio --filename=<device name> --direct=1 --rw=randrw --bs=4k --ioengine=libaio --iodepth=256 --runtime=120 --numjobs=4 --time_based --group_reporting --name=iops-test-job --eta-newline=1