disk性能测试

fio -ioengine=libaio -bs=32k -direct=1 -thread -rw=randread -size=10G -filename=fio_randread_test.txt -name=’MyTest’ -iodepth=4 -runtime=60

fio -ioengine=libaio -bs=32k -direct=1 -thread -rw=randwrite -size=10G -filename=fio_randwrite_test.txt -name=’MyTest’ -iodepth=4 -runtime=60

fio -ioengine=libaio -bs=32k -direct=1 -thread -rw=randrw -percentage_random=100,0 -size=10G -filename=fio_randr_write_test.txt -name=’MyTest’ -iodepth=4 -runtime=60

dd bs=4k count=250000 oflag=direct if=/dev/zero of={{ deploy_dir }}/dd_test.txt

你可能感兴趣的:(io)