Patent ID: 7571438

Claim:
In a computer system having a first set of resources and a second set of resources including an amount of each resource, wherein the amount being specified in terms of units specific to each resource in the set of resources and a resource planner for granting reservations of amounts of currently available resource to activities, a computer implemented method comprising: submitting by an activity a request for a reservation of the second set of resources in specified amounts to the resource planner; determining at the resource planner that the request cannot be granted; returning from the resource planner to the activity a list, the list including an amount of each currently available resource that satisfied the resource reservation request and an amount of each currently available resource that did not satisfy the resource reservation request, the amounts being specified in terms of units specific to each resource in the set of resources; determining at the activity whether the amounts of each currently available resource satisfy the resource reservation request and will allow the activity to execute predictably; executing the activity when the resource reservation request is satisfied, otherwise, when the amount of each currently available resource does not satisfy the resource reservation request, reformulating the request for a reservation of the set of resources to new specified requested amounts using the amounts of each currently available resource in the list; resubmitting the reformulated request to the resource planner; executing the activity using the new amounts; and in view of changing resource usage or requirements, renegotiating between the resource planner and the activity to change the resource reservation to reflect the changing resource usage or requirement, wherein the method is implemented with a processor.