Last active
January 29, 2017 19:48
-
-
Save dbathgate/66e1af6c8d4c6ba6ee4e2030f73d882f to your computer and use it in GitHub Desktop.
Disk Speed Tests
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
# Writes | |
nohup dd if=/dev/zero of=/disk1/file.bin bs=5G count=1 oflag=direct </dev/null > disk1.out & | |
nohup dd if=/dev/zero of=/disk2/file.bin bs=5G count=1 oflag=direct </dev/null > disk2.out & | |
#Reads | |
sync ; echo 3 > /proc/sys/vm/drop_caches | |
nohup dd if=/disk1/file.bin of=/dev/null bs=8k </dev/null > disk1_read.out & | |
nohup dd if=/disk2/file.bin of=/dev/null bs=8k </dev/null > disk2_read.out & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment