Re: [RFC PATCH] nvme-pci: adaptively poll completions on busy queues
From: changfengnan
Date: Tue Jul 28 2026 - 02:28:10 EST
> From: "Christoph Hellwig"<hch@xxxxxx>
> Date: Tue, Jul 28, 2026, 12:44
> Subject: Re: [RFC PATCH] nvme-pci: adaptively poll completions on busy queues
> To: "changfengnan"<changfengnan@xxxxxxxxxxxxx>
> Cc: <linux-nvme@xxxxxxxxxxxxxxxxxxx>, "Keith Busch"<kbusch@xxxxxxxxxx>, "Jens Axboe"<axboe@xxxxxxxxx>, "Christoph Hellwig"<hch@xxxxxx>, "Sagi Grimberg"<sagi@xxxxxxxxxxx>, "Bart Van Assche"<bvanassche@xxxxxxx>, "Andy Shevchenko"<andriy.shevchenko@xxxxxxxxx>, "Thomas Gleixner"<tglx@xxxxxxxxxx>, "Jun Zeng"<jun1.zeng@xxxxxxxxx>, "Gang Cao"<gang.cao@xxxxxxxxx>, "Jun I Jin"<jun.i.jin@xxxxxxxxx>, "Liang A Fang"<liang.a.fang@xxxxxxxxx>, "Yong Hu"<yong.hu@xxxxxxxxx>, <linux-kernel@xxxxxxxxxxxxxxx>, "Guzebing"<guzebing@xxxxxxxxxxxxx>
> On Tue, Jul 28, 2026 at 10:24:52AM +0800, changfengnan wrote:
> > The patch showed 50 confirmed throughput improvements, with a median gain of 25.2%
> > and a maximum gain of 63.0%. Only five cases showed confirmed regressions;
>
> Can you drill down into the regression and figure out why they happen
> and if we can mitigate them? It would be nice if we could find a way
> to avoid major regressions and enable the adaptive mode by default.
Of course, we’ll continue to investigate this issue to minimize performance
regressions. As for enabling it by default, it’s too early to say—we need
more testing to verify this, such as seeing how it performs on Gen3/Gen4
NVMe drives.
>