测试数据
性能测试的详细数据。
CPU 测试
输出结果:
- 物理机:
Benchmark Run: Mon Aug 09 2021 17:19:07 - 17:48:22
48 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 34839728.4 lps (10.0 s, 7 samples)
Double-Precision Whetstone 4368.3 MWIPS (8.8 s, 7 samples)
Execl Throughput 1291.3 lps (29.1 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 517296.7 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 139166.0 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 1825548.4 KBps (30.0 s, 2 samples)
Pipe Throughput 670895.6 lps (10.0 s, 7 samples)
Pipe-based Context Switching 111871.6 lps (10.0 s, 7 samples)
Process Creation 3276.8 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 3604.5 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 2900.6 lpm (60.0 s, 2 samples)
System Call Overhead 476273.4 lps (10.0 s, 7 samples)
- 虚拟机:
Benchmark Run: Mon Aug 09 2021 10:03:04 - 10:31:06
8 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 33964545.0 lps (10.0 s, 7 samples)
Double-Precision Whetstone 4244.3 MWIPS (9.9 s, 7 samples)
Execl Throughput 2348.2 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 644436.7 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 169199.0 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 1788048.3 KBps (30.0 s, 2 samples)
Pipe Throughput 933768.1 lps (10.0 s, 7 samples)
Pipe-based Context Switching 139898.5 lps (10.0 s, 7 samples)
Process Creation 5991.6 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 5698.6 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 2662.4 lpm (60.0 s, 2 samples)
System Call Overhead 920352.7 lps (10.0 s, 7 samples)
内存测试
输出结果:
- 物理机:
[root@baremetal-test mbw]# ./mbw 512
Long uses 8 bytes. Allocating 2*67108864 elements = 1073741824 bytes of memory.
Using 262144 bytes as blocks for memcpy block copy test.
Getting down to business... Doing 10 runs per test.
0 Method: MEMCPY Elapsed: 0.07964 MiB: 512.00000 Copy: 6429.172 MiB/s
1 Method: MEMCPY Elapsed: 0.06827 MiB: 512.00000 Copy: 7500.183 MiB/s
2 Method: MEMCPY Elapsed: 0.06628 MiB: 512.00000 Copy: 7724.338 MiB/s
3 Method: MEMCPY Elapsed: 0.06668 MiB: 512.00000 Copy: 7677.889 MiB/s
4 Method: MEMCPY Elapsed: 0.06568 MiB: 512.00000 Copy: 7795.253 MiB/s
5 Method: MEMCPY Elapsed: 0.06569 MiB: 512.00000 Copy: 7794.541 MiB/s
6 Method: MEMCPY Elapsed: 0.06578 MiB: 512.00000 Copy: 7783.994 MiB/s
7 Method: MEMCPY Elapsed: 0.06656 MiB: 512.00000 Copy: 7692.539 MiB/s
8 Method: MEMCPY Elapsed: 0.06555 MiB: 512.00000 Copy: 7811.189 MiB/s
9 Method: MEMCPY Elapsed: 0.06549 MiB: 512.00000 Copy: 7818.107 MiB/s
AVG Method: MEMCPY Elapsed: 0.06756 MiB: 512.00000 Copy: 7578.348 MiB/s
0 Method: DUMB Elapsed: 0.17209 MiB: 512.00000 Copy: 2975.239 MiB/s
1 Method: DUMB Elapsed: 0.17363 MiB: 512.00000 Copy: 2948.833 MiB/s
2 Method: DUMB Elapsed: 0.16853 MiB: 512.00000 Copy: 3038.053 MiB/s
3 Method: DUMB Elapsed: 0.17081 MiB: 512.00000 Copy: 2997.447 MiB/s
4 Method: DUMB Elapsed: 0.17639 MiB: 512.00000 Copy: 2902.642 MiB/s
5 Method: DUMB Elapsed: 0.16661 MiB: 512.00000 Copy: 3073.137 MiB/s
6 Method: DUMB Elapsed: 0.17822 MiB: 512.00000 Copy: 2872.773 MiB/s
7 Method: DUMB Elapsed: 0.16628 MiB: 512.00000 Copy: 3079.181 MiB/s
8 Method: DUMB Elapsed: 0.16490 MiB: 512.00000 Copy: 3104.818 MiB/s
9 Method: DUMB Elapsed: 0.17354 MiB: 512.00000 Copy: 2950.345 MiB/s
AVG Method: DUMB Elapsed: 0.17110 MiB: 512.00000 Copy: 2992.404 MiB/s
0 Method: MCBLOCK Elapsed: 0.09400 MiB: 512.00000 Copy: 5447.040 MiB/s
1 Method: MCBLOCK Elapsed: 0.09566 MiB: 512.00000 Copy: 5352.177 MiB/s
2 Method: MCBLOCK Elapsed: 0.09422 MiB: 512.00000 Copy: 5434.321 MiB/s
3 Method: MCBLOCK Elapsed: 0.09393 MiB: 512.00000 Copy: 5450.926 MiB/s
4 Method: MCBLOCK Elapsed: 0.09398 MiB: 512.00000 Copy: 5447.678 MiB/s
5 Method: MCBLOCK Elapsed: 0.09439 MiB: 512.00000 Copy: 5424.533 MiB/s
6 Method: MCBLOCK Elapsed: 0.09482 MiB: 512.00000 Copy: 5399.933 MiB/s
7 Method: MCBLOCK Elapsed: 0.09395 MiB: 512.00000 Copy: 5449.533 MiB/s
8 Method: MCBLOCK Elapsed: 0.09476 MiB: 512.00000 Copy: 5402.953 MiB/s
9 Method: MCBLOCK Elapsed: 0.09401 MiB: 512.00000 Copy: 5446.403 MiB/s
AVG Method: MCBLOCK Elapsed: 0.09437 MiB: 512.00000 Copy: 5425.378 MiB/s
- 虚拟机:
[root@guest-test mbw]# ./mbw 512
Long uses 8 bytes. Allocating 2*67108864 elements = 1073741824 bytes of memory.
Using 262144 bytes as blocks for memcpy block copy test.
Getting down to business... Doing 10 runs per test.
0 Method: MEMCPY Elapsed: 0.08215 MiB: 512.00000 Copy: 6232.350 MiB/s
1 Method: MEMCPY Elapsed: 0.08157 MiB: 512.00000 Copy: 6276.433 MiB/s
2 Method: MEMCPY Elapsed: 0.08259 MiB: 512.00000 Copy: 6198.998 MiB/s
3 Method: MEMCPY Elapsed: 0.08155 MiB: 512.00000 Copy: 6278.357 MiB/s
4 Method: MEMCPY Elapsed: 0.08166 MiB: 512.00000 Copy: 6269.746 MiB/s
5 Method: MEMCPY Elapsed: 0.08159 MiB: 512.00000 Copy: 6275.125 MiB/s
6 Method: MEMCPY Elapsed: 0.08167 MiB: 512.00000 Copy: 6268.978 MiB/s
7 Method: MEMCPY Elapsed: 0.08157 MiB: 512.00000 Copy: 6276.587 MiB/s
8 Method: MEMCPY Elapsed: 0.08261 MiB: 512.00000 Copy: 6198.022 MiB/s
9 Method: MEMCPY Elapsed: 0.08163 MiB: 512.00000 Copy: 6272.127 MiB/s
AVG Method: MEMCPY Elapsed: 0.08186 MiB: 512.00000 Copy: 6254.520 MiB/s
0 Method: DUMB Elapsed: 0.20884 MiB: 512.00000 Copy: 2451.649 MiB/s
1 Method: DUMB Elapsed: 0.20017 MiB: 512.00000 Copy: 2557.864 MiB/s
2 Method: DUMB Elapsed: 0.17721 MiB: 512.00000 Copy: 2889.179 MiB/s
3 Method: DUMB Elapsed: 0.17734 MiB: 512.00000 Copy: 2887.110 MiB/s
4 Method: DUMB Elapsed: 0.17337 MiB: 512.00000 Copy: 2953.238 MiB/s
5 Method: DUMB Elapsed: 0.17051 MiB: 512.00000 Copy: 3002.704 MiB/s
6 Method: DUMB Elapsed: 0.17720 MiB: 512.00000 Copy: 2889.358 MiB/s
7 Method: DUMB Elapsed: 0.17516 MiB: 512.00000 Copy: 2923.008 MiB/s
8 Method: DUMB Elapsed: 0.17527 MiB: 512.00000 Copy: 2921.174 MiB/s
9 Method: DUMB Elapsed: 0.17683 MiB: 512.00000 Copy: 2895.354 MiB/s
AVG Method: DUMB Elapsed: 0.18119 MiB: 512.00000 Copy: 2825.744 MiB/s
0 Method: MCBLOCK Elapsed: 0.09484 MiB: 512.00000 Copy: 5398.338 MiB/s
1 Method: MCBLOCK Elapsed: 0.09387 MiB: 512.00000 Copy: 5454.294 MiB/s
2 Method: MCBLOCK Elapsed: 0.09394 MiB: 512.00000 Copy: 5450.055 MiB/s
3 Method: MCBLOCK Elapsed: 0.09392 MiB: 512.00000 Copy: 5451.390 MiB/s
4 Method: MCBLOCK Elapsed: 0.09394 MiB: 512.00000 Copy: 5450.403 MiB/s
5 Method: MCBLOCK Elapsed: 0.09391 MiB: 512.00000 Copy: 5451.912 MiB/s
6 Method: MCBLOCK Elapsed: 0.09496 MiB: 512.00000 Copy: 5391.914 MiB/s
7 Method: MCBLOCK Elapsed: 0.09400 MiB: 512.00000 Copy: 5446.866 MiB/s
8 Method: MCBLOCK Elapsed: 0.09388 MiB: 512.00000 Copy: 5454.003 MiB/s
9 Method: MCBLOCK Elapsed: 0.09381 MiB: 512.00000 Copy: 5457.549 MiB/s
AVG Method: MCBLOCK Elapsed: 0.09411 MiB: 512.00000 Copy: 5440.575 MiB/s
本地存储IO测试
测试数据
- 物理机
# 4KB随机读
random-read: (g=0): rw=randread, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=posixaio, iodepth=16
fio-3.7
Starting 1 process
Jobs: 1 (f=1): [r(1)][100.0%][r=828KiB/s,w=0KiB/s][r=207,w=0 IOPS][eta 00m:00s]
random-read: (groupid=0, jobs=1): err= 0: pid=24797: Sat Oct 30 00:06:20 2021
read: IOPS=195, BW=782KiB/s (801kB/s)(45.9MiB/60039msec)
slat (nsec): min=105, max=109517, avg=820.31, stdev=1377.18
clat (msec): min=41, max=184, avg=81.76, stdev=15.04
lat (msec): min=41, max=184, avg=81.76, stdev=15.04
clat percentiles (msec):
| 1.00th=[ 53], 5.00th=[ 61], 10.00th=[ 65], 20.00th=[ 70],
| 30.00th=[ 74], 40.00th=[ 78], 50.00th=[ 81], 60.00th=[ 84],
| 70.00th=[ 88], 80.00th=[ 92], 90.00th=[ 100], 95.00th=[ 109],
| 99.00th=[ 130], 99.50th=[ 133], 99.90th=[ 165], 99.95th=[ 165],
| 99.99th=[ 182]
bw ( KiB/s): min= 560, max= 992, per=99.97%, avg=781.78, stdev=75.68, samples=120
iops : min= 140, max= 248, avg=195.42, stdev=18.92, samples=120
lat (msec) : 50=0.65%, 100=90.14%, 250=9.21%
cpu : usr=0.15%, sys=0.06%, ctx=5878, majf=0, minf=54
IO depths : 1=0.1%, 2=0.1%, 4=0.1%, 8=50.0%, 16=49.9%, 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=95.8%, 8=0.1%, 16=4.2%, 32=0.0%, 64=0.0%, >=64=0.0%
issued rwts: total=11744,0,0,0 short=0,0,0,0 dropped=0,0,0,0
latency : target=0, window=0, percentile=100.00%, depth=16
Run status group 0 (all jobs):
READ: bw=782KiB/s (801kB/s), 782KiB/s-782KiB/s (801kB/s-801kB/s), io=45.9MiB (48.1MB), run=60039-60039msec
# 4KB随机写
Disk stats (read/write):
sda: ios=11821/13626, merge=0/68, ticks=60458/1750, in_queue=62206, util=99.61%
random-write: (g=0): rw=randwrite, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=posixaio, iodepth=16
fio-3.7
Starting 1 process
Jobs: 1 (f=1): [w(1)][100.0%][r=0KiB/s,w=30.4MiB/s][r=0,w=7786 IOPS][eta 00m:00s]
random-write: (groupid=0, jobs=1): err= 0: pid=25911: Sat Oct 30 00:07:21 2021
write: IOPS=7349, BW=28.7MiB/s (30.1MB/s)(1723MiB/60002msec)
slat (nsec): min=106, max=126819, avg=490.79, stdev=527.24
clat (usec): min=421, max=35306, avg=2173.06, stdev=1510.06
lat (usec): min=422, max=35308, avg=2173.55, stdev=1510.07
clat percentiles (usec):
| 1.00th=[ 701], 5.00th=[ 816], 10.00th=[ 906], 20.00th=[ 1045],
| 30.00th=[ 1188], 40.00th=[ 1352], 50.00th=[ 1614], 60.00th=[ 1991],
| 70.00th=[ 2507], 80.00th=[ 3195], 90.00th=[ 4228], 95.00th=[ 5211],
| 99.00th=[ 7046], 99.50th=[ 7963], 99.90th=[11338], 99.95th=[13960],
| 99.99th=[22152]
bw ( KiB/s): min=22784, max=73576, per=99.99%, avg=29392.35, stdev=5074.51, samples=120
iops : min= 5696, max=18394, avg=7348.06, stdev=1268.63, samples=120
lat (usec) : 500=0.01%, 750=2.56%, 1000=14.13%
lat (msec) : 2=43.57%, 4=27.87%, 10=11.73%, 20=0.13%, 50=0.01%
cpu : usr=2.60%, sys=1.30%, ctx=220949, majf=0, minf=199
IO depths : 1=0.1%, 2=0.1%, 4=0.1%, 8=50.1%, 16=49.9%, 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=96.1%, 8=3.4%, 16=0.5%, 32=0.0%, 64=0.0%, >=64=0.0%
issued rwts: total=0,440960,0,1 short=0,0,0,0 dropped=0,0,0,0
latency : target=0, window=0, percentile=100.00%, depth=16
Run status group 0 (all jobs):
WRITE: bw=28.7MiB/s (30.1MB/s), 28.7MiB/s-28.7MiB/s (30.1MB/s-30.1MB/s), io=1723MiB (1806MB), run=60002-60002msec
# 4KB顺序读
Disk stats (read/write):
sda: ios=366/454672, merge=0/66, ticks=8513/72093, in_queue=80441, util=91.29%
random-read: (g=0): rw=read, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=posixaio, iodepth=16
fio-3.7
Starting 1 process
Jobs: 1 (f=1): [R(1)][100.0%][r=102MiB/s,w=0KiB/s][r=26.2k,w=0 IOPS][eta 00m:00s]
random-read: (groupid=0, jobs=1): err= 0: pid=27058: Sat Oct 30 00:08:22 2021
read: IOPS=22.1k, BW=86.3MiB/s (90.5MB/s)(5177MiB/60001msec)
slat (nsec): min=85, max=514542, avg=279.98, stdev=729.38
clat (usec): min=100, max=63893, avg=722.15, stdev=770.18
lat (usec): min=101, max=63893, avg=722.43, stdev=770.20
clat percentiles (usec):
| 1.00th=[ 523], 5.00th=[ 537], 10.00th=[ 553], 20.00th=[ 578],
| 30.00th=[ 586], 40.00th=[ 603], 50.00th=[ 619], 60.00th=[ 644],
| 70.00th=[ 676], 80.00th=[ 717], 90.00th=[ 816], 95.00th=[ 1319],
| 99.00th=[ 1647], 99.50th=[ 3130], 99.90th=[10028], 99.95th=[13698],
| 99.99th=[36963]
bw ( KiB/s): min=48192, max=108624, per=99.99%, avg=88337.98, stdev=16408.38, samples=120
iops : min=12048, max=27156, avg=22084.47, stdev=4102.10, samples=120
lat (usec) : 250=0.01%, 500=0.12%, 750=85.27%, 1000=7.30%
lat (msec) : 2=6.59%, 4=0.29%, 10=0.32%, 20=0.08%, 50=0.02%
lat (msec) : 100=0.01%
cpu : usr=5.11%, sys=2.44%, ctx=668513, majf=0, minf=89
IO depths : 1=0.1%, 2=0.1%, 4=0.1%, 8=50.1%, 16=49.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=96.5%, 8=3.0%, 16=0.5%, 32=0.0%, 64=0.0%, >=64=0.0%
issued rwts: total=1325257,0,0,0 short=0,0,0,0 dropped=0,0,0,0
latency : target=0, window=0, percentile=100.00%, depth=16
Run status group 0 (all jobs):
READ: bw=86.3MiB/s (90.5MB/s), 86.3MiB/s-86.3MiB/s (90.5MB/s-90.5MB/s), io=5177MiB (5428MB), run=60001-60001msec
# 4KB顺序写
Disk stats (read/write):
sda: ios=1322430/18311, merge=0/55, ticks=46838/2900, in_queue=49343, util=77.26%
random-write: (g=0): rw=write, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=posixaio, iodepth=16
fio-3.7
Starting 1 process
Jobs: 1 (f=1): [W(1)][100.0%][r=0KiB/s,w=112MiB/s][r=0,w=28.7k IOPS][eta 00m:00s]
random-write: (groupid=0, jobs=1): err= 0: pid=28222: Sat Oct 30 00:09:22 2021
write: IOPS=24.5k, BW=95.8MiB/s (100MB/s)(5749MiB/60003msec)
slat (nsec): min=104, max=265343, avg=332.75, stdev=542.34
clat (usec): min=172, max=21303, avg=650.00, stdev=199.53
lat (usec): min=172, max=21304, avg=650.34, stdev=199.55
clat percentiles (usec):
| 1.00th=[ 474], 5.00th=[ 490], 10.00th=[ 506], 20.00th=[ 545],
| 30.00th=[ 578], 40.00th=[ 603], 50.00th=[ 619], 60.00th=[ 644],
| 70.00th=[ 668], 80.00th=[ 709], 90.00th=[ 783], 95.00th=[ 848],
| 99.00th=[ 1680], 99.50th=[ 1795], 99.90th=[ 1958], 99.95th=[ 2147],
| 99.99th=[ 3458]
bw ( KiB/s): min=71848, max=116968, per=99.84%, avg=97955.39, stdev=9230.84, samples=119
iops : min=17962, max=29242, avg=24488.86, stdev=2307.70, samples=119
lat (usec) : 250=0.01%, 500=7.71%, 750=78.94%, 1000=10.97%
lat (msec) : 2=2.31%, 4=0.07%, 10=0.01%, 20=0.01%, 50=0.01%
cpu : usr=5.70%, sys=2.47%, ctx=734099, majf=0, minf=106
IO depths : 1=0.1%, 2=0.1%, 4=0.1%, 8=50.1%, 16=49.9%, 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=96.5%, 8=2.9%, 16=0.6%, 32=0.0%, 64=0.0%, >=64=0.0%
issued rwts: total=0,1471719,0,1 short=0,0,0,0 dropped=0,0,0,0
latency : target=0, window=0, percentile=100.00%, depth=16
Run status group 0 (all jobs):
WRITE: bw=95.8MiB/s (100MB/s), 95.8MiB/s-95.8MiB/s (100MB/s-100MB/s), io=5749MiB (6028MB), run=60003-60003msec
# 1MB顺序读
Disk stats (read/write):
sda: ios=194/1485684, merge=0/68, ticks=781/41242, in_queue=41581, util=64.75%
seq-read: (g=0): rw=read, bs=(R) 1024KiB-1024KiB, (W) 1024KiB-1024KiB, (T) 1024KiB-1024KiB, ioengine=posixaio, iodepth=1
fio-3.7
Starting 1 process
Jobs: 1 (f=1): [R(1)][100.0%][r=1012MiB/s,w=0KiB/s][r=1012,w=0 IOPS][eta 00m:00s]
seq-read: (groupid=0, jobs=1): err= 0: pid=29329: Sat Oct 30 00:10:23 2021
read: IOPS=1055, BW=1056MiB/s (1107MB/s)(61.9GiB/60001msec)
slat (nsec): min=1044, max=107499, avg=3986.03, stdev=1721.44
clat (usec): min=322, max=57357, avg=941.21, stdev=1327.27
lat (usec): min=327, max=57360, avg=945.20, stdev=1327.38
clat percentiles (usec):
| 1.00th=[ 502], 5.00th=[ 562], 10.00th=[ 594], 20.00th=[ 685],
| 30.00th=[ 750], 40.00th=[ 807], 50.00th=[ 840], 60.00th=[ 865],
| 70.00th=[ 906], 80.00th=[ 971], 90.00th=[ 1139], 95.00th=[ 1303],
| 99.00th=[ 2540], 99.50th=[ 3621], 99.90th=[21365], 99.95th=[29754],
| 99.99th=[47973]
bw ( MiB/s): min= 411, max= 1234, per=99.99%, avg=1055.62, stdev=134.87, samples=120
iops : min= 411, max= 1234, avg=1055.60, stdev=134.86, samples=120
lat (usec) : 500=0.99%, 750=29.18%, 1000=52.75%
lat (msec) : 2=15.42%, 4=1.17%, 10=0.15%, 20=0.22%, 50=0.10%
lat (msec) : 100=0.01%
cpu : usr=0.94%, sys=1.04%, ctx=63587, majf=0, minf=88
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 rwts: total=63342,0,0,0 short=0,0,0,0 dropped=0,0,0,0
latency : target=0, window=0, percentile=100.00%, depth=1
Run status group 0 (all jobs):
READ: bw=1056MiB/s (1107MB/s), 1056MiB/s-1056MiB/s (1107MB/s-1107MB/s), io=61.9GiB (66.4GB), run=60001-60001msec
# 1MB顺序写
Disk stats (read/write):
sda: ios=253323/13507, merge=0/75, ticks=132267/1870, in_queue=128284, util=93.64%
seq-write: (g=0): rw=write, bs=(R) 1024KiB-1024KiB, (W) 1024KiB-1024KiB, (T) 1024KiB-1024KiB, ioengine=posixaio, iodepth=1
fio-3.7
Starting 1 process
Jobs: 1 (f=1): [W(1)][100.0%][r=0KiB/s,w=859MiB/s][r=0,w=859 IOPS][eta 00m:00s]
seq-write: (groupid=0, jobs=1): err= 0: pid=30516: Sat Oct 30 00:11:24 2021
write: IOPS=1117, BW=1118MiB/s (1172MB/s)(65.5GiB/60001msec)
slat (usec): min=9, max=6753, avg=24.51, stdev=29.94
clat (usec): min=271, max=44824, avg=867.94, stdev=330.79
lat (usec): min=290, max=44838, avg=892.45, stdev=333.21
clat percentiles (usec):
| 1.00th=[ 420], 5.00th=[ 635], 10.00th=[ 685], 20.00th=[ 734],
| 30.00th=[ 758], 40.00th=[ 791], 50.00th=[ 824], 60.00th=[ 857],
| 70.00th=[ 898], 80.00th=[ 971], 90.00th=[ 1090], 95.00th=[ 1221],
| 99.00th=[ 1696], 99.50th=[ 2089], 99.90th=[ 3326], 99.95th=[ 4424],
| 99.99th=[10421]
bw ( MiB/s): min= 400, max= 2020, per=99.99%, avg=1117.69, stdev=155.96, samples=120
iops : min= 400, max= 2020, avg=1117.67, stdev=155.96, samples=120
lat (usec) : 500=1.61%, 750=25.22%, 1000=56.22%
lat (msec) : 2=16.38%, 4=0.52%, 10=0.04%, 20=0.01%, 50=0.01%
cpu : usr=3.48%, sys=0.91%, ctx=67526, majf=0, minf=1991
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 rwts: total=0,67068,0,1 short=0,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=1118MiB/s (1172MB/s), 1118MiB/s-1118MiB/s (1172MB/s-1172MB/s), io=65.5GiB (70.3GB), run=60001-60001msec
Disk stats (read/write):
sda: ios=313/283336, merge=0/65, ticks=95351/143804, in_queue=232888, util=93.03%
- Linux虚拟机(cache=none)
# 4KB随机读
random-read: (g=0): rw=randread, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=posixaio, iodepth=16
fio-3.7
Starting 1 process
random-read: Laying out IO file (1 file / 4096MiB)
Jobs: 1 (f=1): [r(1)][100.0%][r=972KiB/s,w=0KiB/s][r=243,w=0 IOPS][eta 00m:00s]
random-read: (groupid=0, jobs=1): err= 0: pid=4810: Sat Oct 30 01:16:42 2021
read: IOPS=245, BW=981KiB/s (1005kB/s)(57.6MiB/60069msec)
slat (nsec): min=454, max=34511k, avg=3635.31, stdev=284257.42
clat (msec): min=18, max=196, avg=65.14, stdev=20.14
lat (msec): min=18, max=196, avg=65.14, stdev=20.14
clat percentiles (msec):
| 1.00th=[ 32], 5.00th=[ 40], 10.00th=[ 44], 20.00th=[ 50],
| 30.00th=[ 54], 40.00th=[ 58], 50.00th=[ 63], 60.00th=[ 67],
| 70.00th=[ 72], 80.00th=[ 79], 90.00th=[ 89], 95.00th=[ 104],
| 99.00th=[ 136], 99.50th=[ 150], 99.90th=[ 178], 99.95th=[ 180],
| 99.99th=[ 192]
bw ( KiB/s): min= 552, max= 1280, per=100.00%, avg=981.51, stdev=150.99, samples=120
iops : min= 138, max= 320, avg=245.37, stdev=37.74, samples=120
lat (msec) : 20=0.02%, 50=20.54%, 100=73.80%, 250=5.63%
cpu : usr=0.41%, sys=0.29%, ctx=7373, majf=1, minf=61
IO depths : 1=0.1%, 2=0.1%, 4=0.1%, 8=50.0%, 16=49.9%, 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=95.8%, 8=3.0%, 16=1.2%, 32=0.0%, 64=0.0%, >=64=0.0%
issued rwts: total=14739,0,0,0 short=0,0,0,0 dropped=0,0,0,0
latency : target=0, window=0, percentile=100.00%, depth=16
Run status group 0 (all jobs):
READ: bw=981KiB/s (1005kB/s), 981KiB/s-981KiB/s (1005kB/s-1005kB/s), io=57.6MiB (60.4MB), run=60069-60069msec
# 4KB随机写
Disk stats (read/write):
sdb: ios=14725/7, merge=0/5, ticks=59419/12, in_queue=59422, util=98.99%
random-write: (g=0): rw=randwrite, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=posixaio, iodepth=16
fio-3.7
Starting 1 process
random-write: Laying out IO file (1 file / 4096MiB)
Jobs: 1 (f=1): [w(1)][100.0%][r=0KiB/s,w=24.2MiB/s][r=0,w=6195 IOPS][eta 00m:00s]
random-write: (groupid=0, jobs=1): err= 0: pid=4815: Sat Oct 30 01:17:43 2021
write: IOPS=6096, BW=23.8MiB/s (24.0MB/s)(1430MiB/60030msec)
slat (nsec): min=463, max=4844.2k, avg=1024.87, stdev=9101.74
clat (usec): min=822, max=18757, avg=2612.45, stdev=539.56
lat (usec): min=824, max=18759, avg=2613.48, stdev=539.70
clat percentiles (usec):
| 1.00th=[ 2245], 5.00th=[ 2278], 10.00th=[ 2311], 20.00th=[ 2376],
| 30.00th=[ 2409], 40.00th=[ 2442], 50.00th=[ 2507], 60.00th=[ 2540],
| 70.00th=[ 2638], 80.00th=[ 2737], 90.00th=[ 2933], 95.00th=[ 3195],
| 99.00th=[ 4293], 99.50th=[ 5866], 99.90th=[ 9372], 99.95th=[10290],
| 99.99th=[14877]
bw ( KiB/s): min=20040, max=25856, per=100.00%, avg=24392.81, stdev=846.07, samples=120
iops : min= 5010, max= 6464, avg=6098.17, stdev=211.52, samples=120
lat (usec) : 1000=0.01%
lat (msec) : 2=0.05%, 4=98.69%, 10=1.20%, 20=0.05%
cpu : usr=5.74%, sys=4.52%, ctx=182607, majf=0, minf=58
IO depths : 1=0.1%, 2=0.1%, 4=0.1%, 8=50.1%, 16=49.9%, 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=95.9%, 8=2.5%, 16=1.6%, 32=0.0%, 64=0.0%, >=64=0.0%
issued rwts: total=0,365981,0,1 short=0,0,0,0 dropped=0,0,0,0
latency : target=0, window=0, percentile=100.00%, depth=16
Run status group 0 (all jobs):
WRITE: bw=23.8MiB/s (24.0MB/s), 23.8MiB/s-23.8MiB/s (24.0MB/s-24.0MB/s), io=1430MiB (1499MB), run=60030-60030msec
# 4KB顺序读
Disk stats (read/write):
sdb: ios=0/371909, merge=0/0, ticks=0/52257, in_queue=52136, util=78.35%
random-read: (g=0): rw=read, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=posixaio, iodepth=16
fio-3.7
Starting 1 process
Jobs: 1 (f=1): [R(1)][100.0%][r=35.7MiB/s,w=0KiB/s][r=9130,w=0 IOPS][eta 00m:00s]
random-read: (groupid=0, jobs=1): err= 0: pid=4821: Sat Oct 30 01:18:44 2021
read: IOPS=9458, BW=36.9MiB/s (38.7MB/s)(2217MiB/60002msec)
slat (nsec): min=432, max=1340.5k, avg=807.74, stdev=2574.66
clat (usec): min=137, max=84747, avg=1682.97, stdev=808.61
lat (usec): min=209, max=84748, avg=1683.77, stdev=808.62
clat percentiles (usec):
| 1.00th=[ 1401], 5.00th=[ 1434], 10.00th=[ 1450], 20.00th=[ 1500],
| 30.00th=[ 1532], 40.00th=[ 1565], 50.00th=[ 1614], 60.00th=[ 1647],
| 70.00th=[ 1696], 80.00th=[ 1778], 90.00th=[ 1909], 95.00th=[ 2073],
| 99.00th=[ 2540], 99.50th=[ 3556], 99.90th=[ 7832], 99.95th=[12911],
| 99.99th=[42206]
bw ( KiB/s): min=29016, max=41285, per=99.99%, avg=37829.40, stdev=2266.77, samples=120
iops : min= 7254, max=10321, avg=9457.33, stdev=566.68, samples=120
lat (usec) : 250=0.01%, 750=0.01%, 1000=0.01%
lat (msec) : 2=93.50%, 4=6.03%, 10=0.39%, 20=0.04%, 50=0.02%
lat (msec) : 100=0.01%
cpu : usr=6.26%, sys=6.74%, ctx=283036, majf=0, minf=62
IO depths : 1=0.1%, 2=0.1%, 4=0.1%, 8=50.1%, 16=49.9%, 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=96.1%, 8=2.0%, 16=1.9%, 32=0.0%, 64=0.0%, >=64=0.0%
issued rwts: total=567555,0,0,0 short=0,0,0,0 dropped=0,0,0,0
latency : target=0, window=0, percentile=100.00%, depth=16
Run status group 0 (all jobs):
READ: bw=36.9MiB/s (38.7MB/s), 36.9MiB/s-36.9MiB/s (38.7MB/s-38.7MB/s), io=2217MiB (2325MB), run=60002-60002msec
# 4KB顺序写
Disk stats (read/write):
sdb: ios=566497/24, merge=0/2019, ticks=51963/54, in_queue=51908, util=86.49%
random-write: (g=0): rw=write, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=posixaio, iodepth=16
fio-3.7
Starting 1 process
Jobs: 1 (f=1): [W(1)][100.0%][r=0KiB/s,w=25.1MiB/s][r=0,w=6428 IOPS][eta 00m:00s]
random-write: (groupid=0, jobs=1): err= 0: pid=4825: Sat Oct 30 01:19:44 2021
write: IOPS=6278, BW=24.5MiB/s (25.7MB/s)(1472MiB/60006msec)
slat (nsec): min=465, max=588878, avg=1013.68, stdev=1704.99
clat (usec): min=1292, max=43347, avg=2539.67, stdev=513.14
lat (usec): min=1302, max=43349, avg=2540.68, stdev=513.18
clat percentiles (usec):
| 1.00th=[ 2114], 5.00th=[ 2180], 10.00th=[ 2212], 20.00th=[ 2278],
| 30.00th=[ 2311], 40.00th=[ 2343], 50.00th=[ 2409], 60.00th=[ 2474],
| 70.00th=[ 2573], 80.00th=[ 2704], 90.00th=[ 3130], 95.00th=[ 3359],
| 99.00th=[ 3884], 99.50th=[ 4293], 99.90th=[ 5997], 99.95th=[ 8225],
| 99.99th=[15533]
bw ( KiB/s): min=18850, max=26064, per=99.92%, avg=25095.27, stdev=851.44, samples=120
iops : min= 4712, max= 6516, avg=6273.70, stdev=212.93, samples=120
lat (msec) : 2=0.06%, 4=99.15%, 10=0.75%, 20=0.03%, 50=0.01%
cpu : usr=5.66%, sys=4.92%, ctx=188032, majf=0, minf=57
IO depths : 1=0.1%, 2=0.1%, 4=0.1%, 8=50.1%, 16=49.9%, 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=96.4%, 8=3.1%, 16=0.5%, 32=0.0%, 64=0.0%, >=64=0.0%
issued rwts: total=0,376770,0,1 short=0,0,0,0 dropped=0,0,0,0
latency : target=0, window=0, percentile=100.00%, depth=16
Run status group 0 (all jobs):
WRITE: bw=24.5MiB/s (25.7MB/s), 24.5MiB/s-24.5MiB/s (25.7MB/s-25.7MB/s), io=1472MiB (1543MB), run=60006-60006msec
# 1MB顺序读
Disk stats (read/write):
sdb: ios=0/376777, merge=0/0, ticks=0/50320, in_queue=50180, util=83.54%
seq-read: (g=0): rw=read, bs=(R) 1024KiB-1024KiB, (W) 1024KiB-1024KiB, (T) 1024KiB-1024KiB, ioengine=posixaio, iodepth=1
fio-3.7
Starting 1 process
seq-read: Laying out IO file (1 file / 16384MiB)
Jobs: 1 (f=1): [R(1)][100.0%][r=1070MiB/s,w=0KiB/s][r=1070,w=0 IOPS][eta 00m:00s]
seq-read: (groupid=0, jobs=1): err= 0: pid=4831: Sat Oct 30 01:21:02 2021
read: IOPS=979, BW=980MiB/s (1027MB/s)(57.4GiB/60001msec)
slat (nsec): min=1520, max=5174.5k, avg=10653.72, stdev=22099.10
clat (usec): min=468, max=66949, avg=1005.92, stdev=1405.26
lat (usec): min=477, max=66958, avg=1016.57, stdev=1405.59
clat percentiles (usec):
| 1.00th=[ 578], 5.00th=[ 635], 10.00th=[ 668], 20.00th=[ 725],
| 30.00th=[ 791], 40.00th=[ 857], 50.00th=[ 906], 60.00th=[ 938],
| 70.00th=[ 971], 80.00th=[ 1020], 90.00th=[ 1156], 95.00th=[ 1385],
| 99.00th=[ 3032], 99.50th=[ 7373], 99.90th=[21890], 99.95th=[33817],
| 99.99th=[52691]
bw ( KiB/s): min=362496, max=1384448, per=99.90%, avg=1002091.21, stdev=157173.29, samples=119
iops : min= 354, max= 1352, avg=978.56, stdev=153.49, samples=119
lat (usec) : 500=0.05%, 750=24.05%, 1000=52.55%
lat (msec) : 2=21.68%, 4=0.91%, 10=0.46%, 20=0.17%, 50=0.11%
lat (msec) : 100=0.01%
cpu : usr=1.90%, sys=3.52%, ctx=58790, majf=0, minf=60
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 rwts: total=58776,0,0,0 short=0,0,0,0 dropped=0,0,0,0
latency : target=0, window=0, percentile=100.00%, depth=1
Run status group 0 (all jobs):
READ: bw=980MiB/s (1027MB/s), 980MiB/s-980MiB/s (1027MB/s-1027MB/s), io=57.4GiB (61.6GB), run=60001-60001msec
# 1MB顺序写
Disk stats (read/write):
sdb: ios=175957/5, merge=0/3, ticks=124683/0, in_queue=123610, util=88.13%
seq-write: (g=0): rw=write, bs=(R) 1024KiB-1024KiB, (W) 1024KiB-1024KiB, (T) 1024KiB-1024KiB, ioengine=posixaio, iodepth=1
fio-3.7
Starting 1 process
seq-write: Laying out IO file (1 file / 16384MiB)
Jobs: 1 (f=1): [W(1)][100.0%][r=0KiB/s,w=1036MiB/s][r=0,w=1036 IOPS][eta 00m:00s]
seq-write: (groupid=0, jobs=1): err= 0: pid=4835: Sat Oct 30 01:22:03 2021
write: IOPS=1058, BW=1059MiB/s (1110MB/s)(62.0GiB/60001msec)
slat (usec): min=12, max=1522, avg=31.91, stdev=12.80
clat (usec): min=493, max=48198, avg=908.03, stdev=391.90
lat (usec): min=528, max=48234, avg=939.94, stdev=392.47
clat percentiles (usec):
| 1.00th=[ 627], 5.00th=[ 709], 10.00th=[ 742], 20.00th=[ 783],
| 30.00th=[ 807], 40.00th=[ 840], 50.00th=[ 865], 60.00th=[ 889],
| 70.00th=[ 930], 80.00th=[ 979], 90.00th=[ 1074], 95.00th=[ 1205],
| 99.00th=[ 1795], 99.50th=[ 2245], 99.90th=[ 4080], 99.95th=[ 4817],
| 99.99th=[11076]
bw ( MiB/s): min= 486, max= 1276, per=100.00%, avg=1058.92, stdev=112.74, samples=119
iops : min= 486, max= 1276, avg=1058.89, stdev=112.74, samples=119
lat (usec) : 500=0.01%, 750=11.46%, 1000=71.77%
lat (msec) : 2=16.05%, 4=0.61%, 10=0.09%, 20=0.01%, 50=0.01%
cpu : usr=4.91%, sys=2.88%, ctx=63546, majf=0, minf=58
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 rwts: total=0,63538,0,1 short=0,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=1059MiB/s (1110MB/s), 1059MiB/s-1059MiB/s (1110MB/s-1110MB/s), io=62.0GiB (66.6GB), run=60001-60001msec
Disk stats (read/write):
sdb: ios=0/190623, merge=0/1, ticks=0/134765, in_queue=133681, util=85.12%