Resource manager architecture
First Claim
1. In a computing system having multiple resources, a method to determine if a set of resources can be reserved for a new activity, the method comprising:
- receiving a request for the new activity from a resource consumer, the new activity identifying at least one resource;
constructing an activity list that includes existing activities that have reserved resources and the new activity being created;
constructing at least one resource list that is directed to the at least one resource identified in the new activity, the resource list including one or more resource descriptors that are currently reserved for the existing activities or that are requested for the new activity;
determining an amount of the resource that is used by the activities in the activity list by calling a resource provider associated with the resource to which the resource list is directed; and
in an event that the resource is insufficient to satisfy each of the activities in the activity list, identifying at least one activity for which there is an insufficient amount of the resource.
3 Assignments
0 Petitions
Accused Products
Abstract
Resource management architectures implemented in computer systems to manage resources are described. In one embodiment, a general architecture includes a resource manager and multiple resource providers that support one or more resource consumers such as a system component or application. Each provider is associated with a resource and acts as the manager for the resource when interfacing with the resource manager. The resource manager arbitrates access to the resources provided by the resource providers on behalf of the consumers. A policy manager sets various policies that are used by the resource manager to allocate resources. One policy is a priority-based policy that distinguishes among which applications and/or users have priority over others to use the resources. A resource consumer creates an “activity” at the resource manager and builds one or more “configurations” that describe various sets of preferred resources required to perform the activity. Each resource consumer can specify one or more configurations for each activity. If multiple configurations are specified, the resource consumer can rank them according to preference. This allows the resource consumers to be dynamically changed from one configuration to another as operating conditions change.
-
Citations
20 Claims
-
1. In a computing system having multiple resources, a method to determine if a set of resources can be reserved for a new activity, the method comprising:
-
receiving a request for the new activity from a resource consumer, the new activity identifying at least one resource; constructing an activity list that includes existing activities that have reserved resources and the new activity being created; constructing at least one resource list that is directed to the at least one resource identified in the new activity, the resource list including one or more resource descriptors that are currently reserved for the existing activities or that are requested for the new activity; determining an amount of the resource that is used by the activities in the activity list by calling a resource provider associated with the resource to which the resource list is directed; and in an event that the resource is insufficient to satisfy each of the activities in the activity list, identifying at least one activity for which there is an insufficient amount of the resource. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A computer-readable medium comprising computer executable instructions that, when executed by a processor, direct a computer system to determine if a set of resources can be reserved for a new activity by performing acts comprising:
-
receiving a request for the new activity from a resource consumer, the new activity identifying at least one resource; constructing an activity list that includes existing activities that have reserved resources and the new activity being created; constructing at least one resource list that is directed to the at least one resource identified in the new activity, the resource list including one or more resource descriptors that are currently reserved for the existing activities or that are requested for the new activity; determining an amount of the resource that is used by the activities in the activity list by calling a resource provider associated with the resource to which the resource list is directed; and in an event that the resource is insufficient to satisfy each of the activities in the activity list, identifying at least one activity for which there is an insufficient amount of the resource.
-
-
20. A computing system to determine if a set of resources can be reserved for a new activity, the computing system comprising:
-
means for receiving a request for the new activity from a resource consumer, the new activity identifying at least one resource; means for constructing an activity list that includes existing activities that have reserved resources and the new activity being created; means for constructing at least one resource list that is directed to the at least one resource identified in the new activity, the resource list including one or more resource descriptors that are currently reserved for the existing activities or that are requested for the new activity; means for determining an amount of the resource that is used by the activities in the activity list by calling a resource provider associated with the resource to which the resource list is directed; and in an event that the resource is insufficient to satisfy each of the activities in the activity list, means for identifying at least one activity for which there is an insufficient amount of the resource.
-
Specification