Patent ID: 8484495

Claim:
A computer program product for dispatching a task in a computer system, the computer program product comprising: a non-transitory storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising: receiving a task for execution in a high power state; determining a current power state of a processor, the processor one of a plurality of processors in a multi-processor system, the multi-processor system having a specified power limit; dispatching the task to the processor based on determining that the current power state of the processor is the high power state; and based on determining that the current power state of the processor is not the high power state: determining if moving the processor into the high power state will cause the multi-processor system to exceed the specified power limit, the determining based on the specified power limit and to current power states of the plurality of processors in the multi-processor system; moving the processor into the high power state based on determining that moving the processor into the high power state will not cause the multi-processor system to exceed the specified power limit; and dispatching the task to the processor based on the moving the processor into the high power state.