nerdexam
Broadcom-VMware

2V0-622 · 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 highl

The correct answer is A. Set the Advanced Parameter numa.vcpu.preferHT = TRUE in the virtual machine configuration. The VM's 6 vCPUs risk being scheduled across both NUMA nodes on a 2-socket host, causing cross-NUMA memory latency for an application sensitive to it. Setting numa.vcpu.preferHT=TRUE in the VM's advanced configuration directs the NUMA scheduler to keep vCPUs on Hyper-Threading si

Section 7 – Administer and Analyze vSphere 6.5 Performance

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

(33 responses)
  • A
    61% (20)
  • B
    21% (7)
  • C
    6% (2)
  • D
    12% (4)

Why each option

The VM's 6 vCPUs risk being scheduled across both NUMA nodes on a 2-socket host, causing cross-NUMA memory latency for an application sensitive to it. Setting numa.vcpu.preferHT=TRUE in the VM's advanced configuration directs the NUMA scheduler to keep vCPUs on Hyper-Threading siblings within a single NUMA node.

ASet the Advanced Parameter numa.vcpu.preferHT = TRUE in the virtual machine configurationCorrect

Setting numa.vcpu.preferHT=TRUE in the virtual machine's advanced parameters instructs the vSphere NUMA scheduler to prefer placing the VM's vCPUs on Hyper-Threading sibling logical CPUs that reside within the same physical socket. This prevents vCPUs from being distributed across both NUMA nodes, eliminating the remote memory accesses that increase latency for the memory-sensitive application.

BSet the Advanced Parameter numa.vcpu.preferHT = FALSE in the virtual machine configuration

Setting numa.vcpu.preferHT=FALSE is essentially the default behavior and disables HT-preference scheduling, meaning vCPUs remain free to spread across both NUMA nodes and cross-NUMA memory latency continues.

CSet the Advanced Parameter numa.PreferHT = 1 in the ESXi host configuration file.

numa.PreferHT is not a recognized ESXi host-level configuration parameter; the correct advanced parameter is numa.vcpu.preferHT and it must be set in the individual VM's advanced settings, not in the host configuration file.

DSet the Advanced Parameter numa.PreferHT = 0 in the ESXi host configuration file.

Setting numa.PreferHT=0 in the ESXi host configuration is not a valid mechanism for controlling per-VM NUMA HT scheduling, and even if it were interpreted, a value of 0 would disable the feature rather than enable it.

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-CF2A8059-8DAE-4F49-8D38-2B05DED1B03C.html

Topics

#NUMA#HyperThreading#vCPU performance#advanced parameters

Community Discussion

No community discussion yet for this question.

Full 2V0-622 Practice