Created
April 28, 2020 07:55
-
-
Save koungkub/76cad605bdd17832ee607b2283344f29 to your computer and use it in GitHub Desktop.
I/O benchmark
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
// install | |
sudo apt install fio -y | |
// read | |
fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --filename=random_read.fio --bs=4k --iodepth=64 --size=4G --readwrite=randread; | |
// write | |
fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --filename=random_write.fio --bs=4k --iodepth=64 --size=4G --readwrite=randwrite; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment