[PATCH] nvme : add Scatter-Gather List (SGL) support in NVMe driver.
Christoph Hellwig
hch at infradead.org
Sat Jul 15 01:50:08 PDT 2017
On Fri, Jul 14, 2017 at 05:06:24PM -0400, Keith Busch wrote:
> > 2. Set up the IO size threshold to determine whether to use
> > SGLs or PRPs for each IO. (set sgl_threshold to 4096 to
> > use SGL only for IOs which are >= 4096 in the size).
>
> For this to really make a difference, you should clear
> blk_queue_virt_boundary for SGL capable devices.
SGLs make sense for bigger I/O alone. But not having to set the
blk_queue_virt_boundary would be another benefit, Although you'll
probably need a 64k page size system for that to matter in practice.
I remember Max had a patch for fabrics to support the Mellanox arbitrary
SGL registrations, which should share some core code with allowing
that for PCIe with SGLs.
Max, what happened to that?
More information about the Linux-nvme
mailing list