[PATCH 0/3] nvme-cli: NIC topology aware I/O queue scaling

Daniel Wagner dwagner at suse.de
Wed Sep 9 02:08:15 PDT 2026


Hi Nilay,

On Mon, Aug 31, 2026 at 10:34:42AM +0530, Nilay Shroff wrote:
> So the policy would effectively be:
> 
> if (nr_hw_queues > 1)
>     nr_io_queues = min(nr_hw_queues, num_online_cpus);
> else
>     nr_io_queues = num_online_cpus;
> 
> This would preserve the existing behavior for single-queue devices while still using the
> NIC hardware queue count to constrain the default on multi-queue devices.

BTW, I would like to have test cases in nvme-cli for the queue
calculation etc.

Thanks,
Daniel



More information about the Linux-nvme mailing list