技术解析
SSD 为 intel 760p 256G
OS: Manjaro 18.0.4 Illyria
Kernel: x86_64 Linux 4.19.56-1-MANJARO
fio 测试结果:
~ fio -rw=write -ioengine=libaio -thread -direct=1 -iodepth=64 -filename=test -size=5G -bs=4k -name=job1 -offset=0G
job1: (g=0): rw=write, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=libaio, iodepth=64
fio-3.14
Starting 1 thread
job1: Laying out IO file (1 file / 5120MiB)
Jobs: 1 (f=1): [W(1)][100.0%][w=251MiB/s][w=64.2k IOPS][eta 00m:00s]
job1: (groupid=0, jobs=1): err= 0: pid=7067: Tue Jul 9 01:24:36 2019
write: IOPS=74.2k, BW=290MiB/s (304MB/s)(5120MiB/17658msec); 0 zone resets
slat (usec): min=3, max=11994, avg= 9.87, stdev=42.11
clat (usec): min=53, max=56208, avg=851.55, stdev=962.45
lat (usec): min=69, max=56212, avg=861.54, stdev=963.68
clat percentiles (usec):
| 1.00th=[ 359], 5.00th=[ 449], 10.00th=[ 502], 20.00th=[ 562],
| 30.00th=[ 586], 40.00th=[ 603], 50.00th=[ 644], 60.00th=[ 685],
| 70.00th=[ 775], 80.00th=[ 1074], 90.00th=[ 1500], 95.00th=[ 1811],
| 99.00th=[ 2835], 99.50th=[ 3392], 99.90th=[ 5145], 99.95th=[ 8455],
| 99.99th=[51119]
bw ( KiB/s): min=220976, max=386584, per=100.00%, avg=297250.63, stdev=49673.14, samples=35
iops : min=55244, max=96646, avg=74312.63, stdev=12418.26, samples=35
lat (usec) : 100=0.01%, 250=0.03%, 500=9.79%, 750=58.38%, 1000=10.25%
lat (msec) : 2=18.08%, 4=3.21%, 10=0.22%, 20=0.01%, 50=0.01%
lat (msec) : 100=0.01%
cpu : usr=10.46%, sys=47.14%, ctx=1046136, majf=0, minf=1
IO depths : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=0.1%, >=64=100.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.1%, >=64=0.0%
issued rwts: total=0,1310720,0,0 short=0,0,0,0 dropped=0,0,0,0
latency : target=0, window=0, percentile=100.00%, depth=64
Run status group 0 (all jobs):
WRITE: bw=290MiB/s (304MB/s), 290MiB/s-290MiB/s (304MB/s-304MB/s), io=5120MiB (5369MB), run=17658-17658msec
Disk stats (read/write):
nvme0n1: ios=1/1306300, merge=0/133, ticks=0/193157, in_queue=196287, util=99.98%
还不如我另一块 SATA 接口的 MX500
试过开多线程测试,一样的结果