RE: Maximum size for memory registration (ibv_reg_mr)

Bharath Ramesh
2010-09-24T22:42:10Z

[-- Attachment #1: Type: text/plain, Size: 601 bytes --]

> -----Original Message-----
> From: Roland Dreier [mailto:rdreier-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org]
>
> > Is there any limit on the maximum size of memory that can be
> registered
> > using ibv_reg_mr. I am using OFED-1.4.2 stack, and when I try to
> pass a size
> > greater than 16GB ibv_reg_mr returns NULL. The total amount of
> physical
> > memory on the node is 48GB, max locked memory(ulimit -l) is set to
> > unlimited.
>
> The limit depends on the HCA.

max_mr_size returned by calling ibv_devinfo is 0xffffffffffffffff. Does this
mean the size is unlimited?

Regards,

Bharath

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 4440 bytes --]