-
-
Save jandusek/99c68b9b910a9509e4c6b3b8ca8b11dd to your computer and use it in GitHub Desktop.
Benchmark script used for OWC ThunderBay 6 tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DISK=/dev/rdiskX # make sure to use rdiskX and not just diskX as IO to diskX is buffered | |
COMMON="--randrepeat=1 --gtod_reduce=1 --iodepth=64 --ioengine=posixaio" | |
fio --rw=randread $COMMON --bs=4k --direct=1 --name="4kB Random Read" --size=1G --output=fio1.txt --filename=$DISK | |
sleep 5 | |
fio --rw=randwrite $COMMON --bs=4k --direct=1 --name="4kB Random Write" --size=1G --output=fio2.txt --filename=$DISK | |
sleep 5 | |
fio --rw=read $COMMON --bs=128k --direct=1 --name="128kB Sequential Read" --size=16G --output=fio3.txt --filename=$DISK | |
sleep 5 | |
fio --rw=write $COMMON --bs=128k --direct=1 --name="128kB Sequential Write" --size=16G --output=fio4.txt --filename=$DISK | |
sleep 5 | |
fio --rw=randrw $COMMON --bs=4k --direct=1 --rwmixread=75 --name="mixed 4kB Random RW direct" --size=1G --output=fio5.txt --filename=$DISK | |
sleep 5 | |
fio --rw=rw $COMMON --bs=128k --direct=1 --rwmixread=75 --name="mixed 128kB Sequential RW direct" --size=16G --output=fio6.txt --filename=$DISK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment