6.0.1

Table Of Contents
Memory Virtualization Basics 5
Before you manage memory resources, you should understand how they are being virtualized and used by
ESXi.
The VMkernel manages all physical RAM on the host. The VMkernel dedicates part of this managed
physical RAM for its own use. The rest is available for use by virtual machines.
The virtual and physical memory space is divided into blocks called pages. When physical memory is full,
the data for virtual pages that are not present in physical memory are stored on disk. Depending on
processor architecture, pages are typically 4 KB or 2 MB. See “Advanced Memory Attributes,” on page 116.
This chapter includes the following topics:
n
“Virtual Machine Memory,” on page 29
n
“Memory Overcommitment,” on page 30
n
“Memory Sharing,” on page 30
n
“Types of Memory Virtualization,” on page 31
Virtual Machine Memory
Each virtual machine consumes memory based on its configured size, plus additional overhead memory for
virtualization.
The configured size is the amount of memory that is presented to the guest operating system. This is
different from the amount of physical RAM that is allocated to the virtual machine. The latter depends on
the resource settings (shares, reservation, limit) and the level of memory pressure on the host.
For example, consider a virtual machine with a configured size of 1GB. When the guest operating system
boots, it detects that it is running on a dedicated machine with 1GB of physical memory. In some cases, the
virtual machine might be allocated the full 1GB. In other cases, it might receive a smaller allocation.
Regardless of the actual allocation, the guest operating system continues to behave as though it is running
on a dedicated machine with 1GB of physical memory.
Shares
Specify the relative priority for a virtual machine if more than the reservation
is available.
Reservation
Is a guaranteed lower bound on the amount of physical RAM that the host
reserves for the virtual machine, even when memory is overcommitted. Set
the reservation to a level that ensures the virtual machine has sufficient
memory to run efficiently, without excessive paging.
VMware, Inc. 29