[Users] how to find max memory that can be registered

Hal Rosenstock hal.rosenstock at gmail.com
Tue Jul 23 03:26:25 PDT 2013


On Tue, Jul 23, 2013 at 12:54 AM, jagadeesh kumar <
jagadeesh414.ece at gmail.com> wrote:

> Hi all,
>
>    I am new to InfiniBand, and writting an application(using OFED-1.5.4)
> for Mellanox HCA InfiniHost Ex25208 (board_id : HP_0060000001), which
> registers 16GB memory using ibv_reg_mr but it is failing (returns NULL).
> My machine have sufficient memory (64 GB) and i am able to register less
> than 16GB.
> Is it the HCA which is limiting this and if yes, is there any way to find
> out maximum memory that can be registered.
> I have tried ibv_query_device but it returned max_mr_size as
> 0XFFFFFFFFFFFFFFFF(16 times).
>

That may just be bad data; but not sure.

Does registering a smaller memory region work ? What does ulimit -l say ?

There are module parameters to set which may help. See
http://comments.gmane.org/gmane.linux.drivers.rdma/5913

-- Hal


>
> Thanks
> Jagadeesh
>
> _______________________________________________
> Users mailing list
> Users at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/users/attachments/20130723/91567e0b/attachment.html>


More information about the Users mailing list