Is There Any Plan for Bit-Bucket SGL Implement?

Zhengyu Zhang freeman.zhang1992 at gmail.com
Wed Nov 15 17:47:22 PST 2017


Hi Keith!

Thank you very much for your reply.

On 11/15/17 11:51 PM, Keith Busch wrote:
>> - Is there any plan to implement (Bit-Bucket)SGL in linux kernel?
> 
> No plans to do this as far as I know. The read request the nvme driver
> receives has no way of conveying information for it to set up a bit-bucket
> descriptor. Even if it did, there doesn't appear to be any user for
> such a feature in Linux.
> 
>> - Is there any other way to make use of this feature?
> 
> Not in Linux.
> 
>> - Is this feature hardware-specific?
> 
> Yes, hardware advertises support for the feature in identify controller's
> SGLS field, bit 16.
> 

It's a pity to know this. The spec notes this feature certainly for a
reason but I just don't know their original motivation :(

Actually, I thought I could be the user of bit-bucket SGL when
developing my data processing application. Or at least, I can do some
tests to see whether this feature can improve performance since
bit-bucket SGL may reduce command number drastically when users perform
sequential read-skip interleave operations.

I plan to check some other drivers (e.g. SPDK) or maybe try to figure
out some patches myself (if my p3700 hardware supports it)...


Thanks!
Zhengyu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0xFA035ADF.asc
Type: application/pgp-keys
Size: 3123 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-nvme/attachments/20171116/d6539e38/attachment.bin>


More information about the Linux-nvme mailing list