Specifications
Administration Guide
360 VMware, Inc.
Here’s!an!example!of!what!you!might!see:
In!this!example,!the!total!memory!managed!by!the!VMkernel!for!the!NUMA!nodes!is!
listed!in!the!Totals!row.!This!amount!might!be!smaller!than!the!total!amount!of!
physical!memory!on!the!server!machine.
Determining the Amount of Memory for a Virtual Machine on a NUMA
Node
Type!the!following:
cat /proc/vmware/vm/<id>/mem/numa
Here’s!an!example!of!what!you!might!see:
The!preceding!output!indicates!that!the!virtual!machine,!with!the!specified!ID,!occupies!
51MB!of!memory!on!node!0,!and!no!memory!on!node!1.!
Automatic NUMA Optimizations
By!default,!ESX!Server!balances!virtual!machines!and!their!related!data!between!the!
available!NUMA!nodes.!ESX!Server!attempts!to!maximize!use!of!“local!memory,”!that!
lies!on!the!same!NUMA!node!as!the!virtual!machine!that!is!running.
ESX!Server!assigns!each!virtual!machine!to!a!temporary!“home”!NUMA!node.!
The!
virtual!machine!runs!only!on!CPUs!in!the!home!node,!with!access!to!its!“local!memory.”!
Periodically,!ESX!Server!compares!the!utilization!levels!of!all!NUMA!nodes!and!
attempts!to!“rebalance”!the!nodes!if!one!node!has!a!higher!utilization!level!than!the!
.
.
.
Node Total-/MB FreeHi/MB FreeLow/MB Reserved/MB Kernel/MB
0 836022/3265 98304/384 737528/2880 34574/135 190/0
1 2621440/10240 2601144/10160 0/0 0/0 20296/79
Totals 2699448/10544 737528/2880
Node# Pages/MB
0 13250/51
10/0
NOTE In!this!example,!the!memory!affinity!is!set!so!that!only!pages!associated!with!node!0!are!
allocated!for!this!virtual!machine!(sched.mem.affinity = 0).!If!memory!affinity!had!
not!been!set,!typically!the!output!would!have!shown!a!more!even!distribution!of!
memory!between!nodes!0!and!1.!See!“A s s o c i a t i n g !Future
!Virtual!Machine!Memory!
Allocations!with!a!NUMA!Node”!on!page 362.