Content-Type: multipart/mixed; boundary="===============5985417313333767455==" MIME-Version: 1.0 From: 330416470 at qq.com Subject: [SPDK] May NVMe-oF Target be extended into a data-switch? Date: Thu, 23 Sep 2021 03:39:16 +0000 Message-ID: <20210923033916.2824.33021@ml01.vlan13.01.org> List-ID: To: spdk@lists.01.org --===============5985417313333767455== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable This is an idea during development, may it be feasible? In NVMe-oF Target framework, data is received from RDMA or tcp channel, the= n written into NVMe SSD. NVMe-oF Target transport layer is closed and can = not be accessed by other modules. So it is not ok for strorage cluster, and data must be copied from source = transport to destination transport when transmitting data from mater to sla= ve nodes. = To solve this, transport layer's data pool will be expose and shared betwee= n RDMA and NVMe channels, which makes whole framework confused. To be more comprehensive and acceptable, maybe NVMe-oF Target can be exten= ded to a data switch, in witch receiving data from one channel and transmi= tting to one or multi channels without copying. The switch can support many interface, such as tcp buffer, RDMA queue, Nvme= channel, Vhost vring, and also host memory buffer. Each datapath can have = single input and one or multiple outputs, that is decided by APP service. = NVMe-oF Target is only one application scene for data switch. This software= data switch is suitable for storage cluster and vfio-user, vhost-user. = The difficulty is memory must be registered into all modules, such as RNIC = and PCIe, and the memory should be shared among multiple modules. There are= a lot of work to be done. --===============5985417313333767455==--