An administrator is troubleshooting a performance issue where a VM is not receiving the expected CPU resources. The VM is a member of a resource pool with a CPU Shares value of 2000. The host has two other resource pools: one with 1000 shares and another with 500 shares. All resource pools are competing for CPU. The VM's reservation is set to 2 GHz, and the host has 8 GHz available. What is the minimum CPU allocation the VM is guaranteed?
Trap 1: 4 GHz (based on share ratio)
Shares determine relative entitlement only during contention, not an absolute guaranteed figure, so 4 GHz is not guaranteed. Deriving a value from the 2000:1000:500 ratio is tempting, but the reservation of 2 GHz is the actual guaranteed minimum.
Trap 2: 8 GHz (all host CPU)
A reservation guarantees only the configured 2 GHz; shares govern contention beyond reservations, so the VM cannot be guaranteed the entire 8 GHz host capacity. Claiming all host CPU is tempting when the VM holds the largest share count, but shares never promise total host resources.
Trap 3: 0 GHz (no guarantee without reservation)
The VM's explicit 2 GHz reservation guarantees that amount regardless of shares, so zero is wrong. Assuming no reservation exists is tempting because shares alone provide no minimum, but here a reservation is configured, making 2 GHz the guaranteed floor.
- A
4 GHz (based on share ratio)
Why it fails: Shares determine relative entitlement only during contention, not an absolute guaranteed figure, so 4 GHz is not guaranteed. Deriving a value from the 2000:1000:500 ratio is tempting, but the reservation of 2 GHz is the actual guaranteed minimum.
- B
2 GHz
A reservation is a guaranteed minimum, not a share-based entitlement. The VM's 2 GHz reservation is fully covered by the host's 8 GHz capacity, so regardless of the competing resource pools' shares, the VM is guaranteed at least 2 GHz.
- C
8 GHz (all host CPU)
Why it fails: A reservation guarantees only the configured 2 GHz; shares govern contention beyond reservations, so the VM cannot be guaranteed the entire 8 GHz host capacity. Claiming all host CPU is tempting when the VM holds the largest share count, but shares never promise total host resources.
- D
0 GHz (no guarantee without reservation)
Why it fails: The VM's explicit 2 GHz reservation guarantees that amount regardless of shares, so zero is wrong. Assuming no reservation exists is tempting because shares alone provide no minimum, but here a reservation is configured, making 2 GHz the guaranteed floor.