System for power savings in server farms
First Claim
1. A method for controlling power consumption of a server, the method comprising:
- setting a limit of resource use for a first active server;
measuring the resource use of the first active server;
receiving a request for additional resource use;
when the measured resource use of the first active server plus the request for additional resource are in a predetermined relationship with a pre-active threshold of a first connection rate, theninitiating powering up of a inactive server into an active state in response to the measured resource use of the first active server achieving the pre-active threshold, the first connection rate of the pre-active threshold being less than a second connection rate of an active threshold , wherein said initiating powering up of the inactive server includes;
sending a power up signal to the inactive server to initiate powering up of the inactive server before the second connection rate of the active threshold is reached; and
upon reaching the pre-active threshold, initiating periodic keep alives to the inactive server to keep the inactive server powered up after the pre-active threshold is met and before the inactive server is activated to be assigned requests for additional resource use, wherein the periodic keep alives do not place the inactive server into an active state;
placing the inactive server into the active state as a second active server when the active threshold is met; and
assigning requests for additional resource use to the second active server.
1 Assignment
0 Petitions
Accused Products
Abstract
A threshold-based approach is used to assign tasks to servers in a server farm. A “number of connections” count or “connection rate” is maintained for an active server and when the count achieves a first value a wake up signal is sent to a next (inactive) server to alert the inactive server to become active and periodic keep alive signals are initiated. When the number of connections next reaches a second, higher value, subsequent requests for connections are sent to the newly active server. Variations of this approach allow for servers and their associated processes and devices to be handled in clusters for power management scaling efficiency. Servers can be placed in the inactive mode when the number of connections reaches a lower threshold. Other criteria can be used to determine activation of servers, processors or other devices or processes. Other types of resource use monitoring can also be used with this invention.
-
Citations
21 Claims
-
1. A method for controlling power consumption of a server, the method comprising:
-
setting a limit of resource use for a first active server; measuring the resource use of the first active server; receiving a request for additional resource use; when the measured resource use of the first active server plus the request for additional resource are in a predetermined relationship with a pre-active threshold of a first connection rate, then initiating powering up of a inactive server into an active state in response to the measured resource use of the first active server achieving the pre-active threshold, the first connection rate of the pre-active threshold being less than a second connection rate of an active threshold , wherein said initiating powering up of the inactive server includes; sending a power up signal to the inactive server to initiate powering up of the inactive server before the second connection rate of the active threshold is reached; and upon reaching the pre-active threshold, initiating periodic keep alives to the inactive server to keep the inactive server powered up after the pre-active threshold is met and before the inactive server is activated to be assigned requests for additional resource use, wherein the periodic keep alives do not place the inactive server into an active state; placing the inactive server into the active state as a second active server when the active threshold is met; and assigning requests for additional resource use to the second active server. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method for managing power among servers in a server farm, the method comprising:
-
predetermining a threshold limit on the number of connections for a first server in the server farm; monitoring the first server to determine when a number of connections being handled by the first server is near the threshold limit; powering up a second server from a low-power state to a active state when the first server'"'"'s number of connections is near the threshold limit, wherein a particular server in the low-power state consumes energy at a lower rate than the particular server in the active state; initiating periodic keep alives to the second server being powered up to keep the second server powered up before the second server is activated to be assigned connections, wherein the periodic keep alives do not place the inactive server into an active state; activating the second server upon reaching the threshold limit; assigning connections to the second server; monitoring the second server to determine when its number of connections falls below a lower limit; and in response to the second server'"'"'s connections falling below the lower limit, placing the second server into the low-power state. - View Dependent Claims (16)
-
-
17. An apparatus for controlling power to servers, the apparatus comprising:
-
a computer processor coupled to a plurality of servers; a machine-readable storage medium coupled to the computer processor, wherein the machine-readable storage medium includes one or more instructions executable by the computer processor for; setting a limit of resource use for a first active server; measuring the resource use of the first active server; receiving a request for additional resource use; when the measured resource use of the first active server plus the request for additional resource are in a predetermined relationship with a pre-active threshold of a first connection rate, then initiating powering up of a inactive server into an active state in response to the measured resource use of the first active server achieving the pre-active threshold, the first connection rate of the pre-active threshold being less than a second connection rate of an active threshold, wherein said initiating powering up of the inactive server includes; sending a power up signal to the inactive server to initiate powering up of the inactive server before the second connection rate of the active threshold is reached; and upon reaching the pre-active threshold, initiating periodic keep alives to the inactive server to keep the inactive server powered up after the pre-active threshold is met and before the inactive server is activated to be assigned requests for additional resource use, wherein the periodic keep alives do not place the inactive server into an active state; placing the inactive server into an active state as a second active server when the active threshold is met; and assigning requests for additional resource use to the second active server.
-
-
18. A machine-readable storage medium including instructions executable by a computer processor, the machine-readable storage medium comprising:
-
one or more instructions for setting a limit of resource use for a first active server; one or more instructions for measuring the resource use of the first active server; one or more instructions for receiving a request for additional resource use; one or more instructions for when the measured resource use of the first active server plus the request for additional resource are in a predetermined relationship with a pre-active threshold of a first connection rate, then one or more instructions for initiating powering up of a inactive server into an active state in response to the measured resource use of the first active server achieving the pre-active threshold, the first connection rate of the pre-active threshold being less than an active threshold of a second connection rate, wherein said one or more instructions for initiating powering up of the inactive server includes; one or more instructions for sending a power up signal to the inactive server to initiate powering up of the inactive server before the second connection rate of active threshold is reached; and upon reaching the pre-active threshold, one or more instructions for initiating periodic keep alives to the inactive server being powered up to keep the inactive server powered up after the pre-active threshold is met and before the inactive server is activated to be assigned requests for additional resource use, wherein the periodic keep alives do not place the inactive server into an active state; and one or more instructions for placing the inactive server into an active state as a second active server when the active threshold is met; and one or more instructions for assigning requests for additional resource use to the second active server.
-
-
19. A method for controlling power consumption of servers in a group of servers, the method comprising:
-
assigning servers to an active pool or an inactive pool; setting a limit of resource use for the active pool; measuring the resource use of the active pool; receiving a request for additional resource use; when the measured resource use of the active pool plus the request for additional resource are in a predetermined relationship with a pre-active threshold of a first connection rate, then initiating powering up of at least one server into an active pool in response to the measured resource use of the active pool achieving the pre-active threshold, the first connection rate of the pre-active threshold being less than a second connection rate of an active threshold; subsequent to the step of initiating powering up of and before placing at least one server from the inactive pool into the active pool, initiating periodic keep alives to the at least one server to keep the at least one server powered up after activating the at least one server and before the at least one server is placed in the active pool to be assigned connections, wherein the periodic keep alives do not place the inactive server into an active state; placing the at least one server from the inactive pool into the active pool upon reaching the active threshold; and upon reaching the active threshold, assigning requests for additional resource use to the active pool, the active pool including the at least one server. - View Dependent Claims (20, 21)
-
Specification