Patent ID: 8719831

Claim:
A computer readable storage medium not comprising a propagating signal, the computer readable storage medium storing computer-executable instructions that, when executed by at least one computer system, perform a method comprising: accessing a first policy of a first scheduler, the first policy being added to a process executing on the at least one computer system, the first policy including a first priority, a minimum limit, and a maximum limit of resources allocable to the first scheduler; defining an initial allocation of resources to the first scheduler based on the first policy; determining that the defined initial allocation of resources to the first scheduler based on the first policy results in a fractional allocation of resources to the first scheduler; responsive to the determination, adjusting the defined initial allocation of resources to the first scheduler to a next higher non-fractional value consistent with the first policy; providing the adjusted initial allocation of resources to the first scheduler; receiving statistics from the first scheduler, the statistics including a number of tasks received and a number of tasks completed by the first scheduler during a specified time interval; processing the received statistics to determine a rate of change of uncompleted tasks of the first scheduler during the specified time interval; determining, based at least in part on the determined rate of change of uncompleted tasks, if the first scheduler would benefit from allocation of additional resources; and responsive to the determining that the first scheduler would benefit from allocation of additional resources, allocating additional resources to the first scheduler from a set of resources allocated to one or more second schedulers, the set having more resources than a minimum limit of resources allocable to the one or more second schedulers.