On Wed, 2014-11-12 at 18:50 +0530, kushagra misra wrote: > yes plz check your ulimits value under /etc/security/limits.conf > that may be causing the issue. > > > > On Wed, Nov 12, 2014 at 4:14 PM, Evgenii Smirnov > <evgenii.smir...@profitbricks.com> wrote: > Hi, > > Likely, it's caused by limits in /etc/security/limits.conf. > See p.30 > in Mellanox OFED for Linux User Manual Rev 1.5.3-4.0.42. > > Best regards, > Eugene >
Eugene/kushagra Thank you very much for your reply. AS you guys suggested , I checked /etc/security/limits.conf file and the value was set to unlimited for both soft memlock and hard memlock. * soft memlock unlimited * hard memlock unlimited So I hope that will allow us to pin unlimited memory with kernel. I did some experiment to know how much memory is able to register successfully , and the result was approximately 128MB (127.40625 MB). Further allocation is failed by returning NULL from ibv_reg_mr, by setting errno=11 (Resource temporarily unavailable). Thanks & Regrads Rafi KC > On Tue, Nov 11, 2014 at 11:12 AM, Mohammed Rafi K C > <muhammedraf...@gmail.com> wrote: > > Hi All, > > > > I was trying to implement an application that support rdma > using > > librdmacm. When the process is trying to register the buffer > using > > ibv_reg_mr, it failes after registering some number buffer. > > > > We are using Mellanox Technologies MT27500 Family > [ConnectX-3] cards. > > > > Reconfigured options are : > > > > 1) cat /sys/module/mlx4_core/parameters/log_num_mtt > > 24 > > 2) cat /sys/module/mlx4_core/parameters/log_mtts_per_seg > > 7 > > > > Can anyone point out reason behind ibv_reg_mr fails ? > > > > Thanks & Regards > > Rafi KC > > > > -- > > To unsubscribe from this list: send the line "unsubscribe > linux-rdma" in > > the body of a message to majord...@vger.kernel.org > > More majordomo info at > http://vger.kernel.org/majordomo-info.html > -- > To unsubscribe from this list: send the line "unsubscribe > linux-rdma" in > the body of a message to majord...@vger.kernel.org > More majordomo info at > http://vger.kernel.org/majordomo-info.html > > > > > -- > Real leaders are ordinary people with extraordinary determination.!!!! > > Thanks & Regard's > Kushagra Misra > > -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html