5.49 MEMLOCK (Lock Hercules memory)
5.49.1 Function
The MEMLOCK system parameter is used to lock Hercules memory in storage. It defines the locking
state of the allocated Hercules memory (page lock by host operating system). If the Hercules memory is
locked in storage it cannot be paged out by the host operating system. This may result in some perfor-
mance improvements.
This system parameter is available if Hercules is built with option “_HAVE_MLOCKALL”. Currently
MEMLOCK is only supported under Linux host operating systems.
5.49.2 Syntax
Descriptive
OFF
Diagram
Êʬ¬¬ ¬¬¬§¬¬¬ ¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
OFF
5.49.3 Parameter
ON
ON indicates that the memory is to be locked into storage.
OFF
OFF indicates that the memory is not to be locked into the storage.
5.49.4 Examples
Example 1:
Lock the Hercules memory in the storage.
MEMLOCK ON
Example 2:
Do not lock the Hercules memory in the storage.
MEMLOCK OFF