Apparatus and method for detecting resource consumption and preventing workload starvation
AssigneeHewlett-Packard Development Company, L.P.
InventorsGary S. Smith, Milford L. Hazlet
Life of this patent
Estimating the term…
Abstract
In an embodiment of the invention, an apparatus and method for detecting resource consumption and preventing workload starvation, are provided. The apparatus and method perform the acts including: receiving a query; determining if the query will be classified as a resource intense query, based on a number of passes by a cache call over a data blocks set during a time window, where the cache call is associated with the query; and if the query is classified as a resource intense query, then responding to prevent workload starvation.
Claims26
A method for detecting resource consumption and preventing workload starvation, the method comprising:
- receiving a query for reading data from a data blocks set;
- determining if the query will be classified as a resource intense query, wherein the determining is based on a number of read passes by a cache call over the data blocks set during a time window, wherein the determining further comprises comparing the number of read passes over the data blocks set with a pass threshold value during the time window, wherein a value of the time window is dependent on a data size of the data blocks set, and wherein the cache call is associated with the query;
- and
- if the query is classified as a resource intense query, then responding to prevent workload starvation.
An apparatus for detecting resource consumption and preventing workload starvation, the apparatus comprising:
- a central processing unit;
- a data access manager configured
- to receive a query for reading data from a data blocks set,
- to determine if the query will be classified as a resource intense query, wherein the determining is based on a number of read passes by a cache call over the data blocks set during a time window, wherein the determining further comprises comparing the number of read passes over the data blocks set with a pass threshold value during the time window, wherein a value of the time window is dependent on a data size of the data blocks set, and wherein the cache call is associated with the query, and
- to respond to prevent workload starvation if the query is classified as a resource intense query.
An article of manufacture comprising:
- a non-transitory machine-readable medium having stored thereon instructions to:
- receive a query for reading data from a data blocks set;
- determine if the query will be classified as a resource intense query, wherein the determining is based on a number of read passes by a cache call over the data blocks set during a time window, wherein the determining further comprises comparing the number of read passes over the data blocks set with a pass threshold value during the time window, wherein a value of the time window is dependent on a data size of the data blocks set, and wherein the cache call is associated with the query;
- and
- respond to prevent workload starvation, if the query is classified as a resource intense query.
An apparatus for detecting resource consumption and preventing workload starvation, the apparatus comprising:
- a central processing unit;
- means for receiving a query for reading data from a data blocks set;
- means for determining if the query will be classified as a resource intense query, wherein the determining is based on a number of read passes by a cache call over the data blocks set during a time window, wherein the determining further comprises comparing the number of read passes over the data blocks set with a pass threshold value during the time window, wherein a value of the time window is dependent on a data size of the data blocks set, and wherein the cache call is associated with the query;
- and
- means for responding to prevent workload starvation, if the query is classified as a resource intense query.
Dependencies are inferred from the claim text.