High Percentage CPU Utilization on Guest OS compared to VM's CPU Performance Charts in the vSphere Client UI
search cancel

High Percentage CPU Utilization on Guest OS compared to VM's CPU Performance Charts in the vSphere Client UI

book

Article ID: 434870

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

  • Virtual machines (VMs) report sustained high CPU utilization (often near 100%) within the Guest OS, while vCenter performance charts and esxtop show significantly lower CPU utilization (e.g., 20%).

  • Symptoms:
    • Guest OS reports 100% CPU usage; vCenter reports ~20% for the same VM.
    • Application performance is sluggish on the affected host but normal after vMotion to a different host.
    • The CPU Ready percentage metric remains below 2%, indicating no CPU contention at the hypervisor level.
    • esxtop analysis (option 'p') reveals:
      • P-STATE analysis shows all physical cores locked in a lower power state (e.g., P12 at 1000 MHz).
      • Metric comparison shows %UTIL near 100% while %USED is approximately 5-6%, confirming the processor is saturated at a throttled frequency.

Environment

  • VMware vSphere ESXi 7.x
  • VMware vSphere ESXi 8.x
  • VMware vSphere ESXi 9.x

Cause

  • The physical host hardware enforces a Power Cap or Hardware Throttling fail-safe. This occurs when the server's Baseboard Management Controller (BMC) detects a loss of power redundancy (PSU failure), thermal overheating, or a restrictive BIOS power profile.
  • The CPU frequency is forced to its lowest state to reduce wattage, causing the Guest OS to consume all available (throttled) cycles while vCenter calculates usage against the hardware's maximum unthrottled frequency.

Resolution

  1. Validate Host Power Policy:
    • In the vSphere Client, navigate to Host > Configure > Hardware > Power Management.
    • Set the policy to High Performance.

  2. Hardware Health Audit:
    • Log into the hardware management console (iDRAC, iLO, CIMC).
    • Check the System Event Log (SEL) for Power Supply (PSU) failures or thermal events.
    • If a PSU failure is detected, contact the hardware vendor to replace the faulty unit.

  3. BIOS Configuration:
    • Reboot the host and enter BIOS settings.
    • Ensure "Power Cap" or "Limit CPU Frequency" settings are disabled.
    • Verify the System Profile is set to Performance.

  4. Verification:
    • Run esxtop and press p.
    • Add the %A/MPERF column (press f, then f, then Enter).
    • Verify the value is 100 or higher (indicating Turbo Boost is active).

Additional Information