dd if=/dev/zero of=benchmark bs=64K count=32K conv=fdatasync 32768+0 records in 32768+0 records out 2147483648 bytes (2.1 GB) copied, 43.3267 s, 49.6 MB/s dd if=/dev/zero of=benchmark bs=1M count=2048 conv=fdatasync 2048+0 records in 2048+0 records out 2147483648 bytes (2.1 GB) copied, 40.9881 s, 52.4 MB/s
./fio --time_based --name=benchmark --size=256M --runtime=60 --randrepeat=1 --iodepth=32 --invalidate=1 --verify=0 --verify_fatal=0 --numjobs=8 --rw=randread --blocksize=4k --group_reporting benchmark: (g=0): rw=randread, bs=4K-4K/4K-4K/4K-4K, ioengine=sync, iodepth=32 ... fio-2.8 Starting 8 processes benchmark: Laying out IO file(s) (1 file(s) / 256MB) benchmark: Laying out IO file(s) (1 file(s) / 256MB) benchmark: Laying out IO file(s) (1 file(s) / 256MB) benchmark: Laying out IO file(s) (1 file(s) / 256MB) benchmark: Laying out IO file(s) (1 file(s) / 256MB) benchmark: Laying out IO file(s) (1 file(s) / 256MB) benchmark: Laying out IO file(s) (1 file(s) / 256MB) benchmark: Laying out IO file(s) (1 file(s) / 256MB) benchmark: (groupid=0, jobs=8): err= 0: pid=1625: Mon Apr 17 13:19:37 2017 read : io=96184KB, bw=1602.6KB/s, iops=400, runt= 60020msec clat (usec): min=108, max=58895, avg=19955.53, stdev=1181.22 lat (usec): min=108, max=58895, avg=19956.32, stdev=1181.23 clat percentiles (usec): | 1.00th=[19072], 5.00th=[19328], 10.00th=[19328], 20.00th=[19584], | 30.00th=[19840], 40.00th=[19840], 50.00th=[20096], 60.00th=[20096], | 70.00th=[20096], 80.00th=[20352], 90.00th=[20608], 95.00th=[20608], | 99.00th=[20864], 99.50th=[21120], 99.90th=[22656], 99.95th=[24960], | 99.99th=[55040] bw (KB /s): min= 198, max= 323, per=12.51%, avg=200.35, stdev= 4.86 lat (usec) : 250=0.12%, 500=0.02%, 750=0.01%, 1000=0.01% lat (msec) : 4=0.07%, 10=0.02%, 20=48.15%, 50=51.58%, 100=0.02% cpu : usr=0.10%, sys=0.29%, ctx=24098, majf=0, minf=89 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=24046/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=32 Run status group 0 (all jobs): READ: io=96184KB, aggrb=1602KB/s, minb=1602KB/s, maxb=1602KB/s, mint=60020msec, maxt=60020msec Disk stats (read/write): sda: ios=23974/2, merge=0/4, ticks=477388/4, in_queue=654800, util=99.92%
./fio --time_based --name=benchmark --size=256M --runtime=60 --randrepeat=1 --iodepth=32 --direct=1 --invalidate=1 --verify=0 --verify_fatal=0 --numjobs=8 --rw=randread --blocksize=4k --group_reporting benchmark: (g=0): rw=randread, bs=4K-4K/4K-4K/4K-4K, ioengine=sync, iodepth=32 ... fio-2.8 Starting 8 processes benchmark: (groupid=0, jobs=8): err= 0: pid=1635: Mon Apr 17 13:20:38 2017 read : io=96192KB, bw=1602.7KB/s, iops=400, runt= 60020msec clat (usec): min=115, max=57787, avg=19953.79, stdev=1172.67 lat (usec): min=115, max=57787, avg=19954.54, stdev=1172.69 clat percentiles (usec): | 1.00th=[19072], 5.00th=[19328], 10.00th=[19328], 20.00th=[19584], | 30.00th=[19840], 40.00th=[19840], 50.00th=[20096], 60.00th=[20096], | 70.00th=[20096], 80.00th=[20352], 90.00th=[20608], 95.00th=[20608], | 99.00th=[20864], 99.50th=[20864], 99.90th=[21120], 99.95th=[21888], | 99.99th=[55552] bw (KB /s): min= 198, max= 339, per=12.51%, avg=200.36, stdev= 5.17 lat (usec) : 250=0.10%, 500=0.05%, 1000=0.01% lat (msec) : 4=0.07%, 10=0.03%, 20=49.84%, 50=49.88%, 100=0.02% cpu : usr=0.04%, sys=0.30%, ctx=24089, majf=0, minf=81 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=24048/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=32 Run status group 0 (all jobs): READ: io=96192KB, aggrb=1602KB/s, minb=1602KB/s, maxb=1602KB/s, mint=60020msec, maxt=60020msec Disk stats (read/write): sda: ios=24019/0, merge=0/0, ticks=477956/0, in_queue=477988, util=99.91%
./fio --time_based --name=benchmark --size=256M --runtime=60 --filename=benchmark --randrepeat=1 --iodepth=32 --invalidate=1 --verify=0 --verify_fatal=0 --numjobs=8 --rw=randwrite --blocksize=4k --group_reporting benchmark: (g=0): rw=randwrite, bs=4K-4K/4K-4K/4K-4K, ioengine=sync, iodepth=32 ... fio-2.8 Starting 8 processes benchmark: (groupid=0, jobs=8): err= 0: pid=1655: Mon Apr 17 13:23:05 2017 write: io=2283.5MB, bw=27156KB/s, iops=6788, runt= 86104msec clat (usec): min=0, max=32193K, avg=716.77, stdev=127541.59 lat (usec): min=1, max=32193K, avg=717.73, stdev=127541.73 clat percentiles (usec): | 1.00th=[ 2], 5.00th=[ 2], 10.00th=[ 3], 20.00th=[ 3], | 30.00th=[ 3], 40.00th=[ 3], 50.00th=[ 4], 60.00th=[ 4], | 70.00th=[ 4], 80.00th=[ 4], 90.00th=[ 5], 95.00th=[ 6], | 99.00th=[ 12], 99.50th=[ 18], 99.90th=[13888], 99.95th=[20608], | 99.99th=[132096] bw (KB /s): min= 0, max=88382, per=100.00%, avg=37273.14, stdev=27187.37 lat (usec) : 2=0.95%, 4=43.28%, 10=54.24%, 20=1.06%, 50=0.08% lat (usec) : 100=0.01%, 250=0.04%, 500=0.02%, 750=0.01%, 1000=0.01% lat (msec) : 2=0.01%, 4=0.03%, 10=0.12%, 20=0.10%, 50=0.02% lat (msec) : 100=0.01%, 250=0.02%, 500=0.01%, 1000=0.01%, 2000=0.01% lat (msec) : >=2000=0.01% cpu : usr=0.12%, sys=0.54%, ctx=5434, majf=0, minf=85 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=0/w=584558/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=32 Run status group 0 (all jobs): WRITE: io=2283.5MB, aggrb=27155KB/s, minb=27155KB/s, maxb=27155KB/s, mint=86104msec, maxt=86104msec Disk stats (read/write): sda: ios=0/34435, merge=0/13759, ticks=0/11157372, in_queue=11157224, util=99.85%
./fio --time_based --name=benchmark --size=256M --runtime=60 --filename=benchmark --randrepeat=1 --iodepth=32 --direct=1 --invalidate=1 --verify=0 --verify_fatal=0 --numjobs=8 --rw=randwrite --blocksize=4k --group_reporting benchmark: (g=0): rw=randwrite, bs=4K-4K/4K-4K/4K-4K, ioengine=sync, iodepth=32 ... fio-2.8 Starting 8 processes benchmark: Laying out IO file(s) (1 file(s) / 256MB) benchmark: (groupid=0, jobs=8): err= 0: pid=1645: Mon Apr 17 13:21:38 2017 write: io=95996KB, bw=1599.5KB/s, iops=399, runt= 60019msec clat (usec): min=230, max=495732, avg=19995.32, stdev=69149.36 lat (usec): min=231, max=495733, avg=19996.34, stdev=69149.48 clat percentiles (usec): | 1.00th=[ 1336], 5.00th=[ 1640], 10.00th=[ 2320], 20.00th=[ 2352], | 30.00th=[ 2384], 40.00th=[ 2416], 50.00th=[ 2448], 60.00th=[ 2480], | 70.00th=[ 2576], 80.00th=[ 2768], 90.00th=[ 3408], 95.00th=[261120], | 99.00th=[313344], 99.50th=[333824], 99.90th=[378880], 99.95th=[436224], | 99.99th=[485376] bw (KB /s): min= 12, max= 656, per=12.11%, avg=193.61, stdev=117.32 lat (usec) : 250=0.01%, 500=0.11%, 750=0.23%, 1000=0.04% lat (msec) : 2=6.96%, 4=86.26%, 10=0.28%, 20=0.01%, 50=0.01% lat (msec) : 100=0.01%, 250=0.55%, 500=5.55% cpu : usr=0.07%, sys=0.32%, ctx=49538, majf=0, minf=83 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=0/w=23999/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=32 Run status group 0 (all jobs): WRITE: io=95996KB, aggrb=1599KB/s, minb=1599KB/s, maxb=1599KB/s, mint=60019msec, maxt=60019msec Disk stats (read/write): sda: ios=0/24022, merge=0/1332, ticks=0/58336, in_queue=58288, util=96.13%