IOPS I/Oベンチマーク fio Bonnie++ 寄稿しました。 fio
1 2 |
# cd /usr/local/src/ && wget http://ftp.riken.jp/Linux/fedora/epel/7/x86_64/f/fio-2.2.8-2.el7.x86_64.rpm # yum install fio-2.2.8-2.el7.x86_64.rpm |
使用する
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# fio -filename=/tmp/test2g -direct=1 -rw=read -bs=16k -size=2G -numjobs=64 -runtime=60 -group_reporting -name=file1 file1: (g=0): rw=read, bs=16K-16K/16K-16K/16K-16K, ioengine=sync, iodepth=1 ... fio-2.2.8 Starting 64 processes Jobs: 64 (f=64): [R(64)] [100.0% done] [155.7MB/0KB/0KB /s] [9960/0/0 iops] [eta 00m:00s] file1: (groupid=0, jobs=64): err= 0: pid=15406: Thu Jul 27 11:45:42 2017 read : io=9305.0MB, bw=158766KB/s, iops=9922, runt= 60015msec clat (usec): min=138, max=102028, avg=6445.47, stdev=19972.74 lat (usec): min=139, max=102028, avg=6445.98, stdev=19972.73 clat percentiles (usec): | 1.00th=[ 510], 5.00th=[ 692], 10.00th=[ 788], 20.00th=[ 892], | 30.00th=[ 956], 40.00th=[ 1020], 50.00th=[ 1096], 60.00th=[ 1160], | 70.00th=[ 1224], 80.00th=[ 1368], 90.00th=[ 2832], 95.00th=[80384], | 99.00th=[85504], 99.50th=[87552], 99.90th=[91648], 99.95th=[94720], | 99.99th=[98816] bw (KB /s): min= 1600, max= 3360, per=1.57%, avg=2487.20, stdev=188.20 lat (usec) : 250=0.01%, 500=0.86%, 750=6.81%, 1000=29.57% lat (msec) : 2=50.78%, 4=3.80%, 10=1.68%, 20=0.06%, 100=6.45% lat (msec) : 250=0.01% cpu : usr=0.08%, sys=0.31%, ctx=595645, majf=0, minf=2638 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=595520/w=0/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=9305.0MB, aggrb=158765KB/s, minb=158765KB/s, maxb=158765KB/s, mint=60015msec, maxt=60015msec Disk stats (read/write): vda: ios=600000/0, merge=0/0, ticks=3756580/0, in_queue=3979068, util=100.00% |
IOPS
1 |
read : io=9305.0MB, bw=158766KB/s, iops=9922, runt= 60015msec |
IOPS=9922 16KBの書き込みを秒間9922回できる …