expose an SPDK bdev to linux kernel block device(/dev/xxx)
by 張安男
Dear All,
Recently we have a requirement for access SPDK bdev from kernel block
device. I had try two methods:
(1) expose the SPDK block device from iscsi and connect the iscsi device
from the same host.
(2)Use SPDK provided the connection from /dev/nbd.
These two methods can let us access the SPDK block device from /dev/xxx ,
but the performance is not well. The performance is only about 50K IOPS.
So, does anyone can give us any suggestion of how to access SPDK block
device from kernel block device with high performance???
Any suggestion is appreciated.
--
Vincent Chang
4 years, 5 months
IOPS of NVMe is ~1K/s at 1 queue depth but over 100K/s at 2 queue depth
by Li Wang
Dear all,
I am running nvme/perf with master branch on a EC2 instance (Redhat, 8 CPU
cores). I noticed that the IOPS is around 1K when the queue depth is 1. By
simply increase the queue length to 2, the IOPS grows to over 60K. May I
ask if this is normal?
$ perf -q 1 -s 512 -w read -t 5
========================================================
Latency(us)
Device Information : IOPS
MB/s Average min max
Amazon EC2 NVMe Inst (AWS6F57178D12C6C4DC1) from core 0: 1116.80
0.55 895.40 19.53 1969.98
========================================================
Total : 1116.80
0.55 895.40 19.53 1969.98
$ perf -q 2 -s 512 -w read -t 5
========================================================
Latency(us)
Device Information : IOPS
MB/s Average min max
Amazon EC2 NVMe Inst (AWS6F57178D12C6C4DC1) from core 0: 61094.60
29.83 32.71 13.71 136.63
========================================================
Total : 61094.60
29.83 32.71 13.71 136.63
Regards,
Li Wang
4 years, 5 months