Skip to content

Instantly share code, notes, and snippets.

@dommmel
Created February 16, 2021 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dommmel/aed871733acb67859ab86752785da273 to your computer and use it in GitHub Desktop.
Save dommmel/aed871733acb67859ab86752785da273 to your computer and use it in GitHub Desktop.
# cd /root && fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --filename=test --bs=4k --iodepth=64 --size=4G --readwrite=randrw --rwmixread=75
test: (g=0): rw=randrw, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=libaio, iodepth=64
fio-3.16
Starting 1 process
test: Laying out IO file (1 file / 4096MiB)
Jobs: 1 (f=1): [m(1)][100.0%][r=15.6MiB/s,w=5433KiB/s][r=4004,w=1358 IOPS][eta 00m:00s]
test: (groupid=0, jobs=1): err= 0: pid=11569: Tue Feb 16 14:09:52 2021
read: IOPS=4001, BW=15.6MiB/s (16.4MB/s)(3070MiB/196382msec)
bw ( KiB/s): min=15568, max=19176, per=100.00%, avg=16006.79, stdev=170.15, samples=392
iops : min= 3892, max= 4794, avg=4001.70, stdev=42.53, samples=392
write: IOPS=1337, BW=5350KiB/s (5478kB/s)(1026MiB/196382msec); 0 zone resets
bw ( KiB/s): min= 4312, max= 6616, per=100.00%, avg=5349.97, stdev=265.24, samples=392
iops : min= 1078, max= 1654, avg=1337.48, stdev=66.32, samples=392
cpu : usr=5.53%, sys=23.26%, ctx=758278, majf=0, minf=9
IO depths : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=0.1%, >=64=100.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.1%, >=64=0.0%
issued rwts: total=785920,262656,0,0 short=0,0,0,0 dropped=0,0,0,0
latency : target=0, window=0, percentile=100.00%, depth=64
Run status group 0 (all jobs):
READ: bw=15.6MiB/s (16.4MB/s), 15.6MiB/s-15.6MiB/s (16.4MB/s-16.4MB/s), io=3070MiB (3219MB), run=196382-196382msec
WRITE: bw=5350KiB/s (5478kB/s), 5350KiB/s-5350KiB/s (5478kB/s-5478kB/s), io=1026MiB (1076MB), run=196382-196382msec
Disk stats (read/write):
sda: ios=785673/262671, merge=0/39, ticks=11836105/679636, in_queue=9592500, util=100.00%
# ioping -c 10 -s 4M /mnt/HC_Volume_9514198/
--- /mnt/HC_Volume_9514198/ (ext4 /dev/sdb) ioping statistics ---
9 requests completed in 147.8 ms, 36 MiB read, 60 iops, 243.5 MiB/s
generated 10 requests in 9.02 s, 40 MiB, 1 iops, 4.44 MiB/s
min/avg/max/mdev = 14.4 ms / 16.4 ms / 19.8 ms / 1.48 ms
# ioping -c 10 -s 4M /dev/shm
--- /dev/shm (tmpfs tmpfs) ioping statistics ---
9 requests completed in 15.0 ms, 36 MiB read, 599 iops, 2.34 GiB/s
generated 10 requests in 9.00 s, 40 MiB, 1 iops, 4.44 MiB/s
min/avg/max/mdev = 1.20 ms / 1.67 ms / 2.03 ms / 230.4 us
# ioping -c 10 -s 4M /home/
--- /home/ (ext4 /dev/sda1) ioping statistics ---
9 requests completed in 142.3 ms, 36 MiB read, 63 iops, 253.1 MiB/s
generated 10 requests in 9.02 s, 40 MiB, 1 iops, 4.44 MiB/s
min/avg/max/mdev = 13.5 ms / 15.8 ms / 20.0 ms / 1.80 ms
# ioping -c 10 -S 4M /mnt/HC_Volume_9514198/
--- /mnt/HC_Volume_9514198/ (ext4 /dev/sdb) ioping statistics ---
9 requests completed in 11.4 ms, 36 KiB read, 788 iops, 3.08 MiB/s
generated 10 requests in 9.00 s, 40 KiB, 1 iops, 4.44 KiB/s
min/avg/max/mdev = 1.19 ms / 1.27 ms / 1.37 ms / 56.6 us
# ioping -c 10 -S 4M /dev/shm/
--- /dev/shm/ (tmpfs tmpfs) ioping statistics ---
9 requests completed in 145.8 us, 36 KiB read, 61.7 k iops, 241.1 MiB/s
generated 10 requests in 9.00 s, 40 KiB, 1 iops, 4.44 KiB/s
min/avg/max/mdev = 11.9 us / 16.2 us / 18.5 us / 1.94 us
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment