unable to create QP after set HUGE_RC to y

Hi,

I had a problem since I set HUGE_RC to y in order for HCA to use huge pages for QP and CQ. It shows up the following error message:

Unable to create QP.

Couldn’t create IB resources

After I remove the environment variable, it works fine again. On my system, I have huge pages of 1GB in size, and the OS reserves 8 such pages.

I am using ConnextX-3 with mlx4_0.

I am wondering what could be the cause for such errors.

Thanks in advance,

Sam

Sam,

Could you try upgrading to MLNX_OFED 3.1 to see if it resolves this problem.

http://www.mellanox.com/page/products_dyn?product_family=26 http://www.mellanox.com/page/products_dyn?product_family=26

Could you try set these variables and run test again

export MLX_QP_ALLOC_TYPE=HUGE

export MLX_CP_ALLOC_TYPE=HUGE

Hi,

The firmware version is 2.33.5000, and the driver version is OFED-2.4-1.0.0

Thank you,

Hi,

Thank you for replying.

I tried to set the above mentioned variables, but it still shows the same error messages.

I guess you mean MLX_CQ_ALLOC_TYPE instead of MLX_CP_ALLOC_TYPE.

I am running simple commands such as, ib_send_bw or ib_send_lat. Those commands work fine without

setting those environmental variables, but error messages show up as soon as environmental variables are

set.

Thank you,

Sam

What firmware and driver are you using?