Benchmark disk performance using fio
Jump to navigation
Jump to search
Sequencial write (direct=1)[edit]
cat write-test-sequential.fio ; Sequential write of 5G of data [write] rw=write size=5G direct=1 directory=/tmp/fio-testing
fio write-test-sequential.fio
Sequencial write[edit]
cat write-test-sequential.fio ; Sequential write of 5G of data [write] rw=write size=5G directory=/tmp/fio-testing
fio write-test-sequential.fio
write: (g=0): rw=write, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=psync, iodepth=1 fio-3.1 Starting 1 process write: Laying out IO file (1 file / 5120MiB) Jobs: 1 (f=1): [W(1)][100.0%][r=0KiB/s,w=0KiB/s][r=0,w=0 IOPS][eta 00m:00s] write: (groupid=0, jobs=1): err= 0: pid=16195: Thu Nov 14 03:32:30 2019 write: IOPS=10.4k, BW=40.5MiB/s (42.4MB/s)(5120MiB/126508msec) clat (usec): min=2, max=14908k, avg=93.09, stdev=17824.79 lat (usec): min=3, max=14908k, avg=93.90, stdev=17824.81 clat percentiles (usec): | 1.00th=[ 4], 5.00th=[ 4], 10.00th=[ 4], 20.00th=[ 4], | 30.00th=[ 4], 40.00th=[ 5], 50.00th=[ 6], 60.00th=[ 7], | 70.00th=[ 8], 80.00th=[ 8], 90.00th=[ 10], 95.00th=[ 13], | 99.00th=[ 30], 99.50th=[ 76], 99.90th=[11863], 99.95th=[17695], | 99.99th=[53740] bw ( KiB/s): min= 8, max=349496, per=100.00%, avg=73294.39, stdev=71932.95, samples=143 iops : min= 2, max=87374, avg=18323.57, stdev=17983.24, samples=143 lat (usec) : 4=31.53%, 10=59.10%, 20=7.56%, 50=1.09%, 100=0.28% lat (usec) : 250=0.19%, 500=0.06%, 750=0.01%, 1000=0.01% lat (msec) : 2=0.01%, 4=0.01%, 10=0.04%, 20=0.08%, 50=0.03% lat (msec) : 100=0.01%, 250=0.01%, 500=0.01%, 750=0.01%, 1000=0.01% lat (msec) : 2000=0.01%, >=2000=0.01% cpu : usr=2.39%, sys=9.13%, ctx=18073, majf=0, minf=13 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 rwt: total=0,1310720,0, short=0,0,0, dropped=0,0,0 latency : target=0, window=0, percentile=100.00%, depth=1 Run status group 0 (all jobs): WRITE: bw=40.5MiB/s (42.4MB/s), 40.5MiB/s-40.5MiB/s (42.4MB/s-42.4MB/s), io=5120MiB (5369MB), run=126508-126508msec Disk stats (read/write): sdb: ios=7807/12020, merge=174/2442, ticks=1983580/9352748, in_queue=11942308, util=68.67%
- clat - Completion latency percentiles[1]
- slat - Submission latency
Related terms[edit]
See also[edit]
cp
,dd
,sftp
,scp
,rsync
,casync
,mv
,fio
,ln
,docker cp, kubectl cp
,minikube cp
,multipass transfer
,Copy-Item
,Xcopy
fio
, Fio Sequential Write, Fio Random Write, Fio Random read- IO performance:
iotop, iostat, sar -d, fio, nmon, vmstat -d
,dd
,nmon
,stress
Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.
Source: wikiversity
Advertising: