Patent ID: 8856784

Claim:
A method for dividing computing resources of a plurality of host computers among a plurality of virtual machines (VMs), the method comprising: calculating a plurality of candidate values for entitlement-per-share based on entitlement data received from the plurality of host computers, wherein the entitlement data comprises reservation values, shares values, and limit values associated with the plurality of VMs executing on the plurality of host computers, and wherein the plurality of candidate values for entitlement-per-share comprises a range of values bounded by a floor value calculated based on a total capacity value of computing resources of the plurality of host computers, a sum of said reservation values, a sum of said shares values, and a minimum value of ratios, each of which is a ratio of a reservation value to a shares value for one of the plurality of VMs, and a ceiling value calculated based on a maximum value of ratios, each of which is a ratio of a limit value to a shares value for one of the plurality of VMs; determining an entitlement-per-share factor that causes a sum of simulated VM entitlement values to be associated with the total capacity value of computing resources of the plurality of host computers; and causing each host computer in the plurality of host computers to calculate a VM entitlement value for each VM executing on the host computer based on the entitlement-per-share factor, wherein the entitlement-per-share factor specifies an amount of the computing resources each VM executing on the host computer receives based on a shares value associated with each VM.