- Description
- The maxlkmem parameter specifies the maximum number of physical pages that can be locked in memory (by mpin(2) or plock(2)) per non-superuser process.
This parameter is specified in /var/sysgen/mtune.
- Value
- Default: 2000
Range: 0 pages - 3/4 of physical memory
- When to Change
-
Increase this parameter only if a particular application has a real need to lock more pages in memory.
On multi-user servers, you may want to decrease this parameter and also decrease rlimit_vmem_cur.
- Notes
- When pages are locked in memory, the system can't reclaim those pages, and therefore can't maintain the most efficient paging.