fio
Set-up:
- Queue depth of 4.
- Perform tests of read, write, random read and random write.
- Perform tests of 4k, 64K, 128K and 1M block sizes.
The pools:
fast
: Single Samsung Pro 128GB SSD.data
: Striped pool of 3x Seagate Archive HDD 8TB.nas
: Mirror pool of HGST Deskstar NAS 4TB + Partitioned HGST Deskstar NAS 6TB.extra
: Single 2TB leftover partition of the HGST Deskstar NAS 6TB.seed
: Striped pool of 2x WD Green 3.5" 1TB and 1x WD Red NAS 2.5" 1TB.
If you wish to drop all caches before starting a test:
echo 3 > /proc/sys/vm/drop_caches
Though, wouldn't recommend it.
cd /dev/shm fio --filename=test --sync=1 --rw=randread --bs=4k --numjobs=1 --iodepth=4 --group_reporting --name=test --filesize=10G --runtime=300 && rm test fio --filename=test --sync=1 --rw=randwrite --bs=4k --numjobs=1 --iodepth=4 --group_reporting --name=test --filesize=10G --runtime=300 && rm test fio --filename=test --sync=1 --rw=read --bs=4k --numjobs=1 --iodepth=4 --group_reporting --name=test --filesize=10G --runtime=300 && rm test fio --filename=test --sync=1 --rw=write --bs=4k --numjobs=1 --iodepth=4 --group_reporting --name=test --filesize=10G --runtime=300 && rm test cd -