1832674 Members
3067 Online
110043 Solutions
New Discussion

unlockable_mem ?

 
SOLVED
Go to solution
discoverer
Frequent Advisor

unlockable_mem ?

On what kind of condition should us set unlockable_mem > 0 (the default value = 0)?

Regards,
Discoverer
Listen, then discover, then succeed!
2 REPLIES 2
Steve Steel
Honored Contributor

Re: unlockable_mem ?

Hi

Do not touch it.

from www.docs.hp.com

search on unlockable_mem

unlockable_mem
Specify minimum amount of memory that is to remain reserved for system overhead and virtual memory management use.

Acceptable Values:
Minimum
0
Maximum
Available memory indicated at power-up
Default
0 (system sets to appropriate value)
Specify integer value. For more information, see Specifying Parameter Values.

Description
unlockable_mem defines the minimum amount of memory that is to always remain available for virtual memory management and system overhead. Increasing the amount of unlockable memory decreases the amount of lockable memory because:


Total available system memory minus unlockable_mem = lockable memory
Specify unlockable_mem in 4-Kbyte pages. Note that current amounts of available and lockable memory are listed along with the physical page size in startup messages, which you can view later by running /etc/dmesg.

If the value for unlockable_mem exceeds available system memory, it is set equal to available memory (reducing lockable memory to zero).

Any call that requires lockable memory may fail if the amount of lockable memory is insufficient. Note that lockable memory is available for virtual memory except when it is locked.

Lockable memory is used for:

Process images and overhead locked using the plock() system call (see HP-UX Reference entry plock(2)).

Shared memory segments locked with the SHM_LOC command of the shmctl() system call (see HP-UX Reference entry shmctl(2)).

Miscellaneous dynamic kernel data structures used by the shared memory system and some drivers.

Related Parameters
unlockable_mem must always be less than the total amount of available memory in the system.

Additional Information
Overview of Miscellaneous Parameters
List of parameters
Browse configurable kernel parameters help



steve steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Animesh Chakraborty
Honored Contributor
Solution

Re: unlockable_mem ?

Hi,
The unlockable_mem tunable specifies the amount of memory
that can never be locked down by user processes. This
memory is effectively reserved for virtual memory demand
paging. A value of less than or equal to zero for this
parameter indicates that you want the system to choose a
suitable default.

unlockable_mem was previously specified as a byte quantity.
To support greater than 2 GB of physical memory, the
definition of unlockable_mem has been changed to specify
the number of 4 Kb pages that cannot be locked down.




*********


//quote//
unlockable_mem
Specify minimum amount of memory that is to remain reserved for system overhead and virtual memory management use.

Acceptable Values:
Minimum
0
Maximum
Available memory indicated at power-up
Default
0 (system sets to appropriate value)
Specify integer value. For more information, see Specifying Parameter Values.

Description
unlockable_mem defines the minimum amount of memory that is to always remain available for virtual memory management and system overhead. Increasing the amount of unlockable memory decreases the amount of lockable memory because:


Total available system memory minus unlockable_mem = lockable memory
Specify unlockable_mem in 4-Kbyte pages. Note that current amounts of available and lockable memory are listed along with the physical page size in startup messages, which you can view later by running /etc/dmesg.

If the value for unlockable_mem exceeds available system memory, it is set equal to available memory (reducing lockable memory to zero).

Any call that requires lockable memory may fail if the amount of lockable memory is insufficient. Note that lockable memory is available for virtual memory except when it is locked.

Lockable memory is used for:

Process images and overhead locked using the plock() system call (see HP-UX Reference entry plock(2)).

Shared memory segments locked with the SHM_LOC command of the shmctl() system call (see HP-UX Reference entry shmctl(2)).

Miscellaneous dynamic kernel data structures used by the shared memory system and some drivers.

Related Parameters
unlockable_mem must always be less than the total amount of available memory in the system.

http://us-support.external.hp.com/cki/bin/doc.pl/sid=2cd959820ff10664bb/screen=ckiDisplayDocument?docId=400000000010677

Did you take a backup?