This variable reflects the default memory allocation policy used by the Solaris OS. This variable is an integer, and its value should correspond to one of the policies listed in the sys/lgrp.h file.
Integer
1, LGRP_MEM_POLICY_NEXT indicating that memory allocation defaults to the home lgroup of the thread performing the memory allocation.
Possible values are:
Value |
Description |
Comment |
---|---|---|
0 |
LGRP_MEM_POLICY_DEFAULT |
use system default policy |
1 |
LGRP_MEM_POLICY_NEXT |
next to allocating thread's home lgroup |
2 |
LGRP_MEM_POLICY_RANDOM_PROC |
randomly across process |
3 |
LGRP_MEM_POLICY_RANDOM_PSET |
randomly across processor set |
4 |
LGRP_MEM_POLICY_RANDOM |
randomly across all lgroups |
5 |
LGRP_MEM_POLICY_ROUNDROBIN |
round robin across all lgroups |
6 |
LGRP_MEM_POLICY_NEXT_CPU |
near next CPU to touch memory |
No
None
For applications that are sensitive to memory latencies due to allocations that occur from remote versus local memory on systems that use NUMA.
Uncommitted