2V0-622 · Question #164
An administrator observes the following symptoms for a virtual machine: -CPU usage is consistently above 90% -CPU ready value is consistently above 20%. -Application performance is impacted. Which…
The correct answer is C. Verify that VMware Tools is installed on every virtual machine on the host. D. Increase the CPU shares assigned to the virtual machine. CPU ready consistently above 20% indicates the VM is blocked in the run queue due to host-level CPU contention. Increasing the VM's CPU shares raises its scheduling priority, and ensuring VMware Tools is installed on all VMs reduces unnecessary CPU consumption by idle guests.
Question
An administrator observes the following symptoms for a virtual machine:
-CPU usage is consistently above 90% -CPU ready value is consistently above 20%. -Application performance is impacted. Which two actions should the administrator take to improve the performance of this virtual machine? (Choose two.)
Options
- AIncrease the number of vCPUs assigned to this virtual machine.
- BDecrease the number of vCPUs assigned to this virtual machine.
- CVerify that VMware Tools is installed on every virtual machine on the host.
- DIncrease the CPU shares assigned to the virtual machine.
How the community answered
(58 responses)- A36% (21)
- B19% (11)
- C45% (26)
Why each option
CPU ready consistently above 20% indicates the VM is blocked in the run queue due to host-level CPU contention. Increasing the VM's CPU shares raises its scheduling priority, and ensuring VMware Tools is installed on all VMs reduces unnecessary CPU consumption by idle guests.
Adding more vCPUs increases scheduling complexity because the hypervisor must find enough simultaneous free physical CPU threads to co-schedule all vCPUs together, which typically raises CPU ready time rather than reducing it under an already contended host.
Reducing vCPUs does not address the root cause of host-level CPU contention and may degrade application throughput if the workload legitimately relies on multiple vCPUs for parallel processing.
Without VMware Tools, guest OS idle loops perform a CPU spin-wait rather than issuing a halt instruction, causing idle VMs to consume physical CPU cycles they are not actively using; installing VMware Tools on every VM enables proper CPU halting so unused cycles are returned to the host scheduler, reducing contention and lowering the target VM's CPU ready time.
CPU shares determine a VM's relative priority in the ESXi CPU scheduler; increasing shares for this VM means it is scheduled ahead of lower-priority VMs during contention periods, directly reducing the time it spends waiting in the run queue and lowering the CPU ready metric.
Concept tested: Resolving high CPU ready via CPU shares and VMware Tools halt optimization
Source: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.monitoring.doc/GUID-0E10B2A6-DD16-48E2-9057-BC8FBDAB4E5B.html
Topics
Community Discussion
No community discussion yet for this question.