速度测试:
speed test:
EMMC chip: sdinadf4-128g
CMD: uname -a
Linux rock3a 4.19.193-aghost-20211231-rockchip-g526c758e05e0 #rockchip SMP Fri Dec 31 21:11:51 CST 2021 aarch64 aarch64 aarch64 GNU/Linux
CMD: fio --name=write --ioengine=libaio --iodepth=4 --rw=write --bs=1M --direct=1 --size=2G --numjobs=30 --runtime=60 --group_reporting --filename=/dev/mmcblk0
write: (g=0): rw=write, bs=(R) 1024KiB-1024KiB, (W) 1024KiB-1024KiB, (T) 1024KiB-1024KiB, ioengine=libaio, iodepth=4
...
fio-3.16
Starting 30 processes
Jobs: 20 (f=20): [W(3),_(1),W(5),_(1),W(1),_(2),W(1),_(1),W(1),_(1),W(1),_(1),W(3),_(1),W(2),_(1),W(3),_(1)][9.2%][w=86.0MiB/s][w=86 IOPS][eta 09m:59s]
write: (groupid=0, jobs=30): err= 0: pid=469: Fri Jan 7 12:13:35 2022
write: IOPS=77, BW=77.7MiB/s (81.5MB/s)(4741MiB/61010msec); 0 zone resets
slat (usec): min=392, max=2169.4k, avg=275853.92, stdev=279158.38
clat (msec): min=24, max=6021, avg=1252.81, stdev=642.33
lat (msec): min=46, max=6427, avg=1528.68, stdev=751.78
clat percentiles (msec):
| 1.00th=[ 108], 5.00th=[ 296], 10.00th=[ 456], 20.00th=[ 718],
| 30.00th=[ 927], 40.00th=[ 1099], 50.00th=[ 1250], 60.00th=[ 1385],
| 70.00th=[ 1536], 80.00th=[ 1687], 90.00th=[ 1921], 95.00th=[ 2198],
| 99.00th=[ 3406], 99.50th=[ 4178], 99.90th=[ 5403], 99.95th=[ 5537],
| 99.99th=[ 6007]
bw ( KiB/s): min=57824, max=382868, per=100.00%, avg=108868.31, stdev=2303.49, samples=2623
iops : min= 30, max= 370, avg=102.24, stdev= 2.28, samples=2623
lat (msec) : 50=0.17%, 100=0.63%, 250=2.95%, 500=7.51%, 750=9.96%
lat (msec) : 1000=13.35%, 2000=57.08%, >=2000=8.35%
cpu : usr=0.20%, sys=0.15%, ctx=8210, majf=0, minf=637
IO depths : 1=0.6%, 2=1.3%, 4=98.1%, 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,4741,0,0 short=0,0,0,0 dropped=0,0,0,0
latency : target=0, window=0, percentile=100.00%, depth=4
Run status group 0 (all jobs):
WRITE: bw=77.7MiB/s (81.5MB/s), 77.7MiB/s-77.7MiB/s (81.5MB/s-81.5MB/s), io=4741MiB (4971MB), run=61010-61010msec
Disk stats (read/write):
mmcblk0: ios=102/9453, merge=0/0, ticks=602/7579303, in_queue=122020, util=99.70%
CMD: fio --name=read --ioengine=libaio --iodepth=4 --rw=read --bs=1M --direct=1 --size=2G --numjobs=30 --runtime=60 --group_reporting --filename=/dev/mmcblk0
read: (g=0): rw=read, bs=(R) 1024KiB-1024KiB, (W) 1024KiB-1024KiB, (T) 1024KiB-1024KiB, ioengine=libaio, iodepth=4
...
fio-3.16
Starting 30 processes
Jobs: 21 (f=19): [R(1),f(1),R(2),_(1),R(3),_(1),R(2),_(3),R(7),_(1),f(1),_(2),R(1),_(1),R(3)][10.2%][r=81.9MiB/s][r=81 IOPS][eta 08m:59s]
read: (groupid=0, jobs=30): err= 0: pid=503: Fri Jan 7 12:15:15 2022
read: IOPS=85, BW=85.3MiB/s (89.4MB/s)(5196MiB/60946msec)
slat (usec): min=170, max=2013.9k, avg=257295.48, stdev=268087.98
clat (msec): min=23, max=3338, avg=1139.81, stdev=483.60
lat (msec): min=33, max=3809, avg=1397.12, stdev=550.94
clat percentiles (msec):
| 1.00th=[ 114], 5.00th=[ 342], 10.00th=[ 518], 20.00th=[ 751],
| 30.00th=[ 894], 40.00th=[ 1028], 50.00th=[ 1133], 60.00th=[ 1234],
| 70.00th=[ 1351], 80.00th=[ 1502], 90.00th=[ 1737], 95.00th=[ 1972],
| 99.00th=[ 2534], 99.50th=[ 2735], 99.90th=[ 3004], 99.95th=[ 3239],
| 99.99th=[ 3339]
bw ( KiB/s): min=60797, max=268267, per=100.00%, avg=100464.88, stdev=1604.10, samples=3119
iops : min= 31, max= 261, avg=94.43, stdev= 1.61, samples=3119
lat (msec) : 50=0.13%, 100=0.71%, 250=2.17%, 500=6.14%, 750=11.18%
lat (msec) : 1000=18.23%, 2000=56.62%, >=2000=4.81%
cpu : usr=0.03%, sys=0.20%, ctx=9030, majf=0, minf=31353
IO depths : 1=0.6%, 2=1.2%, 4=98.3%, 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=5196,0,0,0 short=0,0,0,0 dropped=0,0,0,0
latency : target=0, window=0, percentile=100.00%, depth=4
Run status group 0 (all jobs):
READ: bw=85.3MiB/s (89.4MB/s), 85.3MiB/s-85.3MiB/s (89.4MB/s-89.4MB/s), io=5196MiB (5448MB), run=60946-60946msec
Disk stats (read/write):
mmcblk0: ios=10365/0, merge=0/0, ticks=7569791/0, in_queue=121453, util=99.79%
CMD: fio --name=randwrite --ioengine=libaio --iodepth=4 --rw=randwrite --bs=4K --direct=1 --size=2G --numjobs=30 --runtime=60 --group_reporting --filename=/dev/mmcblk0
randwrite: (g=0): rw=randwrite, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=libaio, iodepth=4
...
fio-3.16
Starting 30 processes
Jobs: 30 (f=30): [w(30)][100.0%][w=8424KiB/s][w=2106 IOPS][eta 00m:00s]
randwrite: (groupid=0, jobs=30): err= 0: pid=538: Fri Jan 7 12:17:23 2022
write: IOPS=2115, BW=8461KiB/s (8664kB/s)(496MiB/60058msec); 0 zone resets
slat (usec): min=15, max=884, avg=130.46, stdev=35.64
clat (usec): min=1110, max=784014, avg=56520.97, stdev=39395.78
lat (usec): min=1167, max=784184, avg=56656.59, stdev=39395.95
clat percentiles (msec):
| 1.00th=[ 3], 5.00th=[ 7], 10.00th=[ 12], 20.00th=[ 23],
| 30.00th=[ 34], 40.00th=[ 44], 50.00th=[ 55], 60.00th=[ 65],
| 70.00th=[ 75], 80.00th=[ 87], 90.00th=[ 99], 95.00th=[ 106],
| 99.00th=[ 174], 99.50th=[ 253], 99.90th=[ 401], 99.95th=[ 460],
| 99.99th=[ 584]
bw ( KiB/s): min= 5644, max=11168, per=99.95%, avg=8455.46, stdev=33.91, samples=3600
iops : min= 1408, max= 2786, avg=2109.78, stdev= 8.48, samples=3600
lat (msec) : 2=0.63%, 4=1.90%, 10=5.63%, 20=9.46%, 50=28.49%
lat (msec) : 100=45.46%, 250=7.90%, 500=0.49%, 750=0.03%, 1000=0.01%
cpu : usr=0.82%, sys=1.56%, ctx=127684, majf=0, minf=626
IO depths : 1=0.1%, 2=0.1%, 4=99.9%, 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,127036,0,0 short=0,0,0,0 dropped=0,0,0,0
latency : target=0, window=0, percentile=100.00%, depth=4
Run status group 0 (all jobs):
WRITE: bw=8461KiB/s (8664kB/s), 8461KiB/s-8461KiB/s (8664kB/s-8664kB/s), io=496MiB (520MB), run=60058-60058msec
Disk stats (read/write):
mmcblk0: ios=96/126843, merge=0/72, ticks=87/7156000, in_queue=120486, util=99.98%
CMD: fio --name=randread --ioengine=libaio --iodepth=4 --rw=randread --bs=4K --direct=1 --size=2G --numjobs=30 --runtime=60 --group_reporting --filename=/dev/mmcblk0
randread: (g=0): rw=randread, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=libaio, iodepth=4
...
fio-3.16
Starting 30 processes
Jobs: 30 (f=30): [r(30)][100.0%][r=12.2MiB/s][r=3132 IOPS][eta 00m:00s]
randread: (groupid=0, jobs=30): err= 0: pid=574: Fri Jan 7 12:19:44 2022
read: IOPS=2811, BW=10.0MiB/s (11.5MB/s)(659MiB/60043msec)
slat (usec): min=16, max=10108, avg=112.75, stdev=42.77
clat (usec): min=241, max=502245, avg=42507.59, stdev=28984.72
lat (usec): min=847, max=502355, avg=42625.08, stdev=28985.34
clat percentiles (usec):
| 1.00th=[ 1893], 5.00th=[ 5080], 10.00th=[ 8979], 20.00th=[ 16909],
| 30.00th=[ 25035], 40.00th=[ 32900], 50.00th=[ 40633], 60.00th=[ 49021],
| 70.00th=[ 56886], 80.00th=[ 64750], 90.00th=[ 73925], 95.00th=[ 81265],
| 99.00th=[113771], 99.50th=[168821], 99.90th=[304088], 99.95th=[350225],
| 99.99th=[455082]
bw ( KiB/s): min= 7739, max=15296, per=99.96%, avg=11240.89, stdev=47.11, samples=3600
iops : min= 1931, max= 3821, avg=2807.15, stdev=11.78, samples=3600
lat (usec) : 250=0.01%, 500=0.01%, 1000=0.04%
lat (msec) : 2=1.11%, 4=2.49%, 10=7.60%, 20=12.52%, 50=37.79%
lat (msec) : 100=37.29%, 250=0.97%, 500=0.18%, 750=0.01%
cpu : usr=1.06%, sys=1.84%, ctx=167054, majf=0, minf=748
IO depths : 1=0.1%, 2=0.1%, 4=99.9%, 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=168796,0,0,0 short=0,0,0,0 dropped=0,0,0,0
latency : target=0, window=0, percentile=100.00%, depth=4
Run status group 0 (all jobs):
READ: bw=10.0MiB/s (11.5MB/s), 10.0MiB/s-10.0MiB/s (11.5MB/s-11.5MB/s), io=659MiB (691MB), run=60043-60043msec
Disk stats (read/write):
mmcblk0: ios=168672/0, merge=79/0, ticks=7158169/0, in_queue=120813, util=99.86%