fio
fio性能要点:
1、HDD不预热
2、NVME要绑核,
3、预热中--thread对时间没用。--numjobs改大的话时间更长。--filename=[/dev/sda: /dev/sdb: /dev/sdc]是多盘时间和。
多盘进行单盘遍历,总时间是单盘时间。
预热:
1、性能测试中rw=read、rw=write、rw=rw,执行如下预热命令:
fio --filename=NAME --ioengine=libaio --direct=1 --thread=1 --buffered=0 --numjobs=1 --iodepth=64 --rw=write --bs=128k --time_based=1 --group_reporting --name=test7 --norandommap --loops=2
2、性能测试中rw=randread、rw=randwrite、rw=randrw,执行如下预热命令:
fio --filename=NAME --ioengine=libaio --direct=1 --thread=1 --buffered=0 --numjobs=1 --iodepth=64 --rw=randwrite --bs=4k --time_based=1 --group_reporting --name=test7 --norandommap --loops=2

浙公网安备 33010602011771号