i have recently installed a pair of NVME 970 pro 512gb drives in a zfs mirror because i was unhappy with the performance of my SATA SSD drives.
the NVME drives seem to be SLOWER than the SATA SSD drives and none of my config changes have made any difference.
NVME drives
SATA drives
the NVME drives are a little over half the performance of the SATA drives???
the NVME drives seem to be SLOWER than the SATA SSD drives and none of my config changes have made any difference.
NVME drives
Code:
root@serverminion:/# fio --filename=/zfsnvme/fiotest.fio --bs=4k --rw=write --name=test --direct=0 --sync=1 --size=1G --numjobs=1
test: (g=0): rw=write, bs=4K-4K/4K-4K/4K-4K, ioengine=psync, iodepth=1
fio-2.16
Starting 1 process
test: Laying out IO file(s) (1 file(s) / 1024MB)
Jobs: 1 (f=1): [W(1)] [100.0% done] [0KB/2710KB/0KB /s] [0/677/0 iops] [eta 00m:00s]
test: (groupid=0, jobs=1): err= 0: pid=42366: Thu Jul 5 15:02:58 2018
write: io=1024.0MB, bw=2831.9KB/s, iops=707, runt=370287msec
clat (usec): min=963, max=14813, avg=1410.48, stdev=593.34
lat (usec): min=963, max=14814, avg=1410.87, stdev=593.34
clat percentiles (usec):
| 1.00th=[ 1144], 5.00th=[ 1208], 10.00th=[ 1224], 20.00th=[ 1256],
| 30.00th=[ 1288], 40.00th=[ 1304], 50.00th=[ 1304], 60.00th=[ 1320],
| 70.00th=[ 1352], 80.00th=[ 1384], 90.00th=[ 1432], 95.00th=[ 1512],
| 99.00th=[ 5216], 99.50th=[ 5408], 99.90th=[ 5664], 99.95th=[ 5728],
| 99.99th=[ 7904]
lat (usec) : 1000=0.01%
lat (msec) : 2=97.55%, 4=0.08%, 10=2.37%, 20=0.01%
cpu : usr=0.14%, sys=2.59%, ctx=1047995, majf=0, minf=28
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 : total=r=0/w=262144/d=0, short=r=0/w=0/d=0, drop=r=0/w=0/d=0
latency : target=0, window=0, percentile=100.00%, depth=1
Run status group 0 (all jobs):
WRITE: io=1024.0MB, aggrb=2831KB/s, minb=2831KB/s, maxb=2831KB/s, mint=370287msec, maxt=370287msec
SATA drives
Code:
root@serverminion:/# fio --filename=/zfsvm/fiotest.fio --bs=4k --rw=write --name=test --direct=0 --sync=1 --size=1G --numjobs=1
test: (g=0): rw=write, bs=4K-4K/4K-4K/4K-4K, ioengine=psync, iodepth=1
fio-2.16
Starting 1 process
Jobs: 1 (f=1): [W(1)] [100.0% done] [0KB/4332KB/0KB /s] [0/1083/0 iops] [eta 00m:00s]
test: (groupid=0, jobs=1): err= 0: pid=12305: Thu Jul 5 14:55:46 2018
write: io=1024.0MB, bw=4495.3KB/s, iops=1123, runt=233275msec
clat (usec): min=687, max=10707, avg=887.93, stdev=371.57
lat (usec): min=687, max=10707, avg=888.32, stdev=371.57
clat percentiles (usec):
| 1.00th=[ 716], 5.00th=[ 732], 10.00th=[ 748], 20.00th=[ 764],
| 30.00th=[ 772], 40.00th=[ 788], 50.00th=[ 812], 60.00th=[ 844],
| 70.00th=[ 868], 80.00th=[ 908], 90.00th=[ 996], 95.00th=[ 1192],
| 99.00th=[ 3824], 99.50th=[ 3984], 99.90th=[ 4128], 99.95th=[ 4448],
| 99.99th=[ 8096]
lat (usec) : 750=13.40%, 1000=76.92%
lat (msec) : 2=8.32%, 4=0.99%, 10=0.36%, 20=0.01%
cpu : usr=0.23%, sys=5.14%, ctx=535863, majf=0, minf=64
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 : total=r=0/w=262144/d=0, short=r=0/w=0/d=0, drop=r=0/w=0/d=0
latency : target=0, window=0, percentile=100.00%, depth=1
Run status group 0 (all jobs):
WRITE: io=1024.0MB, aggrb=4495KB/s, minb=4495KB/s, maxb=4495KB/s, mint=233275msec, maxt=233275msec
the NVME drives are a little over half the performance of the SATA drives???