AHCI:



[root@tech-2 ~]# fio four-threads-randio.fio
bgwriter: (g=0): rw=randwrite, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=32
queryA: (g=0): rw=randread, bs=4K-4K/4K-4K, ioengine=mmap, iodepth=1
queryB: (g=0): rw=randread, bs=4K-4K/4K-4K, ioengine=mmap, iodepth=1
bgupdater: (g=0): rw=randrw, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=16
Starting 4 processes
bgwriter: Laying out IO file(s) (1 file(s) / 256MB)
queryA: Laying out IO file(s) (1 file(s) / 256MB)
queryB: Laying out IO file(s) (1 file(s) / 256MB)
bgupdater: Laying out IO file(s) (1 file(s) / 32MB)
Jobs: 1 (f=1): [_r__] [99.9% done] [1,784K/0K /s] [435/0 iops] [eta 00m:01s]
bgwriter: (groupid=0, jobs=1): err= 0: pid=1944
  write: io=256MB, bw=2,801KB/s, iops=700, runt= 93575msec
    slat (usec): min=102, max=1,088K, avg=1414.96, stdev=9400.75
    clat (usec): min=247, max=2,085K, avg=44217.12, stdev=78504.01
    bw (KB/s) : min=   13, max=14472, per=99.07%, avg=2947.44, stdev=2119.61
  cpu          : usr=0.00%, sys=1.29%, ctx=65626, majf=0, minf=33
  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%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.1%, 64=0.0%, >=64=0.0%
     issued r/w: total=0/65536, short=0/0
     lat (usec): 250=0.01%
     lat (msec): 2=0.01%, 4=0.01%, 10=20.44%, 20=3.79%, 50=59.30%
     lat (msec): 100=11.21%, 250=2.83%, 500=2.13%, 750=0.01%, 1000=0.01%
     lat (msec): 2000=0.27%, >=2000=0.01%
queryA: (groupid=0, jobs=1): err= 0: pid=1945
  read : io=256MB, bw=357KB/s, iops=89, runt=734536msec
    clat (usec): min=251, max=1,142K, avg=11194.10, stdev=12434.31
    bw (KB/s) : min=    3, max= 1760, per=48.68%, avg=358.29, stdev=119.72
  cpu          : usr=0.00%, sys=0.01%, ctx=65592, majf=65536, minf=109
  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 r/w: total=65536/0, short=0/0
     lat (usec): 500=3.05%, 750=0.46%, 1000=0.19%
     lat (msec): 2=0.85%, 4=7.89%, 10=46.91%, 20=31.40%, 50=8.33%
     lat (msec): 100=0.70%, 250=0.17%, 500=0.03%, 750=0.01%, 2000=0.01%
queryB: (groupid=0, jobs=1): err= 0: pid=1946
  read : io=256MB, bw=363KB/s, iops=90, runt=722105msec
    clat (usec): min=246, max=661K, avg=11002.24, stdev=11726.74
    bw (KB/s) : min=    6, max=  872, per=49.53%, avg=364.57, stdev=98.54
  cpu          : usr=0.00%, sys=0.01%, ctx=65590, majf=65536, minf=105
  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 r/w: total=65536/0, short=0/0
     lat (usec): 250=0.01%, 500=2.21%, 750=0.47%, 1000=0.18%
     lat (msec): 2=1.08%, 4=8.40%, 10=47.41%, 20=31.69%, 50=7.75%
     lat (msec): 100=0.64%, 250=0.14%, 500=0.03%, 750=0.01%
bgupdater: (groupid=0, jobs=1): err= 0: pid=1947
  read : io=16,440KB, bw=530KB/s, iops=132, runt= 31039msec
    slat (usec): min=8, max=162K, avg=60.14, stdev=2519.26
    clat (usec): min=433, max=1,116K, avg=111478.97, stdev=122710.64
    bw (KB/s) : min=  135, max=  656, per=72.12%, avg=530.77, stdev=89.84
  write: io=16,328KB, bw=526KB/s, iops=131, runt= 31039msec
    slat (usec): min=8, max=349K, avg=251.06, stdev=7642.00
    clat (usec): min=589, max=492K, avg=9000.11, stdev=24912.80
    bw (KB/s) : min=  220, max=  792, per=17.80%, avg=529.65, stdev=102.67
  cpu          : usr=0.03%, sys=1.11%, ctx=8046, majf=0, minf=23
  IO depths    : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=99.8%, 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.1%, 32=0.0%, 64=0.0%, >=64=0.0%
     issued r/w: total=4110/4082, short=0/0
     lat (usec): 500=0.04%, 750=0.11%, 1000=0.20%
     lat (msec): 2=3.87%, 4=16.41%, 10=25.89%, 20=9.24%, 50=12.92%
     lat (msec): 100=12.38%, 250=12.99%, 500=5.10%, 750=0.73%, 1000=0.11%
     lat (msec): 2000=0.02%
                 
Run status group 0 (all jobs):
   READ: io=528MB, aggrb=736KB/s, minb=365KB/s, maxb=542KB/s, mint=31039msec, maxt=734536msec
  WRITE: io=272MB, aggrb=2,975KB/s, minb=538KB/s, maxb=2,868KB/s, mint=31039msec, maxt=93575msec
                 
Disk stats (read/write):
  sda: ios=140306/71489, merge=2064/142396, ticks=1964006/1067647, in_queue=3031748, util=100.00%

ATA:


bgwriter: (g=0): rw=randwrite, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=32
queryA: (g=0): rw=randread, bs=4K-4K/4K-4K, ioengine=mmap, iodepth=1
queryB: (g=0): rw=randread, bs=4K-4K/4K-4K, ioengine=mmap, iodepth=1
bgupdater: (g=0): rw=randrw, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=16
Starting 4 processes
bgwriter: Laying out IO file(s) (1 file(s) / 256MB)
queryA: Laying out IO file(s) (1 file(s) / 256MB)
queryB: Laying out IO file(s) (1 file(s) / 256MB)
bgupdater: Laying out IO file(s) (1 file(s) / 32MB)
Jobs: 1 (f=1): [w___] [99.4% done] [0K/449K /s] [0/109 iops] [eta 00m:06s]            
bgwriter: (groupid=0, jobs=1): err= 0: pid=18730
  write: io=256MB, bw=256KB/s, iops=64, runt=1023542msec
    slat (usec): min=136, max=1,563K, avg=15605.55, stdev=56140.68
    clat (usec): min=245, max=6,637K, avg=483592.99, stdev=1480455.76
    bw (KB/s) : min=    1, max=10071, per=115.35%, avg=313.75, stdev=1242.41
  cpu          : usr=0.00%, sys=0.72%, ctx=65734, majf=0, minf=132
  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%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.1%, 64=0.0%, >=64=0.0%
     issued r/w: total=0/65536, short=0/0
     lat (usec): 250=0.01%, 1000=0.01%
     lat (msec): 2=0.01%, 4=0.01%, 10=12.07%, 20=28.39%, 50=44.09%
     lat (msec): 100=3.08%, 250=1.55%, 500=0.31%, 750=0.40%, 1000=0.45%
     lat (msec): 2000=0.97%, >=2000=8.67%
queryA: (groupid=0, jobs=1): err= 0: pid=18731
  read : io=256MB, bw=279KB/s, iops=69, runt=939769msec
    clat (usec): min=266, max=361K, avg=14325.92, stdev=29617.21
    bw (KB/s) : min=   84, max= 1496, per=48.97%, avg=281.56, stdev=82.70
  cpu          : usr=0.00%, sys=0.69%, ctx=65577, majf=65536, minf=135
  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 r/w: total=65536/0, short=0/0
     lat (usec): 500=4.48%, 750=0.45%, 1000=0.16%
     lat (msec): 2=0.27%, 4=14.29%, 10=61.32%, 20=12.03%, 50=0.44%
     lat (msec): 100=0.03%, 250=6.50%, 500=0.04%
queryB: (groupid=0, jobs=1): err= 0: pid=18732
  read : io=256MB, bw=280KB/s, iops=70, runt=935646msec
    clat (usec): min=259, max=374K, avg=14260.80, stdev=29031.44
    bw (KB/s) : min=   97, max=  583, per=49.18%, avg=282.79, stdev=63.55
  cpu          : usr=0.00%, sys=0.70%, ctx=65570, majf=65536, minf=135
  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 r/w: total=65536/0, short=0/0
     lat (usec): 500=3.97%, 750=0.43%, 1000=0.15%
     lat (msec): 2=0.29%, 4=14.11%, 10=61.64%, 20=12.50%, 50=0.35%
     lat (msec): 100=0.02%, 250=6.51%, 500=0.03%
bgupdater: (groupid=0, jobs=1): err= 0: pid=18733
  read : io=16,168KB, bw=117KB/s, iops=29, runt=138437msec
    slat (usec): min=8, max=34,267, avg=27.14, stdev=538.71
    clat (msec): min=3, max=1,676, avg=446.69, stdev=362.19
    bw (KB/s) : min=   21, max=  436, per=20.84%, avg=119.82, stdev=57.95
  write: io=16,600KB, bw=120KB/s, iops=29, runt=138437msec
    slat (usec): min=8, max=80, avg=18.51, stdev= 2.35
    clat (usec): min=737, max=2,313K, avg=98460.71, stdev=146297.12
    bw (KB/s) : min=    7, max=  296, per=44.26%, avg=120.39, stdev=66.40
  cpu          : usr=0.00%, sys=0.11%, ctx=8176, majf=0, minf=29
  IO depths    : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=99.8%, 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.1%, 32=0.0%, 64=0.0%, >=64=0.0%
     issued r/w: total=4042/4150, short=0/0
     lat (usec): 750=0.01%, 1000=3.42%
     lat (msec): 2=6.67%, 4=6.71%, 10=3.91%, 20=2.66%, 50=7.46%
     lat (msec): 100=10.27%, 250=23.54%, 500=16.44%, 750=8.02%, 1000=6.08%
     lat (msec): 2000=4.79%, >=2000=0.04%

Run status group 0 (all jobs):
   READ: io=528MB, aggrb=575KB/s, minb=119KB/s, maxb=286KB/s, mint=138437msec, maxt=939769msec
  WRITE: io=272MB, aggrb=272KB/s, minb=122KB/s, maxb=262KB/s, mint=138437msec, maxt=1023542msec

Disk stats (read/write):
  sda: ios=146639/74243, merge=901/166525, ticks=4636978/3664930, in_queue=8301995, util=100.00%