Patent ID: 7945913

Claim:
A method comprising: creating a first virtual CPU and a second virtual CPU, wherein at least one of the first and second virtual CPUs spans across a first physical processing unit and a second physical processing unit; allocating to a first partition and a second partition one or more resources from the first and second virtual CPUs; waiting a predetermined period of time; determining whether at least one of the partitions is uncapped; determining whether the at least one of the partitions received more than an entitled capacity of the at least one of the partitions in the predetermined period of time; in response to determining that the at least one of the partitions received more than the entitled capacity in the predetermined period of time, setting a light load bit equal to a true state and determining whether a ratio of a number of runnable jobs to a number of virtual CPUs is greater than 1; in response to determining that the ratio of the number of runnable jobs to the number of virtual CPUs is greater than 1, querying a resource management unit for a number of idle physical CPUs; determining whether the number of idle physical CPUs is greater than 1; in response to determining that the number of idle physical CPUs is greater than 1, requesting an additional virtual CPU from the resource management unit; reallocating to the first partition one or more resources from the first virtual CPU and one or more resources from the second virtual CPU, wherein at least one of the resources was previously allocated to the second partition; and increasing a number of borrowed CPUs.