使用fio命令查看磁盘iops
具体命令: fio -filename=./localhost.2019-05-08.log -direct=1 -iodepth 1 -thread -rw=randrw -ioengine=psync -bs=16k -size=500M -numjobs=10 -runtime=10 -group_reporting -name=mytest
结果如下:
mytest: (g=0): rw=randrw, bs=16K-16K/16K-16K/16K-16K, ioengine=psync, iodepth=1
...
fio-2.2.10
Starting 10 threads
mytest: Laying out IO file(s) (1 file(s) / 500MB)
Jobs: 10 (f=10): [m(10)] [100.0% done] [1934KB/1310KB/0KB /s] [120/81/0 iops] [eta 00m:00s]
mytest: (groupid=0, jobs=10): err= 0: pid=28368: Mon Jul 15 17:03:33 2019
read : io=19040KB, bw=1857.3KB/s, iops=116, runt= 10252msec
clat (msec): min=4, max=219, avg=56.96, stdev=24.28
lat (msec): min=4, max=219, avg=56.96, stdev=24.28
clat percentiles (msec):
| 1.00th=[ 12], 5.00th=[ 25], 10.00th=[ 32], 20.00th=[ 39],
| 30.00th=[ 45], 40.00th=[ 51], 50.00th=[ 55], 60.00th=[ 60],
| 70.00th=[ 66], 80.00th=[ 72], 90.00th=[ 84], 95.00th=[ 94],
| 99.00th=[ 141], 99.50th=[ 206], 99.90th=[ 215], 99.95th=[ 221],
| 99.99th=[ 221]
bw (KB /s): min= 57, max= 311, per=10.21%, avg=189.69, stdev=52.24
write: io=15296KB, bw=1492.1KB/s, iops=93, runt= 10252msec
clat (usec): min=350, max=254738, avg=34317.08, stdev=32044.09
lat (usec): min=351, max=254739, avg=34317.83, stdev=32044.08
clat percentiles (usec):
| 1.00th=[ 386], 5.00th=[ 418], 10.00th=[ 446], 20.00th=[ 498],
| 30.00th=[ 588], 40.00th=[29056], 50.00th=[38144], 60.00th=[45312],
| 70.00th=[52480], 80.00th=[59648], 90.00th=[69120], 95.00th=[78336],
| 99.00th=[112128], 99.50th=[209920], 99.90th=[254976], 99.95th=[254976],
| 99.99th=[254976]
bw (KB /s): min= 29, max= 355, per=10.20%, avg=152.15, stdev=60.40
lat (usec) : 500=9.27%, 750=5.08%, 1000=0.28%
lat (msec) : 2=0.19%, 4=1.72%, 10=0.70%, 20=1.40%, 50=33.18%
lat (msec) : 100=45.62%, 250=2.52%, 500=0.05%
cpu : usr=0.06%, sys=0.09%, ctx=4322, majf=0, minf=0
IO depths : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%
submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
issued : total=r=1190/w=956/d=0, short=r=0/w=0/d=0, drop=r=0/w=0/d=0
latency : target=0, window=0, percentile=100.00%, depth=1
Run status group 0 (all jobs):
READ: io=19040KB, aggrb=1857KB/s, minb=1857KB/s, maxb=1857KB/s, mint=10252msec, maxt=10252msec
WRITE: io=15296KB, aggrb=1492KB/s, minb=1492KB/s, maxb=1492KB/s, mint=10252msec, maxt=10252msec
Disk stats (read/write):
sda: ios=1190/957, merge=0/2, ticks=25052/1140, in_queue=26440, util=98.37%
最新文章
- 烂泥:haproxy学习之手机规则匹配
- 为Office365增加密码过期自动提醒功能
- scrollHeight,scrollLeft,offsetHeight,offsetLeft
- VS2010与水晶报表V13的打包集成小结
- java 32位MD5加密的大写字符串
- Access to the path '20141211142713.gif' is denied.
- std::stringstream
- IIS6到7,web.config的配置
- ArcGIS Desktop 10.0 直连 ArcSDE 10.2
- eclipse为hibernate.cfg.xml添加自动提示【转】
- mybatis错误:Invalid bound statement (not found)
- Spring技术内幕:Spring AOP的实现原理(一)
- linux命令:rsync, 同步文件和文件夹的命令
- 【第五篇】androidEventbus源代码阅读和分析之unregister代码分析
- MySQL批量导出以某数字或字母开头的表
- 关于input只能输入数字的两种小方法
- java程序与编译
- sort排序用法
- sql server中如何修改视图中的数据?
- The Embarrassed Cryptographer POJ - 2635 同余模+高精度处理 +线性欧拉筛(每n位一起处理)
热门文章
- zz开源 MNN:淘宝在移动 AI 上的实践
- VIJOS-P1325 桐桐的糖果计划
- jq form表单渲染单选框内容渲染
- [Taro] Taro 环境安装 (一)
- [LeetCode] 395. Longest Substring with At Least K Repeating Characters 至少有K个重复字符的最长子字符串
- [LeetCode] 105. Construct Binary Tree from Preorder and Inorder Traversal 由先序和中序遍历建立二叉树
- 各IDE快捷键
- oracle--18C操作指南(一)
- 远程文件传输命令•RHEL8/CentOS8文件上传下载-用例
- 在onclick事件中传递对象参数