HP-UX Reference (11i v2 03/08) - 5 Miscellaneous Topics, 7 Device (Special) Files, 9 General Information, Index (vol 9)

m
max_mem_window(5) max_mem_window(5)
(Tunable Kernel Parameters)
NAME
max_mem_window - maximum number of group-private 32-bit shared memory configurable by users
VALUES
Default
0
Allowed values
Minimum: 0 shared memory windows
Maximum:
8192 shared memory windows
DESCRIPTION
Processes in a PA-RISC 32-bit architecture usually share the global quadrants 3 and 4 for such things as
I/O mappings, shared libraries, shared mapped files, etc. However, you may wish to use quadrant 3 in a
more limited sharing fashion with only a select group of processes. Memory windows allow this func-
tionality.
If this tunable is set to 0
, 32-bit programs always use the global Q3 and Q4 for shared memory. If this
tunable is greater than
0 processes in defined groups use a Q3 private to that group, and then the glo-
bally shared Q4 if Q3 is full.
Who is Expected to Change This Tunable?
Anyone.
Restrictions on Changing
Changes to this tunable take effect at the next reboot.
When Should the Value of This Tunable Be Raised?
This tunable should only be raised if more group-private Q3 areas are needed by the system users. If
more areas are not needed, there is literally no point to raising this value.
What Are the Side Effects of Raising the Value?
A little more memory is used in the kernel.
When Should the Value of This Tunable Be Lowered?
If process groups are not being used, or not being used in the quantity set by the tunable, there is really
no point to having this value higher than what is actually needed.
What Are the Side Effects of Lowering the Value?
The kernel uses a little less memory. If the value is set to
0, no group-private Q3’s are allowed.
What Other Tunable Values Should Be Changed at the Same Time?
None.
WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its
meaning changed in future releases of HP-UX.
AUTHOR
max_mem_window was developed by HP.
Section 5174 Hewlett-Packard Company 1 HP-UX 11i Version 2: August 2003