FIO工具测试硬盘读写性能
下载网址: https://github.com/axboe/fio
安装:
./configure
make && make install
随机混合读写: fio -filename=/dev/sdb1 -direct=1 -iodepth 1 -thread -rw=randrw -rwmixread=70 -ioengine=psync -bs=16k -size=200G -numjobs=30 -runtime=100 --allow_mounted_write=1 -group_reporting -name=test