Operating System - HP-UX
1836369 Members
2221 Online
110100 Solutions
New Discussion

Re: What's the difference between lockable & available memory on dmesg's output

 
Annie_8
Occasional Contributor

What's the difference between lockable & available memory on dmesg's output

Hi All,

When I used dmesg on HP-UX. In last lines. there are something like this:
Memory information:
Physical:2097152 Kbytes, lockable:1568052 kbytes, available:1808320 kbytes.
Who can tell me what's the difference between lockable memory and available memory? How much they occupy from the physical memory?

Thanks in advance for your reply!

Annie
Annie
2 REPLIES 2
Michael Tully
Honored Contributor

Re: What's the difference between lockable & available memory on dmesg's output

Hi,

The memory document on your system should explain everything. You can find it here:

'/usr/share/doc/mem_mgt.txt'

HTH
~Michael~
Anyone for a Mutiny ?
S.K. Chan
Honored Contributor

Re: What's the difference between lockable & available memory on dmesg's output

Click on "Memory Management->The Role of Physical Memory". It explains it (with diagram) very well. Basically lockable memory are pages resident in memory while the process is still running and they cannot be paged and deactivated because the whole purpose of "lockable memory" is such that frequently accessed processes are kept in memory to improve performance.

http://docs.hp.com/hpux/onlinedocs/5965-4641/5965-4641.html

Another way of finding out the total locakble memory (other than using dmesg) is ..
# echo "total_lockable_mem/D" | adb -k /stand/vmunix /dev/mem
==> value in 4k pages
Something I thought would be useful to you.