fio基础4

2022-04-24 00:17:35 浏览数 (1)

基本io benchmark

代码语言:javascript复制
[root@iZ116haf49sZ iotest]# fio -filename=/tmp/iotest/test -direct=1 -iodepth 1 -thread -rw=randrw -rwmixread=70 -ioengine=psync -bs=16k -size=5G -numjobs=3 -runtime=100 -group_reporting -name=mytest 
mytest: (g=0): rw=randrw, bs=16K-16K/16K-16K/16K-16K, ioengine=psync, iodepth=1
...
fio-2.2.11-15-g236d
Starting 3 threads
mytest: Laying out IO file(s) (1 file(s) / 5120MB)

Jobs: 3 (f=3): [m(3)] [100.0% done] [8304KB/3376KB/0KB /s] [519/211/0 iops] [eta 00m:00s]
mytest: (groupid=0, jobs=3): err= 0: pid=30879: Fri Nov 13 20:01:23 2015
  read : io=984.98MB, bw=10086KB/s, iops=630, runt=100002msec
    clat (usec): min=491, max=215739, avg=2990.82, stdev=3717.96
     lat (usec): min=492, max=215739, avg=2991.14, stdev=3717.96
    clat percentiles (usec):
     |  1.00th=[  652],  5.00th=[  812], 10.00th=[  908], 20.00th=[ 1080],
     | 30.00th=[ 1272], 40.00th=[ 1512], 50.00th=[ 1832], 60.00th=[ 2352],
     | 70.00th=[ 3088], 80.00th=[ 4192], 90.00th=[ 6176], 95.00th=[ 8384],
     | 99.00th=[14912], 99.50th=[20096], 99.90th=[45824], 99.95th=[52480],
     | 99.99th=[79360]
    bw (KB  /s): min= 1408, max= 4739, per=33.38%, avg=3366.69, stdev=636.55
  write: io=433904KB, bw=4338.1KB/s, iops=271, runt=100002msec
    clat (msec): min=1, max=213, avg= 4.09, stdev= 3.96
     lat (msec): min=1, max=213, avg= 4.10, stdev= 3.96
    clat percentiles (usec):
     |  1.00th=[ 1288],  5.00th=[ 1480], 10.00th=[ 1640], 20.00th=[ 1848],
     | 30.00th=[ 2096], 40.00th=[ 2448], 50.00th=[ 2928], 60.00th=[ 3600],
     | 70.00th=[ 4448], 80.00th=[ 5664], 90.00th=[ 7840], 95.00th=[10176],
     | 99.00th=[16768], 99.50th=[20352], 99.90th=[35584], 99.95th=[55040],
     | 99.99th=[87552]
    bw (KB  /s): min=  704, max= 2199, per=33.38%, avg=1447.97, stdev=269.96
    lat (usec) : 500=0.01%, 750=2.04%, 1000=8.58%
    lat (msec) : 2=34.80%, 4=29.25%, 10=21.49%, 20=3.34%, 50=0.44%
    lat (msec) : 100=0.06%, 250=0.01%
  cpu          : usr=0.20%, sys=0.62%, ctx=130565, majf=0, minf=8
  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=63037/w=27119/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=984.98MB, aggrb=10085KB/s, minb=10085KB/s, maxb=10085KB/s, mint=100002msec, maxt=100002msec
  WRITE: io=433904KB, aggrb=4338KB/s, minb=4338KB/s, maxb=4338KB/s, mint=100002msec, maxt=100002msec

Disk stats (read/write):
  xvda: ios=63033/27190, merge=0/41, ticks=108716/75084, in_queue=183770, util=99.17%
[root@iZ116haf49sZ iotest]# ls
test
[root@iZ116haf49sZ iotest]# du -sh test 
5.1G	test
[root@iZ116haf49sZ iotest]# 
io

0 人点赞