shchuko

qemu-fio-virtio

Feb 12th, 2021 (edited)
620
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 14.01 KB | None | 0 0
  1. a123456@123456s-Mac fio % sudo ./runjobs.sh /dev/disk0
  2. Password:
  3. Continue with /dev/disk0? [y/N] y
  4. randwrite: (g=0): rw=randwrite, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=posixaio, iodepth=32
  5. fio-3.19
  6. Starting 1 process
  7. Jobs: 1 (f=1): [w(1)][100.0%][w=17.7MiB/s][w=4520 IOPS][eta 00m:00s]
  8. randwrite: (groupid=0, jobs=1): err= 0: pid=825: Fri Feb 12 11:11:23 2021
  9.   write: IOPS=4632, BW=18.1MiB/s (18.0MB/s)(362MiB/20001msec)
  10.     slat (nsec): min=728, max=6314.3k, avg=206549.77, stdev=159853.18
  11.     clat (usec): min=20, max=15540, avg=1691.71, stdev=1096.48
  12.      lat (usec): min=29, max=15544, avg=1898.26, stdev=1102.76
  13.     clat percentiles (usec):
  14.      |  1.00th=[   23],  5.00th=[  109], 10.00th=[  310], 20.00th=[  635],
  15.      | 30.00th=[  963], 40.00th=[ 1287], 50.00th=[ 1614], 60.00th=[ 1958],
  16.      | 70.00th=[ 2278], 80.00th=[ 2638], 90.00th=[ 3097], 95.00th=[ 3523],
  17.      | 99.00th=[ 4490], 99.50th=[ 4948], 99.90th=[ 6456], 99.95th=[ 7177],
  18.      | 99.99th=[10814]
  19.    bw (  KiB/s): min=17780, max=20240, per=100.00%, avg=18547.05, stdev=532.46, samples=39
  20.    iops        : min= 4445, max= 5060, avg=4636.33, stdev=133.16, samples=39
  21.   lat (usec)   : 50=3.99%, 100=0.85%, 250=3.32%, 500=7.72%, 750=7.60%
  22.   lat (usec)   : 1000=7.73%
  23.   lat (msec)   : 2=30.29%, 4=36.24%, 10=2.26%, 20=0.01%
  24.   cpu          : usr=2.57%, sys=53.29%, ctx=80035, majf=0, minf=25
  25.   IO depths    : 1=4.5%, 2=12.3%, 4=25.2%, 8=51.4%, 16=6.6%, 32=0.0%, >=64=0.0%
  26.      submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
  27.      complete  : 0=0.0%, 4=94.3%, 8=0.1%, 16=5.6%, 32=0.0%, 64=0.0%, >=64=0.0%
  28.      issued rwts: total=0,92655,0,0 short=0,0,0,0 dropped=0,0,0,0
  29.      latency   : target=0, window=0, percentile=100.00%, depth=32
  30.  
  31. Run status group 0 (all jobs):
  32.   WRITE: bw=18.1MiB/s (18.0MB/s), 18.1MiB/s-18.1MiB/s (18.0MB/s-18.0MB/s), io=362MiB (380MB), run=20001-20001msec
  33. ----------------------------
  34. seqwrite: (g=0): rw=write, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=posixaio, iodepth=32
  35. fio-3.19
  36. Starting 1 process
  37. Jobs: 1 (f=1): [W(1)][100.0%][w=18.0MiB/s][w=4859 IOPS][eta 00m:00s]
  38. seqwrite: (groupid=0, jobs=1): err= 0: pid=827: Fri Feb 12 11:11:43 2021
  39.   write: IOPS=4747, BW=18.5MiB/s (19.4MB/s)(371MiB/20001msec)
  40.     slat (nsec): min=719, max=8584.3k, avg=201211.98, stdev=157070.25
  41.     clat (usec): min=20, max=12163, avg=1650.05, stdev=1076.49
  42.      lat (usec): min=54, max=13325, avg=1851.26, stdev=1087.68
  43.     clat percentiles (usec):
  44.      |  1.00th=[   22],  5.00th=[  128], 10.00th=[  314], 20.00th=[  627],
  45.      | 30.00th=[  914], 40.00th=[ 1237], 50.00th=[ 1565], 60.00th=[ 1893],
  46.      | 70.00th=[ 2212], 80.00th=[ 2573], 90.00th=[ 3032], 95.00th=[ 3458],
  47.      | 99.00th=[ 4490], 99.50th=[ 4948], 99.90th=[ 6194], 99.95th=[ 6915],
  48.      | 99.99th=[10028]
  49.    bw (  KiB/s): min=15730, max=20245, per=100.00%, avg=19013.18, stdev=1161.51, samples=39
  50.    iops        : min= 3932, max= 5061, avg=4753.00, stdev=290.42, samples=39
  51.   lat (usec)   : 50=3.77%, 100=0.78%, 250=3.22%, 500=8.08%, 750=8.38%
  52.   lat (usec)   : 1000=8.48%
  53.   lat (msec)   : 2=30.51%, 4=34.71%, 10=2.05%, 20=0.01%
  54.   cpu          : usr=2.45%, sys=53.07%, ctx=80610, majf=0, minf=26
  55.   IO depths    : 1=4.4%, 2=12.2%, 4=25.3%, 8=51.5%, 16=6.6%, 32=0.0%, >=64=0.0%
  56.      submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
  57.      complete  : 0=0.0%, 4=94.3%, 8=0.1%, 16=5.6%, 32=0.0%, 64=0.0%, >=64=0.0%
  58.      issued rwts: total=0,94964,0,0 short=0,0,0,0 dropped=0,0,0,0
  59.      latency   : target=0, window=0, percentile=100.00%, depth=32
  60.  
  61. Run status group 0 (all jobs):
  62.   WRITE: bw=18.5MiB/s (19.4MB/s), 18.5MiB/s-18.5MiB/s (19.4MB/s-19.4MB/s), io=371MiB (389MB), run=20001-20001msec
  63. ----------------------------
  64. seqwrite-sync: (g=0): rw=write, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=psync, iodepth=1
  65. fio-3.19
  66. Starting 1 process
  67. Jobs: 1 (f=1): [W(1)][100.0%][w=85.0MiB/s][w=21.8k IOPS][eta 00m:00s]
  68. seqwrite-sync: (groupid=0, jobs=1): err= 0: pid=829: Fri Feb 12 11:12:03 2021
  69.   write: IOPS=20.8k, BW=81.3MiB/s (85.2MB/s)(1626MiB/20001msec)
  70.     clat (usec): min=3, max=923663, avg=46.33, stdev=1434.15
  71.      lat (usec): min=3, max=923664, avg=46.57, stdev=1434.15
  72.     clat percentiles (usec):
  73.      |  1.00th=[    5],  5.00th=[    5], 10.00th=[    5], 20.00th=[    5],
  74.      | 30.00th=[    9], 40.00th=[   11], 50.00th=[   24], 60.00th=[   30],
  75.      | 70.00th=[   38], 80.00th=[   46], 90.00th=[  123], 95.00th=[  192],
  76.      | 99.00th=[  371], 99.50th=[  474], 99.90th=[  848], 99.95th=[ 1074],
  77.      | 99.99th=[ 1876]
  78.    bw (  KiB/s): min=31097, max=101409, per=100.00%, avg=85894.55, stdev=16069.41, samples=38
  79.    iops        : min= 7774, max=25352, avg=21473.32, stdev=4017.33, samples=38
  80.   lat (usec)   : 4=0.18%, 10=39.90%, 20=7.62%, 50=35.25%, 100=4.82%
  81.   lat (usec)   : 250=9.77%, 500=2.03%, 750=0.29%, 1000=0.08%
  82.   lat (msec)   : 2=0.05%, 4=0.01%, 10=0.01%, 1000=0.01%
  83.   cpu          : usr=5.45%, sys=76.23%, ctx=18251, majf=0, minf=30
  84.   IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%
  85.      submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
  86.      complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
  87.      issued rwts: total=0,416191,0,0 short=0,0,0,0 dropped=0,0,0,0
  88.      latency   : target=0, window=0, percentile=100.00%, depth=1
  89.  
  90. Run status group 0 (all jobs):
  91.   WRITE: bw=81.3MiB/s (85.2MB/s), 81.3MiB/s-81.3MiB/s (85.2MB/s-85.2MB/s), io=1626MiB (1705MB), run=20001-20001msec
  92. ----------------------------
  93. randread: (g=0): rw=randread, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=posixaio, iodepth=32
  94. fio-3.19
  95. Starting 1 process
  96. Jobs: 1 (f=1): [r(1)][100.0%][r=19.8MiB/s][r=5073 IOPS][eta 00m:00s]
  97. randread: (groupid=0, jobs=1): err= 0: pid=831: Fri Feb 12 11:12:23 2021
  98.   read: IOPS=5039, BW=19.7MiB/s (20.6MB/s)(394MiB/20006msec)
  99.     slat (nsec): min=665, max=4787.1k, avg=81121.30, stdev=180076.54
  100.     clat (usec): min=21, max=17328, avg=2492.06, stdev=1127.29
  101.      lat (usec): min=283, max=17329, avg=2573.18, stdev=1112.04
  102.     clat percentiles (usec):
  103.      |  1.00th=[  453],  5.00th=[  857], 10.00th=[ 1188], 20.00th=[ 1663],
  104.      | 30.00th=[ 1975], 40.00th=[ 2180], 50.00th=[ 2376], 60.00th=[ 2573],
  105.      | 70.00th=[ 2835], 80.00th=[ 3195], 90.00th=[ 3851], 95.00th=[ 4490],
  106.      | 99.00th=[ 6063], 99.50th=[ 6849], 99.90th=[ 8848], 99.95th=[10683],
  107.      | 99.99th=[15270]
  108.    bw (  KiB/s): min=15888, max=22099, per=100.00%, avg=20223.92, stdev=1407.15, samples=39
  109.    iops        : min= 3972, max= 5524, avg=5055.67, stdev=351.73, samples=39
  110.   lat (usec)   : 50=0.12%, 100=0.09%, 250=0.17%, 500=0.91%, 750=2.26%
  111.   lat (usec)   : 1000=3.50%
  112.   lat (msec)   : 2=24.07%, 4=60.42%, 10=8.40%, 20=0.06%
  113.   cpu          : usr=2.63%, sys=30.05%, ctx=50082, majf=0, minf=28
  114.   IO depths    : 1=0.6%, 2=3.2%, 4=10.6%, 8=66.1%, 16=19.5%, 32=0.0%, >=64=0.0%
  115.      submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
  116.      complete  : 0=0.0%, 4=95.0%, 8=2.5%, 16=2.6%, 32=0.0%, 64=0.0%, >=64=0.0%
  117.      issued rwts: total=100814,0,0,0 short=0,0,0,0 dropped=0,0,0,0
  118.      latency   : target=0, window=0, percentile=100.00%, depth=32
  119.  
  120. Run status group 0 (all jobs):
  121.    READ: bw=19.7MiB/s (20.6MB/s), 19.7MiB/s-19.7MiB/s (20.6MB/s-20.6MB/s), io=394MiB (413MB), run=20006-20006msec
  122. ----------------------------
  123. seqread: (g=0): rw=read, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=posixaio, iodepth=32
  124. fio-3.19
  125. Starting 1 process
  126. Jobs: 1 (f=1): [R(1)][100.0%][r=19.2MiB/s][r=4903 IOPS][eta 00m:00s]
  127. seqread: (groupid=0, jobs=1): err= 0: pid=833: Fri Feb 12 11:12:44 2021
  128.   read: IOPS=5050, BW=19.7MiB/s (20.7MB/s)(395MiB/20001msec)
  129.     slat (nsec): min=654, max=3141.2k, avg=101827.37, stdev=184521.12
  130.     clat (usec): min=20, max=11290, avg=2316.37, stdev=1061.76
  131.      lat (usec): min=128, max=11680, avg=2418.20, stdev=1050.33
  132.     clat percentiles (usec):
  133.      |  1.00th=[  306],  5.00th=[  725], 10.00th=[ 1037], 20.00th=[ 1500],
  134.      | 30.00th=[ 1811], 40.00th=[ 2024], 50.00th=[ 2212], 60.00th=[ 2409],
  135.      | 70.00th=[ 2671], 80.00th=[ 3064], 90.00th=[ 3687], 95.00th=[ 4228],
  136.      | 99.00th=[ 5473], 99.50th=[ 6128], 99.90th=[ 7439], 99.95th=[ 8094],
  137.      | 99.99th=[ 9241]
  138.    bw (  KiB/s): min=17885, max=22897, per=100.00%, avg=20239.95, stdev=1093.34, samples=39
  139.    iops        : min= 4471, max= 5724, avg=5059.67, stdev=273.35, samples=39
  140.   lat (usec)   : 50=0.25%, 100=0.17%, 250=0.32%, 500=1.64%, 750=3.01%
  141.   lat (usec)   : 1000=4.08%
  142.   lat (msec)   : 2=29.47%, 4=54.28%, 10=6.78%, 20=0.01%
  143.   cpu          : usr=2.42%, sys=31.41%, ctx=54321, majf=0, minf=28
  144.   IO depths    : 1=0.9%, 2=4.3%, 4=12.5%, 8=64.6%, 16=17.7%, 32=0.0%, >=64=0.0%
  145.      submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
  146.      complete  : 0=0.0%, 4=94.9%, 8=2.2%, 16=2.9%, 32=0.0%, 64=0.0%, >=64=0.0%
  147.      issued rwts: total=101012,0,0,0 short=0,0,0,0 dropped=0,0,0,0
  148.      latency   : target=0, window=0, percentile=100.00%, depth=32
  149.  
  150. Run status group 0 (all jobs):
  151.    READ: bw=19.7MiB/s (20.7MB/s), 19.7MiB/s-19.7MiB/s (20.7MB/s-20.7MB/s), io=395MiB (414MB), run=20001-20001msec
  152. ----------------------------
  153. seqread-sync: (g=0): rw=read, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=psync, iodepth=1
  154. fio-3.19
  155. Starting 1 process
  156. Jobs: 1 (f=1): [R(1)][100.0%][r=12.4MiB/s][r=3183 IOPS][eta 00m:00s]
  157. seqread-sync: (groupid=0, jobs=1): err= 0: pid=835: Fri Feb 12 11:13:04 2021
  158.   read: IOPS=3279, BW=12.8MiB/s (13.4MB/s)(256MiB/20001msec)
  159.     clat (usec): min=28, max=2817, avg=301.76, stdev=99.35
  160.      lat (usec): min=29, max=2817, avg=302.04, stdev=99.35
  161.     clat percentiles (usec):
  162.      |  1.00th=[  192],  5.00th=[  223], 10.00th=[  225], 20.00th=[  235],
  163.      | 30.00th=[  255], 40.00th=[  273], 50.00th=[  285], 60.00th=[  297],
  164.      | 70.00th=[  322], 80.00th=[  343], 90.00th=[  388], 95.00th=[  445],
  165.      | 99.00th=[  660], 99.50th=[  799], 99.90th=[ 1303], 99.95th=[ 1614],
  166.      | 99.99th=[ 2507]
  167.    bw (  KiB/s): min=12080, max=13992, per=100.00%, avg=13144.51, stdev=422.52, samples=39
  168.    iops        : min= 3020, max= 3498, avg=3285.97, stdev=105.69, samples=39
  169.   lat (usec)   : 50=0.24%, 100=0.03%, 250=27.97%, 500=68.81%, 750=2.31%
  170.   lat (usec)   : 1000=0.42%
  171.   lat (msec)   : 2=0.21%, 4=0.02%
  172.   cpu          : usr=1.58%, sys=26.58%, ctx=65948, majf=0, minf=30
  173.   IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%
  174.      submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
  175.      complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
  176.      issued rwts: total=65599,0,0,0 short=0,0,0,0 dropped=0,0,0,0
  177.      latency   : target=0, window=0, percentile=100.00%, depth=1
  178.  
  179. Run status group 0 (all jobs):
  180.    READ: bw=12.8MiB/s (13.4MB/s), 12.8MiB/s-12.8MiB/s (13.4MB/s-13.4MB/s), io=256MiB (269MB), run=20001-20001msec
  181. ----------------------------
  182. randrw: (g=0): rw=randrw, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=posixaio, iodepth=32
  183. fio-3.19
  184. Starting 1 process
  185. Jobs: 1 (f=1): [m(1)][100.0%][r=7547KiB/s,w=7316KiB/s][r=1886,w=1829 IOPS][eta 00m:00s]
  186. randrw: (groupid=0, jobs=1): err= 0: pid=837: Fri Feb 12 11:13:25 2021
  187.   read: IOPS=2165, BW=8662KiB/s (8870kB/s)(169MiB/20002msec)
  188.     slat (nsec): min=679, max=2977.0k, avg=208485.57, stdev=207933.36
  189.     clat (usec): min=21, max=13035, avg=2259.09, stdev=1249.94
  190.      lat (usec): min=313, max=13037, avg=2467.57, stdev=1251.70
  191.     clat percentiles (usec):
  192.      |  1.00th=[  217],  5.00th=[  562], 10.00th=[  799], 20.00th=[ 1156],
  193.      | 30.00th=[ 1467], 40.00th=[ 1762], 50.00th=[ 2089], 60.00th=[ 2442],
  194.      | 70.00th=[ 2835], 80.00th=[ 3261], 90.00th=[ 3916], 95.00th=[ 4490],
  195.      | 99.00th=[ 5800], 99.50th=[ 6456], 99.90th=[ 7963], 99.95th=[ 8586],
  196.      | 99.99th=[10421]
  197.    bw (  KiB/s): min= 6563, max= 9805, per=100.00%, avg=8675.31, stdev=575.21, samples=39
  198.    iops        : min= 1640, max= 2451, avg=2168.49, stdev=143.91, samples=39
  199.   write: IOPS=2149, BW=8596KiB/s (8803kB/s)(168MiB/20002msec)
  200.     slat (nsec): min=704, max=5141.0k, avg=195113.42, stdev=186873.76
  201.     clat (usec): min=20, max=10319, avg=1803.50, stdev=1182.25
  202.      lat (usec): min=36, max=10808, avg=1998.62, stdev=1204.74
  203.     clat percentiles (usec):
  204.      |  1.00th=[   23],  5.00th=[  180], 10.00th=[  392], 20.00th=[  742],
  205.      | 30.00th=[ 1037], 40.00th=[ 1319], 50.00th=[ 1631], 60.00th=[ 1975],
  206.      | 70.00th=[ 2376], 80.00th=[ 2802], 90.00th=[ 3392], 95.00th=[ 3916],
  207.      | 99.00th=[ 5080], 99.50th=[ 5538], 99.90th=[ 7046], 99.95th=[ 7635],
  208.      | 99.99th=[ 8717]
  209.    bw (  KiB/s): min= 6714, max= 9797, per=100.00%, avg=8620.03, stdev=597.22, samples=39
  210.    iops        : min= 1678, max= 2449, avg=2154.64, stdev=149.31, samples=39
  211.   lat (usec)   : 50=1.84%, 100=0.45%, 250=1.57%, 500=4.60%, 750=6.06%
  212.   lat (usec)   : 1000=7.60%
  213.   lat (msec)   : 2=31.95%, 4=39.23%, 10=6.70%, 20=0.01%
  214.   cpu          : usr=2.36%, sys=45.03%, ctx=68503, majf=0, minf=29
  215.   IO depths    : 1=1.7%, 2=9.3%, 4=23.1%, 8=57.3%, 16=8.5%, 32=0.0%, >=64=0.0%
  216.      submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
  217.      complete  : 0=0.0%, 4=93.8%, 8=1.0%, 16=5.3%, 32=0.0%, 64=0.0%, >=64=0.0%
  218.      issued rwts: total=43314,42986,0,0 short=0,0,0,0 dropped=0,0,0,0
  219.      latency   : target=0, window=0, percentile=100.00%, depth=32
  220.  
  221. Run status group 0 (all jobs):
  222.    READ: bw=8662KiB/s (8870kB/s), 8662KiB/s-8662KiB/s (8870kB/s-8870kB/s), io=169MiB (177MB), run=20002-20002msec
  223.   WRITE: bw=8596KiB/s (8803kB/s), 8596KiB/s-8596KiB/s (8803kB/s-8803kB/s), io=168MiB (176MB), run=20002-20002msec
  224. ----------------------------
  225. Done!
  226. ------------------------------------------
  227. a123456@123456s-Mac ~ % sudo dd if=/dev/zero of=/dev/disk0 bs=4096 count=100000; sync
  228. 100000+0 records in
  229. 100000+0 records out
  230. 409600000 bytes transferred in 3.717606 secs (110178437 bytes/sec)
  231. a123456@123456s-Mac ~ % sudo dd of=/dev/zero if=/dev/disk0 bs=4096 count=100000; sync
  232. 100000+0 records in
  233. 100000+0 records out
  234. 409600000 bytes transferred in 29.220649 secs (14017485 bytes/sec)
Add Comment
Please, Sign In to add comment