Patent ID: 8667494

Claim:
A method for allocating resources comprising: providing two consumer processes using two resources; providing a first threshold of a first of said resources for a first of said two consumer processes; providing a second threshold of a second of said resources for said first consumer process; receiving consumption information regarding actual consumption of said two resources by said first consumer process; scheduling execution of said first consumer process in accordance with said first and said second thresholds and said consumption information; periodically performing first processing to determine whether to adjust the second threshold, said first processing comprising: receiving second consumption information regarding actual consumption of said second resource by a second of said two consumer processes; determining a first amount of said second resource currently available for use by said second consumer process, said first amount being determined based on a difference between a total amount of the second resource for allocation between the two consumer processes and said second threshold; and determining whether to decrease said second threshold by performing second processing, said second processing including: comparing said first amount to said second consumption information regarding actual consumption of the second resource by the second consumer process; determining whether there is at least a minimum amount of difference between the first amount identifying an amount of the second resource currently available for use by the second consumer process if the first consumer process consumes a maximum limit of the second resource as specified by the second threshold and the second consumption information identifying actual consumption of the second resource by the second consumer process, wherein said minimum amount of difference is greater than zero; and if it is determined that there is not at least the minimum amount of difference, decreasing said second threshold denoting a maximum limit of the second resource allowable for allocation by the first consumer process whereby scheduled execution time of the first consumer process is adjusted.