Re: [PATCH RFC 0/2] Convert from bio-based to blk-mq

From: Matias Bjørling
Date: Tue Oct 08 2013 - 09:19:58 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/