2V0-621 · Question #161
An administrator is troubleshooting a performance problem with a virtual machine (VM). The VM and ESXi host configuration is as follows: - The application which runs within the virtual machine is…
The correct answer is A. Set the Advanced Parameter numa.vcpu.preferHT = TRUE in the virtual machine configuration. The VM's 6 vCPUs may span both NUMA nodes, causing remote memory access latency. Setting numa.vcpu.preferHT = TRUE forces the NUMA scheduler to prefer hyperthreaded cores within a single NUMA node.
Question
An administrator is troubleshooting a performance problem with a virtual machine (VM). The VM and ESXi host configuration is as follows:
- The application which runs within the virtual machine is highly
sensitive to memory latency, but has low processor utilization.
- The virtual machine has 6 vCPUs.
- The ESXi host CPU topology has 2 Physical CPU Sockets, each with 8
Logical CPUs.
- The ESXi host CPU has Hyper Threading enabled.
The administrator would like to improve CPU performance for this VM. Other VMs on the host have no performance issues. Which action should the administrator take to resolve the issue?
Options
- ASet the Advanced Parameter numa.vcpu.preferHT = TRUE in the virtual machine configuration
- BSet the Advanced Parameter numa.vcpu.preferHT = FALSE in the virtual machine configuration
- CSet the Advanced Parameter numa.PreferHT = 1 in the ESXi host configuration file.
- DSet the Advanced Parameter numa.PreferHT = 0 in the ESXi host configuration file.
How the community answered
(42 responses)- A57% (24)
- B21% (9)
- C14% (6)
- D7% (3)
Why each option
The VM's 6 vCPUs may span both NUMA nodes, causing remote memory access latency. Setting numa.vcpu.preferHT = TRUE forces the NUMA scheduler to prefer hyperthreaded cores within a single NUMA node.
Setting numa.vcpu.preferHT = TRUE instructs the ESXi NUMA scheduler to prefer scheduling vCPUs on hyperthreaded siblings within the same NUMA node rather than spreading across nodes. With 8 logical CPUs per socket and HT enabled, all 6 vCPUs can fit within one NUMA node, eliminating costly cross-NUMA remote memory accesses that directly harm latency-sensitive workloads.
Setting numa.vcpu.preferHT = FALSE tells the scheduler to avoid hyperthreaded placements, which can force the 6 vCPUs to span both NUMA nodes and increase remote memory latency for the latency-sensitive application.
numa.PreferHT is not a valid ESXi host-level configuration parameter; the correct advanced setting is numa.vcpu.preferHT, which must be applied per-VM in the virtual machine's advanced configuration - not in the ESXi host config file.
numa.PreferHT = 0 is not a valid ESXi host configuration parameter, and host-level settings of this form cannot target the NUMA scheduling behavior needed for a specific VM.
Concept tested: vSphere NUMA scheduler Hyper-Threading preference per VM
Source: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.resmgmt.doc/GUID-AAABB3F2-C5A1-4927-A94B-C3DE27A4DD82.html
Topics
Community Discussion
No community discussion yet for this question.