I think it's Arabel.<br><br>Both drivers are loaded (ib_mthca and mlx4_core). How do I tell which driver's settings I should modify?<br><br>What will be the max_mr value if log_num_mpt = 20?<br><br><div class="gmail_quote">
On Tue, Mar 11, 2008 at 6:26 AM, Tziporet Koren <<a href="mailto:tziporet@dev.mellanox.co.il">tziporet@dev.mellanox.co.il</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">Rajouri Jammu wrote:<br>
> The HCA I'm using reports max_mr = 131056.<br>
><br>
> Our application needs large number of memory regions, much more than<br>
> the 128K limit.<br>
><br>
> Is there a way to increase this limit?<br>
> I suppose it's bound by memory on the HCA. Is there an HCA that can<br>
> use host memory to increase the number of MRs that can be supported.<br>
><br>
</div></div>Which HCA you are using?<br>
In mlx4 and mthca drivers there are modules parameters to change the<br>
amount of memory regions (by enlarging the number of MPTs and MTTs)<br>
<br>
for example:<br>
mlx4:<br>
   log_num_mpt:         log maximum number of memory protection table<br>
entries per HCA (default is 17; max is 20)<br>
   log_num_mtt:         log maximum number of memory translation table<br>
segments per HCA (default is 20; max is 20)<br>
<br>
mthca:<br>
  num_mpt               - maximum number of memory protection table<br>
entries per HCA (int)<br>
  num_mtt               - maximum number of memory translation table<br>
segments per HCA (int)<br>
<font color="#888888"><br>
Tziporet<br>
<br>
</font></blockquote></div><br>