fio 参数节选 I/O rate

fio 参数节选

thinktime的默认时间单位是us
runtime的默认时间是s

thinktime是指在fio的每一个IO完成时候都会插入一个停顿时间,
例如:
fio --name=randread --ioengine=libaio --iodepth=32 --rw=randread --bs=4k --direct=1 --size=100% --numjobs=1 --runtime=60s --thinktime=1000000 --filename=/dev/nvme3n1
随着thinktime 从1逐渐增加到1000000的过程中,fio output IOPS逐渐降低,特别是在IOPS较低时候,基本上是线性的反比例关系,在IOSP较高的时候,会因为其余因素的影响诶逐渐趋于平缓

 I/O rate
       thinktime=time
              Stall the job for the specified period of time after an I/O has completed before issuing the next. May be used to simulate  processing  being
              done by an application.  When the unit is omitted, the value is interpreted in microseconds. See thinktime_blocks and thinktime_spin
       thinktime_spin=time
              Only  valid  if  thinktime is set - pretend to spend CPU time doing something with the
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值