首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何将Fio配置为更精确的IOP结果

如何将Fio配置为更精确的IOP结果
EN

Server Fault用户
提问于 2016-07-30 13:12:21
回答 1查看 371关注 0票数 -3

我正在使用fio测试我的服务器可以提供多少iops。我的conf文件说要写一个20 it的文件并读取它。THe结果显示为iops=27291。但测试只持续10秒。我想知道测试是否持续两个小时--例如,我会得到关于我的服务器IOP的更准确的结果。

代码语言:javascript
复制
# cat fio/fio-readwrite-20g.fio 
[global]
ioengine=posixaio
rw=readwrite
size=20g
directory=/home/ustore/fio
thread=10
write_bw_log=fio-test
write_iops_log=fio-test
write_lat_log=fio-test

[fio-readwrite-20g]
EN

回答 1

Server Fault用户

回答已采纳

发布于 2016-07-30 14:10:58

读取手册页会产生

代码语言:javascript
复制
   runtime=int
          Terminate processing after the specified number of seconds.

   time_based
          If  given, run for the specified runtime duration even if the files 
          are completely read or written. The same workload will
          be repeated as many times as runtime allows.
票数 2
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/792880

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档