nerdexam
Broadcom-VMware

2V0-622 · Question #165

An administrator is troubleshooting a CPU issue for a virtual machine. The following is seen in esxtop: -CPU0 is at 100% usage -The remaining logical CPUs are close to 0% -%RDY value is consistently a

The correct answer is C. The virtual machine has CPU affinity configured.. CPU affinity pins a VM's vCPUs to specific physical CPUs, causing one CPU to be fully saturated while others remain idle and driving up the %RDY counter.

Section 7 – Administer and Analyze vSphere 6.5 Performance

Question

An administrator is troubleshooting a CPU issue for a virtual machine. The following is seen in esxtop:

-CPU0 is at 100% usage -The remaining logical CPUs are close to 0% -%RDY value is consistently above 10% What is likely the cause of the CPU issue?

Options

  • AThe virtual machine has a CPU limit configured.
  • BThe virtual machine's guest operating system is configured for SMP.
  • CThe virtual machine has CPU affinity configured.
  • DThe virtual machine is configured with a CPU reservation.

How the community answered

(24 responses)
  • A
    13% (3)
  • B
    25% (6)
  • C
    58% (14)
  • D
    4% (1)

Why each option

CPU affinity pins a VM's vCPUs to specific physical CPUs, causing one CPU to be fully saturated while others remain idle and driving up the %RDY counter.

AThe virtual machine has a CPU limit configured.

A CPU limit caps the VM's total CPU consumption but does not bind it to a single physical CPU, so it would not cause one CPU to be maxed while all others sit at 0%.

BThe virtual machine's guest operating system is configured for SMP.

Enabling SMP in the guest OS causes the OS to schedule work across multiple CPUs, which is the opposite of the observed behavior where only one CPU is fully utilized.

CThe virtual machine has CPU affinity configured.Correct

CPU affinity restricts which physical CPUs the ESXi scheduler can use for the VM's vCPUs. If affinity is pinned to a single logical CPU such as CPU0, the scheduler cannot distribute the workload to other available CPUs regardless of their idle state. The consistently elevated %RDY confirms the VM is waiting for its pinned CPU to become free rather than being placed on an available one.

DThe virtual machine is configured with a CPU reservation.

A CPU reservation guarantees a minimum CPU entitlement for the VM but places no constraint on which physical CPUs the scheduler may use, so it would not produce single-CPU saturation.

Concept tested: VMware CPU affinity impact on scheduler and %RDY

Source: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-resource-management/GUID-BE0A8906-99EA-47B2-95B1-FA6E39CA4C87.html

Topics

#CPU affinity#esxtop#%RDY#CPU performance

Community Discussion

No community discussion yet for this question.

Full 2V0-622 Practice