- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- dmesg -Memory Imformation:shows locable 3962816 kb
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 10:42 PM
08-11-2004 10:42 PM
dmesg -Memory Imformation:shows locable 3962816 kb
Physical: 5242880 Kbytes, lockable: 3962816 Kbytes, available: 4559948 Kbytes
My queries are as follows:
1.Why locable show some values ?
2.Can't we use full memory values ?
3.What actually this locable value is?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 11:05 PM
08-11-2004 11:05 PM
Re: dmesg -Memory Imformation:shows locable 3962816 kb
Lockable Memory
---------------
Pages kept in memory for the lifetime of a process by means of a system
call (such as mlock, plock, or shmctl) are termed lockable memory.
Locked memory cannot be paged and processes with locked memory
cannot be deactivated. Typically, locked memory holds frequently
accessed programs or data structures, such as critical sections of
application code. Keeping them memory-resident improves application
performance.
The lockable_mem variable tracks how much memory can be locked.
Available memory is a portion of physical memory, minus the amount of
space required for the kernel and its data structures. The initial value of
lockable_mem is the available memory on the system after boot-up,
minus the value of the system parameter, unlockable_mem.
The value of lockable memory depends on several factors:
* The size of the kernel varies, depending on the number of interface
cards, users, and values of the tunable parameters.
* Available memory varies from system to system.
* The system parameter unlockable_mem is a kernel tunable
parameter. Changing the value of unlockable_mem alters the
default value of lockable_mem also.
HP-UX places no explicit limits on the amount of available memory you
may lock down; instead, HP-UX restricts how much memory cannot be
locked.
Other kernel resources that use memory (such as the dynamic buffer
cache) can cause changes.
* As memory is used, the amount of memory that can be locked
decreases.
* As memory is freed up, the amount of memory that can be locked
increases.
As the amount of memory that has been locked down increases, existing
processes compete for a smaller and smaller pool of usuable memory. If
the number of pages in this remaining pool of memory falls below the
paging threshold called lotsfree, the system will activates its paging
mechanism, by scheduling vhand in an attempt to keep a reasonable
amount of memory free for general system use.
Care must be taken to allow sufficient space for processes to make
forward progress; otherwise, the system is forced into paging and
deactivating processes constantly, to keep a reasonable amount of
memory free.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 11:30 PM
08-11-2004 11:30 PM
Re: dmesg -Memory Imformation:shows locable 3962816 kb
===============
Physical memory that can be "locked" (that is, its pages kept in memory for the lifetime of a process) by the kernel or plock() is known as lockable memory.
User processes can lock memory using the plock or shmctl system call
Locked memory cannot be paged and processes with locked memory cannot be deactivated. Typically, locked memory holds frequently accessed programs or data structures, such as critical sections of application
code. Keeping them memory-resident improves system performance.
By default, lockable memory can be no more than the system paging threshold.
Available memory is a portion of physical memory, minus
the amount of space required for the kernel and its data structures.
The size of the kernel varies depending on the number of interface
cards, users, and values of the tunable parameters; thus, available
memory varies from system to system.
Lockable memory is extensively used in real-time environments, like
hospitals, where some processes require immediate response and must be
constantly available.
If the default value of lockable memory is changed, care must be taken
to allow sufficient space for paging and deactivation. As the amount
of lockable memory increases, the amount of memory available for
paging and deactivation decreases. The existing processes compete for
a smaller and smaller pool of memory. The system parameter to change
the amount of unlockable memory is unlockable_mem. (See the
/usr/conf/master.d/core-hpux file and System Administration Manager
(SAM) on-line help for information concerning tunable operating-system
parameters.)
During system startup, the system displays on the system console the
amount of its lockable memory (along with available memory and
physical memory). You can display the values later by running
/sbin/dmesg.
lockable_mem = no_of_bytes
lockable_mem is the total amount of physical memory all users can lock
down at once. This value can be changed by modifying the
operating-system parameter, unlockable_mem.
The system has boundary conditions requiring that unlockable_mem be
more than zero and less than the amount of memory available after boot. If unlockable_mem is set to zero or a negative value, the kernel will compute an appropriate default value at boot time.
Available memory minus the memory locked by processes is the memory actually available for virtual memory demand paging.
You can determine the default value of unlockable_mem by subtracting
the amount of lockable memory from the available memory during
boot-up.
available memory - lockable memory = unlockable_mem
For example, the following boot information was displayed on a Model 835:
physical page size = 2 KB
avail mem = 9670656 bytes
real mem = 1677216 bytes
lockable mem = 659456 bytes
The systemâ s unlockable memory would be
9670656 - 659456 = 9011200 bytes
If pseudo-swap reservation (discussed at the end of this paper) is
enabled, it does not allow lockable memory to exceed 3/4 of available
memory on a Series 800 and 7/8 of available memory on a Series 700
system. These limits can be altered using the unlockable_mem
parameter.
Pseudo-swap affects the amount of lockable memory. As the amount of
pseudo-swap used increases, the amount of lockable memory decreas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 11:31 PM
08-11-2004 11:31 PM
Re: dmesg -Memory Imformation:shows locable 3962816 kb
You don't want to have processes be able to lock up all of memory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 02:51 AM
08-12-2004 02:51 AM