Centos系统中SSD HDD硬盘读写性能压测命令
#ssd 压4k
fio -filename=磁盘盘符 -direct=1 -iodepth 128 -thread -rw=randrw -rwmixread=90 -ioengine=psync -bs=4K -size=10G -numjobs=100 -runtime=30 -group_reporting -name=iops-test|grep 'read:'
#HDD 压256K
fio -filename=磁盘盘符 -direct=1 -iodepth 128 -thread -rw=randrw -rwmixread=90 -ioengine=psync -bs=256K -size=10G -numjobs=100 -runtime=30 -group_reporting -name=iops-test|grep 'read:'