[openib-general] Question about locked pages

Roland Dreier rolandd at cisco.com
Mon Oct 31 09:39:37 PST 2005


    Jeff> However, it's unclear to me exactly what needs to happen --
    Jeff> do users both need to "ulimit -l unlimited" (or some large
    Jeff> number) *and* set /etc/sysctl.conf values for kernel.shmall
    Jeff> and kernel.shmmax to unlimited (or a large number)?  Or does
    Jeff> performing one of those obviate the need for the other?

I believe the changing the ulimit for locked pages is all that is
needed.  Does changing shmall and shmmax have any effect?  I thought
those were limits on the total amount of shared memory allowed for the
system, not limits on locked/pinned memory.

 - R.



More information about the general mailing list