[PATCH v3 0/9] Introduce per-device completion queue pools
Bart Van Assche
Bart.VanAssche at wdc.com
Mon Nov 20 13:29:49 PST 2017
On Mon, 2017-11-20 at 12:24 -0700, Jason Gunthorpe wrote:
> On Mon, Nov 20, 2017 at 02:10:13PM +0200, Sagi Grimberg wrote:
> > > > > It is too bad we can't re-size CQs.. Can we?
> > > >
> > > > I wish we could, but its an optional feature so I can't see how we can
> > > > use it.
> > >
> > > Well, it looks like mlx4/5 can do it, which covers a huge swath of
> > > deployed hardware..
> > >
> > > I'd say make an optimal implementation using resize_cq and just a working
> > > implementation without it?
> >
> > I can experiment with it, sure. Do you think that its a must have for
> > first phase though?
>
> Not clear to me.. Bart?
Hi Jason,
Having the completion queue pool implementation use resize_cq internally if
supported by the HCA sounds interesting to me. This would help to avoid that
the CQ pool implementation uses more memory than needed. Sagi, if you don't
have the time to work on this please let me know. In that case I will try to
free up some time and implement this myself.
Bart.
More information about the Linux-nvme
mailing list