Background task resource control
First Claim
1. A computing system comprising:
- one or more processors;
one or more hardware storage device having stored computer-executable instructions which are executable by the one or more processors for causing the computing system to;
assign an application resource pool to an application with a predetermined quantity of available consumable resource units associated with a resource available to the computing system for consumption by one or more tasks of the application;
determine that the assigned application resource pool is exhausted in response to determining that all of the available consumable resource units associated with the assigned application resource pool are consumed by the one or more tasks of the application and that there are no available consumable resource units remaining in the application resource pool; and
restrict the one or more tasks of the application from utilizing the resource in response to determining that the assigned application resource pool is exhausted.
2 Assignments
0 Petitions
Accused Products
Abstract
Among other things, one or more techniques and/or systems are provided for controlling resource access for background tasks. For example, a background task created by an application may utilize a resource (e.g., CPU cycles, bandwidth usage, etc.) by consuming resource allotment units from an application resource pool. Once the application resource pool is exhausted, the background task is generally restricted from utilizing the resource. However, the background task may also utilize global resource allotment units from a global resource pool shared by a plurality of applications to access the resource. Once the global resource pool is exhausted, unless the background task is a guaranteed background task which can consume resources regardless of resource allotment states of resource pools, the background task may be restricted from utilizing the resource until global resource allotment units within the global resource pool and/or resource allotment units within the application resource pool are replenished.
-
Citations
20 Claims
-
1. A computing system comprising:
-
one or more processors; one or more hardware storage device having stored computer-executable instructions which are executable by the one or more processors for causing the computing system to; assign an application resource pool to an application with a predetermined quantity of available consumable resource units associated with a resource available to the computing system for consumption by one or more tasks of the application; determine that the assigned application resource pool is exhausted in response to determining that all of the available consumable resource units associated with the assigned application resource pool are consumed by the one or more tasks of the application and that there are no available consumable resource units remaining in the application resource pool; and restrict the one or more tasks of the application from utilizing the resource in response to determining that the assigned application resource pool is exhausted. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. One or more hardware storage device having stored computer-executable instructions which are executable by one or more processors of a computing system to cause the computing system to:
-
assign an application resource pool to an application, the assigned application resource pool having a predetermined quantity of available consumable resource units associated with a resource for consumption by one or more tasks of the application, wherein consumption of all the available consumable resource units by the one or more tasks of the application causes an exhaustion of the assigned application resource pool; determine that the assigned application resource pool is exhausted in response to all of the available consumable resource units associated with the assigned application resource pool being consumed and that there are no available consumable resource units remaining in the assigned application resource pool; and restrict the one or more tasks of the application from utilizing the resource in response to determining that the assigned application resource pool is exhausted.
-
-
20. A method implemented by a computing system for controlling resource access for background tasks, comprising:
-
assigning an application resource pool to an application, the assigned application resource pool having a predetermined quantity of available consumable resource units associated with a resource for consumption by one or more tasks of the application, wherein consumption of all the available consumable resource units by the one or more tasks of the application causes an exhaustion of the assigned application resource pool; determining that the assigned application resource pool is exhausted in response to all of the available consumable resource units associated with the assigned application resource pool being consumed and that there are no available consumable resource units remaining in the assigned application resource pool; and restricting the one or more tasks of the application from utilizing the resource in response to determining that the assigned application resource pool is exhausted.
-
Specification