Last active
January 19, 2020 15:45
-
-
Save alwaysR9/e2bd933b6eaaf347e03a714e82ef5d2e to your computer and use it in GitHub Desktop.
test disk io with two read process
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
echo 1 > /proc/sys/vm/drop_caches | |
#dd if=data/cache.block.1 bs=4096k count=3000000 of=/dev/null iflag=direct & | |
#dd if=data/cache.block.2 bs=4096k count=3000000 of=/dev/null iflag=direct & | |
dd if=data/cache.block.1 bs=4096k count=3000000 of=/dev/null & | |
dd if=data/cache.block.2 bs=4096k count=3000000 of=/dev/null & |
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
echo 1 > /proc/sys/vm/drop_caches | |
fio -filename=data/cache.block.1 -direct=0 -iodepth 1 -rw=read -ioengine=psync -bs=16M -size=30G -numjobs=1 -runtime=1000 -group_reporting -name=fio_1 & | |
fio -filename=data/cache.block.2 -direct=0 -iodepth 1 -rw=read -ioengine=psync -bs=16M -size=30G -numjobs=1 -runtime=1000 -group_reporting -name=fio_2 & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment