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

Sagi Grimberg sagi at grimberg.me
Mon Jan 1 23:59:04 PST 2024


>>> 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.

Me neither, it would have been nice to get this information from the
rdma core though.



More information about the Linux-nvme mailing list