Last active
April 23, 2020 10:15
-
-
Save EugenMayer/0b19fecfd9f6a05adada323a659f36bb to your computer and use it in GitHub Desktop.
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
[global] | |
loops=1 | |
time_based | |
ramp_time=60 | |
runtime=180 | |
direct=1 | |
ioengine=libaio | |
cpus_allowed=0,2 | |
filename=/mnt/storage/docker/test/testfile | |
size=2G | |
[4k 100%random 100% read] | |
rw=randread | |
bs=4k | |
numjobs=8 | |
iodepth=4 | |
stonewall | |
[4k 100%random 100% write] | |
rw=randwrite | |
bs=4k | |
numjobs=8 | |
iodepth=4 | |
stonewall | |
[64k 100%seq 100% read] | |
rw=read | |
bs=64k | |
numjobs=8 | |
iodepth=4 | |
stonewall | |
[64k 100%seq 100% write] | |
rw=write | |
bs=64k | |
numjobs=8 | |
iodepth=4 | |
stonewall | |
[8k 50/50 Random/seq 70/30 Read/Write] | |
rwmixread=70 | |
rw=rw | |
bs=8k | |
numjobs=4 | |
iodepth=2 | |
[8k 50/50 Random/seq 70/30 Read/Write] | |
rwmixread=70 | |
rw=randrw | |
bs=8k | |
numjobs=4 | |
iodepth=2 |
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
# prepare | |
Login on your docker-host and store the file `~/fioconfig.fio` with the content above | |
Now run those 2 tests | |
# NFS test | |
``` | |
fio ~/fioconfig.fio --filenanme /path/to/nfs/mount/somerandomefile | |
``` | |
# Local filesystem test | |
``` | |
fio ~/fioconfig.fio --filenanme /tmp/testfile | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Docker Host
Setup:
NFS (local network to nas)
fio ~/fioconfig.fio --filename /mnt/storage/docker/testfile
local filestyme
fio ~/fioconfig.fio --filename /tmp/testfile