Created
August 31, 2018 07:54
-
-
Save mtulio/8589994390637332448f8416f0d090c8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
| # Benchmark in Linux OS using FIO and IOping | |
| ## FIO | |
| # Random read performance | |
| time fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 \ | |
| --name=test --filename=./test-r \ | |
| --bs=4k --iodepth=64 --size=40G --readwrite=randrw --rwmixread=75 | |
| # Random write performance | |
| ./fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 \ | |
| --name=test --filename=./test-w \ | |
| --bs=4k --iodepth=64 --size=40G --readwrite=randwrite | |
| ## IOPing | |
| ./ioping -c 10 . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment