Re: [RESEND RFC PATCH v2] nvme-pci: add adaptive interrupt polling

From: Keith Busch

Date: Tue Aug 11 2026 - 16:30:30 EST


On Tue, Aug 11, 2026 at 10:32:35AM +0800, changfengnan wrote:
> The code looks much cleaner when using dim, I'll see if I can replace the
> sample-and-poll logic I wrote myself with the dim library. 
> I ran a quick test on the POC patch and didn't see any performance
> improvements; in fact, there were quite a few regressions. Maybe some
> parameters need to be adjusted.

Yeah, I'm just now testing mid-tier devices and it's also performing a
bit worse for high throughput workloads. But I hadn't really tried to
tune the settings here, and maybe my criteria is all wrong. I was mainly
trying to see if we can utilize the dim library before honing in on the
right implementation details.