[PATCH V3 00/10] nvme: use xarray for ns tracking

Christoph Hellwig hch at lst.de
Wed Jul 15 03:03:28 EDT 2020


On Tue, Jul 14, 2020 at 04:30:47PM -0700, Chaitanya Kulkarni wrote:
> Hi,
> 
> This patch-series uses ctrl->namespaces with an xarray for host-core and
> target-core. We can see following performance improvement when running
> fio with 32 parallel jobs where first 16 namespaces and last 16
> namespaces are used for I/O using NVMeOF (nvme-loop) backed by nulli blk
> devices mapped 1:1 on target namespaces.
> 
> For host even though nvme_find_get_ns() doesn't fall into the fast path
> yet it does for NVMeOF passthru. This prepares us to improve performance
> for future NVMeOF passthru backend which is under review which uses the
> similar data structure as target.
> 
> Following are the performance numbers with NVMeOF (nvme-loop) backed by
> null_blk devices mapped 1:1 on NVMeOF target backend :-

Can you make sure the nvmet patch is the first in the series?  That one
is obviously useful, so as soon as everything is sorted out I'm happy
to apply it.  I'm not quite as sold on the host side.



More information about the Linux-nvme mailing list