hisosic

fio 사용 EBS 볼륨 속도 측정 (Random Access Performonce) 본문

Cloud/AWS

fio 사용 EBS 볼륨 속도 측정 (Random Access Performonce)

hisosic 2021. 9. 2. 15:46

yum install fio

 

fio --directory=/ --name fio_test_file --direct=1 --rw=randread --bs=4K --size=1G --numjobs=16 --time_based --runtime=180 --group_reporting --norandommap

 

fio-3.7
Starting 16 processes
fio_test_file: Laying out IO file (1 file / 1024MiB)
fio_test_file: Laying out IO file (1 file / 1024MiB)
fio_test_file: Laying out IO file (1 file / 1024MiB)
fio_test_file: Laying out IO file (1 file / 1024MiB)
fio_test_file: Laying out IO file (1 file / 1024MiB)
fio_test_file: Laying out IO file (1 file / 1024MiB)
fio_test_file: Laying out IO file (1 file / 1024MiB)
fio_test_file: Laying out IO file (1 file / 1024MiB)
fio_test_file: Laying out IO file (1 file / 1024MiB)
fio_test_file: Laying out IO file (1 file / 1024MiB)
fio_test_file: Laying out IO file (1 file / 1024MiB)
fio_test_file: Laying out IO file (1 file / 1024MiB)
fio_test_file: Laying out IO file (1 file / 1024MiB)
fio_test_file: Laying out IO file (1 file / 1024MiB)
fio_test_file: Laying out IO file (1 file / 1024MiB)
fio_test_file: Laying out IO file (1 file / 1024MiB)
Jobs: 16 (f=16): [r(16)][100.0%][r=202MiB/s,w=0KiB/s][r=51.8k,w=0 IOPS][eta 00m:00s]
fio_test_file: (groupid=0, jobs=16): err= 0: pid=66878: Thu Sep  2 15:22:22 2021
   read: IOPS=51.5k, BW=201MiB/s (211MB/s)(35.4GiB/180002msec)
    clat (usec): min=50, max=15051, avg=308.78, stdev=164.82
     lat (usec): min=51, max=15051, avg=308.94, stdev=164.84
    clat percentiles (usec):
     |  1.00th=[   82],  5.00th=[  141], 10.00th=[  159], 20.00th=[  188],
     | 30.00th=[  223], 40.00th=[  297], 50.00th=[  330], 60.00th=[  351],
     | 70.00th=[  367], 80.00th=[  388], 90.00th=[  424], 95.00th=[  469],
     | 99.00th=[  644], 99.50th=[  668], 99.90th=[  734], 99.95th=[  775],
     | 99.99th=[ 7373]
   bw (  KiB/s): min=  784, max=20064, per=6.25%, avg=12884.73, stdev=1127.64, samples=5745
   iops        : min=  196, max= 5016, avg=3221.16, stdev=281.91, samples=5745
  lat (usec)   : 100=2.07%, 250=31.66%, 500=62.38%, 750=3.83%, 1000=0.05%
  lat (msec)   : 2=0.01%, 4=0.01%, 10=0.01%, 20=0.01%
  cpu          : usr=1.20%, sys=8.43%, ctx=9363519, majf=0, minf=543
  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 rwts: total=9278124,0,0,0 short=0,0,0,0 dropped=0,0,0,0
     latency   : target=0, window=0, percentile=100.00%, depth=1

Run status group 0 (all jobs):
   READ: bw=201MiB/s (211MB/s), 201MiB/s-201MiB/s (211MB/s-211MB/s), io=35.4GiB (38.0GB), run=180002-180002msec

Disk stats (read/write):
    dm-6: ios=9270629/23, merge=0/0, ticks=2568868/0, in_queue=2582729, util=100.00%, aggrios=9278143/15, aggrmerge=0/8, aggrticks=3243613/0, aggrin_queue=3250722, aggrutil=100.00%
    dm-5: ios=9278143/15, merge=0/8, ticks=3243613/0, in_queue=3250722, util=100.00%, aggrios=9278152/15, aggrmerge=0/0, aggrticks=1701579/0, aggrin_queue=1700014, aggrutil=96.08%
  sdb: ios=9278152/15, merge=0/0, ticks=1701579/0, in_queue=1700014, util=96.08%


fio_test_file: (groupid=0, jobs=16): err= 0: pid=66878: Thu Sep  2 15:22:22 2021
   read: IOPS=51.5kBW=201MiB/s (211MB/s)(35.4GiB/180002msec)

Comments