# Patent

## Title
Energy aware processing load distribution system and method

## Abstract

A method for controlling a data center, comprising a plurality of server systems, each associated with a cooling system and a thermal constraint, comprising: a concurrent physical condition of a first server system; predicting a future physical condition based on a set of future states of the first server system; dynamically controlling the cooling system in response to at least the input and the predicted future physical condition, to selectively cool the first server system sufficient to meet the predetermined thermal constraint; and controlling an allocation of tasks between the plurality of server systems to selectively load the first server system within the predetermined thermal constraint and selectively idle a second server system, wherein the idle second server system can be recruited to accept tasks when allocated to it, and wherein the cooling system associated with the idle second server system is selectively operated in a low power consumption state.

## Background
CROSS REFERENCE TO RELATED APPLICATION
The present application is a Continuation of U.S. patent application Ser. No. 12/841,169, filed Jul. 21, 2010, issued Jan. 14, 2014 as U.S. Pat. No. 8,631,411, which claims benefit of priority from U.S. Provisional Application No. 61/227,361, filed Jul. 21, 2009, the entirety of which are expressly incorporated herein by reference in their entirety.


FIELD OF THE INVENTION
The present invention relates to the field of server energy and cooling management.
BACKGROUND OF THE INVENTION
The data center energy crisis has been in the making for the past several decades, as data centers are designed primarily with peak performance and peak capacity in mind. With the doubling of transistor counts and performance in semiconductor devices at 18-month intervals following Moore's law, energy dissipation in servers have grown at an alarming rate. The smaller form factors of modern blade servers have, at the same time, permitted more and more servers to be packed into a given physical space, further worsening the already critical situation with server power dissipations within data centers. Adding to all of this is the trend to overprovision data center capacities and the use of overrated power supplies for the individual servers. Such over provisioning results in gross energy inefficiencies as servers and power supplies are generally designed to give very high energy efficiencies only at or near peak loading levels. The net result of all of these is that 50% and upwards of the total cost of ownership (TCO) for a data center is in the utility costs of operating and cooling the servers. From an economic standpoint, we spend about 2% of the nation's annual energy consumption on data centers. With electricity costs growing annually at about 7% to 10%, the situation is bleak and needs immediate correction with the use of innovative and dramatic solutions. The other benefits of operating energy-efficient data centers are of no less significance—reducing the carbon footprint and making the nation energy-secure are also worthy goals.
Traditional approaches to managing the data center energy crisis have been to use advanced cooling and packaging solutions, to use DC power sources for servers and a variety of other solutions at reducing the energy dissipation within servers. These latter solutions have included the use of dynamically changing the power-performance settings for individual server components, such as processors and hard disk drives, or on policy-based job scheduling that schedule the offered workload across servers to meet thermal objectives. The growing use of virtualization technologies in data center also supports flexible scheduling based energy management schemes. Virtually, all of these solutions are reactive in nature: energy management or cooling solutions are adjusted based on the feedback from sensors that sense temperature or some activity parameter (such as current computing load, performance metrics).
SUMMARY OF THE INVENTION
The present technology assumes, according to one embodiment, a holistic view of data centers as a cyberphysical system where the cooling solutions work in unison with the computing level solutions for energy management in a coordinated fashion. The total energy expended in the computing components and the energy expended in the cooling system is treated as a first class resource that needs to be scheduled explicitly to maximize the overall energy-efficiency of the data center. One embodiment of aspects of the technology is multi-tiered and includes:

    
    
        The use of fast models for predicting local and global thermal conditions to promote overall energy efficiency. The thermal models, in turn, are driven by empirical models of energy dissipation within servers and switches as a function of the measured values of a variety of actual activity counts. This approach of jointly using accurate energy dissipation models for the computing equipment and fast thermal models permit the cooling solutions (adjustment of inlet temperature, air flow speed and pattern) to be proactive.
        The use of a global scheduler to allocate individual energy budgets to servers as a function of the workload, the predicted thermal trend, actual server utilizations and temperature and airflow measurements from sensors. The cooling efforts are also matched to the predicted thermal trends and are rack specific, instead of being rack agnostic, as in traditional systems. Alternatively stated, the cooling efforts for a rack are directed, dynamic and matched to the thermal conditions in the rack's environment. This results in the most energy-efficient use of the cooling resources.
        The use of modified server operating system kernels that permit the individual servers to stay within their assigned energy consumption budget. Software solutions at the operating system kernel level exercise existing power management actuators inside the processor and other components of servers in a proactive fashion to stay within the dictated energy budget and in a reactive fashion based on the thermal condition of its environment. Thus, the system uses a predictive model of the thermal conditions based on analysis of a set of “tasks” or other prospective activities, as well as a feedback driven control which employs sensors or indicia or actual conditions. The predictive model may be adaptive, that is, the predictive model may be modified in dependence on the actual outcomes as determined by the sensors or indicia. In addition to the sensor or indicia inputs, the system may also receive a price or cost input, which permits a price or cost optimization, rather than an efficiency optimization. By imposing an external price or cost consideration, the system can be made responsive to peak energy demand considerations, and also a prioritization of tasks, which may each be associated with a task value.
    
    


Each of these technologies may be employed together, separately, or in subcombination. The thermal models, for example, can be implemented with minor modification to semiconductor devices, to provide software access to registers and counters which monitor operation of the chip. As the chip processes information, various types of activities are tracked, and these tracked activities may then be read by software to implement the models. The models may be executed on the same semiconductor as an additional process within a multitasking processing stream, within a special core dedicated to this process, either on or off the integrated circuit, or by a remote system. The modified server operating system kernels typically do not require hardware modifications, though sensors may be required beyond those present in standard components of the computing system. In particular, integration and interfacing of external cooling system sensors and controls may require additional hardware modules. The global scheduler is typically provided as part of a load distribution switch, which is a standard hardware component, but executes software in accordance with the present embodiments. In particular, the task allocation algorithm favors loading of servers to near capacity, which may be defined by performance limitations or thermal limitations, before allocating tasks to other servers. The allocation may distinguish between different blades within a rack, with each rack typically being controlled on a thermal basis, i.e., to stay within a desired thermal envelope while achieving cost-efficient cooling, while each blade may be allocated tasks which balance performance and energy efficiency, while remaining within safe thermal limits.
The net result of a combination of all of this is a control system that uses a combination of proactive and reactive elements in a multi-tiered strategy for co-managing the thermal and computing solutions for promoting the energy efficiency (or cost effectiveness) of the data center. However, these technologies need not be employed together to gain benefits. Likewise, the chip, operating system (software), and system level optimizers need not communicate with each other, though they are preferably aware of the multilevel optimizations, which may alter responses to conditions. For example, a prediction of and control over future processing load must be coordinated between the various system levels in order to avoid conflicting efforts or over-compensation.
A preferred embodiment may be implemented in a scaled down data center consisting of Linux server racks with floor plenum and portable computer room air conditioners (CRACs) and a variety of sensors, or a full data center with server racks in a facility with centrally or distributed control cooling system. Preliminary results indicate that the present approach can realize about a 20% improvement in the energy efficiency of the data center.
Typical server installations use a large number of server machines to accommodate a typical set of incoming requests. Such installations use a single or a series of load balancing switches (also called front-end switches) to direct the incoming requests to the servers. The policies implemented for such directions are oblivious of the energy implications and focus primarily on the performance goals (latency, uniform loading etc.). Typical servers are designed to be most energy-efficient at or near their peak load settings and the average loading on individual servers with a processing load distributed in accordance with typical load balancing switch algorithms are generally well below the peak load levels. Consequently, servers operate at low energy-efficiency levels for most of the time.
According to an embodiment of the present invention, the front-end load balancing switches are made aware of the processing load level, energy dissipation levels and local temperatures (or other thermal-related variable) for each server. The firmware on these switches include an algorithm to only keep a minimum number of servers active, with each such active server operated at or near their peak load levels (and thus at very high energy-efficiency levels), to handle the current set of jobs. As the job demands grow, additional servers are bought on-line (recruited) from their inactive state; as demands shrink, more servers are de-activated to save power. In some cases, an asymmetric architecture is provided, in which servers having different load-efficiency characteristics are employed.
For low loads, it may be optimal to have a minimum number of servers available, even if these are operating below energy-optimal loading, since the loading is a statistical process, and the time to activate a server may induce significant latencies, while the turn-on and turn-off inefficiencies may dominate if the system operates near a threshold. Thus, as the processing load grows, one or more lower processing capacity servers may be replaced with a same or lesser number of higher capacity servers.
The load balancing switch can also direct cooling selectively towards the active servers. This can be done, for instance, by regulating airflow using louvers or vents, by increasing airflow near the active servers, by activating and controlling localized air conditioning units mounted on the racks or adjacent to racks.
In some cases, heat produced by a server system can be used to heat a facility. Typically, in a large facility, the heat produced is in excess of that required for the facility, or the efficiency of utilizing the waste heat is low. The remaining heat is shed to the exterior, for example by directly venting hot air flows, heat pumps (e.g., air conditioners), or waster cooling systems. Any harvesting of the waste heat may, of course, be considered in the allocation decisions, including the efficiency of the harvesting and its net cost benefit.
The logic for the switch can also be enhanced to determine an increase in the offered load by examining the occupancies of the incoming queues associated with the input ports of the switch and the rate at which they change. This information can be used to activate standby servers in advance. Additionally, idle servers can be started up and moved into the standby mode in anticipation of the increase in offered workload. The same mechanism can be used to deactivate servers if the offered workload decreases.
The switch logic, which may be internal to a switching device, or provided externally, may be further enhanced to accept utilization data from the active server and make use of it (optionally with the above sensed input queue sizes) to decide if the offered workload is increasing or decreasing and to eventually activate/deactivate servers (as before) based on the detected workload trend.
For example, a lesser capacity server may have a lower clock rate CPU, slower memory and bus speeds, lower power (and slower) local hard drive, and/or lower speed network connection. Thus, the load balancing switch algorithm need not model each increment in capacity as being a linear increase over a prior one, and indeed may optimize allocation of a task to a respective resource, e.g., server, based on the characteristics of the available resources, including their power consumption and thermal environment, as well as processing capacity. Advantageously, the load balancer optimizes the headroom of the system after allocation of the task, so that subsequent tasks can be efficiently allocated as well on a statistical basis.
Virtualization technology may be used, if needed to make the server system appear as a set of homogeneous servers, even if it is not. Likewise, cloud computing technologies may be employed on a cost-efficiency and/or energy optimal basis. Typically, cloud computing systems do not provide transparency over the exact destination of a task, thus making energy efficiency consideration difficult. However, such systems generally have an economic cost of use. Therefore, a balancing algorithm may calculate an equivalent cost for incremental load, and use a cloud-type system for incremental usage which would be inefficiently performed locally. For example, a compute task which leaves a server 95% underutilized might be cost inefficient, and better offloaded to an external system, even if the incremental cost as compared to a local, fully loaded server is relatively high.
Additional features built into the modified switch firmware can activate or deactivate servers, taking into account performance goals and temperature trends, based on, for example, incoming queue sizes to switch and their growth or shrink rate, utilization of active servers, as measured by the OS, temperature data sensed directly or indirectly, and air flow (or other cooling facility) data. To prevent frequent activation and deactivation of individual servers, a few servers are maintained in a standby state before they are switched off. Alternatively or additionally, the number of requests in the incoming queues of the front-end switch ports can be used to anticipate the load level of the server and drive server activation/deactivation. As discussed above, the potential availability of an external resource may also be considered when determining whether a server is activated or deactivated.
Servers typically have a maximum specified operating temperature, above which damage may occur. On the other hand, processor manufacturers in some cases permit systems or system components to exceed steady state maximum power dissipation for short periods, in order to increase peak performance. On a large system basis, therefore, thermal monitoring and reaction is useful or necessary, especially for a server rack running at full load, and thus high thermal dissipation. The temperature of a rack is dependent on many factors, relating to both heat generation, and heat dissipation. The heat generation may be estimated by the load balancing (or in this case, load allocation) switch by profiling the tasks to be performed, and a statistically and empirically determined amount of power which is consumed by that task.
The heat dissipation characteristics of a real system are quite complex to predict, and even subtle changes can influence the result. Heat dissipation is dependent on temperature difference, air-flow patterns, cooling air temperature, etc. In a rack of equipment with a reasonably high load (but not at peak load), under reasonably constant thermal dissipation conditions, an incremental increase in energy consumption as a result of execution of a more demanding task, will likely lead to an increased temperature. Note, however, that internal feedback and control systems within a server, system, or rack may alter these presumptions.
The system may include various types of sensors. For example, board and system level components may have intrinsic thermal sensing capability that can be read by software, and passed on to the switches. Additional sensors can be provided which are interfaced through individual servers, or provided as a separate sensing network. The switch can received processed data representing temperatures and/or energy consumption and/or energy consumption per time interval from individual computing systems, or it may receive unprocessed or minimally processed data which is then processed and calibrated at the switch level. The switch therefore can use the data to schedule tasks within a across a plurality of servers, and/or adjust the performance settings of the servers and/or adjust the cooling directed at individual racks or servers.
For example, a thermally responsive fan will spin faster when the sensor indicates a higher temperature, thus violating a presumption of constant thermal dissipation characteristics. On the other hand, if the system is loaded with a statistical balance of tasks, there will more generally be a proportionality between increasing tasks and increasing temperature. Therefore, the load allocation server receives a temperature (or other relevant thermal variable) input, since a server operating at peak temperature should probably not receive further tasks, except to replace those which complete. Likewise, an analysis of the server may indicate that components of the server system are underutilized, and thus an increase in task load which implicate those components would result in a lesser increase in thermal load than those which are fully utilized, especially the processor(s).
Therefore, as a server approaches its maximum temperature, the load allocation server may select those tasks, which incur low incremental thermal load yet make use of resources within the server which are available for additional use. On the other hand, servers which are below their peak temperature, for example a server which is just being activated, may be allocated tasks which cause relatively high thermal dissipation, and thus would be inappropriate for a “hot” server. It is also noted that thermal dissipation increases with thermal differential, and therefore a hot server or rack is more efficiently cooled by a flow of air at a constant temperature as compared to a cooler server. To the extent that the heat can be dissipated externally by convection or radiation, and not simply shed by a heat pump (e.g., air conditioner), the loading of servers to achieve maximum temperatures is also an advantage. As stated above, the total thermal dissipation is generally decreased for a highly loaded server system than for the same set of tasks distributed across a larger number of lightly loaded servers, and therefore even in the case of a heat pump cooled facility, the present system is more efficient.
Switches can use a combination of one or more of the following to decide how to schedule workload and activate or deactivate servers:

    
    
        1) Incoming queue sizes to switch and their growth or shrink rate
        2) Utilization of active servers, as measured by the OS
        3) Temperature data sensed directly or indirectly.
        4) Air flow (or other cooling facility) data
    
    


In addition to workload scheduling, activating/deactivating servers, switch logic directs cooling effort to where it's needed. A cooling system model may be implemented to ensure that the cooling is achieved efficiently, and, for example, may provide cost-benefit data to the switch.
This technique has the potential for improving the energy-efficiency of server systems through relatively modest changes in the operating system kernel and front-end switch firmware. No reliance is required on custom hardware or dedicated hardware support. That is, the traditional load balancing switch is reconfigured/reprogrammed to be a load concentration switch, which predicts when a new server or bank of servers on a rack needs to be activated and/or deactivated, and optionally provides an ability to use external resources on a cost-efficiency basis.
The load allocation switch may further include an economic optimization which balances performance, which may be somewhat diminished by highly loading servers, with improvements in efficiency. Likewise, server lifetime and reliability are adversely affected by high operating temperatures, and is may also be treated as a cost. It is noted that the economic life of a server system is typically less than the mean time between failures of the system at maximum rated temperature, and therefore this cost may be relatively low. Likewise, the reliability cost incurred in operating one portion of the system at maximum load may be recovered, in whole or in part, by deactivating other servers. The allocation algorithm may rotate highly loaded servers, on one hand, to balance lifetime, or concentrate stresses on a single system, on the other. One reason for concentrating stresses is, for example, to focus maintenance efforts on a smaller number of systems which operate continuously, rather than on a large distributed system in which failures in any portion are equally probable.
It is therefore an object to provide a method for controlling a data center, comprising a plurality of server systems, each server system having an associated dynamically controllable cooling system and a predetermined thermal constraint, comprising: receiving an input corresponding to a concurrent physical condition of at least one of a first server system and an environment of the first server system; predicting a future physical condition based on a set of future states of the first server system; dynamically controlling the dynamically controllable cooling system in response to at least the input and the predicted future physical condition to selectively cool the first server system sufficient to meet the predetermined thermal constraint; and controlling an allocation of tasks between the plurality of server systems to selectively load the first server system within the predetermined thermal constraint and selectively idle a second server system, wherein the idle second server system is adapted to be enabled to accept tasks when allocated to it, and wherein the dynamically controllable cooling system associated with the idle second server system is selectively operated in a low power consumption state.
It is also an object to provide a system for controlling a plurality of servers, each server having an associated dynamically controllable cooling system and a predetermined thermal constraint, comprising: an interface port configured to receive an input corresponding to a concurrent physical condition of a first server system; and at least one processor, configured to: estimate a future physical condition based on a set of future states of the first server system; dynamically control the dynamically controllable cooling system in response to at least the input and the predicted future physical condition to selectively cool the first server system sufficient to meet the predetermined thermal constraint; and attempting to schedule tasks for the plurality of server systems to selectively load the first server system within the predetermined thermal constraint and selectively idle a second server system, wherein the idle second server system is configured to be recruited to accept tasks when allocated to it, and wherein the dynamically controllable cooling system associated with the idle second server system is selectively operated in a low power consumption state.
Each of the plurality of server systems may comprise a rack or server blades.
The associated dynamically controllable cooling system may comprise an air conditioner. The air conditioner may comprise a control adapted to vary an air flow rate and an air temperature or air for cooling the first server system. The air conditioner may be associated with a proportionally controllable baffle.
The predetermined thermal constraint may comprise a maximum operating temperature of at least one component of a server system. The predetermined thermal constraint may also comprise a maximum energy consumption of a server system.
The input may be received from a thermal sensor, sensing a temperature of a component within the first server system.
The input may comprise an energy consumption of at least one component within the first server system.
The future physical condition may comprise a temperature of at least one component within the first server system, the temperature being predicted based on a model of the first server system and a sequence of operations performed by the first server system.
The future physical condition may comprise a temperature of at least one component within the first server system, the temperature being predicted based on a model of the first server system, a sequence of operations performed at least one component of the first server system, and a control parameter which varies a performance of the at least one component.
The dynamically controllable cooling system may be controlled to produce increased cooling of the first server system after the predicted future physical condition indicates an increase in cooling demand and before an increase in temperature is indicated by the input.
The first server system may be controlled to operate near a maximum operating temperature before the idle second server is recruited.
A task may be allocated to the second server system when the first server system is at risk of exceeding the predetermined thermal constraint.
A task may be reallocated from the first server system to the second server system when the first server system is at risk of exceeding the predetermined thermal constraint.
The plurality of server systems may comprise a plurality of elements each adapted to execute a function, the plurality of elements differing in a respective energy consumption and performance, further comprising selectively distributing functions to respective ones of the plurality of elements to optimize an energy efficiency.
An aggregate energy consumption of the first server system and associated cooling system and idle second server system and associated cooling system may be less than an aggregate energy consumption if the tasks are equally allocated between the first and second server systems.
The cooling system associated with the idle second server system may be operated to consume less power than the cooling system associated with the first server system.
Each of the plurality of server systems may comprise a plurality of processing units, each processing unit executing under an operating system, wherein at least a portion of said predicting is executed as a part of the operating system.
Each of the plurality of server systems may comprise a plurality of processing units, each processing unit executing under an operating system, wherein at least a portion of said controlling is executed as a part of the operating system.
The plurality of server systems may be controlled by a centralized control adapted to allocate tasks between the server systems or portions thereof, in dependence on at least the input and the predicting.
The dynamically controlling the dynamically controllable cooling system and controlling an allocation of tasks between the plurality of server systems may cooperate to maximize energy efficiency of the plurality of server systems and their associated dynamically controllable cooling systems.
The method may further comprise receiving cost and benefit value factors, wherein the dynamically controlling the dynamically controllable cooling system and controlling an allocation of tasks between the plurality of server systems are optimize a cost-benefit operation of the plurality of server systems and their associated dynamically controllable cooling systems.
The at least one processor may receive cost and benefit value factors, and controls the dynamically controllable cooling system and an allocation of tasks between the plurality of server systems to optimize a cost-benefit operation of the plurality of server systems and their associated dynamically controllable cooling systems.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 depicts the control system aspects of the present data center management strategy.
FIG. 2(a) depicts the state of affairs in prior art servers and shows how the power dissipation and energy efficiency of a typical server varies with server utilization.
FIG. 2(b) depicts the intended overall impact of the present solution on server power dissipation and server energy efficiency plotted against server utilization.
FIG. 3 shows a block diagram of a prior art computing system.



DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
According to a prototype embodiment, a scaled down data center is provided which demonstrates a unique approach to addressing the data center energy crisis. The energy spent on the computing equipment and by the cooling system is treated as a first class resource and managed explicitly in the present approach in a proactive as well as reactive manner. Instead of the traditional approach of cooling the server racks uniformly, dynamic and directed cooling is employed, that skews the cooling efforts to match the actual and projected cooling demands of the individual or groups of racks. Cooling for a rack is controlled based on sensors (i.e., a reactive control), a prospective set of tasks or functions in a queue (i.e., a proactive control), and an operating system component of each subsystem which permits a modification of energy demand.
It is noted that a cooling system may have higher efficiency when cooling a relatively hotter server than a cooler one, and therefore overall efficiency may be increased by permitting some server racks to run near a maximum operating temperature, and other racks to be essentially deactivated, pending peak demand recruitment. While running at relatively higher temperatures may be a factor in reducing a mean time between failures (MBTF), the usable life of blades in a data center is typically well in excess of the economic life; further, even if there is a failure, the data center will typically have automatic failover fault tolerance systems. Indeed, if some racks in the data center are specifically designed to always run near peak capacity and high temperature, these may be configured for more efficient operation, for example, greater spacing from other racks, to permit better heat load shedding without affecting adjacent racks, and higher temperature specification components.
It is also noted that in some cases, it is not the temperature per se which adversely impacts the MBTF of a system, but rather the thermal cycling and mechanical stresses on components, circuit boards, and packaging. In such cases, the operation of a rack at a consistent hot temperature may be an advantage over a system which seeks, for example, a uniform minimum temperature of all racks which varies with data center load.
One embodiment of the technology improves the overall energy-efficiency of a data center in a holistic manner, and targets both the energy expended in operating the equipment and the energy expended in the cooling system. A key aspect of is to coordinate the activities of all of the energy consumers in a data center. These consumers include the individual severs and communication infrastructures as well as the cooling system components. Some current solutions to this problem have addressed inefficiencies in the use of power conversion devices, the cooling system and the servers themselves [Sh 09, BH 07, BH 09, LRC+ 08]. Emerging solutions to this problem have also started to address the need to coordinate the activities of these consumers [BH 09, NSSJ 09, SBP+ 05, TGV 08]. As an example, the work of [TGV 08] has proposed an approach for minimizing the energy expended on the cooling equipment by minimizing the inlet temperature through appropriate job scheduling. The work of [NSSJ 09] coordinates the energy expended on the computing equipment and the cooling infrastructures and allocates energy budgets to virtual machines. Such VM energy budgets are not easy to implement, as energy expended by a VM is not easy to track and control; energy dissipation in many related components are ignored in simplifications that are used. In general, emerging solutions have a number of potential limitations:

    
    
        The energy and performance overhead associated with job rescheduling and VM management and server-local scheduling overhead are ignored. The communication infrastructures within a data center are heavily utilized and are prone to congestion, resulting in significant added energy dissipation if jobs are rescheduled.
        A simple rescheduling of the jobs may not make the most energy-efficient use of the servers and racks—the operating configurations of such servers have to be continuously adapted to fit the characteristics of the workload.
        Simple reactive control systems, as proposed in all existing and emerging solutions, do not address the problem of thermal lags and delays associated with temperature sensors, whose inputs are used by the actuators in these systems.
        The implicit assumption in most current systems that that all servers and racks have a uniform external cooling requirement may not be the best one for improving overall energy efficiency. While we do have some proportional cooling facilities in the form of automatically adjusted CPU cooling fan and enclosure fan speeds, external cooling systems are generally uniform and oblivious of the specific cooling needs of an entire rack. In general, higher energy efficiency will result by redirecting additional cooling to regions that can benefit from it, resulting in a dynamic, directed cooling system.
    
    


The present approach allocates energy budgets to servers, racks, storage and communication components and adapts the cooling effort dynamically to match the energy dissipated in these components. The energy consumption in the computing components are modeled using accurate empirical formulas and server-local (and global) scheduling techniques are used to limit server energy consumption within the allocated budget. This is a far more practical approach compared to any scheme that operates on the basis of energy budget allocations to VMs. The energy dissipation estimates from these empirical models are used to schedule the energy budgets for the computing equipment and the dynamic cooling system, along with the workload. Last but not the least, the present control system uses both proactive and reactive control mechanisms to manage the data center effectively in the face of sudden workload variations and to mitigate latencies associated with the activation and deactivation of servers and VMs.
In current data centers, the software systems infrastructures (including the Linux OS and popular file systems) are very limited in their adaptation capabilities in this respect. The most popular mechanism used for adaption is dynamic voltage and frequency scaling (DVFS) on the processing cores, and other components of the computing platform are unaddressed. This is not a desirable situation from the standpoint of energy efficiency, as the total of the energy dissipations within the DRAM modules and in the backplane and other communication infrastructures is about 45% of the total energy expended by a server, while the processors consume about 30% of the total energy [BH 09]. Current measurements seem to indicate that the processor energy dissipation will continue to decrease relative to the energy dissipation within the other components of a server [BH 09]. At the server level, it is thus critical to incorporate mechanisms that address the energy dissipation across all major components of a server instead of just focusing on the processing cores.
At the data center level, the energy expended in the communication infrastructures (switches, in particular) and in the cooling system itself should be considered. The present approach considers the total energy expended in the computing, storage, communications and cooling system as an explicitly scheduled resource and to schedule the computing and cooling resources using a common framework. The end goal is to maximize the energy efficiency of the data center, consistent with the performance goals. As discussed above, a cost optimization paradigm may also be implemented. In a cost optimization, the costs and benefits are normalized, and a set of conditions with a maximum net benefit is selected. The costs in this case may be energy costs, though other costs can also be considered in the calculation, such as maintenance costs, operating costs, license fees, etc. The benefits are typically considered as the net work output of the system, e.g., computing results, though values may be placed on the speed, latency, accuracy and completeness, etc. of the result. Indeed, assuming the same computational task, the result may be worth more to some users than others. Thus, the energy efficiency considerations may be modified or distorted based on a variety of extrinsic factors. The cost optimization factors may be analyzed in a centralized controller, which permits an allocation of tasks at a scheduler or load balancer element, distributed to the various processing cores and made part of the modified operating system kernel, or a hybrid approach. Of course, other elements may also provide these functions.
Example Use: Integrated, Dynamic Management of Computing and Cooling Resources
The system preferably makes the best use of the energy expended in operating the computing and communication equipment as well as the energy expended in the cooling system. The energy expended by the computing and communication equipment and the cooling system is considered a first class resource and managed explicitly. Servers are allocated individual energy budgets and a modified Linux kernel in the servers is used to dynamically adjust the system settings and perform a local scheduling to stay within the individual server's energy budget allocation. The computation of the energy budgets for servers/racks and the control of the cooling system to effectively define a thermal envelope (that is, cap) for each server/rack for is done by a global module that senses a variety of conditions, as described later, to direct global job scheduling and to control the cooling system components, skewing the cooling effort across racks and regions as needed to improve the overall efficiency of the cooling system.
Another distinguishing feature of a preferred embodiment of the system is in its use of three controls for adapting a cooling system: the air flow rate directed at the racks from portable CRACs, the inlet temperature and the use of movable baffles to redirect air flow. Traditional solutions have largely looked at one or two of these adaptation techniques (mostly inlet temperature and somewhat rarely, air flow rate).
Using the terminology of [RRT+ 08], the integrated data center management technique is essentially a control system with the following components critical to the management:

    
    
        Sensors: On the thermal/mechanical side, the sensors monitor the temperature and air flow rates in various parts of the rack and the room. On the computing side, the sensors are in the form of hardware instrumentation counters within the processing cores, counters for device and system utilizations maintained by the operating systems, variables that record the incoming queue size and others.
        Actuators: Our management policy exercises various actuators to adapt the cooling system and the servers. On the thermal/mechanical side, the actuators adjust fan rates for regulating the air flow from CRACs, operate servo motors to adjust the baffles for air flow direction and use electromechanical subsystems to adjust the inlet temperature. On the computing side, the software elements used as actuators (a) control the voltage and frequency settings of the cores and activate/deactivate individual cores to ensure that they do not exceed their allocated energy budget and to respond to thermal emergencies at the board/component level; (b) schedule ready processes assigned to a server and adjust core settings (using (a)) to maximize the energy efficiency of the server; (c) perform global task scheduling and virtual machine activation, migration and deactivation based on the dynamically computed thermal envelopes and rack/server level energy budgets.
        Controllers: The control policy itself will be comprised of two parts; the proactive and reactive, which are described in detail below.
    
    


FIG. 1 depicts the control system aspects of one embodiment of a data center management strategy. This control system uses a combination of proactive and reactive strategies:
Proactive Strategies: two different types of dynamic proactive management of data centers are provided. These are:
1. Because of thermal lags, temperature sensors are unable to detect the onset of thermal emergencies due to sudden bursty activities with the server components, including those within the DRAM, cores, local (swap) disks, if any, and the network interfaces. Empirical power models for the server energy dissipation are therefore derived, using activity counters maintained within the Operating System and the built-in hardware instrumentation counters, as described below. The estimate of the energy dissipation of an individual server is based on sampled estimations of the activities (similar to that described in [PKG 01]). This estimate of the energy dissipated by a server within a sampling interval is used to guide local scheduling and control the local system settings. The estimates of the server energy dissipations within a rack are also used as the inputs to a fast, optimized and calibrated thermal model that provides data on the thermal trends, taking into account the environmental conditions. The computed thermal trends are used, in turn, to guide global and rack level job scheduling and VM management as well as to proactively direct cooling efforts towards a region of rising temperature/hot spot.
2. The front end queues of the switches used for load balancing are a good indicator of the offered computing load to a server. These queues are therefore monitored to proactively schedule new jobs in a manner that improves the overall energy efficiency of the data center. This proactive monitoring of the input queue also permits absorption of some of the latencies involved in activating racks and servers that are in a standby mode, as well as to absorb some of the latencies in VM migration. In fact, as described below, the proactive monitoring of the incoming queues of the load balancing switches also permits activation/deactivation and migration of VMs, taking into account the energy overhead of such management.
Reactive Strategies: The reactive strategies include the following sub strategies:
1. A management system to ensure that the energy consumption of the individual servers does not exceed their dictated energy budget. This subsystem controls the computing components as well as the network interface. This management system is part of the modified Linux kernel of the servers that uses a server power estimation model and the sampled value of the instrumentation counters found in modern microprocessors and other statistics maintained by the kernel to control system settings (including the DVFS settings).
2. A subsystem within the kernel that reacts to local and neighborhood thermal emergencies or trends, as detected from local/neighborhood temperature sensors as well as information generated by the fast thermal models/analyzer to either shut down individual servers/racks or to reconfigure server settings to reduce their energy dissipation. This subsystem is an added protection mechanism that works in conjunction with the other energy management systems—both reactive and proactive, and deals with high-impact unexpected emergencies such as CRAC failures.
3. In conjunction with (2) above, a subsystem that monitors the local/neighborhood thermal trends to allocate and direct local cooling capacity in a focused fashion to minimize energy consumption from the cooling system. This will operate on a slower time scale than the computing reactive strategies. The computing approach of (2) above and this thermal systems approach should operate synergistically to minimize the overall global energy usage while maintaining compute performance. The reactive controller will constantly tradeoff energy minimization between the computing and thermal systems activities.
4. A subsystem within the global budgeting module that reacts to global thermal emergencies based on sensed environmental conditions in the room and trend data computed by the fast thermal model/analyzer.
5. A subsystem within the global budgeting module that reacts to the data on actual server/rack utilizations to throttle down servers/racks as needed.
The overall goal of all of the control system elements, both proactive and reactive, is to maximize the overall system performance under the energy constraints dictated by the budgeting module. The budgeting module ensures that the relative components of the energy dissipated by the computing/communication elements and the cooling system are optimal.
Server Management
The goal of our proposed effort is to improve the overall energy efficiency of the servers and the cooling system. To do this, we attempt to minimize the number of active servers and operate them at or near their peak loading level to maximize their energy efficiency. The existence of virtual machine support certainly makes this approach practical. At the same time, we minimize the energy consumption in the cooling system by just providing sufficient cooling for the active servers. FIG. 2 (a) depicts the state of affairs in current servers and shows how the power dissipation and energy efficiency of a typical server varies with server utilization. As seen in FIG. 2 (a), the energy-efficiency is quite low at low server loading (utilization) and the power dissipation remains relatively high. FIG. 2(a) also depicts the typical operating points of servers—the typical average server loading is significantly lower than the peak loading—as a result, the overall energy efficiency is quite low at these typical operating points.
FIG. 2(b) depicts the intended overall impact of the present technology on server power dissipation and server energy efficiency plotted against server utilization. The present multi-tiered server power management technique (which subsumes standard power management techniques) improves the server energy efficiency dramatically and simultaneously reduces the power dissipation at lower server utilization levels. The overall server efficiency thus remains quite high at the typical load levels and across a wider range of loading, as shown in FIG. 2(b). Second, by globally scheduling more work to a fewer number of active servers (and by keeping the non-active servers in a standby state), we push the workload level on individual servers more towards a region where energy-efficiency is very high. The expected result of all of this is a solution that, based on a quick back-of-the-envelope calculation, can enhance the overall energy efficiency of servers by about 15% to 25% on the average beyond what is provided by the state-of-the-art, even when the added overhead of the present solution is factored in. Improvements in power savings are expected to be similar. One down side of operating servers at or near their peak capacity is that any sudden changes in the behavior of their assigned workload can cause switching activities to go up and lead to local thermal emergencies.
In general, servers can be more efficiently managed than presently feasible if they:
R1) Have mechanisms to put a hard limit on server energy dissipation to avoid thermal emergencies.
R2) Have a proactive mechanism to activate or deactivate virtual machines or servers or entire racks to match the offered load taking into account any energy and performance overhead for activation and deactivation.
R3) Have techniques that implement a more energy-proportional relationship between server power dissipation and the server utilization, as shown in FIG. 2(b).
R4) Extend the operating region over which a server has high energy efficiency: this permits higher server energy efficiencies even at moderate load levels.
The implementation of requirements R3 and R4 lead to the situation shown in FIG. 2 (b). We now describe our approach to implementing these requirements in software on existing systems.
Implementing the Requirements R1 Through R4
Empirical energy dissipation models are preferably used to determine the energy consumed by a server and this estimate is used to cap the energy consumed by a server. This approach is adopted since it is not practical to use external power meters on each server to determine their energy consumption.
Empirical models for the energy dissipated by a server have been proposed in the past; the simplest of these models are based on the use of utilization data maintained by the operating system (such as core utilization, disk utilization) and is, for example, of the form:

Pserver=K0+K1×Uproc+K2×Umem+K3×Udisk+K4×Unet 

Of course, other, more complex forms, may be employed.
Where the Ks are constants determined empirically and the Us refer to the utilizations of the processor (Uproc), memory (Umem), the disk(s) (Udisk) and the network (Unet). The operating system maintains and updates these utilization data. As reported in [ERK+ 08], the actual measured power and the power estimated from the above equation are quite close and typically within 10%. A recent effort extends simplistic models of this nature to regression based predictive models that predict server energy consumption on long-running jobs as a function of the core energy dissipation, L2 cache misses and ambient temperature [LGT 08]. The model of [LGT 08] is a good starting point for our efforts. We will extend this model with additional metrics obtained from hardware instrumentation counters found in typical cores as well as slightly modified system calls for network/file I/O to account for energy dissipation within network components to accurately account for remote data access and inter-process communications and I/O activity (which were ignored in the work of [LGT 08]).
To track and predict the energy consumption of servers in software, sampled measurements of the hardware instrumentation counter values and OS-maintained counters for computing utilization will be used, in manner reminiscent of our earlier work of [PKG 01]. The modified thread scheduler in contemporary Linux kernels will use these sampled measurements to guide local scheduling within a server so as to limit the server energy consumption within a sampling period to stay within the limit prescribed by the global energy/workload scheduler. In additional to the traditional DVFS adjustments, the behavior of threads within the sampling periods will be classified as CPU bound, disk bound and network bound and schedule similar threads back-to-back to avoid unnecessary changes in the DVFS settings (and avoiding the energy overhead and relatively long latencies in changing such settings). This in turn addresses Requirements R3 and R4. The modified scheduler will also react to thermal emergencies as detected by external temperature sensors (which are read and recorded periodically by the scheduler itself on scheduling events within the kernel).
Requirement R2 is implemented in the global scheduler, as described below, by keeping track of the workload trends (through monitoring of the incoming request queues at the load balancing switches) and job completion statistics. If the global scheduler sees a growth in the job arrival rate, it activates VMs/servers/racks as needed to cope with the additional workload. The overhead for such activation and deactivation, including the energy costs of moving VM contexts are accounted for in this process, and thus requirement R3 is also addressed.
Techniques for message consolidation that packs several short messages into a single message within a jumbo Ethernet frame within the network interface to amortize the flat component of per-packet overhead of network transfers may also be employed. This also addresses Requirement R3.
A different way of amortizing the scheduling overhead (including the changing of the DVFS settings of cores) exploits the characteristics of repetitive jobs. In a typical server installation, the number of such jobs is expected to be quite high. For example, repetitive jobs of the SPECweb 2006 benchmarks on a Linux platform (with Intel E5460 cores) running Apache were dynamically classified into two classes: compute bound and I/O bound, based on utilization statistics maintained by the kernel and instruction commit rate data maintained in the hardware instrumentation counters. This classification data was maintained within the Apache server. Jobs of the same class in the work queue of Apache were scheduled back-to-back wherever possible and the DVFS settings of the dual core platform were explicitly controlled. Unnecessary changes in the DVFS settings were also avoided and job wait times on the queues were limited to maintain a performance level close to that of the base case. The CPU power measurements (made with a power clamp on the power cord for the core going from the power supply to the motherboard) showed that this simply strategy reduced the core power consumption by about 11%.
For the present system, this technique can be moved to the kernel level for added efficiency, extend the classification to add memory bound jobs (jobs that trigger a high proportion of RAM activity, as evidenced by the on-chip cache miss instrumentation counter) and network bound job classes, for instance. This classification information is used to schedule jobs that match the characteristics of processor sockets with a preset independent performance or to cores within a multicore chip that permits the use of similar preset performance settings independently for each core. The preset performance settings are changed only under load increases that saturate the capacity of a core with a specific DVFS setting. This approach of exploiting pre-classed job addresses requirements R3 and R4 simultaneously.
Global Energy Budget Allocation and Workload Scheduling
The global scheduler (GS) of a preferred embodiment of the system is responsible for the allocation of energy budgets for the VMs/servers/racks and the assignment of workload to the individual machines. The key requirement of the GS is that it has to be fast and scalable. The GS may be implemented on a few dedicated multicore machines which also implement the compact thermal analyzer and models. Multiple machines may be used to permit scalability; for a small server installation, it may be possible to implement all of the functions on a single multicore platform. These dedicated machines may also receive data from a variety of sources, which are optional, as shown in FIG. 1.
The GS maintains a variety of tables that record the energy/performance characteristics of each rack, its utilization statistics, and data on the environmental temperature computed from various sources. The GS also maintains a list of quality of service (QoS) requirements (guaranteed transaction rates, data delivery rates etc.) for implementing differentiated services. The GS also senses the incoming work queue sizes at the load balancing switches and uses simple workload models to predict the impact of incoming workload. The simple workload models can simply classify incoming jobs based on the request types or use more sophisticated information about pre-classified repetitive jobs. The GS schedules the workload to maximize the workload allocated to active servers/racks, assuming VM support on all nodes. This allocation uses the thermal data—obtained from the compact model as well as from thermal sensors and using service guarantees as a constraint. Cooling requirements and changes to the energy budget for the computing/storage and communication equipment for the allocated workload are also assigned based on a variety of heuristics. Some possible heuristics include (but are not limited to):

    
    
        Extrapolate the thermal output of the active servers and revise its energy budget and cooling requirement based on the updates to number of jobs (existing plus newly-assigned) assigned to the server.
        Use the energy requirement characteristics of known, repetitive jobs and the heuristic above for unclassified jobs to plan the schedule.
        Use the data maintained on the average job completion rate and average energy requirement of jobs to guide the allocations.
    
    


As mentioned earlier, the GS keeps track of the job dispatch rate and the size of the incoming queues in the front-end load balancing switches to keep track of the workload trend. This trend data is used to activate or deactivate servers and racks and redirect cooling efforts as needed. The energy expended in such activation/deactivation and in migrating VMs, where necessary is accounted for in the allocations.
Alternative scheduling may also be employed, including ones that dynamically switch scheduling strategies based on the thermal conditions and current workload. As an example, if all servers are being operated in the high energy-efficiency region as shown in FIG. 2(b), then it may be better to perform an allocation that balances the load across the racks to avoid the formation of hot spots in the server room.
The GS has similarities with data center configuration systems and mangers from several vendors (e.g., IBM's Tivoli suite) [IBM 08a, IBM 08b]. However, the present system differs from these schedulers in at least the way server energy dissipation estimates are made at a finer granularity, in making use of a thermal model to predict and cope with thermal conditions, and in using dynamic cooling systems.
Control Systems Issues
The present technique is essentially a control system that employs reactive as well as proactive actuations to meet the goal of improving the overall energy efficiency of a data center. As such, it has to be scalable, stable and provide appropriate sense-and-actuate latencies. Another important requirement of the system is that the various control elements should act in a synchronized and coordinated manner, avoiding “power struggles” [RRT+ 08], where one control loop fights against another inadvertently.
On the control elements at the computing side, these control system requirements are met by a using a hierarchical implementation that uses independent control elements at each level and by using a progressive top-down approach to dictate the energy/performance goals of one level to be explicitly dictated by the control system at the immediately upper level. The hierarchical control mechanisms of the activities within a computing system also ensures its scalability: separate control loops are used to ensure the energy budgets at the rack level and at the level of individual servers within the rack are monitored and managed separately. For large data centers, another level can be added to make the system more scalable, based on the allocation and control of the energy budgets for a set of neighboring racks.
The control of the computing equipment is based on the notion of update intervals within a sampling period, with sensor and model outputs collected at the end of each update period. At the end of a sampling period, the values of respective sensor and model data output are averaged, and control decisions taken at the end of a sampling period based on these average values, as introduced in [PKG 01]. This approach smoothes out the impact of burst activities that are inevitable within a sampling interval and enables a stable control system for the computing elements.
Hardware Overview
FIG. 3 (see U.S. Pat. No. 7,702,660, issued to Chan, expressly incorporated herein by reference), shows a block diagram that illustrates a computer system 400 upon which an embodiment of the invention may be implemented. Computer system 400 includes a bus 402 or other communication mechanism for communicating information, and a processor 404 coupled with bus 402 for processing information. Computer system 400 also includes a main memory 406, such as a random access memory (RAM) or other dynamic storage device, coupled to bus 402 for storing information and instructions to be executed by processor 404. Main memory 406 also may be used for storing temporary variables or other intermediate information during execution of instructions to be executed by processor 404. Computer system 400 further includes a read only memory (ROM) 408 or other static storage device coupled to bus 402 for storing static information and instructions for processor 404. A storage device 410, such as a magnetic disk or optical disk, is provided and coupled to bus 402 for storing information and instructions.
Computer system 400 may be coupled via bus 402 to a display 412, such as a cathode ray tube (CRT) or liquid crystal flat panel display, for displaying information to a computer user. An input device 414, including alphanumeric and other keys, is coupled to bus 402 for communicating information and command selections to processor 404. Another type of user input device is cursor control 416, such as a mouse, a trackball, or cursor direction keys for communicating direction information and command selections to processor 404 and for controlling cursor movement on display 412. This input device typically has two degrees of freedom in two axes, a first axis (e.g., x) and a second axis (e.g., y), that allows the device to specify positions in a plane.
The invention is related to the use of computer system 400 for implementing the techniques described herein. According to one embodiment of the invention, those techniques are performed by computer system 400 in response to processor 404 executing one or more sequences of one or more instructions contained in main memory 406. Such instructions may be read into main memory 406 from another machine-readable medium, such as storage device 410. Execution of the sequences of instructions contained in main memory 406 causes processor 404 to perform the process steps described herein. In alternative embodiments, hard-wired circuitry may be used in place of or in combination with software instructions to implement the invention. Thus, embodiments of the invention are not limited to any specific combination of hardware circuitry and software.
The term “machine-readable medium” as used herein refers to any medium that participates in providing data that causes a machine to operation in a specific fashion. In an embodiment implemented using computer system 400, various machine-readable media are involved, for example, in providing instructions to processor 404 for execution. Such a medium may take many forms, including but not limited to, non-volatile media, volatile media, and transmission media. Non-volatile media includes, for example, optical or magnetic disks, such as storage device 410. Volatile media includes dynamic memory, such as main memory 406. Transmission media includes coaxial cables, copper wire and fiber optics, including the wires that comprise bus 402. Transmission media can also take the form of acoustic or light waves, such as those generated during radio-wave and infra-red data communications. All such media must be tangible to enable the instructions carried by the media to be detected by a physical mechanism that reads the instructions into a machine.
Common forms of machine-readable media include, for example, a floppy disk, a flexible disk, hard disk, magnetic tape, or any other magnetic medium, a CD-ROM, any other optical medium, punchcards, papertape, any other physical medium with patterns of holes, a RAM, a PROM, and EPROM, a FLASH-EPROM, any other memory chip or cartridge, a carrier wave as described hereinafter, or any other medium from which a computer can read.
Various forms of machine-readable media may be involved in carrying one or more sequences of one or more instructions to processor 404 for execution. For example, the instructions may initially be carried on a magnetic disk of a remote computer. The remote computer can load the instructions into its dynamic memory and send the instructions over a telephone line using a modem. A modem local to computer system 400 can receive the data on the telephone line and use an infra-red transmitter to convert the data to an infra-red signal. An infra-red detector can receive the data carried in the infra-red signal and appropriate circuitry can place the data on bus 402. Bus 402 carries the data to main memory 406, from which processor 404 retrieves and executes the instructions. The instructions received by main memory 406 may optionally be stored on storage device 410 either before or after execution by processor 404.
Computer system 400 also includes a communication interface 418 coupled to bus 402. Communication interface 418 provides a two-way data communication coupling to a network link 420 that is connected to a local network 422. For example, communication interface 418 may be an integrated services digital network (ISDN) card or a modem to provide a data communication connection to a corresponding type of telephone line. As another example, communication interface 418 may be a local area network (LAN) card to provide a data communication connection to a compatible LAN. Wireless links may also be implemented. In any such implementation, communication interface 418 sends and receives electrical, electromagnetic or optical signals that carry digital data streams representing various types of information.
Network link 420 typically provides data communication through one or more networks to other data devices. For example, network link 420 may provide a connection through local network 422 to a host computer 424 or to data equipment operated by an Internet Service Provider (ISP) 426. ISP 426 in turn provides data communication services through the world wide packet data communication network now commonly referred to as the “Internet” 428. Local network 422 and Internet 428 both use electrical, electromagnetic or optical signals that carry digital data streams. The signals through the various networks and the signals on network link 420 and through communication interface 418, which carry the digital data to and from computer system 400, are exemplary forms of carrier waves transporting the information.
Computer system 400 can send messages and receive data, including program code, through the network(s), network link 420 and communication interface 418. In the Internet example, a server 430 might transmit a requested code for an application program through Internet 428, ISP 426, local network 422 and communication interface 418.
The received code may be executed by processor 404 as it is received, and/or stored in storage device 410, or other non-volatile storage for later execution. In this manner, computer system 400 may obtain application code in the form of a carrier wave.
In this description, several preferred embodiments were discussed. Persons skilled in the art will, undoubtedly, have other ideas as to how the systems and methods described herein may be used. It is understood that this broad invention is not limited to the embodiments discussed herein. Rather, the invention is limited only by the following claims.
REFERENCES
Each of which is Expressly Incorporated by Reference


    U.S. Pat. No. 7,228,441 B2
    [BH 07] Luiz André Barroso and Urs Hölzle, “The Case for Energy-Proportional Computing”, IEEE Computer Magazine, December 2007.
    [BH 09] Luiz André Barroso and Urs Hölzle, “The Datacenter as a Computer: An Introduction to the Design of Warehouse-Scale Machines”, Morgan-Claypool Publisshers, 2009 (ISBN No. 9781598295566).
    [ERK+ 08] D. Economou Suzanne Rivoire, Christos Kozyrakis, and Parthasarathy Ranganathan, “Full-system Power Analysis and Modeling for Server Environments”, in Proc. Workshop on Modeling Benchmarking and Simulation (MOBS) at the Int'l. Symposium on Computer Architecture, Boston, Mass., June 2006.
    [IBM 08a] IBM Corporation, IBM Tivoli Usage Accounting Manager V7.1 Handbook, IBM Redbook, March 2008.
    [IBM 08b] IBM Corporation, Value Proposition for IBM Systems Director: Challenges of Operational Management for Enterprise Server Installations, IBM ITG Group, Management Brief (34 pages), November 2008.
    [Ko 07] Jonathan G. Koomey, “Estimating Total Power Consumption By Servers in the U.S. and the World”, Analytics Press. February 2007. Also available at: enterprise.amd.com/us-en/AMD-Business/Technology-Home/Power-Management.aspx.
    [LGT 08] Adam Lewis, Soumik Ghosh and N.-F. Tzeng, “Run-time Energy Consumption Estimation Based on Workload in Server Systems”, in Proc. of the HotPower 08 workshop, held in conjunction with the 2008 Usenix OSDI Symposium.
    [LRC+ 08] Kevin Lim, Parthasarathy Ranganathan, Jichuan Chang, Chandrakant Patel, Trevor Mudge, Steven Reinhardt, “Understanding and Designing New Server Architectures for Emerging Warehouse-Computing Environments”, in Proc. of the 35th International Symposium on Computer Architecture, 2008, pp. 315-326.
    [NSSJ 09] Ripal Nathuji, Ankit Somani, Karsten Schwan, and Yogendra Joshi, “CoolIT: Coordinating Facility and IT Management for Efficient Datacenters”, in Proc. of the HotPower 08 workshop, held in conjunction with the 2008 Usenix OSDI Symposium.
    [PKG 01] Dmitry Ponomarev, Gurhan Kucuk and Kanad Ghose, “Reducing Power Requirements of Instruction Scheduling Through Dynamic Allocation of Multiple Datapath Resources”, in Proc. 34th IEEE/ACM International Symposium on Microarchitecture (MICRO-34), December 2001, pp. 90-101.
    [RRT+ 08] Ramya Raghavendra, Parthasarathy Ranganathan, Vanish Talwar, Zhikui Wnag, and Xiaoyun Zhu, “No Power Struggles: Coordinated Multilevel Power Management for the Data Center”, in Proc. ACM Symposium on Architectural Support for Programming Languages and Operating Systems (ASPLOS), 2008.
    [Sh 09] Stephen Shankland, “Google Uncloaks Once-Secret Server”, CNET News, Business Tech, April, 2009, available at: news.cnet.com/8301-1001_3-10209580-92.html.
    [SBP+ 05] Ratnesh K. Sharma, Cullen Bash, Chandrakant D. Patel, Richard J. Friedrich, Jeffrey S. Chase: Balance of Power: Dynamic Thermal Management for Internet Data Centers. IEEE Internet Computing Vol. 9, No. 1, pp. 42-49, 2005.
    [TGV 08] Qinghui Tang, Member, Sandeep K. S. Gupta, and Georgios Varsamopoulos, “Energy-Efficient, Thermal-Aware Task Scheduling for Homogeneous, High Performance Computing Data Centers: A Cyber-Physical Approach”, in IEEE Trans. On Parallel and Distributed Systems, November 2008 (vol. 19 no. 11) pp. 1458-1472.

## Claims

1. A method for controlling a server system having an associated dynamically controllable cooling system and a predetermined thermal constraint, comprising:
receiving an input corresponding to a physical condition of at least one of the server system and an environment of the server system, the physical condition corresponding to at least a temperature associated with the server system;
predicting, with at least one automated processor, the future physical condition of the server system based on at least a model of the server system; at least one control output of an automated controller, and a sequence of operations queued for performance by the server system, while maintaining a processing rate within a processing capacity of the server system of the sequence of operations queued for performance by the server system defined by a quality of service requirement, wherein the sequence of operations queued for performance by the server system is defined to selectively concentrate thermal stresses in a subset of available resources of the server system;
dynamically controlling the dynamically controllable cooling system with the automated controller, in response to at least the input and the predicted future physical condition of the server system to predictively cool the server system comprising the subset of available resources of the server system to which the thermal stresses are concentrated sufficient to meet the predetermined thermal constraint while maintaining the processing rate within the processing capacity of the server system of the sequence of operations queued for performance by the server system defined by the quality of service requirement, wherein the dynamically controllable cooling system is controlled by the automated controller to initiate an increased availability of cooling capacity for the server system after the predicted future physical condition indicates an increase in cooling demand and before an increase in the temperature associated with the server system and caused by the sequence of operations queued for performance by the server system is indicated by the input.

2. The method according to claim 1, further comprising selectively activating the server system from an idle state to an active state, and loading the server system in the active state to a processing load predicted to maintain the server in the active state within the predetermined thermal constraint, wherein the dynamically controllable cooling system associated with the server system is selectively operated in a low power consumption state while the server system is maintained in the idle state.

3. The method according to claim 1, wherein the associated dynamically controllable cooling system comprises an air conditioner.

4. The method according to claim 3, wherein the air conditioner comprises a control adapted to vary an air flow rate and an air temperature or air for cooling the server system, further comprising varying the air flow rate and the air temperature of air cooling the server system responsive to the control output of the automated controller.

5. The method according to claim 4, wherein the air conditioner is associated with a proportionally controllable air flow regulation baffle.

6. The method according to claim 1, wherein the predetermined thermal constraint comprises a maximum operating temperature of at least one component of the server system.

7. The method according to claim 1, wherein the predetermined thermal constraint comprises a maximum energy consumption of the server system.

8. The method according to claim 1, wherein the input is received from a thermal sensor, sensing a temperature of a component within the server system.

9. The method according to claim 1, wherein the input represents an energy consumption of at least one component within the server system.

10. The method according to claim 1, further comprising providing a queue for ordering the sequence of operations for performance by the server system, and receiving new tasks in the queue except when the server system is at risk of at least one of exceeding the predetermined thermal constraint and failing to meet the processing rate defined by a quality of service requirement.

11. The method according to claim 1, further comprising providing a queue for ordering the sequence of operations for performance by the server system, an removing at least a portion of the sequence of operations from the queue when the server system is at risk of at least one of exceeding the predetermined thermal constraint, and failing to meet the processing rate defined by a quality of service requirement.

12. The method according to claim 1, wherein the server system comprises a plurality of processing units, each processing unit executing under a respective operating system, wherein at least a portion of said predicting or said controlling is executed as a part of the respective operating system of a respective processing unit.

13. The method according to claim 1, further comprising controlling the server system by the automated controller, external to the server system, adapted to allocate tasks representing respective sequences of instructions, to the server system, in dependence on at least the input and the predicting.

14. A method for controlling a server system having an associated dynamically controllable cooling system and a predetermined thermal constraint, comprising:
predicting, with at least one automated processor, a future physical condition of the server system and the associated dynamically controllable cooling system based on a model of the server system and the associated dynamically controllable cooling system, and a sequence of operations queued for performance by the server system prior to processing by the server system, wherein the sequence of operations queued for performance by the server system is selectively defined to concentrate thermal stresses in a subset of available resources of the server system;
dynamically controlling the dynamically controllable cooling system with an automated controller, in response to at least the sequence of operations queued for performance by the server system prior to processing by the server system and the predicted future physical condition, to change a capacity of the associated dynamically controllable cooling system to cool the server system comprising the subset of available resources of the server system to which the thermal stresses are concentrated, to achieve a cooling capacity predicted to be sufficient to meet the predetermined thermal constraint while meeting a quality of service requirement representing a rate of performance by the server system, wherein the dynamically controllable cooling system is controlled by the automated controller to alter a cooling of the server system after the predicted future physical condition indicates a change in a predicted cooling demand and before a change in temperature of the server system resulting from performance of the operations queued for performance by the server system.

15. The method according to claim 14, wherein the server system comprises a plurality of separately activatable components, further comprising selectively activating at least one activatable component from an idle state to an active state, selectively in dependence on a predicted inability of the server system to meet the predetermined thermal constraint and the quality of service requirement representing the rate of performance by the server system.

16. The method according to claim 14, further comprising providing a queue for ordering the sequence of operations queued for performance by the server system, and receiving new tasks into the queue and removing existing tasks from the queue selectively dependent on a predicted ability of the server system to meet both the predetermined thermal constraint and the quality of service requirement representing the rate of performance by the server system for the sequence of operations queued for performance by the server system.

17. The method according to claim 14, wherein the server system comprises a plurality of processing units each having a predetermined thermal constraint, a distinct sequence of operations queued for performance, a predicted future physical condition, and a distinct cooling capacity from the associated dynamically controllable cooling system, wherein the dynamically controllable cooling system is dynamically controlled based on at least the sequence of operations queued for performance by each respective processing unit and the model of the server system comprising the plurality of processing units, to change the respective distinct cooling capacity of the associated dynamically controllable cooling system to cool the respective processing unit.

18. A system for controlling a server system, having an associated dynamically controllable cooling system and a predetermined thermal constraint, comprising:
an interface port configured to receive an input corresponding to a physical condition of a server system and an environment of the server system; and
at least one processor, configured to:
estimate a future physical condition based on a set of tasks to be processed by the server system while maintaining a rate within a capacity of the server system defined by a quality of service requirement, wherein the tasks to be processed are allocated to a subset of elements of the server system to concentrate thermal stresses;
dynamically control the dynamically controllable cooling system in response to at least the input and the estimated future physical condition to selectively cool the server system comprising the subset of the elements of the server system which reflect the concentrated thermal stresses, after the estimated future physical condition indicates a change in a predicted cooling demand and before a change in temperature of the server system resulting from performance of the tasks to be processed by the server system, sufficient to meet the predetermined thermal constraint while processing the tasks while maintaining the rate defined by the quality of service requirement; and
optimize a schedule of tasks for the server system seeking to selectively achieve a peak loading level for processing the tasks while maintaining the rate defined by the quality of service requirement of the server system while maintaining operation of the server system within the predetermined thermal constraint.

19. The system according to claim 18, wherein the server system comprises at least one of a rack comprising a plurality of servers and a plurality of server blades, the associated dynamically controllable cooling system comprises an air conditioner, having at least one of: a control adapted to vary an air flow rate and an air temperature or air for cooling the server system, and a proportionally controllable baffle, wherein the predetermined thermal constraint comprises at least one of: a maximum operating temperature of at least one component of the server system, and a maximum power dissipation of the server system.

20. The system according to claim 18, wherein the estimated future physical condition comprises a temperature of at least one processing component within the server system, the temperature being predicted by the at least one processor based on a model of the server system and a sequence of operations performed by the server system comprising the at least one processing component, and a control parameter which varies a processing performance of the at least one processing component, the variation in processing performance of the processing component causing a change in both a rate of processing and a power dissipation.