HP-UX 11i June 2004 Release Notes

Process, Threads, Memory, and Kernel Parameters
Memory Windows
Chapter 10
221
To enable memory windows, set the kernel tunable parameter max_mem_window to the
desired amount. Customers can change this value by placing the desired value in their
kernel configuration file. The system must be rebooted for the new value to take effect.
As detailed below, max_mem_window represents the number of memory windows beyond
the global default window:
•Setting max_mem_window to one (1) creates a single memory window to accompany
the existing global memory window (or, a total of two memory windows: one default
and one user-defined).
•Setting max_mem_window to two (2) produces a total of three memory windows: the
default and the two user-defined.
•Setting max_mem_window to zero (0) leaves only one memory window: the default or
global memory window.
What should the value be? That depends on the application requirements and the
applications installed on the system. (HP recommends that each ISV/application should
document how many windows it intends to use.)
Use of memory windows does not affect the performance of processes. There is no size
requirement associated with memory windows. Any machine running HP-UX (32-bit or
64-bit) and any hardware supporting HP-UX release 11i can use memory windows.