测试命令

  1. # 100%随机,100%读, 4K
  2. fio -filename=/test.txt -direct=1 -iodepth 1 -thread -rw=randread -ioengine=psync -bs=4k -size=60G -numjobs=50 -runtime=600 -group_reporting -name=rand_100read_4k
  3. # 100%随机,100%写, 4K
  4. fio -filename=/test.txt -direct=1 -iodepth 1 -thread -rw=randwrite -ioengine=psync -bs=4k -size=60G -numjobs=50 -runtime=600 -group_reporting -name=rand_100write_4k
  5. # 100%顺序,100%读 ,4K
  6. fio -filename=/test.txt -direct=1 -iodepth 1 -thread -rw=read -ioengine=psync -bs=4k -size=60G -numjobs=50 -runtime=600 -group_reporting -name=sqe_100read_4k
  7. # 100%顺序,100%写 ,4K
  8. fio -filename=/test.txt -direct=1 -iodepth 1 -thread -rw=write -ioengine=psync -bs=4k -size=60G -numjobs=50 -runtime=600 -group_reporting -name=sqe_100write_4k
  9. # 100%随机,70%读,30%写 4K
  10. fio -filename=/test.txt -direct=1 -iodepth 1 -thread -rw=randrw -rwmixread=70 -ioengine=psync -bs=4k -size=60G -numjobs=50 -runtime=600 -group_reporting -name=randrw_70read_4k

测试环境

操作系统:CentOS 7.9 x64
内核版本:5.14.13
文件系统:xfs
CPU:
内存:
硬盘型号:
后续给出不同型号硬盘(sata 7.2k、sas 10k、sas 15K、sata ssd、nvme ssd)实测值,当前为ceph环境,暂时没有条件进行单盘测试