[PATCH 08/10] nvme-rdma: clamp queue size according to ctrl cap

Max Gurtovoy mgurtovoy at nvidia.com
Mon Jan 1 09:22:10 PST 2024



On 01/01/2024 11:35, Sagi Grimberg wrote:
> 
>> If a controller is configured with metadata support, clamp the maximal
>> queue size to be 128 since there are more resources that are needed
>> for metadata operations. Otherwise, clamp it to 256.
> 
> Does the qp allocation succeeds or fails if attempting to create
> 256 size with metadata?

It succeeds (tried ConnectX-4 and ConnectX-6 dx), but there are a lot of 
metadata resources we allocate so the scale will be lower. I don't see a 
reason to allocate more than 128 entries for metadata controllers.



More information about the Linux-nvme mailing list