[PATCH 0/3] nvme-cli: NIC topology aware I/O queue scaling
Nilay Shroff
nilay at linux.ibm.com
Wed Sep 9 02:28:29 PDT 2026
On 9/9/26 2:38 PM, Daniel Wagner wrote:
> 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.
> Sure, I'd add relevant test cases in next revision of the patchset.
Thanks,
--Nilay
More information about the Linux-nvme
mailing list