Last active
September 9, 2021 06:14
-
-
Save Lyken17/bcb43cc55e7ad81c094723251318c31a to your computer and use it in GitHub Desktop.
Folder IO Test
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
# Write speed benchmark | |
dd if=/dev/zero of=./tmp oflag=direct bs=128k count=16k conv=fdatasync | |
dd if=/dev/zero of=./tmp oflag=direct bs=128M count=16 conv=fdatasync | |
dd if=/dev/zero of=./tmp oflag=direct bs=4k count=512k conv=fdatasync | |
# 4k read and write | |
dd if=./tmp of=/dev/null iflag=direct bs=128k count=16k | |
dd if=./tmp of=/dev/null iflag=direct bs=128M count=16 | |
dd if=./tmp of=/dev/null iflag=direct bs=4k count=128k |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment