Re: [PATCH 12/17] nvme: enable bio-cache for fixed-buffer passthru

Christoph Hellwig
2022-03-15T08:57:14Z

On Mon, Mar 14, 2022 at 11:48:43PM +0530, Kanchan Joshi wrote:
> Yes, the only reason to switch from kmalloc to bio-set was being able
> to use bio-cache.
> Towards the goal of matching peak perf of io_uring's block io path.
> Is it too bad to go down this route; Is there any different way to
> enable bio-cache for passthru.

How does this actually make a difference vs say a slab cache? Slab/slub
seems to be very fine tuned for these kinds of patters using per-cpu
caches.