memlock
Synopsis
[config] memlock=n
n is a set of bit flags. By default, the n is 0 (all flags are set to false).
Description
memlock is a set of bit flags that controls how InterSystems IRIS® data platform allocates shared memory. At startup, InterSystems IRIS allocates a shared memory segment for use by control structures, global buffers, routine buffers, and shared memory heap. The memlock parameter offers detailed control over how that allocation occurs.
By default (n = 0), InterSystems IRIS attempts to allocated shared memory from large pages on platforms that support large pages (Windows, Linux, and AIX) as follows:
-
Request large pages, if allowed. Large pages are automatically locked in physical memory at the operating system level.
-
If unable to allocate the full amount of configured memory in large pages, request standard (small) pages. InterSystems IRIS does not attempt to lock standard pages into physical memory.
-
If unable to allocate the full amount of configured memory in small pages, reduce the allocation by one eighth (1/8) and begin again with step 1.
The following bit flags modify this process as described below: