ユーザ用ツール

サイト用ツール


temporary:fio

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
temporary:fio [2014/03/28 02:11] clownclowntemporary:fio [2025/02/16 13:53] (現在) – 外部編集 127.0.0.1
行 1: 行 1:
 ====== fio:ディスクI/Oのベンチマークツール ====== ====== fio:ディスクI/Oのベンチマークツール ======
  
 +===== install =====
 http://pkgs.repoforge.org/fio/ http://pkgs.repoforge.org/fio/
  
 <code> <code>
-# wget "http://pkgs.repoforge.org/fio/fio-2.0.9-1.el6.rf.x86_64.rpm"+# wget "http://pkgs.repoforge.org/fio/fio-2.1.7-1.el6.rf.x86_64.rpm" 
 +# yum localinstall fio-2.1.7-1.el6.rf.x86_64.rpm  
 +</code>
  
-rpm -ivh fio-2.0.9-1.el6.rf.x86_64.rpm+===== help ===== 
 +<code> 
 +fio --help 
 +fio-2.1.
 +fio [options] [job options] <job file(s)> 
 +  --debug=options       Enable debug loggingMay be one/more of: 
 +                        process,file,io,mem,blktrace,verify,random,parse, 
 +                        diskutil,job,mutex,profile,time,net,rate 
 +  --parse-only          Parse options only, don't start any IO 
 +  --output              Write output to file 
 +  --runtime             Runtime in seconds 
 +  --latency-log         Generate per-job latency logs 
 +  --bandwidth-log       Generate per-job bandwidth logs 
 +  --minimal             Minimal (terse) output 
 +  --output-format=x     Output format (terse,json,normal) 
 +  --terse-version=x     Set terse version output format to 'x' 
 +  --version             Print version info and exit 
 +  --help                Print this page 
 +  --cpuclock-test       Perform test/validation of CPU clock 
 +  --crctest             Test speed of checksum functions 
 +  --cmdhelp=cmd         Print command help, "all" for all of them 
 +  --enghelp=engine      Print ioengine help, or list available ioengines 
 +  --enghelp=engine,cmd  Print help for an ioengine cmd 
 +  --showcmd             Turn a job file into command line options 
 +  --eta=when            When ETA estimate should be printed 
 +                        May be "always", "never" or "auto" 
 +  --eta-newline=time    Force a new line for every 'time' period passed 
 +  --status-interval=t   Force full status dump every 't' period passed 
 +  --readonly            Turn on safety read-only checks, preventing writes 
 +  --section=name        Only run specified section in job file 
 +  --alloc-size=kb       Set smalloc pool to this size in kb (def 1024) 
 +  --warnings-fatal      Fio parser warnings are fatal 
 +  --max-jobs=nr         Maximum number of threads/processes to support 
 +  --server=args         Start a backend fio server 
 +  --daemonize=pidfile   Background fio server, write pid to file 
 +  --client=hostname     Talk to remote backend fio server at hostname 
 +  --idle-prof=option    Report cpu idleness on a system or percpu basis 
 +                        (option=system,percpu) or run unit work 
 +                        calibration only (option=calibrate)
  
-# fio --filename=/tmp/file2G --direct=1 --rw=randwrite --bs=1m --size=2G --numjobs=4 --runtime=10 --group_reporting --name=file1 +Fio was written by Jens Axboe <jens.axboe@oracle.com> 
-file1: (g=0): rw=randwrite, bs=1M-1M/1M-1M/1M-1M, ioengine=sync, iodepth=1 +                   Jens Axboe <jaxboe@fusionio.com> 
-... +                   Jens Axboe <axboe@fb.com> 
-file1: (g=0): rw=randwrite, bs=1M-1M/1M-1M/1M-1M, ioengine=sync, iodepth=1 +</code> 
-fio-2.0.14 + 
-Starting 4 processes +===== sample ===== 
-file1: Laying out IO file(s) (1 file(s) / 2048MB+<code> 
-Jobs: (f=4): [wwww] [100.0% done] [0K/12300K/0K /s] [0 /12 /0  iops] [eta 00m:00s] +# fio 
-file1: (groupid=0, jobs=4): err= 0: pid=28098Thu May  2 01:34:25 2013 +-ioengine=libaio \ 
-  write: io=113664KB, bw=11144KB/s, iops=10 , runt= 10200msec +-direct=1 
-    clat (msec): min=15 , max=3058 , avg=92.17, stdev=296.16 +-invalidate=1 \ 
-     lat (msec): min=15 , max=3059 , avg=92.29, stdev=296.16+> -filename=/tmp/fio.bin \ 
 +-rw=randwrite 
 +-bs=4k \ 
 +-size=4G \ 
 +-numjobs=1 \ 
 +-runtime=60 \ 
 +-group_reporting 
 +-iodepth=32 \ 
 +-name=randread1 
 +randread1: (g=0): rw=randwrite, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=32 
 +fio-2.1.7 
 +Starting 1 process 
 +randread1: Laying out IO file(s) (1 file(s) / 4096MB
 +Jobs: (f=1): [w] [-.-% done] [0KB/9298KB/0KB /s] [0/2324/0 iops] [eta 00m:00s] 
 +randread1: (groupid=0, jobs=1): err= 0: pid=2832Fri Sep  4 09:58:44 2015 
 +  write: io=290992KB, bw=4849.9KB/s, iops=1212, runt= 60001msec 
 +    slat (usec): min=5, max=510839, avg=699.45, stdev=7861.68 
 +    clat (usec): min=1, max=567741, avg=25654.93, stdev=51285.74 
 +     lat (usec): min=699, max=568098, avg=26355.55, stdev=51950.39
     clat percentiles (msec):     clat percentiles (msec):
-      1.00th=[   16],  5.00th=[   18], 10.00th=[   21], 20.00th=[   26], +      1.00th=[    9],  5.00th=[   10], 10.00th=[   10], 20.00th=[   11], 
-     | 30.00th=[   31], 40.00th=[   37], 50.00th=[   42], 60.00th=[   49], +     | 30.00th=[   11], 40.00th=[   11], 50.00th=[   11], 60.00th=[   12], 
-     | 70.00th=[   57], 80.00th=[   67], 90.00th=[  147], 95.00th=[  229], +     | 70.00th=[   13], 80.00th=[   20], 90.00th=[   44], 95.00th=[  105], 
-     | 99.00th=[  693], 99.50th=[ 3064], 99.90th=[ 3064], 99.95th=[ 3064], +     | 99.00th=[  293], 99.50th=[  383], 99.90th=[  498], 99.95th=[  523], 
-     | 99.99th=[ 3064+     | 99.99th=[  570
-    bw (KB/s)  : min=  100, max=28332, per=100.00%, avg=12722.67, stdev=10798.05 +    bw (KB  /s): min=  337, max=12328, per=100.00%, avg=4892.28, stdev=3173.04 
-    lat (msec) : 20=9.91%, 50=52.25%, 100=23.42%, 250=9.91%, 500=2.70+    lat (usec) : 2=0.01%, 500=0.01%, 750=0.02%, 1000=0.01% 
-    lat (msec) : 750=0.90%, >=2000=0.90+    lat (msec) : 2=0.03%, 4=0.10%, 10=19.80%, 20=60.49%, 50=10.94
-  cpu          : usr=0.03%, sys=0.28%, ctx=400, majf=0, minf=89 +    lat (msec) : 100=3.40%, 250=3.80%, 500=1.32%, 750=0.09
-  IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%+  cpu          : usr=1.10%, sys=71.14%, ctx=60632, majf=2, minf=23 
 +  IO depths    : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=100.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%      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% +     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.1%, 64=0.0%, >=64=0.0% 
-     issued    : total=r=0/w=111/d=0, short=r=0/w=0/d=0+     issued    : total=r=0/w=72748/d=0, short=r=0/w=0/d=0 
 +     latency   : target=0, window=0, percentile=100.00%, depth=32
  
 Run status group 0 (all jobs): Run status group 0 (all jobs):
-  WRITE: io=113664KB, aggrb=11143KB/s, minb=11143KB/s, maxb=11143KB/s, mint=10200msec, maxt=10200msec+  WRITE: io=290992KB, aggrb=4849KB/s, minb=4849KB/s, maxb=4849KB/s, mint=60001msec, maxt=60001msec
  
 Disk stats (read/write): Disk stats (read/write):
-    dm-0: ios=84/7020, merge=0/0, ticks=2867/39132777, in_queue=11460018, util=100.00%, aggrios=86/893, aggrmerge=0/6207, aggrticks=3117/403263, aggrin_queue=188776, aggrutil=100.00% +  sda: ios=4780/80748, merge=245/7022, ticks=28742/1607455, in_queue=1636136, util=100.00%
-  sda: ios=86/893, merge=0/6207, ticks=3117/403263, in_queue=188776, util=100.00%+
 </code> </code>
 +
 +===== memo =====
 +[[http://www.nminoru.jp/~nminoru/unix/fs_benchmarks.html|man fio]]
 +[[http://www.hitsumabushi.org/blog/2015/02/09/2227.html|ファイルシステムのベンチマーク集]]
 +[[http://linux.die.net/man/1/fio|fioを使ったベンチマーク]]
  
temporary/fio.1395972697.txt.gz · 最終更新: 2025/02/16 13:50 (外部編集)