Allocation of resources for tiers of a multi-tiered system based on selecting items from respective sets
First Claim
Patent Images
1. A method comprising:
- defining, for a multi-choice knapsack problem, plural sets of items corresponding to plural tiers of a multi-tiered system, the items of each of the plural sets representing different amounts of resources to allocate to a corresponding one of the tiers, the defining comprising associating weights and costs with respective items, wherein a weight represents a response time for the amount of resources represented by the corresponding item, and a cost represents a cost of the amount of resources represented by the corresponding item, and wherein increasing the amount of resources allocated to each of the tiers causes a capacity of the corresponding tier to increase, wherein the amounts of resources are selected from the group consisting of;
(1) numbers of servers, and (2) numbers of central processing units (CPUs);
selecting, by one or more processors, items from the respective sets based on a response time constraint and a target cost, an item selected from a first of the plural sets specifying a respective amount of resources to allocate to a first of the plural tiers, and an item selected from a second of the plural sets specifying a respective amount of resources to allocate to a second of the plural tiers, the first set containing items for the first tier, and the second set containing items for the second tier;
providing, by the one or more processors, information pertaining to allocation of amounts of resources for the respective tiers based on the selected items;
scaling the costs in the sets, wherein scaling the costs comprises;
dividing the costs by a factor, wherein the costs divided by the factor produce fractional numbers,rounding up the fractional numbers to provide the scaled costs; and
removing items having duplicate scaled costs to reduce sizes of the sets.
4 Assignments
0 Petitions
Accused Products
Abstract
Plural sets of items corresponding to plural tiers of a multi-tiered system are defined, where the items represent amounts of resources to allocate to the tiers. Items from respective sets are selected based on a response time constraint and a target cost. Information is provided pertaining to allocation of amounts of resources to the respective tiers based on the selected items.
35 Citations
16 Claims
-
1. A method comprising:
-
defining, for a multi-choice knapsack problem, plural sets of items corresponding to plural tiers of a multi-tiered system, the items of each of the plural sets representing different amounts of resources to allocate to a corresponding one of the tiers, the defining comprising associating weights and costs with respective items, wherein a weight represents a response time for the amount of resources represented by the corresponding item, and a cost represents a cost of the amount of resources represented by the corresponding item, and wherein increasing the amount of resources allocated to each of the tiers causes a capacity of the corresponding tier to increase, wherein the amounts of resources are selected from the group consisting of;
(1) numbers of servers, and (2) numbers of central processing units (CPUs);selecting, by one or more processors, items from the respective sets based on a response time constraint and a target cost, an item selected from a first of the plural sets specifying a respective amount of resources to allocate to a first of the plural tiers, and an item selected from a second of the plural sets specifying a respective amount of resources to allocate to a second of the plural tiers, the first set containing items for the first tier, and the second set containing items for the second tier; providing, by the one or more processors, information pertaining to allocation of amounts of resources for the respective tiers based on the selected items; scaling the costs in the sets, wherein scaling the costs comprises; dividing the costs by a factor, wherein the costs divided by the factor produce fractional numbers, rounding up the fractional numbers to provide the scaled costs; and removing items having duplicate scaled costs to reduce sizes of the sets. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A method comprising:
-
defining, for a multi-choice knapsack problem, plural sets of items corresponding to plural tiers of a multi-tiered system, the items representing corresponding numbers of servers to allocate to the tiers, the defining comprising associating weights and costs with respective items, wherein a weight represents a response time for the number of servers represented by the corresponding item, and a cost represents a cost of the number of servers represented by the corresponding item, each of the items of a first of the plural sets representing a corresponding different number of servers to allocate to a first of the tiers, and each of the items of a second of the plural sets representing a corresponding different number of servers to allocate to a second of the tiers; selecting, based on solving the multi-choice knapsack problem by one or more processors, items from the respective sets based on a response time constraint and a target cost, wherein the selecting is based on an objective to pick one item from each of the plural sets according to an aggregate calculated on attribute values associated with corresponding ones of the items; providing, by the one or more processors, information pertaining to allocation of numbers of servers for the respective tiers based on the selected items; scaling the costs in the sets, wherein scaling the costs comprises; dividing the costs by a factor, wherein the costs divided by the factor produce fractional numbers, rounding up the fractional numbers to provide the scaled costs; and removing items having duplicate scaled costs to reduce sizes of the sets.
-
-
14. A non-transitory machine-readable storage medium storing instructions that when executed effect resource allocation for a system having plural tiers, the resource allocation comprising:
-
providing, for a multi-choice knapsack problem, plural sets of items corresponding to the plural tiers of the system, wherein the items represent corresponding numbers of servers to allocate to the corresponding tiers, the defining comprising associating weights and costs with respective items, wherein a weight represents a response time for the number of servers represented by the corresponding item, and a cost represents a cost of the number of servers represented by the corresponding item; selecting, based on solving the multi-choice knapsack problem, items from the respective sets based on a response time constraint and a target cost; providing information pertaining to allocation of numbers of servers to respective ones of the plural tiers based on the selected items; and scaling the costs in the sets, wherein scaling the costs comprises; dividing the costs by a factor, wherein the costs divided by the factor produce fractional numbers, rounding up the fractional numbers to provide the scaled costs; and removing items having duplicate scaled costs to reduce sizes of the sets. - View Dependent Claims (15)
-
-
16. A system comprising:
-
at least one processor; and a resource allocation module executable on the at least one processor to; define, for a multi-choice knapsack problem, plural sets of items corresponding to plural tiers of a multi-tiered system, the items of each of the plural sets representing different amounts of resources to allocate to a corresponding one of the respective tiers, the defining comprising associating weights and costs with respective items, wherein a weight represents a response time for the amount of resources represented by the corresponding item, and a cost represents a cost of the amount of resources represented by the corresponding item, and wherein increasing the amount of resources allocated to each of the tiers causes a capacity of the corresponding tier to increase, and wherein a first of the plural sets contains items for a first of the plural tiers, and a second of the plural sets contains items for a second of the plural tiers; select, by solving the multi-choice knapsack problem, items from respective sets based on a response time constraint time and an optimal cost, wherein an item selected from the first set specifies a respective amount of resources to allocate to the first tier, and wherein an item selected from the second set specifies a respective amount of resources to allocate the a second tier; provide information pertaining to allocation of amounts of resources to the respective tiers based on the selected items; scaling the costs in the sets, wherein scaling the costs comprises; dividing the costs by a factor, wherein the costs divided by the factor produce fractional numbers, rounding up the fractional numbers to provide the scaled costs; and removing items having duplicate scaled costs to reduce sizes of the sets.
-
Specification