nerdexam
Broadcom-VMware

2V0-621 · 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 consistentl

The correct answer is C. The virtual machine has CPU affinity configured.. CPU affinity pins the VM to specific logical CPUs, saturating those CPUs while others sit idle and driving %RDY above 10% as the VM waits for its assigned CPU.

Section 7 – Administer and Analyze vSphere 6.x 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

(31 responses)
  • A
    13% (4)
  • B
    6% (2)
  • C
    58% (18)
  • D
    23% (7)

Why each option

CPU affinity pins the VM to specific logical CPUs, saturating those CPUs while others sit idle and driving %RDY above 10% as the VM waits for its assigned CPU.

AThe virtual machine has a CPU limit configured.

A CPU limit throttles total CPU consumption across all eligible CPUs rather than pinning execution to one, so other logical CPUs would also show elevated usage instead of sitting near 0%.

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

Configuring SMP in the guest OS enables the guest to utilize multiple vCPUs simultaneously, which would spread load across multiple logical CPUs rather than concentrating it on CPU0.

CThe virtual machine has CPU affinity configured.Correct

CPU affinity restricts which physical CPUs a VM's vCPUs are allowed to run on. When CPU0 is the only CPU in the affinity set and is fully saturated, the VM is forced to wait for CPU0 to become available rather than being scheduled on any idle CPU, producing both the single-CPU saturation and the elevated %RDY seen in esxtop.

DThe virtual machine is configured with a CPU reservation.

A CPU reservation guarantees a minimum CPU allocation to the VM but does not restrict which physical CPUs it may run on, so it would not cause other CPUs to idle.

Concept tested: CPU affinity effect on esxtop %RDY and CPU distribution

Source: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.resmgmt.doc/GUID-D31BD47F-3C1F-4909-9706-3905D54B6B17.html

Topics

#esxtop#CPU affinity#%RDY#CPU scheduling

Community Discussion

No community discussion yet for this question.

Full 2V0-621 Practice