fio 测试磁盘
root@rook-test:/# ceph osd status
+----+-----------------------------+-------+-------+--------+---------+--------+---------+----------------+
| id | host | used | avail | wr ops | wr data | rd ops | rd data | state |
+----+-----------------------------+-------+-------+--------+---------+--------+---------+----------------+
| 0 | rook-ceph-osd-k8s-m3-gprhn | 2055M | 3348G | 0 | 0 | 0 | 0 | exists,up |
| 1 | rook-ceph-osd-k8s-n2-k86cz | 0 | 0 | 0 | 0 | 0 | 0 | autoout,exists |
| 2 | rook-ceph-osd-ceph-t1-6c72x | 2055M | 7607M | 0 | 0 | 0 | 0 | exists,up |
| 3 | rook-ceph-osd-ceph-t2-jqr6g | 2055M | 7607M | 0 | 0 | 0 | 0 | exists,up |
| 4 | rook-ceph-osd-ceph-t3-rctg9 | 2055M | 7607M | 0 | 0 | 0 | 0 | exists,up |
+----+-----------------------------+-------+-------+--------+---------+--------+---------+----------------+
fio 测试容器在k8s-m3 上
fio -filename=/data/test_randread -direct=1 -iodepth 1 -thread -rw=randread -ioengine=psync -bs=16k -size=500m -numjobs=10 -runtime=60 -group_reporting -name=test1
test1: (g=0): rw=randread, bs=16K-16K/16K-16K/16K-16K, ioengine=psync, iodepth=1
...
fio-2.1.11
Starting 10 threads
test1: Laying out IO file(s) (1 file(s) / 500MB)
Jobs: 10 (f=10): [r(10)] [100.0% done] [21034KB/0KB/0KB /s] [1314/0/0 iops] [eta 00m:00s]
test1: (groupid=0, jobs=10): err= 0: pid=119: Tue May 8 05:28:19 2018
read : io=1910.2MB, bw=32575KB/s, iops=2035, runt= 60047msec
clat (usec): min=250, max=85801, avg=4907.11, stdev=15717.35
lat (usec): min=251, max=85813, avg=4907.44, stdev=15717.34
clat percentiles (usec):
| 1.00th=[ 820], 5.00th=[ 956], 10.00th=[ 1020], 20.00th=[ 1096],
| 30.00th=[ 1176], 40.00th=[ 1240], 50.00th=[ 1304], 60.00th=[ 1384],
| 70.00th=[ 1480], 80.00th=[ 1624], 90.00th=[ 1896], 95.00th=[ 2736],
| 99.00th=[76288], 99.50th=[78336], 99.90th=[81408], 99.95th=[83456],
| 99.99th=[85504]
bw (KB /s): min= 1842, max= 3904, per=10.03%, avg=3267.40, stdev=397.75
lat (usec) : 500=0.16%, 750=0.43%, 1000=7.72%
lat (msec) : 2=83.68%, 4=3.09%, 10=0.01%, 50=0.01%, 100=4.91%
cpu : usr=0.14%, sys=0.51%, ctx=122339, majf=0, minf=120
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=122251/w=0/d=0, short=r=0/w=0/d=0
latency : target=0, window=0, percentile=100.00%, depth=1
Run status group 0 (all jobs):
READ: io=1910.2MB, aggrb=32574KB/s, minb=32574KB/s, maxb=32574KB/s, mint=60047msec, maxt=60047msec
Disk stats (read/write):
rbd1: ios=122051/8, merge=0/6, ticks=593825/1688, in_queue=595645, util=99.98%
fio 测试磁盘的更多相关文章
- linux使用FIO测试磁盘的iops 【转载】
linux使用FIO测试磁盘的iops 2013-09-23 10:59:21 分类: LINUX FIO是测试IOPS的非常好的工具,用来对硬件进行压力测试和验证,支持13种不同的I/O引擎,包括 ...
- [记录]FIO测试磁盘iops性能
FIO测试磁盘iops性能 1.SATA和SAS盘原生IOPS如下: 2.RAID磁盘阵列对应的写惩罚级别: 3.计算功能性IOPS公式如下: 功能性 IOPS=(((总原生 IOPS×写 %))/( ...
- FIO 测试磁盘iops 以及读写
最近在做mariadb的性能,感觉io 有瓶颈,就使用fio 来测试一下磁盘.下文为转载文章(温馨提示:此命令很伤硬盘,测试前请备份数据,- -我就写坏了一个.) FIO 是测试IOPS的非常好的工具 ...
- linux使用FIO测试磁盘的iops
FIO是测试IOPS的非常好的工具,用来对硬件进行压力测试和验证,支持13种不同的I/O引擎,包括:sync,mmap, libaio, posixaio, SG v3, splice, null, ...
- fio 测试磁盘性能
在磁盘测试中最关心的几个指标分别为: iops(每秒执行的IO次数).bw(带宽,每秒的吞吐量).lat(每次IO操作的延迟). 当每次IO操作的block较小时,如512bytes/4k/8k等,测 ...
- fio 测试 磁盘I/O: ls -1 /sys/block/sda/queue/ | awk '{cmd="cat "i$0; print i$0; system(cmd) }' i=`pwd`'/'
小型计算机系统接口(SCSI,Small Computer System Interface) SAS(Serial Attached SCSI,串列SCSI) SCSI 硬盘名称: sd[a-p] ...
- 使用FIO测试磁盘iops
我们如何衡量一个存储的性能呢?IOPS(Input/Output OperationsPer Second),即每秒进行读写(I/O)操作的次数是国际上通用的存储性能衡量标准,IOPS越高意味着在同一 ...
- linux 使用FIO测试磁盘iops 方法详解
FIO是测试IOPS的非常好的工具,用来对硬件进行压力测试和验证,支持13种不同的I/O引擎, 包括:sync,mmap, libaio, posixaio, SG v3, splice, null, ...
- vdbench和fio测试磁盘性能的对比总结
一.安装 1.安装vdbench,首先安装java:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-213 ...
随机推荐
- 【Oracle学习笔记-2】Oracle基础术语解析
来自为知笔记(Wiz) 附件列表 Oracle概念解析.png 表空间.png 大小关系.png 段segment.png 块block.png 区entent.png 数据库基本概念.png
- springMVC学习(7)-springMVC校验
一.校验理解: 对于安全要求较高点建议在服务端进行校验. 控制层conroller:校验页面请求的参数的合法性.在服务端控制层conroller校验,不区分客户端类型(浏览器.手机客户端.远程调用) ...
- spring Boot使用AOP统一处理Web请求日志记录
1.使用spring boot实现一个拦截器 1.引入依赖: <dependency> <groupId>org.springframework.boot</grou ...
- supervisord管理进程详解
supervisord管理进程详解 supervisor配置详解(转) 官网 Linux后台进程管理利器:supervisor supervisor使用详解
- Linux性能分析 vmstat输出
vmstat输出 1.linux系统下vmstat输出 vmstat的输出分为以下几种模式: (1).VM MODE (普通选项) (2).DISK MODE(-d选项) (3).DI ...
- (转!)Netdata---Linux系统性能实时监控平台部署
我一直以为人是慢慢变老的,其实不是,人其实是一瞬间变老的. -------村上春树<舞!舞!舞!> 转自https://www.cnblogs.com/kevingrace/p/73001 ...
- Game of War - Fire Age 有何特别之处?
作者:福克斯007 链接:https://www.zhihu.com/question/21611550/answer/52458767来源:知乎著作权归作者所有.商业转载请联系作者获得授权,非商业转 ...
- php 编程笔记分享
php获取POST数据的三种方法php 图片加水印源代码php+ajax+json的一个最简单实例php 汉字转拼音源码php遍历目录,生成目录下每个文件的md5值并写入到结果文件中php实现linu ...
- php parse_str() 函数
php parse_str() 函数把查询字符串解析到变量中,主要用于页面之间传值(参数).本文章向码农介绍php parse_str() 函数的使用方法,感兴趣的码农可以参考一下. 定义和用法 pa ...
- web.py模版系统
介绍: 调用的web.py模版语言Templetor旨在将python的强大功能带入模版.它不是为模板创建新语法,而是重用python语法. Templetor故意限制模版中的变量访问.用户可以访问传 ...