测试命令
# 100%随机,100%读, 4K
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
# 100%随机,100%写, 4K
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
# 100%顺序,100%读 ,4K
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
# 100%顺序,100%写 ,4K
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
# 100%随机,70%读,30%写 4K
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环境,暂时没有条件进行单盘测试