
Resource Management
245
www.vmware.com
Writing the string realloc to this file causes an immediate memory reallocation.
Memory is normally reallocated periodically every MemBalancePeriod seconds.
(See /proc/vmware/config/MemBalancePeriod below for more
information.) Reallocations are also triggered by significant changes in the amount of
free memory.
/proc/vmware/mem
Reading from this file reports the maximum size with which a new virtual machine
can be powered on, admission control status including the amount of unreserved
memory and unreserved swap space, and the current amount of free memory in the
system.
/proc/vmware/pshare/status
Reading from this file reports various detailed statistics about the current status of
transparent page sharing.
/proc/vmware/config/MemBalancePeriod
This ESX Server option specifies the periodic time interval, in seconds, for automatic
memory reallocations. Reallocations are also triggered by significant changes in the
amount of free memory. The default is 15 seconds.
/proc/vmware/config/MemSamplePeriod
This ESX Server option specifies the periodic time interval, measured in seconds of
virtual machine virtual time, over which memory activity is monitored in order to
estimate working set sizes. The default is 30 seconds.
/proc/vmware/config/MemIdleTax
This ESX Server option specifies the idle memory tax rate as a percentage. This tax
effectively charges virtual machines more for idle memory than for memory that they
are actively using. A tax rate of 0 percent defines an allocation policy that ignores
working sets and allocates memory strictly based on shares. A high tax rate results in
an allocation policy that allows idle memory to be reallocated away from virtual
machines that are unproductively hoarding it. The default is 75 percent.
/proc/vmware/config/MemShareScanVM
This ESX Server option specifies the maximum per-virtual machine rate at which
memory should be scanned for transparent page sharing opportunities. The rate is
specified as the number of pages to scan per second. The default is 50 pages per
second per virtual machine.
/proc/vmware/config/MemShareScanTotal
This ESX Server option specifies the total systemwide rate at which memory should be
scanned for transparent page sharing opportunities. The rate is specified as the
number of pages to scan per second. The default is 200 pages per second.
Comentarios a estos manuales