vmo
¿Que es VMO?
# man vmo
Use the vmo command to configure Virtual Memory Manager tuning parameters. This command sets or displays current or next boot values for all Virtual
Memory Manager tuning parameters. This command can also make permanent changes or defer changes until the next reboot. Whether the command sets or displays a parameter is determined by the accompanying flag. The -o flag performs both actions. It can either display the value of a parameter or set a new value for a parameter.
The Virtual Memory Manager (VMM) maintains a list of free real-memory page frames. These page frames are available to hold virtual-memory pages needed to satisfy a page fault. When the number of pages on the free list falls below that specified by the minfree parameter, the VMM begins to steal pages to add to the free list. The VMM continues to steal pages until the free list has at least the number of pages specified by the maxfree parameter.
Parámetros mas relevantes:
Los parametros del kernel que parametrizan esta utilización de memoria son:
MINPERM%: Que porcentaje de memoria MÍNIMO debe usar el kernel para las paginas que contengan datos de archivos que estén siendo leídos o escritos (non-computational pages).Por defecto este parametro esta seteado a 20%.
MAXPERM%: Porcentaje de memoria MÁXIMO debe usar el kernel para las paginas que contengan datos de archivos que estén siendo leídos o escritos. (non-computational pages). Por defecto este parametro esta seteado a 80%.
MAXCLIENT%: Porcentaje de memoria MÁXIMO de páginas de datos que puede tener un cliente sobre el total de páginas del cliente. Por defecto este parametro esta seteado a 80%.
Para lista la lista completa de parámetros configurados:
# vmo -L
NAME CUR DEF BOOT MIN MAX UNIT TYPE
DEPENDENCIES
--------------------------------------------------------------------------------
ame_cpus_per_pool n/a 8 8 1 1K processors B
--------------------------------------------------------------------------------
ame_maxfree_mem n/a 24M 24M 320K 4G bytes D
ame_minfree_mem
--------------------------------------------------------------------------------
ame_min_ucpool_size n/a 0 0 5 95 % memory D
--------------------------------------------------------------------------------
ame_minfree_mem n/a 8M 8M 64K 4095M bytes D
ame_maxfree_mem
--------------------------------------------------------------------------------
ams_loan_policy n/a 1 1 0 2 numeric D
--------------------------------------------------------------------------------
enhanced_affinity_affin_time
1 1 1 0 100 numeric D
--------------------------------------------------------------------------------
enhanced_affinity_vmpool_limit
10 10 10 -1 100 numeric D
--------------------------------------------------------------------------------
esid_allocator 1 1 1 0 1 boolean D
--------------------------------------------------------------------------------
force_relalias_lite 0 0 0 0 1 boolean D
--------------------------------------------------------------------------------
kernel_heap_psize 64K 0 0 0 16M bytes B
--------------------------------------------------------------------------------
lgpg_regions 0 0 0 0 8E-1 D
lgpg_size
--------------------------------------------------------------------------------
lgpg_size 0 0 0 0 16M bytes D
lgpg_regions
--------------------------------------------------------------------------------
low_ps_handling 1 1 1 1 2 D
--------------------------------------------------------------------------------
maxfree 1088 1088 1088 16 838860 4KB pages D
minfree
memory_frames
--------------------------------------------------------------------------------
maxperm 904550 904550 S
--------------------------------------------------------------------------------
maxpin 947181 947181 S
--------------------------------------------------------------------------------
maxpin% 90 90 90 1 100 % memory D
pinnable_frames
memory_frames
--------------------------------------------------------------------------------
memory_frames 1M 1M 4KB pages S
--------------------------------------------------------------------------------
memplace_data 2 2 2 0 2 D
--------------------------------------------------------------------------------
memplace_mapped_file 2 2 2 0 2 D
--------------------------------------------------------------------------------
memplace_shm_anonymous 2 2 2 0 2 D
--------------------------------------------------------------------------------
memplace_shm_named 2 2 2 0 2 D
--------------------------------------------------------------------------------
memplace_stack 2 2 2 0 2 D
--------------------------------------------------------------------------------
memplace_text 2 2 2 0 2 D
--------------------------------------------------------------------------------
memplace_unmapped_file 2 2 2 0 2 D
--------------------------------------------------------------------------------
minfree 960 960 960 8 838860 4KB pages D
maxfree
memory_frames
--------------------------------------------------------------------------------
minperm 30151 30151 S
--------------------------------------------------------------------------------
minperm% 3 3 3 1 100 % memory D
--------------------------------------------------------------------------------
nokilluid 0 0 0 0 4G-1 uid D
--------------------------------------------------------------------------------
npskill 40K 40K 40K 1 5M-1 4KB pages D
--------------------------------------------------------------------------------
npswarn 160K 160K 160K 1 5M-1 4KB pages D
--------------------------------------------------------------------------------
num_locks_per_semid 1 1 1 1 64 numeric B
--------------------------------------------------------------------------------
numpsblks 5M 5M 4KB blocks S
--------------------------------------------------------------------------------
pinnable_frames 744607 744607 4KB pages S
--------------------------------------------------------------------------------
relalias_percentage 0 0 0 0 32K-1 D
--------------------------------------------------------------------------------
scrub 0 0 0 0 1 boolean D
--------------------------------------------------------------------------------
v_pinshm 0 0 0 0 1 boolean D
--------------------------------------------------------------------------------
vmm_default_pspa 0 0 0 -1 100 numeric D
--------------------------------------------------------------------------------
vmm_klock_mode 2 2 2 0 3 numeric B
--------------------------------------------------------------------------------
wlm_memlimit_nonpg 1 1 1 0 1 boolean D
--------------------------------------------------------------------------------
n/a means parameter not supported by the current platform or kernel
Parameter types:
S = Static: cannot be changed
D = Dynamic: can be freely changed
B = Bosboot: can only be changed using bosboot and reboot
R = Reboot: can only be changed during reboot
C = Connect: changes are only effective for future socket connections
M = Mount: changes are only effective for future mountings
I = Incremental: can only be incremented
d = deprecated: deprecated and cannot be changed
Value conventions:
K = Kilo: 2^10 G = Giga: 2^30 P = Peta: 2^50
M = Mega: 2^20 T = Tera: 2^40 E = Exa: 2^60
#