6.5.1

Table Of Contents
Table 153. Advanced Virtual Machine Attributes (Continued)
Attribute Description Default
sched.swap.persist Species whether the virtual machine’s swap les
should persist or be deleted when the virtual
machine is powered o. By default, the system
creates the swap le for a virtual machine when the
virtual machine is powered on, and deletes the swap
le when the virtual machine is powered o.
False
sched.swap.dir Directory location of the virtual machine's swap le.
Defaults to the virtual machine's working directory,
that is, the directory that contains its conguration
le. This directory must remain on a host that is
accessible to the virtual machine. If you move the
virtual machine (or any clones created from it), you
might need to reset this aribute.
Equals workingDir
Advanced Virtual NUMA Attributes
You can use the advanced virtual NUMA aributes to customize virtual NUMA usage.
Table 154. Advanced NUMA Attributes
Attribute Description Default
cpuid.coresPerSocket Determines the number of virtual cores per virtual CPU
socket. If the value is greater than 1, also determines the
size of virtual NUMA nodes if a virtual machine has a
virtual NUMA topology. You can set this option if you
know the exact virtual NUMA topology for each physical
host.
1
numa.autosize When you set this option, the virtual NUMA topology has
the same number of virtual CPUs per virtual node as there
are cores on each physical node.
FALSE
numa.autosize.once When you create a virtual machine template with these
seings, the seings are guaranteed to remain the same
every time you subsequently power on the virtual
machine. The virtual NUMA topology will be reevaluated
if the congured number of virtual CPUs on the virtual
machine is modied.
TRUE
numa.vcpu.maxPerVirtualNode
If cpuid.coresPerSocket is too restrictive as a power of
two, you can set numa.vcpu.maxPerVirtualNode
directly. In this case, do not set cpuid.coresPerSocket.
8
numa.vcpu.min Minimum number of virtual CPUs in a virtual machine
that are required in order to generate a virtual NUMA
topology.
9
numa.vcpu.maxPerMachineNode Maximum number of virtual CPUs that belong to the same
virtual machine that can be scheduled on a NUMA node
at the same time. Use this aribute to ensure maximum
bandwidth, by forcing dierent NUMA clients on
dierent NUMA nodes.
Number of
cores per
node on the
physical host
where a
virtual
machine is
running.
numa.vcpu.maxPerClient Maximum number of virtual CPUs in a NUMA client. A
client is a group of virtual CPUs that are NUMA-managed
as a single entity. By default, each virtual NUMA node is a
NUMA client, but if a virtual NUMA node is larger than a
physical NUMA node, a single virtual NUMA node can be
backed by multiple NUMA clients.
Equals
numa.vcpu.m
axPerMachin
eNode
Chapter 15 Advanced Attributes
VMware, Inc. 119