[PATCH RFC 0/2] Convert from bio-based to blk-mq
Matias Bjørling
m at bjorling.me
Tue Oct 8 09:19:48 EDT 2013
On 10/08/2013 03:10 PM, Matthew Wilcox wrote:
> On Tue, Oct 08, 2013 at 11:34:20AM +0200, Matias Bjørling wrote:
>> The nvme driver implements itself as a bio-based driver. This primarily because
>> of high lock congestion for high-performance nvm devices. To remove the
>> congestion, a multi-queue block layer is being implemented.
>
> Um, no. You'll crater performance by adding another memory allocation
> (of the struct request). multi-queue is not the solution.
>
Agree that there shouldn't be yet another allocation. blk-mq allocates
the requests upfront for that reason. Additionally, nvme_cmd_info can be
handled within the request payload.
More information about the Linux-nvme
mailing list