I’m rebuilding the disk array at the moment so disk speed is a bit all over the place. Had a drive fail.
So you suspect disk speed is the issue?
fio --rw=write --ioengine=sync --fdatasync=1 --directory=test-data --size=22m --bs=2300 --name=mytest
fio --rw=write --ioengine=sync --fdatasync=1 --directory=hdd-test --size=22m --bs=2300 --name=test2
test2: (g=0): rw=write, bs=® 2300B-2300B, (W) 2300B-2300B, (T) 2300B-2300B, ioengine=sync, iodepth=1
fio-3.16
Starting 1 process
test2: Laying out IO file (1 file / 22MiB)
Jobs: 1 (f=1): [W(1)][100.0%][w=1567KiB/s][w=697 IOPS][eta 00m:00s]
test2: (groupid=0, jobs=1): err= 0: pid=582337: Tue Dec 8 17:03:11 2020
write: IOPS=1597, BW=3588KiB/s (3674kB/s)(21.0MiB/6279msec); 0 zone resets
clat (usec): min=10, max=499, avg=16.81, stdev= 7.83
lat (usec): min=10, max=500, avg=17.31, stdev= 7.85
clat percentiles (usec):
| 1.00th=[ 12], 5.00th=[ 12], 10.00th=[ 12], 20.00th=[ 12],
| 30.00th=[ 13], 40.00th=[ 17], 50.00th=[ 18], 60.00th=[ 18],
| 70.00th=[ 18], 80.00th=[ 19], 90.00th=[ 22], 95.00th=[ 25],
| 99.00th=[ 40], 99.50th=[ 48], 99.90th=[ 81], 99.95th=[ 96],
| 99.99th=[ 172]
bw ( KiB/s): min= 1455, max= 5260, per=100.00%, avg=3624.75, stdev=1316.26, samples=12
iops : min= 648, max= 2342, avg=1613.92, stdev=585.97, samples=12
lat (usec) : 20=87.48%, 50=12.08%, 100=0.39%, 250=0.04%, 500=0.01%
fsync/fdatasync/sync_file_range:
sync (usec): min=113, max=435565, avg=603.37, stdev=5088.32
sync percentiles (usec):
| 1.00th=[ 126], 5.00th=[ 135], 10.00th=[ 141], 20.00th=[ 153],
| 30.00th=[ 167], 40.00th=[ 215], 50.00th=[ 474], 60.00th=[ 506],
| 70.00th=[ 537], 80.00th=[ 570], 90.00th=[ 644], 95.00th=[ 766],
| 99.00th=[ 4817], 99.50th=[ 9896], 99.90th=[ 18744], 99.95th=[ 32900],
| 99.99th=[168821]
cpu : usr=2.12%, sys=12.28%, ctx=16791, majf=0, minf=13
IO depths : 1=200.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 rwts: total=0,10029,0,0 short=10029,0,0,0 dropped=0,0,0,0
latency : target=0, window=0, percentile=100.00%, depth=1
Run status group 0 (all jobs):
WRITE: bw=3588KiB/s (3674kB/s), 3588KiB/s-3588KiB/s (3674kB/s-3674kB/s), io=21.0MiB (23.1MB), run=6279-6279msec
Disk stats (read/write):
dm-0: ios=1157/31942, merge=0/0, ticks=34228/8728, in_queue=42956, util=92.45%, aggrios=1163/21479, aggrmerge=3/11571, aggrticks=33943/6916, aggrin_queue=35516, aggrutil=94.49%
sda: ios=1163/21479, merge=3/11571, ticks=33943/6916, in_queue=35516, util=94.49%jade@shared3:~$ fio --rw=write --ioengine=sync --fdatasync=1 --directory=hdd-test --size=22m --bs=2300 --name=test2
test2: (g=0): rw=write, bs=® 2300B-2300B, (W) 2300B-2300B, (T) 2300B-2300B, ioengine=sync, iodepth=1
fio-3.16
Starting 1 process
Jobs: 1 (f=1): [W(1)][-.-%][w=8076KiB/s][w=3595 IOPS][eta 00m:00s]
test2: (groupid=0, jobs=1): err= 0: pid=582775: Tue Dec 8 17:03:31 2020
write: IOPS=3463, BW=7778KiB/s (7965kB/s)(21.0MiB/2896msec); 0 zone resets
clat (usec): min=8, max=20609, avg=105.59, stdev=314.21
lat (usec): min=9, max=20610, avg=106.09, stdev=314.22
clat percentiles (usec):
| 1.00th=[ 10], 5.00th=[ 10], 10.00th=[ 10], 20.00th=[ 11],
| 30.00th=[ 11], 40.00th=[ 14], 50.00th=[ 141], 60.00th=[ 149],
| 70.00th=[ 157], 80.00th=[ 165], 90.00th=[ 182], 95.00th=[ 202],
| 99.00th=[ 277], 99.50th=[ 355], 99.90th=[ 1450], 99.95th=[ 2999],
| 99.99th=[19792]
bw ( KiB/s): min= 6810, max= 8575, per=100.00%, avg=7866.00, stdev=882.71, samples=5
iops : min= 3032, max= 3818, avg=3502.20, stdev=393.06, samples=5
lat (usec) : 10=11.22%, 20=31.93%, 50=0.48%, 100=0.19%, 250=54.71%
lat (usec) : 500=1.14%, 750=0.12%, 1000=0.08%
lat (msec) : 2=0.05%, 4=0.06%, 10=0.01%, 20=0.01%, 50=0.01%
fsync/fdatasync/sync_file_range:
sync (usec): min=109, max=57452, avg=176.02, stdev=770.69
sync percentiles (usec):
| 1.00th=[ 117], 5.00th=[ 125], 10.00th=[ 129], 20.00th=[ 135],
| 30.00th=[ 141], 40.00th=[ 145], 50.00th=[ 149], 60.00th=[ 153],
| 70.00th=[ 159], 80.00th=[ 169], 90.00th=[ 188], 95.00th=[ 210],
| 99.00th=[ 343], 99.50th=[ 603], 99.90th=[ 2376], 99.95th=[ 4817],
| 99.99th=[35390]
cpu : usr=4.73%, sys=26.84%, ctx=21509, majf=0, minf=15
IO depths : 1=200.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 rwts: total=0,10029,0,0 short=10029,0,0,0 dropped=0,0,0,0
latency : target=0, window=0, percentile=100.00%, depth=1
Run status group 0 (all jobs):
WRITE: bw=7778KiB/s (7965kB/s), 7778KiB/s-7778KiB/s (7965kB/s-7965kB/s), io=21.0MiB (23.1MB), run=2896-2896msec
Disk stats (read/write):
dm-0: ios=5674/10287, merge=0/0, ticks=1660/2280, in_queue=3940, util=95.38%, aggrios=5688/10233, aggrmerge=0/73, aggrticks=1697/2265, aggrin_queue=1764, aggrutil=96.71%
sda: ios=5688/10233, merge=0/73, ticks=1697/2265, in_queue=1764, util=96.71%
jade@shared3:~$ fio --rw=write --ioengine=sync --fdatasync=1 --directory=hdd-test --size=22m --bs=2300 --name=test2
test2: (g=0): rw=write, bs=® 2300B-2300B, (W) 2300B-2300B, (T) 2300B-2300B, ioengine=sync, iodepth=1
fio-3.16
Starting 1 process
Jobs: 1 (f=1)
test2: (groupid=0, jobs=1): err= 0: pid=582983: Tue Dec 8 17:03:42 2020
write: IOPS=3858, BW=8667KiB/s (8875kB/s)(21.0MiB/2599msec); 0 zone resets
clat (usec): min=9, max=12240, avg=97.21, stdev=233.34
lat (usec): min=10, max=12240, avg=97.78, stdev=233.36
clat percentiles (usec):
| 1.00th=[ 10], 5.00th=[ 11], 10.00th=[ 11], 20.00th=[ 11],
| 30.00th=[ 11], 40.00th=[ 14], 50.00th=[ 135], 60.00th=[ 141],
| 70.00th=[ 145], 80.00th=[ 153], 90.00th=[ 167], 95.00th=[ 184],
| 99.00th=[ 241], 99.50th=[ 289], 99.90th=[ 971], 99.95th=[ 2245],
| 99.99th=[11076]
bw ( KiB/s): min= 8256, max= 9123, per=100.00%, avg=8667.80, stdev=351.06, samples=5
iops : min= 3676, max= 4062, avg=3859.20, stdev=156.27, samples=5
lat (usec) : 10=3.75%, 20=39.59%, 50=0.36%, 100=0.09%, 250=55.33%
lat (usec) : 500=0.66%, 750=0.07%, 1000=0.06%
lat (msec) : 2=0.04%, 4=0.01%, 10=0.03%, 20=0.02%
fsync/fdatasync/sync_file_range:
sync (usec): min=109, max=45567, avg=154.51, stdev=560.49
sync percentiles (usec):
| 1.00th=[ 117], 5.00th=[ 121], 10.00th=[ 123], 20.00th=[ 128],
| 30.00th=[ 133], 40.00th=[ 135], 50.00th=[ 139], 60.00th=[ 143],
| 70.00th=[ 147], 80.00th=[ 155], 90.00th=[ 172], 95.00th=[ 190],
| 99.00th=[ 260], 99.50th=[ 334], 99.90th=[ 988], 99.95th=[ 2409],
| 99.99th=[32375]
cpu : usr=5.62%, sys=29.72%, ctx=21514, majf=0, minf=13
IO depths : 1=200.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 rwts: total=0,10029,0,0 short=10029,0,0,0 dropped=0,0,0,0
latency : target=0, window=0, percentile=100.00%, depth=1
Run status group 0 (all jobs):
WRITE: bw=8667KiB/s (8875kB/s), 8667KiB/s-8667KiB/s (8875kB/s-8875kB/s), io=21.0MiB (23.1MB), run=2599-2599msec
Disk stats (read/write):
dm-0: ios=5266/9480, merge=0/0, ticks=656/1060, in_queue=1716, util=94.98%, aggrios=5646/10134, aggrmerge=0/51, aggrticks=795/1273, aggrin_queue=212, aggrutil=94.48%
sda: ios=5646/10134, merge=0/51, ticks=795/1273, in_queue=212, util=94.48%
jade@shared3:~$ fio --rw=write --ioengine=sync --fdatasync=1 --directory=hdd-test --size=22m --bs=2300 --name=test2
test2: (g=0): rw=write, bs=® 2300B-2300B, (W) 2300B-2300B, (T) 2300B-2300B, ioengine=sync, iodepth=1
fio-3.16
Starting 1 process
Jobs: 1 (f=1)
test2: (groupid=0, jobs=1): err= 0: pid=583157: Tue Dec 8 17:03:52 2020
write: IOPS=3650, BW=8200KiB/s (8397kB/s)(21.0MiB/2747msec); 0 zone resets
clat (usec): min=9, max=22409, avg=100.14, stdev=308.93
lat (usec): min=9, max=22410, avg=100.68, stdev=308.92
clat percentiles (usec):
| 1.00th=[ 10], 5.00th=[ 10], 10.00th=[ 11], 20.00th=[ 11],
| 30.00th=[ 11], 40.00th=[ 14], 50.00th=[ 139], 60.00th=[ 147],
| 70.00th=[ 153], 80.00th=[ 163], 90.00th=[ 178], 95.00th=[ 194],
| 99.00th=[ 251], 99.50th=[ 293], 99.90th=[ 553], 99.95th=[ 652],
| 99.99th=[19792]
bw ( KiB/s): min= 7537, max= 8737, per=100.00%, avg=8218.60, stdev=492.54, samples=5
iops : min= 3356, max= 3890, avg=3659.20, stdev=219.10, samples=5
lat (usec) : 10=8.65%, 20=34.58%, 50=0.52%, 100=0.06%, 250=55.16%
lat (usec) : 500=0.90%, 750=0.10%
lat (msec) : 4=0.01%, 20=0.01%, 50=0.01%
fsync/fdatasync/sync_file_range:
sync (usec): min=104, max=45464, avg=166.48, stdev=622.43
sync percentiles (usec):
| 1.00th=[ 116], 5.00th=[ 123], 10.00th=[ 127], 20.00th=[ 133],
| 30.00th=[ 137], 40.00th=[ 141], 50.00th=[ 145], 60.00th=[ 149],
| 70.00th=[ 155], 80.00th=[ 163], 90.00th=[ 178], 95.00th=[ 196],
| 99.00th=[ 260], 99.50th=[ 355], 99.90th=[ 2343], 99.95th=[10421],
| 99.99th=[32375]
cpu : usr=5.13%, sys=27.49%, ctx=21558, majf=0, minf=13
IO depths : 1=200.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 rwts: total=0,10029,0,0 short=10029,0,0,0 dropped=0,0,0,0
latency : target=0, window=0, percentile=100.00%, depth=1
Run status group 0 (all jobs):
WRITE: bw=8200KiB/s (8397kB/s), 8200KiB/s-8200KiB/s (8397kB/s-8397kB/s), io=21.0MiB (23.1MB), run=2747-2747msec
Disk stats (read/write):
dm-0: ios=5442/9715, merge=0/0, ticks=1568/1304, in_queue=2872, util=94.59%, aggrios=5710/10121, aggrmerge=0/49, aggrticks=1749/1367, aggrin_queue=1072, aggrutil=94.34%
sda: ios=5710/10121, merge=0/49, ticks=1749/1367, in_queue=1072, util=94.34%
jade@shared3:~$ fio --rw=write --ioengine=sync --fdatasync=1 --directory=hdd-test --size=22m --bs=2300 --name=test2
test2: (g=0): rw=write, bs=® 2300B-2300B, (W) 2300B-2300B, (T) 2300B-2300B, ioengine=sync, iodepth=1
fio-3.16
Starting 1 process
Jobs: 1 (f=1)
test2: (groupid=0, jobs=1): err= 0: pid=583439: Tue Dec 8 17:04:01 2020
write: IOPS=3711, BW=8337KiB/s (8537kB/s)(21.0MiB/2702msec); 0 zone resets
clat (usec): min=9, max=10050, avg=100.22, stdev=167.76
lat (usec): min=9, max=10051, avg=100.73, stdev=167.75
clat percentiles (usec):
| 1.00th=[ 11], 5.00th=[ 11], 10.00th=[ 11], 20.00th=[ 11],
| 30.00th=[ 11], 40.00th=[ 14], 50.00th=[ 139], 60.00th=[ 145],
| 70.00th=[ 153], 80.00th=[ 163], 90.00th=[ 178], 95.00th=[ 198],
| 99.00th=[ 265], 99.50th=[ 359], 99.90th=[ 1020], 99.95th=[ 2089],
| 99.99th=[ 8356]
bw ( KiB/s): min= 7385, max= 8885, per=99.04%, avg=8256.20, stdev=616.15, samples=5
iops : min= 3288, max= 3956, avg=3676.00, stdev=274.27, samples=5
lat (usec) : 10=1.06%, 20=42.35%, 50=0.32%, 100=0.09%, 250=54.84%
lat (usec) : 500=1.07%, 750=0.13%, 1000=0.03%
lat (msec) : 2=0.06%, 4=0.03%, 10=0.02%, 20=0.01%
fsync/fdatasync/sync_file_range:
sync (usec): min=109, max=29635, avg=161.79, stdev=374.24
sync percentiles (usec):
| 1.00th=[ 117], 5.00th=[ 122], 10.00th=[ 126], 20.00th=[ 133],
| 30.00th=[ 137], 40.00th=[ 141], 50.00th=[ 145], 60.00th=[ 149],
| 70.00th=[ 155], 80.00th=[ 165], 90.00th=[ 182], 95.00th=[ 202],
| 99.00th=[ 306], 99.50th=[ 502], 99.90th=[ 1909], 99.95th=[ 4948],
| 99.99th=[13042]
cpu : usr=4.96%, sys=29.58%, ctx=21504, majf=0, minf=13
IO depths : 1=200.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 rwts: total=0,10029,0,0 short=10029,0,0,0 dropped=0,0,0,0
latency : target=0, window=0, percentile=100.00%, depth=1
Run status group 0 (all jobs):
WRITE: bw=8337KiB/s (8537kB/s), 8337KiB/s-8337KiB/s (8537kB/s-8537kB/s), io=21.0MiB (23.1MB), run=2702-2702msec
Disk stats (read/write):
dm-0: ios=5534/10029, merge=0/0, ticks=2012/1152, in_queue=3164, util=96.42%, aggrios=5682/10212, aggrmerge=0/80, aggrticks=2027/1355, aggrin_queue=1300, aggrutil=96.05%
sda: ios=5682/10212, merge=0/80, ticks=2027/1355, in_queue=1300, util=96.05%
jade@shared3:~$ fio --rw=write --ioengine=sync --fdatasync=1 --directory=hdd-test --size=22m --bs=2300 --name=test2
test2: (g=0): rw=write, bs=® 2300B-2300B, (W) 2300B-2300B, (T) 2300B-2300B, ioengine=sync, iodepth=1
fio-3.16
Starting 1 process
Jobs: 1 (f=1)
test2: (groupid=0, jobs=1): err= 0: pid=583883: Tue Dec 8 17:04:24 2020
write: IOPS=3715, BW=8346KiB/s (8546kB/s)(21.0MiB/2699msec); 0 zone resets
clat (usec): min=6, max=41417, avg=102.79, stdev=522.78
lat (usec): min=7, max=41418, avg=103.29, stdev=522.78
clat percentiles (usec):
| 1.00th=[ 10], 5.00th=[ 10], 10.00th=[ 10], 20.00th=[ 11],
| 30.00th=[ 11], 40.00th=[ 14], 50.00th=[ 139], 60.00th=[ 145],
| 70.00th=[ 151], 80.00th=[ 159], 90.00th=[ 174], 95.00th=[ 190],
| 99.00th=[ 243], 99.50th=[ 297], 99.90th=[ 840], 99.95th=[ 1827],
| 99.99th=[30802]
bw ( KiB/s): min= 7546, max= 8966, per=99.94%, avg=8340.60, stdev=627.61, samples=5
iops : min= 3360, max= 3992, avg=3713.60, stdev=279.34, samples=5
lat (usec) : 10=12.86%, 20=30.65%, 50=0.22%, 100=0.11%, 250=55.21%
lat (usec) : 500=0.73%, 750=0.09%, 1000=0.04%
lat (msec) : 2=0.04%, 4=0.03%, 50=0.02%
fsync/fdatasync/sync_file_range:
sync (usec): min=109, max=28686, avg=159.17, stdev=416.65
sync percentiles (usec):
| 1.00th=[ 117], 5.00th=[ 123], 10.00th=[ 126], 20.00th=[ 131],
| 30.00th=[ 137], 40.00th=[ 139], 50.00th=[ 143], 60.00th=[ 149],
| 70.00th=[ 153], 80.00th=[ 161], 90.00th=[ 176], 95.00th=[ 194],
| 99.00th=[ 260], 99.50th=[ 318], 99.90th=[ 1418], 99.95th=[ 3589],
| 99.99th=[22152]
cpu : usr=5.86%, sys=27.76%, ctx=21555, majf=0, minf=13
IO depths : 1=200.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 rwts: total=0,10029,0,0 short=10029,0,0,0 dropped=0,0,0,0
latency : target=0, window=0, percentile=100.00%, depth=1
Run status group 0 (all jobs):
WRITE: bw=8346KiB/s (8546kB/s), 8346KiB/s-8346KiB/s (8546kB/s-8546kB/s), io=21.0MiB (23.1MB), run=2699-2699msec
Disk stats (read/write):
dm-0: ios=5504/9916, merge=0/0, ticks=688/1344, in_queue=2032, util=95.80%, aggrios=5632/10123, aggrmerge=0/22, aggrticks=768/1413, aggrin_queue=248, aggrutil=95.28%
sda: ios=5632/10123, merge=0/22, ticks=768/1413, in_queue=248, util=95.28%
jade@shared3:~$