Method and apparatus for determining data center resource availablilty using multiple time domain segments
First Claim
1. A method in a data processing system for determining data center resources availability, the method comprising:
- responsive to a query for a list of resource availabilities, creating a set of segments for a list of reservations;
determining, for each segment in the set, if resources are available based on a number of required resources of the query;
if resources are available, combining adjacent reservations and removing from the list of resource availabilities reservations having shorter durations than duration of the query to form a final list of resource availabilities; and
returning the final list of resource availabilities.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, an apparatus, and computer instructions are provided for determining data center resource availability using multiple time domain segments. A reservation class is provided that includes a start time, duration and the number of units required. A scheduled resource class is provided with an availability and an available method. The availability method creates a set of segments for a list of reservations and iterates each segment to determine whether there are enough resources for the required units. The availability method then combines all adjacent reservations and removes reservations that are too short for the duration. The available method provides a way for user to determine if resources are available at and for a given time. A composite resource class is also provided for more than one scheduled resource with an availability and available method.
58 Citations
19 Claims
-
1. A method in a data processing system for determining data center resources availability, the method comprising:
-
responsive to a query for a list of resource availabilities, creating a set of segments for a list of reservations;
determining, for each segment in the set, if resources are available based on a number of required resources of the query;
if resources are available, combining adjacent reservations and removing from the list of resource availabilities reservations having shorter durations than duration of the query to form a final list of resource availabilities; and
returning the final list of resource availabilities. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 16, 17, 18)
-
-
10. A data processing system comprising:
-
a bus;
a memory connected to the bus, wherein a set of instructions are located in the memory; and
a processing unit connected to the bus, wherein the processing unit executes the set of instructions to create a set of segments for a list of reservations;
determine, for each segment in the set, if resources are available based on a number of required resources of the query;
combine adjacent reservations and remove from the list of resource availabilities reservations having shorter durations than duration of the query if resources are available to form a final list of resource availabilities; and
return the final list of resource availabilities. - View Dependent Claims (11, 12, 13, 14)
-
-
15. A computer program product in a computer readable medium for determining data center resources availability, the computer program product comprising:
-
first instructions for creating a set of segments for a list of reservations responsive to a query for a list of resource availabilities;
second instructions for determining, for each segment in the set, if resources are available based on a number of required resources of the query;
third instructions for combining adjacent reservations and removing from the list of resource availabilities reservations having shorter durations than duration of the query if resources are available to form a final list of resource availabilities; and
fourth instructions for returning the final list of resource availabilities. - View Dependent Claims (19)
-
Specification