WO2017025696A1 - Methods and systems for workload distribution - Google Patents

Methods and systems for workload distribution Download PDF

Info

Publication number
WO2017025696A1
WO2017025696A1 PCT/GB2015/052292 GB2015052292W WO2017025696A1 WO 2017025696 A1 WO2017025696 A1 WO 2017025696A1 GB 2015052292 W GB2015052292 W GB 2015052292W WO 2017025696 A1 WO2017025696 A1 WO 2017025696A1
Authority
WO
WIPO (PCT)
Prior art keywords
server
servers
temperature
job
load
Prior art date
Application number
PCT/GB2015/052292
Other languages
French (fr)
Inventor
Fabrice Saffre
Hanno HILDMANN
Sébastien Matthieu Rene NICOLAS
Original Assignee
Khalifa University of Science, Technology, and Research
British Telecommunications Plc
Emirates Telecommunications Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Khalifa University of Science, Technology, and Research, British Telecommunications Plc, Emirates Telecommunications Corporation filed Critical Khalifa University of Science, Technology, and Research
Priority to PCT/GB2015/052292 priority Critical patent/WO2017025696A1/en
Priority to EP15751063.7A priority patent/EP3332303A1/en
Publication of WO2017025696A1 publication Critical patent/WO2017025696A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/20Cooling means
    • G06F1/206Cooling means comprising thermal management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/505Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5094Allocation of resources, e.g. of the central processing unit [CPU] where the allocation takes into account power or heat criteria
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present invention relates to methods and systems for workload distribution. It is particularly, but not exclusively, concerned with workload distribution in data centers, in particular data centers that use fresh air cooling.
  • Fresh air cooling [7] [1] is a rapidly spreading technique [6] to lower the PUE (Power Usage Effectiveness) of data-centres [2] by lowering the requirements for active cooling [5] with powered chillers [4]. It essentially combines using hardware capable of operating at higher temperatures with a ventilating system that relies solely or primarily on fresh air (i.e. at ambient outside temperature [9]) [8].
  • the "shortest queue” or “round-robin” strategy may be sub-optimal. This is intuitively understandable; for instance, it is typical for a server to have a short queue at the end of a period of intense activity. However, it will also be running very hot and potentially close to initiating a "cool down" phase, making it a poor choice for the allocation of a newly arrived job. Yet considering the temperature alone is also a bad idea: at the end of its idling period ("cool down" phase), a server will be close to its lower resumption threshold temperature, and may therefore appear as an optimal choice. However, it may still have a long queue of (partially) unprocessed jobs, which would also cause unwanted delays in the execution of the newcomer.
  • An object of the present invention is to provide a method to balance the workload between multiple servers so as to minimise their aggregated cooling-related idling time (and hence the delay incurred by queuing jobs) where the serves use exclusively fresh air cooling.
  • a further object of the present invention is to provide a method for distributing incoming jobs across a population of servers so as to maximise their aggregated processing capacity over a period of time in the absence of active refrigeration.
  • aspects of the present invention provide for methods and systems devices for distributing jobs between a plurality of servers which take account of both the temperature of the servers and the amount of tasks allocated to the servers.
  • a first aspect of the present invention provides a method for allocating jobs to a plurality of servers, wherein the jobs are tasks to be performed by the servers, the method comprising the steps of: receiving a job to be allocated; determining information relating to the state of each of the servers, the information comprising the temperature of each server and the amount of tasks allocated to the server and still to be performed by the server; calculating a thermal ioad of each server using the information from the servers, choosing the server to allocate the job to according to the calculated thermal loads of the servers; and allocating the job to the chosen server.
  • Calculating a thermal load of each server which is based on both the temperature of the server and the amount of tasks allocated to the server, allows the method to take account of not only the current temperature state of the server (which is directly measurable) but also the likely temperature state of the server when the server reaches the stage of processing the job being allocated. By comparing these thermal loads, the allocation of incoming jobs between the servers can be improved and preferably optimized.
  • the jobs will typically be data processing tasks which are to be processed by the processors or processor cores of the servers.
  • the servers may be identical in their processing speed/capacity, but if there are differences (for example because some servers have more processors/processor cores than others), then these differences can be taken into account when calculating the thermal load. Such differences may form part of the information determined in the method of the present aspect.
  • the calculation of the thermal load and/or the allocation of the job may take into account further information or further factors, such as the state of each server, any planned downtime for the server or whether certain jobs are required to be performed on certain servers.
  • the amount of tasks allocated to a server may be defined in terms of the number of jobs or, more preferably, the expected processing time. In most situations, jobs arriving for processing will have different processing requirements in terms of CPU time and so it is advantageous if the allocation process is able to take account of this.
  • the servers are located in a data centre which is cooled by fresh air cooling alone (no active cooling apparatus is used).
  • the method of this aspect may be used to prevent the servers from entering an active/idling oscillation of the servers as they cool down or at least increase the job processing capacity of the data centre which can be reached before such oscillation commences.
  • the method of this aspect may also be used in conjunction with servers which are cooled by active cooling, by reducing the amount of active cooling required by determining the job allocation between the servers to ensure that they do not overheat and/or that the amount of active cooling required is reduced (compared to other allocation methods) or preferably optimized.
  • the step of choosing chooses the server with the lowest calculated thermal load. This should ensure that, at least in approximate terms, the thermal load is balanced across the servers and will therefore allocate the incoming job to the server. Thereby the likelihood of one or more of the servers having to enter an idle state to cool down or require active cooling can be reduced and preferably minimized.
  • the temperature of the server which is determined is the temperature of a CPU in the server. However, other temperatures, such as the temperature of the motherboard or bios, may also be used.
  • the calculation of the thermal load may be carried out by each server based on the information determined about that server and the thermal loads communicated to a central load balancing device (or to a selected one of the servers which has been selected to carry out job allocation).
  • the servers may send the information to the central load balancing device (or selected server) which performs the calculations for all of the servers.
  • the method may include the further step of storing the thermal load of each server.
  • the information and/or the thermal loads may be updated each time that a new job arrives, or it may be periodically determined. This may be by way of "polling" the servers, or by the servers sending the information and/or thermal loads out on a regular basis.
  • the method may also include the further steps of: switching a server to an idle state if the temperature of that server exceeds an upper temperature threshold; and switching a server in an idle state to an active state when the server temperature reaches a lower temperature threshold.
  • Idling a server which is above an upper threshold temperature allows the server to cool down and is the usual option adopted where fresh air cooling is used. The server can then be reactivated once it reaches a lower temperature threshold and continue processing tasks. However, unless the rate of job arrival decreases, idling a server will typically lead to a continuous oscillation between the busy and idling states (and an ever-increasing queue of unprocessed jobs).
  • queueLength may be the number of tasks awaiting processing by the server, which will be an effective measure where the jobs are of essentially the same or similar processing times. However, where the jobs can be of variable lengths, queueLength is preferably the scheduled or estimated processing time of all the tasks awaiting processing, thus allowing the thermal load calculation to take account of the varying length of the jobs that might be assigned to different servers.
  • This particular calculation of the thermal load provides an estimation of the server temperature after the queue is cleared or, in other words, provides an estimation of the total thermal energy of the server which includes both the explicit thermal energy in terms of the temperature and the implicit thermal energy which is condensed in the queue of allocated but unprocessed jobs. Therefore, by using this calculation of the thermal load, the method can allocate the job to the server which currently has the coolest 'effective' temperature or minimum total thermal energy and avoid allocations to servers which have either a short queue but high temperature, or which are coolest, but have a lot of stored processing (and therefore stored temperature).
  • the method of the present aspect may include any combination of some, all or none of the above described preferred and optional features.
  • the method of the above aspect is preferably implemented by a system or a load balance device according to the second or third aspects of this invention, as described below, but need not be.
  • a second aspect of the present invention provides a system for allocating jobs to a plurality of servers, wherein the jobs are tasks to be performed by the servers, the system including: a load balancer; a plurality of servers, each having a temperature sensor arranged to measure the temperature of the server; and a network connecting said servers, wherein the system is arranged to: determine information relating to the state of each of the servers, the information comprising the temperature of each server and the amount of tasks allocated to the server and still to be completed by the server; and calculate a thermal load of each server using the information, and the load balancer is arranged to: receive a job to be allocated; choose a server to allocate the job to according to the calculated thermal loads of the servers; and allocate the job to the chosen server.
  • Calculating a thermal load of each server which is based on both the temperature of the server and the amount of tasks allocated to the server, allows the system to take account of not only the current temperature state of the server (which is directly measurable) but also the likely temperature state of the server when the server reaches the stage of processing the job being allocated. By comparing these thermal loads, the allocation of incoming jobs between the servers can be improved and preferably optimized.
  • the jobs will typically be data processing tasks which are to be processed by the processors or processor cores of the servers.
  • the servers may be identical in their processing speed/capacity, but if there are differences (for example because some servers have more processors/processor cores than others), then these differences can be taken into account when calculating the thermal load. Such differences may form part of the information determined in the system of the present aspect.
  • the calculation of the thermal load and/or the allocation of the job may take into account further information or further factors, such as the state of each server, any planned downtime for the server or whether certain jobs are required to be performed on certain servers.
  • the amount of tasks allocated to a server may be defined in terms of the number of jobs or, more preferably, the expected processing time. In most situations, jobs arriving for processing will have different processing requirements in terms of CPU time and so it is advantageous if the allocation process is able to take account of this.
  • the load balancer chooses the server with the lowest calculated thermal load to allocate the job to. This should ensure that, at least in approximate terms, the thermal load is balanced across the servers and will therefore allocate the incoming job to the server.
  • the temperature sensors preferably measure the temperature of a CPU in each server.
  • thermos temperature such as the motherboard or bios temperature
  • Each server may have a processor which performs the calculation of the thermal ioad based on the information determined about that server.
  • the thermal loads thus calculated can be communicated to the load balancer in order for the load balancer to allocate the incoming job.
  • the servers may send the information to the load balancer which has a processor which performs the calculations for all of the servers.
  • the load balancer may further include a memory for storing the thermal load of each server.
  • the information and/or the thermal loads may be updated each time that a new job arrives, or it may be periodically determined. This may be by way of "polling" the servers, or by the servers sending the information and/or thermal loads out on a regular basis.
  • the server may be configured to switch to an idle state until the server temperature reaches a lower temperature threshold when it is configured to switch to an active state.
  • This switching may be performed automatically by the server, or may be subject to central control. The switching may take account of further factors (for example, switching to an idle state may only occur between the processing of jobs so that the server never leaves a job partially complete before switching to the idle state).
  • Idling a server which is above an upper threshold temperature allows the server to cool down and is the usual option adopted where fresh air cooling is used.
  • the server can then be reactivated once it reaches a lower temperature threshold and continue processing tasks.
  • the servers are located in a data centre which is cooled by fresh air cooling alone (no active cooling apparatus is used).
  • the system of this aspect may prevent the servers from entering an active/idling oscillation of the servers as they cool down or at least increase the job processing capacity of the data centre which can be reached before such oscillation commences.
  • the system of this aspect may also include active cooling apparatus which actively cools a server which has exceeded a temperature threshold.
  • the amount of active cooling required can be reduced by determining the job allocation between the servers to ensure that they do not overheat and/or that the amount of active cooling required is reduced (compared to other allocation methods) or preferably optimized.
  • queueLength may be the number of tasks awaiting processing by the server, which will be an effective measure where the jobs are of essentially the same or similar processing times. However, where the jobs can be of variable lengths, queueLength is preferably the scheduled or estimated processing time of all the tasks awaiting processing, thus allowing the thermal load calculation to take account of the varying length of the jobs that might be assigned to different servers.
  • This particular calculation of the thermal load provides an estimation of the server temperature after the queue is cleared or, in other words, provides an estimation of the total thermal energy of the server which includes both the explicit thermal energy in terms of the temperature and the implicit thermal energy which is condensed in the queue of allocated but unprocessed jobs. Therefore, by using this calculation of the thermal load, the system can allocate the job to the server which currently has the coolest 'effective' temperature or minimum total thermal energy and avoid allocations to servers which have either a short queue but high temperature, or which are coolest, but have a lot of stored processing (and therefore stored temperature).
  • the load balancer may be a separate device, or it may form part of a management computer or similar computer which is connected to the servers. Alternatively, the load balancer may be part of one of the servers which has been selected to carry out job allocation.
  • the system of the present aspect may include any combination of some, all or none of the above described preferred and optional features.
  • a third aspect of the present invention provides a load balancing device for allocating jobs to a plurality of servers, wherein the jobs are tasks to be performed by the servers, the load balancing device having a processor and being arranged to: receive a job to be allocated to a server, and receive information from each of the servers, the information comprising the temperature of the server, and the amount of tasks allocated to the server and still to be completed by the server, and wherein the processor: calculates a thermal load of each server using the information from the servers; chooses a server to allocate the job to according to the calculated thermal loads of the servers; and allocates the job to said chosen server.
  • the jobs will typically be data processing tasks which are to be processed by the processors or processor cores of the servers.
  • the servers may be identical in their processing speed/capacity, but if there are differences (for example because some servers have more processors/processor cores than others), then these differences can be taken into account when calculating the thermal load. Such differences may form part of the information determined in the system of the present aspect.
  • the calculation of the thermal load and/or the allocation of the job may take into account further information or further factors, such as the state of each server, any planned downtime for the server or whether certain jobs are required to be performed on certain servers.
  • the amount of tasks allocated to a server may be defined in terms of the number of jobs or, more preferably, the expected processing time. In most situations, jobs arriving for processing will have different processing requirements in terms of CPU time and so it is advantageous if the allocation process is able to take account of this.
  • the load balancing device chooses the server with the lowest calculated thermal load to allocate the job to. This should ensure that, at least in approximate terms, the thermal load is balanced across the servers and will therefore allocate the incoming job to the server. Thereby the likelihood of one or more of the servers having to enter an idle state to cool down or require active cooling can be reduced and preferably minimized.
  • the temperatures of the servers are preferably the temperature of a CPU in the server. However, other temperatures, such as the motherboard or bios temperature, may also be used.
  • the load balancing device may further include a memory for storing the thermal load of each server.
  • the information and/or the thermal loads may be updated each time that a new job arrives, or it may be periodically determined. This may be by way of "polling" the servers, or by the servers sending the information out on a regular basis.
  • the servers are located in a data centre which is cooled by fresh air cooling alone (no active cooling apparatus is used).
  • the load balancing device of this aspect may prevent the servers from entering an active/idling oscillation of the servers as they cool down or at least increase the job processing capacity of the data centre which can be reached before such oscillation commences.
  • the load balancing device of this aspect may also operate in data centres which have active cooling apparatus which actively cools the servers.
  • the amount of active cooling required can be reduced by determining the job allocation between the servers to ensure that they do not overheat and/or that the amount of active cooling required is reduced (compared to other allocation methods) or preferably optimized.
  • queueLength may be the number of tasks awaiting processing by the server, which will be an effective measure where the jobs are of essentially the same or similar processing times. However, where the jobs can be of variable lengths, queueLength is preferably the scheduled or estimated processing time of all the tasks awaiting processing, thus allowing the thermal load calculation to take account of the varying length of the jobs that might be assigned to different servers.
  • This particular calculation of the thermal load provides an estimation of the server temperature after the queue is cleared or, in other words, provides an estimation of the total thermal energy of the server which includes both the explicit thermal energy in terms of the temperature and the implicit thermal energy which is condensed in the queue of allocated but unprocessed jobs.
  • the system can allocate the job to the server which currently has the coolest 'effective' temperature or minimum total thermal energy and avoid allocations to servers which have either a short queue but high temperature, or which are coolest, but have a lot of stored processing (and therefore stored temperature).
  • the load balancing device may be a separate device, or it may form part of a management computer or similar computer which is connected to the servers. Alternatively, the load balancing device may be part of one of the servers which has been selected to carry out job allocation.
  • the load balance device of the present aspect may include any combination of some, all or none of the above described preferred and optional features.
  • Figure 1 shows, in schematic form, a system according to an embodiment of the present invention
  • Figures 2a-2c show the longest aggregated queue per cycle for simulations of four allocation algorithms at different workloads
  • Figure 3 shows a performance comparison between the three best allocation algorithms from the simulations in Figure 2 tested under variable workload conditions; and Figures 4a and 4b show an alternative performance comparison between the three allocation algorithms considered in Figure 3, showing the average aggregated queue over the first two cycles for each of the algorithms at different average capacities.
  • Figure 1 shows the system diagram of a typical system according to an embodiment of the present invention which is controlled by a method according to an embodiment of the present invention, such as that set out below.
  • a plurality of servers 1 are connected to a network (not shown).
  • a load balancer 10 is responsible for allocating arriving jobs between the servers.
  • the load balancer 10 may be a selected one of said servers, or it may be a separate computer with a dedicated
  • Each of the servers 1 has a processor (or multiple processors) 20 which carries out jobs assigned to the server 1 by the load balancer 10. These jobs are carried out by main process 12 and, where multiple jobs are assigned to the server, subsequent jobs are stored in a queue 14.
  • the processor runs a daemon 1 , which continuously receives an input from a temperature sensor 13 which reads the temperature from the the server. Ideally the temperature sensor 13 will measure the temperature of the least temperature tolerant and/or most temperature impacted electronic component (this will be the CPU temperature in most situations, but more heat-tolerant CPUs are being developed and so it may be the motherboard or bios).
  • the daemon 1 also communicates with the main process 12 (via interprocess
  • the daemon 1 1 calculates its load value X and sends it to the central load balancer 10, either via regular push updates or on-demand pull requests from the balancer 10. This information is sent by a protocol such as SNMP.
  • the daemon 1 1 may provide the raw information (temperature, queue length and state) to the central load balancer 10 by a similar mechanism.
  • the load balancer stores the load values of each server 1 in a table in its memory.
  • the load balancer 10 may use the aggregated information from each server to compute individual load values X either when the data is received (in which case these values are stored in a table in the balancer's memory) or may compute the individual load values X of each server in real-time.
  • the load balancer 10 consults the information held and sends the job to the server 1 with the smallest X.
  • Servers have a maximum safe operational temperature (critical threshold) [3] [10]. When a server reaches/exceeds it, the server immediately enters idling mode until it has cooled down to a lower temperature (resumption threshold)
  • Allocation is immediate and final: upon arrival, a job is directly sent to a server and will remain in the corresponding queue until processed (i.e. no central queue or transfer between servers)
  • the determination of the load value in methods according to an embodiment of the invention includes the two variables, queue length (which may be defined in terms of the number of jobs or, more preferably, the expected processing time of the allocated jobs) and
  • the load value of each server is calculated as:
  • Figures 2a-2c show a performance comparison between the above four allocation algorithms for increasing constant workload.
  • the bars show the longest aggregated queue per cycle which, in these tests was a 1 day period.
  • Figure 2a when the simulated data-centre operates at 28% capacity, all four strategies are roughly equivalent.
  • Figure 2b At 50% (Figure 2b), the "Coolest” strategy is breaking down, as evidenced by substantially longer aggregated queue (jobs waiting to be processed). It should be noted however that for this workload, the situation is almost stabilizing (i.e. the length of the queue only increases marginally in the last few days of the numerical experiment).
  • Figure 3 shows a performance comparison between the three best allocation algorithms from the previous simulations ("Idlest”, “Round Robin” and “Smart”) tested under variable workload conditions (sine-wave function, varying between 50% and 150% of the average demand).
  • Figure 3 plots the longest aggregated queue in the 7 th cycle (i.e. on day 7 of the simulation) for each algorithm at a range of average workloads.
  • Figures 4a and 4b show an alternative performance comparison between the three allocation algorithms considered in Figure 3 under the same variable workload conditions (sine-wave function, amplitude equal to average demand).
  • Figure 4a shows the average aggregated queue over the first two cycles for each of the algorithms at an average 52% capacity and Figure 4b shows the same results at 55% capacity.
  • simulations relate to specific conditions, in particular that they simulate the case of a data-centre relying exclusively on fresh-air cooling and in which "forced" idling time is used to dissipate heat.
  • Equation [1 ] provides an estimation of the processor temperature after the queue is cleared or, in other words, it expresses the total thermal energy of the processor system which includes both the explicit thermal energy in terms of temperature and the implicit thermal energy which is condensed in the queue. Therefore, by using the load value calculated according to equation [1], the load balancer allocates the job to the server with the coolest 'effective' temperature or minimum total thermal energy.
  • the present invention is not limited to calculations of load values according to equation [1]. Alternative ways of calculating a load value which exhibit similar properties are also usable in embodiments of the present invention.
  • computer system includes the hardware, software and data storage devices for embodying a system or carrying out a method according to the above described
  • a computer system may comprise a central processing unit (CPU), input means, output means and data storage.
  • the computer system has a monitor to provide a visual output display (for example in the design of the business process).
  • the data storage may comprise RAM, disk drives or other computer readable media.
  • the computer system may include a plurality of computing devices connected by a network and able to communicate with each other over that network.
  • the methods of the above embodiments may be provided as computer programs or as computer program products or computer readable media carrying a computer program which is arranged, when run on a computer, to perform the method(s) described above.
  • computer readable media includes, without limitation, any non-transitory medium or media which can be read and accessed directly by a computer or computer system.
  • the media can include, but are not limited to, magnetic storage media such as floppy discs, hard disc storage media and magnetic tape; optical storage media such as optical discs or CD- ROMs; electrical storage media such as memory, including RAM, ROM and flash memory; and hybrids and combinations of the above such as magnetic/optical storage media.

Abstract

This invention relates to methods and systems for workload distribution, particularly in data centers, more particularly data centers which use fresh air cooling. Embodiments of the invention provide methods and systems which calculate a load value for each server which takes account of both the temperature of the server and its current job queue, and determine the server to which an incoming job should be allocated on the basis of the load values of the available servers.

Description

METHODS AND SYSTEMS FOR WORKLOAD DISTRIBUTION
Field of the Invention
The present invention relates to methods and systems for workload distribution. It is particularly, but not exclusively, concerned with workload distribution in data centers, in particular data centers that use fresh air cooling.
Background of the Invention
Fresh air cooling [7] [1] is a rapidly spreading technique [6] to lower the PUE (Power Usage Effectiveness) of data-centres [2] by lowering the requirements for active cooling [5] with powered chillers [4]. It essentially combines using hardware capable of operating at higher temperatures with a ventilating system that relies solely or primarily on fresh air (i.e. at ambient outside temperature [9]) [8].
In these conditions, there is usually a region of the parameters space (workload, heat generation/dissipation rates ...) for which an isolated server will reach its critical temperature and need to idle in order to cool down to an acceptable level (resumption threshold). For a fixed job arrival rate, this will typically lead to an oscillation between the busy and idling states (and an ever-increasing queue of unprocessed jobs).
With active cooling [3] (or, more generally, without idling time), minimising delays is trivial and is best achieved by sending incoming jobs to the server with the shortest local queue (assuming they are all identical with respect to processing capability). Note that if jobs are all of the same size/duration, then the same result can be obtained by using a simple round- robin rule.
With fresh air cooling however (or, more generally, when servers may become temporarily unavailable as a direct result of their past activity) the problem becomes much more complex because the system has a memory. In summary: the "shortest queue" or "round-robin" strategy may be sub-optimal. This is intuitively understandable; for instance, it is typical for a server to have a short queue at the end of a period of intense activity. However, it will also be running very hot and potentially close to initiating a "cool down" phase, making it a poor choice for the allocation of a newly arrived job. Yet considering the temperature alone is also a bad idea: at the end of its idling period ("cool down" phase), a server will be close to its lower resumption threshold temperature, and may therefore appear as an optimal choice. However, it may still have a long queue of (partially) unprocessed jobs, which would also cause unwanted delays in the execution of the newcomer.
An object of the present invention is to provide a method to balance the workload between multiple servers so as to minimise their aggregated cooling-related idling time (and hence the delay incurred by queuing jobs) where the serves use exclusively fresh air cooling.
A further object of the present invention is to provide a method for distributing incoming jobs across a population of servers so as to maximise their aggregated processing capacity over a period of time in the absence of active refrigeration.
Summary of the Invention At their broadest, aspects of the present invention provide for methods and systems devices for distributing jobs between a plurality of servers which take account of both the temperature of the servers and the amount of tasks allocated to the servers.
A first aspect of the present invention provides a method for allocating jobs to a plurality of servers, wherein the jobs are tasks to be performed by the servers, the method comprising the steps of: receiving a job to be allocated; determining information relating to the state of each of the servers, the information comprising the temperature of each server and the amount of tasks allocated to the server and still to be performed by the server; calculating a thermal ioad of each server using the information from the servers, choosing the server to allocate the job to according to the calculated thermal loads of the servers; and allocating the job to the chosen server.
Calculating a thermal load of each server which is based on both the temperature of the server and the amount of tasks allocated to the server, allows the method to take account of not only the current temperature state of the server (which is directly measurable) but also the likely temperature state of the server when the server reaches the stage of processing the job being allocated. By comparing these thermal loads, the allocation of incoming jobs between the servers can be improved and preferably optimized.
The jobs will typically be data processing tasks which are to be processed by the processors or processor cores of the servers.
The servers may be identical in their processing speed/capacity, but if there are differences (for example because some servers have more processors/processor cores than others), then these differences can be taken into account when calculating the thermal load. Such differences may form part of the information determined in the method of the present aspect.
The calculation of the thermal load and/or the allocation of the job may take into account further information or further factors, such as the state of each server, any planned downtime for the server or whether certain jobs are required to be performed on certain servers.
The amount of tasks allocated to a server may be defined in terms of the number of jobs or, more preferably, the expected processing time. In most situations, jobs arriving for processing will have different processing requirements in terms of CPU time and so it is advantageous if the allocation process is able to take account of this. Preferably the servers are located in a data centre which is cooled by fresh air cooling alone (no active cooling apparatus is used). The method of this aspect may be used to prevent the servers from entering an active/idling oscillation of the servers as they cool down or at least increase the job processing capacity of the data centre which can be reached before such oscillation commences. However, the method of this aspect may also be used in conjunction with servers which are cooled by active cooling, by reducing the amount of active cooling required by determining the job allocation between the servers to ensure that they do not overheat and/or that the amount of active cooling required is reduced (compared to other allocation methods) or preferably optimized. Preferably the step of choosing chooses the server with the lowest calculated thermal load. This should ensure that, at least in approximate terms, the thermal load is balanced across the servers and will therefore allocate the incoming job to the server. Thereby the likelihood of one or more of the servers having to enter an idle state to cool down or require active cooling can be reduced and preferably minimized. Preferably the temperature of the server which is determined is the temperature of a CPU in the server. However, other temperatures, such as the temperature of the motherboard or bios, may also be used.
The calculation of the thermal load may be carried out by each server based on the information determined about that server and the thermal loads communicated to a central load balancing device (or to a selected one of the servers which has been selected to carry out job allocation). Alternatively, the servers may send the information to the central load balancing device (or selected server) which performs the calculations for all of the servers.
The method may include the further step of storing the thermal load of each server. The information and/or the thermal loads may be updated each time that a new job arrives, or it may be periodically determined. This may be by way of "polling" the servers, or by the servers sending the information and/or thermal loads out on a regular basis.
The method may also include the further steps of: switching a server to an idle state if the temperature of that server exceeds an upper temperature threshold; and switching a server in an idle state to an active state when the server temperature reaches a lower temperature threshold.
Idling a server which is above an upper threshold temperature allows the server to cool down and is the usual option adopted where fresh air cooling is used. The server can then be reactivated once it reaches a lower temperature threshold and continue processing tasks. However, unless the rate of job arrival decreases, idling a server will typically lead to a continuous oscillation between the busy and idling states (and an ever-increasing queue of unprocessed jobs).
In certain embodiments of the present invention, the thermal load of each server is calculated as: ThermalLoad = Temperature x e'7Ue"eLen5i:fl wherein queueLength is a representation of the amount of tasks allocated to the server and still to be performed by the server.
queueLength may be the number of tasks awaiting processing by the server, which will be an effective measure where the jobs are of essentially the same or similar processing times. However, where the jobs can be of variable lengths, queueLength is preferably the scheduled or estimated processing time of all the tasks awaiting processing, thus allowing the thermal load calculation to take account of the varying length of the jobs that might be assigned to different servers.
This particular calculation of the thermal load provides an estimation of the server temperature after the queue is cleared or, in other words, provides an estimation of the total thermal energy of the server which includes both the explicit thermal energy in terms of the temperature and the implicit thermal energy which is condensed in the queue of allocated but unprocessed jobs. Therefore, by using this calculation of the thermal load, the method can allocate the job to the server which currently has the coolest 'effective' temperature or minimum total thermal energy and avoid allocations to servers which have either a short queue but high temperature, or which are coolest, but have a lot of stored processing (and therefore stored temperature).
The method of the present aspect may include any combination of some, all or none of the above described preferred and optional features. The method of the above aspect is preferably implemented by a system or a load balance device according to the second or third aspects of this invention, as described below, but need not be.
Further aspects of the present invention include computer programs for running on computer systems which carry out the method of the above aspect, including some, all or none of the preferred and optional features of that aspect.
A second aspect of the present invention provides a system for allocating jobs to a plurality of servers, wherein the jobs are tasks to be performed by the servers, the system including: a load balancer; a plurality of servers, each having a temperature sensor arranged to measure the temperature of the server; and a network connecting said servers, wherein the system is arranged to: determine information relating to the state of each of the servers, the information comprising the temperature of each server and the amount of tasks allocated to the server and still to be completed by the server; and calculate a thermal load of each server using the information, and the load balancer is arranged to: receive a job to be allocated; choose a server to allocate the job to according to the calculated thermal loads of the servers; and allocate the job to the chosen server.
Calculating a thermal load of each server which is based on both the temperature of the server and the amount of tasks allocated to the server, allows the system to take account of not only the current temperature state of the server (which is directly measurable) but also the likely temperature state of the server when the server reaches the stage of processing the job being allocated. By comparing these thermal loads, the allocation of incoming jobs between the servers can be improved and preferably optimized.
The jobs will typically be data processing tasks which are to be processed by the processors or processor cores of the servers.
The servers may be identical in their processing speed/capacity, but if there are differences (for example because some servers have more processors/processor cores than others), then these differences can be taken into account when calculating the thermal load. Such differences may form part of the information determined in the system of the present aspect.
The calculation of the thermal load and/or the allocation of the job may take into account further information or further factors, such as the state of each server, any planned downtime for the server or whether certain jobs are required to be performed on certain servers.
The amount of tasks allocated to a server may be defined in terms of the number of jobs or, more preferably, the expected processing time. In most situations, jobs arriving for processing will have different processing requirements in terms of CPU time and so it is advantageous if the allocation process is able to take account of this. Preferably the load balancer chooses the server with the lowest calculated thermal load to allocate the job to. This should ensure that, at least in approximate terms, the thermal load is balanced across the servers and will therefore allocate the incoming job to the server.
Thereby the likelihood of one or more of the servers having to enter an idle state to cool down or require active cooling can be reduced and preferably minimized. The temperature sensors preferably measure the temperature of a CPU in each server.
However, other temperatures, such as the motherboard or bios temperature, may also be used.
Each server may have a processor which performs the calculation of the thermal ioad based on the information determined about that server. The thermal loads thus calculated can be communicated to the load balancer in order for the load balancer to allocate the incoming job. Alternatively, the servers may send the information to the load balancer which has a processor which performs the calculations for all of the servers.
The load balancer may further include a memory for storing the thermal load of each server. The information and/or the thermal loads may be updated each time that a new job arrives, or it may be periodically determined. This may be by way of "polling" the servers, or by the servers sending the information and/or thermal loads out on a regular basis.
If the temperature of a server exceeds an upper temperature threshold, the server may be configured to switch to an idle state until the server temperature reaches a lower temperature threshold when it is configured to switch to an active state. This switching may be performed automatically by the server, or may be subject to central control. The switching may take account of further factors (for example, switching to an idle state may only occur between the processing of jobs so that the server never leaves a job partially complete before switching to the idle state).
Idling a server which is above an upper threshold temperature allows the server to cool down and is the usual option adopted where fresh air cooling is used. The server can then be reactivated once it reaches a lower temperature threshold and continue processing tasks. However, unless the rate of job arrival decreases, idling a server will typically lead to a continuous oscillation between the busy and idling states (and an ever-increasing queue of unprocessed jobs). Preferably the servers are located in a data centre which is cooled by fresh air cooling alone (no active cooling apparatus is used). The system of this aspect may prevent the servers from entering an active/idling oscillation of the servers as they cool down or at least increase the job processing capacity of the data centre which can be reached before such oscillation commences. However, the system of this aspect may also include active cooling apparatus which actively cools a server which has exceeded a temperature threshold. In such a system, the amount of active cooling required can be reduced by determining the job allocation between the servers to ensure that they do not overheat and/or that the amount of active cooling required is reduced (compared to other allocation methods) or preferably optimized. In certain embodiments of the present invention, the thermal load of each server is calculated as: ThermalLoad = Temperature x equsueLer>gth wnerejn queueLength is a representation of the amount of tasks allocated to the server and still to be performed by the server.
queueLength may be the number of tasks awaiting processing by the server, which will be an effective measure where the jobs are of essentially the same or similar processing times. However, where the jobs can be of variable lengths, queueLength is preferably the scheduled or estimated processing time of all the tasks awaiting processing, thus allowing the thermal load calculation to take account of the varying length of the jobs that might be assigned to different servers.
This particular calculation of the thermal load provides an estimation of the server temperature after the queue is cleared or, in other words, provides an estimation of the total thermal energy of the server which includes both the explicit thermal energy in terms of the temperature and the implicit thermal energy which is condensed in the queue of allocated but unprocessed jobs. Therefore, by using this calculation of the thermal load, the system can allocate the job to the server which currently has the coolest 'effective' temperature or minimum total thermal energy and avoid allocations to servers which have either a short queue but high temperature, or which are coolest, but have a lot of stored processing (and therefore stored temperature).
The load balancer may be a separate device, or it may form part of a management computer or similar computer which is connected to the servers. Alternatively, the load balancer may be part of one of the servers which has been selected to carry out job allocation.
The system of the present aspect may include any combination of some, all or none of the above described preferred and optional features.
A third aspect of the present invention provides a load balancing device for allocating jobs to a plurality of servers, wherein the jobs are tasks to be performed by the servers, the load balancing device having a processor and being arranged to: receive a job to be allocated to a server, and receive information from each of the servers, the information comprising the temperature of the server, and the amount of tasks allocated to the server and still to be completed by the server, and wherein the processor: calculates a thermal load of each server using the information from the servers; chooses a server to allocate the job to according to the calculated thermal loads of the servers; and allocates the job to said chosen server. Calculating a thermal load of each server which is based on both the temperature of the server and the amount of tasks allocated to the server, allows the load balancing device to take account of not only the current temperature state of the server (which is directly measurable) but also the likely temperature state of the server when the server reaches the stage of processing the job being allocated. By comparing these thermal loads, the allocation of incoming jobs between the servers can be improved and preferably optimized.
The jobs will typically be data processing tasks which are to be processed by the processors or processor cores of the servers.
The servers may be identical in their processing speed/capacity, but if there are differences (for example because some servers have more processors/processor cores than others), then these differences can be taken into account when calculating the thermal load. Such differences may form part of the information determined in the system of the present aspect. The calculation of the thermal load and/or the allocation of the job may take into account further information or further factors, such as the state of each server, any planned downtime for the server or whether certain jobs are required to be performed on certain servers.
The amount of tasks allocated to a server may be defined in terms of the number of jobs or, more preferably, the expected processing time. In most situations, jobs arriving for processing will have different processing requirements in terms of CPU time and so it is advantageous if the allocation process is able to take account of this.
Preferably the load balancing device chooses the server with the lowest calculated thermal load to allocate the job to. This should ensure that, at least in approximate terms, the thermal load is balanced across the servers and will therefore allocate the incoming job to the server. Thereby the likelihood of one or more of the servers having to enter an idle state to cool down or require active cooling can be reduced and preferably minimized.
The temperatures of the servers are preferably the temperature of a CPU in the server. However, other temperatures, such as the motherboard or bios temperature, may also be used.
The load balancing device may further include a memory for storing the thermal load of each server. The information and/or the thermal loads may be updated each time that a new job arrives, or it may be periodically determined. This may be by way of "polling" the servers, or by the servers sending the information out on a regular basis. Preferably the servers are located in a data centre which is cooled by fresh air cooling alone (no active cooling apparatus is used). The load balancing device of this aspect may prevent the servers from entering an active/idling oscillation of the servers as they cool down or at least increase the job processing capacity of the data centre which can be reached before such oscillation commences. However, the load balancing device of this aspect may also operate in data centres which have active cooling apparatus which actively cools the servers. In such a system, the amount of active cooling required can be reduced by determining the job allocation between the servers to ensure that they do not overheat and/or that the amount of active cooling required is reduced (compared to other allocation methods) or preferably optimized. In certain embodiments of the present invention, the thermal load of each server is calculated as: ThermalLoad = Temperature x eiueueLength wnerejn queueLength is a representation of the amount of tasks allocated to the server and still to be performed by the server.
queueLength may be the number of tasks awaiting processing by the server, which will be an effective measure where the jobs are of essentially the same or similar processing times. However, where the jobs can be of variable lengths, queueLength is preferably the scheduled or estimated processing time of all the tasks awaiting processing, thus allowing the thermal load calculation to take account of the varying length of the jobs that might be assigned to different servers. This particular calculation of the thermal load provides an estimation of the server temperature after the queue is cleared or, in other words, provides an estimation of the total thermal energy of the server which includes both the explicit thermal energy in terms of the temperature and the implicit thermal energy which is condensed in the queue of allocated but unprocessed jobs. Therefore, by using this calculation of the thermal load, the system can allocate the job to the server which currently has the coolest 'effective' temperature or minimum total thermal energy and avoid allocations to servers which have either a short queue but high temperature, or which are coolest, but have a lot of stored processing (and therefore stored temperature).
The load balancing device may be a separate device, or it may form part of a management computer or similar computer which is connected to the servers. Alternatively, the load balancing device may be part of one of the servers which has been selected to carry out job allocation.
The load balance device of the present aspect may include any combination of some, all or none of the above described preferred and optional features. Brief Description of the Drawings
Embodiments of the invention will now be described by way of example with reference to the accompanying drawings in which:
Figure 1 shows, in schematic form, a system according to an embodiment of the present invention; Figures 2a-2c show the longest aggregated queue per cycle for simulations of four allocation algorithms at different workloads;
Figure 3 shows a performance comparison between the three best allocation algorithms from the simulations in Figure 2 tested under variable workload conditions; and Figures 4a and 4b show an alternative performance comparison between the three allocation algorithms considered in Figure 3, showing the average aggregated queue over the first two cycles for each of the algorithms at different average capacities.
Detailed Description
Figure 1 shows the system diagram of a typical system according to an embodiment of the present invention which is controlled by a method according to an embodiment of the present invention, such as that set out below.
A plurality of servers 1 are connected to a network (not shown). A load balancer 10 is responsible for allocating arriving jobs between the servers. The load balancer 10 may be a selected one of said servers, or it may be a separate computer with a dedicated
management function.
Each of the servers 1 has a processor (or multiple processors) 20 which carries out jobs assigned to the server 1 by the load balancer 10. These jobs are carried out by main process 12 and, where multiple jobs are assigned to the server, subsequent jobs are stored in a queue 14. The processor runs a daemon 1 , which continuously receives an input from a temperature sensor 13 which reads the temperature from the the server. Ideally the temperature sensor 13 will measure the temperature of the least temperature tolerant and/or most temperature impacted electronic component (this will be the CPU temperature in most situations, but more heat-tolerant CPUs are being developed and so it may be the motherboard or bios). The daemon 1 also communicates with the main process 12 (via interprocess
communication such as dbus on Linux) to obtain the length of the queue 14 (the number of jobs awaiting execution on the particular server). The daemon also obtains the state of the machine (idle or busy). The daemon 1 1 calculates its load value X and sends it to the central load balancer 10, either via regular push updates or on-demand pull requests from the balancer 10. This information is sent by a protocol such as SNMP.
Alternatively, the daemon 1 1 may provide the raw information (temperature, queue length and state) to the central load balancer 10 by a similar mechanism.
The load balancer stores the load values of each server 1 in a table in its memory.
Alternatively, if it has received raw information from the servers 1 , the load balancer 10 may use the aggregated information from each server to compute individual load values X either when the data is received (in which case these values are stored in a table in the balancer's memory) or may compute the individual load values X of each server in real-time.
When a new job arrives, the load balancer 10 consults the information held and sends the job to the server 1 with the smallest X.
To test the methods for calculating the load values according to embodiments of the invention, a number of simulations were carried out. Simulation results:
The simulations were based on the following scenario:
There is a fixed population of servers, each of them generating heat [6] at two different rates depending on its state (lower when idling, higher when busy) [5] Servers passively dissipate heat at a rate linearly proportional to the temperature difference with the environment [4] (i.e., all things being equal, faster when the environment is colder [10])
Servers have a maximum safe operational temperature (critical threshold) [3] [10]. When a server reaches/exceeds it, the server immediately enters idling mode until it has cooled down to a lower temperature (resumption threshold)
· While idling, the jobs allocated to a server are not being processed. There is no limit to the incurred delay (i.e. no hard deadline)
Allocation is immediate and final: upon arrival, a job is directly sent to a server and will remain in the corresponding queue until processed (i.e. no central queue or transfer between servers) The determination of the load value in methods according to an embodiment of the invention includes the two variables, queue length (which may be defined in terms of the number of jobs or, more preferably, the expected processing time of the allocated jobs) and
temperature, into the decision function that will determine where to send the new job. In one embodiment of the invention, the load value of each server is calculated as:
X = temperature -x equeueLenaCh [1 ]
It was found that choosing the server that minimises the above load value X offers the best performance in the fresh air cooling scenario characterized by the working hypotheses described above. A first batch of tests was conducted using a constant job arrival rate (fixed probability). Four different allocation strategies were evaluated:
• "Coolest": the job is sent to the server advertising the lowest temperature
• "Idlest": the job is sent to the server advertising the shortest queue
• "Round Robin": jobs are sent to servers in a repeating (circular) sequence · "Smart": the job is sent to the server advertising the lowest load value X (Eq. [1]), i.e. a method according to an embodiment of the present invention.
Figures 2a-2c show a performance comparison between the above four allocation algorithms for increasing constant workload. The bars show the longest aggregated queue per cycle which, in these tests was a 1 day period. As can be seen in Figure 2a, when the simulated data-centre operates at 28% capacity, all four strategies are roughly equivalent. At 50% (Figure 2b), the "Coolest" strategy is breaking down, as evidenced by substantially longer aggregated queue (jobs waiting to be processed). It should be noted however that for this workload, the situation is almost stabilizing (i.e. the length of the queue only increases marginally in the last few days of the numerical experiment).
At 72% capacity (Figure 2c), only the "Smart" strategy manages to avoid entering an oscillatory regime caused by servers having to enter cool down mode in order to avoid overheating. As a result of this phenomenon, all other allocation algorithms end up with "exploding" job queues (note that the scale is logarithmic) due to the corresponding idling time.
Whilst the simulations above are informative, most realistic scenarios would include a cyclic element, i.e. jobs would typically arrive at a different rate at different times, resulting in periods of relative inactivity followed by bursts in demand. It is therefore important to test performance in this alternative scenario as it may cause some or all strategies to fail to stay out of the (undesirable) oscillatory regime during peaks.
When considering these simulations, the key questions are: a) Are there some regions of the parameter space (e.g. average workload and amplitude of the variation) for which some algorithms manage to "hold on" (i.e. avoid overheating) when others fail? b) In the region(s) where all algorithms eventually start to fail, are any of them better at delaying the onset of oscillations and/or recovering after the peak?
Figure 3 shows a performance comparison between the three best allocation algorithms from the previous simulations ("Idlest", "Round Robin" and "Smart") tested under variable workload conditions (sine-wave function, varying between 50% and 150% of the average demand). Figure 3 plots the longest aggregated queue in the 7th cycle (i.e. on day 7 of the simulation) for each algorithm at a range of average workloads.
From Figure 3 it can be seen that the answer to question a) is clearly yes. For fluctuations of relatively high amplitude (demand varies between 0.5 and 1.5 times the mean workload), the "Smart" strategy manages to stay out of the oscillatory regime for an average workload equal or slightly superior to 50% capacity. However, all other strategies fail in this region of the parameter space.
The answer to question b) is more subtle. As soon as the system enters the oscillatory regime, whatever the allocation strategy, the number of jobs waiting to be processed quickly explodes (due to every machine alternating between active and idling/"cool down" mode and the total processing capability of the data-centre being reduced accordingly). As a result, the longest aggregated queue per cycle is no longer the most informative variable.
Figures 4a and 4b show an alternative performance comparison between the three allocation algorithms considered in Figure 3 under the same variable workload conditions (sine-wave function, amplitude equal to average demand). Figure 4a shows the average aggregated queue over the first two cycles for each of the algorithms at an average 52% capacity and Figure 4b shows the same results at 55% capacity.
From Figures 4a and 4b, there is clearly a correlation between the delay before the onset of oscillations and the maximum length of the queue, but its nonlinear nature may hide the fact that for parameter values (e.g. average workload) for which all strategies eventually break down, some allocation algorithms may fare substantially better than others in the early stages of the "busy" period. As shown in Figure 4, this is the case for the "Smart" strategy, which manages to delay the surge even when it cannot prevent it (see Figure 4b, when demand fluctuates around 55% capacity), as well as limiting the peak aggregated queue.
The simulation results above clearly demonstrate that the "Smart" algorithm according to an embodiment of the present invention outperforms the obvious alternatives on almost every aspect.
Of course, these simulations relate to specific conditions, in particular that they simulate the case of a data-centre relying exclusively on fresh-air cooling and in which "forced" idling time is used to dissipate heat.
However, one could imagine a variety of hybrid scenarios in which active cooling could be called upon once the system threatens to enter the damaging oscillatory regime. In this respect, the ability of algorithms according to embodiments of the present invention to delay the onset of such a regime is of particular interest as it would basically allow the data-centre to operate longer under fresh air cooling conditions, therefore reducing power consumption and carbon emissions.
Using a load value calculated according to equation [1] appears to yield good results for the reasons set out below. Ignoring irrelevant complexities, the standard heat exchange equation states that Tt -
Tambient ~ ( ambient ~ T0)e~at . So the temperature rise or drop rate is proportional to the temperature gradient and over time there is a standard exponential decay towards equalising temperatures. The queue length is a direct embodiment of time because on average queue length directly (linearly) translates into how much processing time is needed to clear the queue. Hence equation [1 ] provides an estimation of the processor temperature after the queue is cleared or, in other words, it expresses the total thermal energy of the processor system which includes both the explicit thermal energy in terms of temperature and the implicit thermal energy which is condensed in the queue. Therefore, by using the load value calculated according to equation [1], the load balancer allocates the job to the server with the coolest 'effective' temperature or minimum total thermal energy. However, the present invention is not limited to calculations of load values according to equation [1]. Alternative ways of calculating a load value which exhibit similar properties are also usable in embodiments of the present invention.
The systems and methods of the above embodiments may be implemented in a computer system (in particular in computer hardware or in computer software) in addition to the structural components and user interactions described.
The term "computer system" includes the hardware, software and data storage devices for embodying a system or carrying out a method according to the above described
embodiments. For example, a computer system may comprise a central processing unit (CPU), input means, output means and data storage. Preferably the computer system has a monitor to provide a visual output display (for example in the design of the business process). The data storage may comprise RAM, disk drives or other computer readable media. The computer system may include a plurality of computing devices connected by a network and able to communicate with each other over that network.
The methods of the above embodiments may be provided as computer programs or as computer program products or computer readable media carrying a computer program which is arranged, when run on a computer, to perform the method(s) described above.
The term "computer readable media" includes, without limitation, any non-transitory medium or media which can be read and accessed directly by a computer or computer system. The media can include, but are not limited to, magnetic storage media such as floppy discs, hard disc storage media and magnetic tape; optical storage media such as optical discs or CD- ROMs; electrical storage media such as memory, including RAM, ROM and flash memory; and hybrids and combinations of the above such as magnetic/optical storage media.
While the invention has been described in conjunction with the exemplary embodiments described above, many equivalent modifications and variations will be apparent to those skilled in the art when given this disclosure. Accordingly, the exemplary embodiments of the invention set forth above are considered to be illustrative and not limiting. Various changes to the described embodiments may be made without departing from the spirit and scope of the invention.
In particular, although the methods of the above embodiments have been described as being implemented on the systems of the embodiments described, the methods and systems of the present invention need not be implemented in conjunction with each other, but can be implemented on alternative systems or using alternative methods respectively.
References
[1] Gillan, P.A.; "Fresh air-natural asset [telecommunication equipment cooling],"
Telecommunications Energy Conference, 2002. TNTELEC. 24th Annual International, vol., no., pp. 470- 477, 2002 DOI: 10.1109/INTLEC.2002.1048698
[2] Prithviraj Banerjee, Chandrakant Patel, Cullen Bash, Amip Shah, and Martin Arlitt. 2012. Towards a net-zero data center. J. Emerg. Technol. Comput. Syst. 8, 4, Article 27
(November 2012), 39 pages. DOI=10.1145/2367736.2367738
[3] Lei Li, Chieh-Jan Mike Liang, Jie Liu, Suman Nath, Andreas Terzis, and Christos Faloutsos. 2011. ThermoCast: a cyber-physical forecasting model for datacenters. In
Proceedings of the 17th ACM SIGKDD international conference on Knowledge discovery and data mining (KDD Ί 1 ). ACM, New York, NY, USA, 1370-1378.
DOi=10.1 45/2020408.2020611
[4] Andy Woods. 2010. Cooling the Data Center. Queue 8, 3, Pages 10 (March 2010), 10 pages. DOI=10.1145/1737923.1737963
[5] Luca Parolini, Niraj Tolia, Bruno Sinopoli, and Bruce H. Krogh. 2010. A cyber-physical systems approach to energy management in data centers. In Proceedings of the 1st ACM/IEEE International Conference on Cyber-Physical Systems (ICCPS Ί0). ACM, New York, NY, USA, 168-177. DOI=10.1145/1795194.1795218 [6] Yogendra Joshi, Pramod Kumar, 2012. Energy Efficient Thermal Management of Data Centers, in Emerging Data Center Thermal Management and Energy Efficiency
Technologies Springer 2012, pp 569-61 1 Print ISBN 978-1-4419-7123-4, DOI 10.1007/978- 1-4419-7124-1 13 [7] D. Atwood and J. G. Miner. Reducing Data Center Cost with an Air Economizer, 2008. http://www.inte!. com/it/pdf/Reducing_Data)Center_Cost_with_an_Air_Economizer.pdf
[8] Mikko Pervila and Jussi Kangasharju. 2011. Cold air containment. In Proceedings of the 2nd ACM SIGCOMM workshop on Green networking (GreenNets Ί 1 ). ACM, New York, NY, USA, 7-12. DO 0.1145/2018536.2018539
[9] C. Belady. Intense Computing or In Tents Computing?, 2008.
http://blogs.msdn.eom/b/the_power_of_software/archive/2008/09/19/intense-computing-or-in- tents-computing.aspx
[10] Patterson, M.K.; "The effect of data center temperature on energy efficiency," Thermal and Thermomechanical Phenomena in Electronic Systems, 2008. ITHERM 2008. 1 th Intersociety Conference on, vol,, no., pp. 1167-1 74, 28-31 May 2008 DOI:
10.1109/ITHERM.2008.4544393
All references referred to above are hereby incorporated by reference.

Claims

1 . A method for allocating jobs to a plurality of servers, wherein the jobs are tasks to be performed by the servers, the method comprising the steps of:
receiving a job to be allocated;
determining information relating to the state of each of the servers, the information comprising the temperature of each server and the amount of tasks allocated to the server and still to be performed by the server;
calculating a thermal load of each server using the information from the servers; choosing the server to allocate the job to according to the calculated thermal loads of the servers; and
allocating the job to the chosen server.
2. A method according to claim 1 wherein the step of choosing chooses the server with the lowest calculated thermal load.
3. A method according to claim 1 or claim 2 where the temperature of the server which is determined is the temperature of a CPU in the server.
4. A method according to any one of the preceding claims including the further steps of: switching a server to an idle state if the temperature of that server exceeds an upper temperature threshold; and
switching a server in an idle state to an active state when the server temperature reaches a lower temperature threshold.
5. A method according to any one of the preceding claims where the thermal load of each server is calculated as:
ThermalLoad = Temperature x e<iueuelen3t
wherein queueLength is a representation of the amount of tasks allocated to the server and still to be performed by the server.
6. A system for allocating jobs to a plurality of servers, wherein the jobs are tasks to be performed by the servers, the system including:
a load balancer;
a plurality of servers, each having a temperature sensor arranged to measure the temperature of the server; and a network connecting said servers and said load balancer,
wherein the system is arranged to:
determine information relating to the state of each of the servers, the information comprising the temperature of each server and the amount of tasks allocated to the server and still to be completed by the server; and
calculate a thermal load of each server using the information, and the load balancer is arranged to:
receive a job to be allocated;
choose a server to allocate the job to according to the calculated thermal loads of the servers; and
allocate the job to the chosen server.
7. A system according to claim 6 wherein the load balancer chooses the server with the lowest calculated thermal load to allocate the job to.
8. A system according to either claim 6 or claim 7 where the temperature sensors measure the temperature of a CPU in each server.
9. A system according to any one of claims 6 to 8, wherein if the temperature of a server exceeds an upper temperature threshold, the server switches to an idle state until the server temperature reaches a lower temperature threshold when it switches to an active state.
10. A system according to claim 9 further including active cooling apparatus, wherein the active cooling apparatus actively cools a server which is running idle.
1 1. A system according to any one of claims 6 to 10 where the thermal load of a server is calculated as:
ThermalLoad - T mperature x e iueueie7l5t'1 wherein queueLength is a representation of the amount of tasks allocated to the server and still to be performed by the server.
12. A system according to any one of claims 6 to 11 wherein the load balancer is also a server.
13. A load balancing device for allocating jobs to a plurality of servers, wherein the jobs are tasks to be performed by the servers, the load balancing device having a processor and being arranged to: receive a job to be allocated to a server, and
receive information from each of the servers, the information comprising the temperature of the server, and the amount of tasks allocated to the server and still to be completed by the server,
and wherein the processor:
calculates a thermal load of each server using the information from the servers;
chooses a server to allocate the job to according to the calculated thermal loads of the servers; and
allocates the job to said chosen server.
14. A load balancing device according to claim 13 wherein the processor chooses the server with the lowest thermal load to allocate the job to.
15. A load balancing device according to claim 13 or claim 14 wherein the temperature of each server is the temperature of a CPU in the server.
16. A load balancing device according to any one of claims 13 to 5 wherein the processor calculates the thermal load of each server as:
ThermalLoad = Temperature x equeueLength
wherein queueLength is a representation of the amount of tasks allocated to the server and still to be performed by the server.
PCT/GB2015/052292 2015-08-07 2015-08-07 Methods and systems for workload distribution WO2017025696A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/GB2015/052292 WO2017025696A1 (en) 2015-08-07 2015-08-07 Methods and systems for workload distribution
EP15751063.7A EP3332303A1 (en) 2015-08-07 2015-08-07 Methods and systems for workload distribution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/GB2015/052292 WO2017025696A1 (en) 2015-08-07 2015-08-07 Methods and systems for workload distribution

Publications (1)

Publication Number Publication Date
WO2017025696A1 true WO2017025696A1 (en) 2017-02-16

Family

ID=53879721

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/GB2015/052292 WO2017025696A1 (en) 2015-08-07 2015-08-07 Methods and systems for workload distribution

Country Status (2)

Country Link
EP (1) EP3332303A1 (en)
WO (1) WO2017025696A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111174375A (en) * 2019-12-11 2020-05-19 西安交通大学 Data center energy consumption minimization-oriented job scheduling and machine room air conditioner regulation and control method
CN111752710A (en) * 2020-06-23 2020-10-09 中国电力科学研究院有限公司 Data center PUE dynamic optimization method, system, equipment and readable storage medium
CN113342665A (en) * 2021-06-17 2021-09-03 北京百度网讯科技有限公司 Task allocation method and device, electronic equipment and computer readable medium
US20220043679A1 (en) * 2018-06-05 2022-02-10 Intel Corporation Technologies for providing predictive thermal management
CN114265695A (en) * 2021-12-26 2022-04-01 特斯联科技集团有限公司 Energy control device and system based on decision technology
CN116600553A (en) * 2023-07-18 2023-08-15 科瑞特空调集团有限公司 Dynamic cooling control method and system for indoor server

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6363490B1 (en) * 1999-03-30 2002-03-26 Intel Corporation Method and apparatus for monitoring the temperature of a processor
US20090276095A1 (en) * 2008-05-05 2009-11-05 William Thomas Pienta Arrangement for Operating a Data Center Using Building Automation System Interface

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6363490B1 (en) * 1999-03-30 2002-03-26 Intel Corporation Method and apparatus for monitoring the temperature of a processor
US20090276095A1 (en) * 2008-05-05 2009-11-05 William Thomas Pienta Arrangement for Operating a Data Center Using Building Automation System Interface

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
See also references of EP3332303A1 *
SENA SENEVIRATNE ET AL: "Division of load for operating system kernel", INFORMATION AND AUTOMATION FOR SUSTAINABILITY (ICIAFS), 2012 IEEE 6TH INTERNATIONAL CONFERENCE ON, IEEE, 27 September 2012 (2012-09-27), pages 88 - 94, XP032315958, ISBN: 978-1-4673-1976-8, DOI: 10.1109/ICIAFS.2012.6419887 *
ZHENG ZHOU ET AL: "Scheduling for Multi-core Processor under Process and Temperature Variation", EMBEDDED MULTICORE SOCS (MCSOC), 2012 IEEE 6TH INTERNATIONAL SYMPOSIUM ON, IEEE, 20 September 2012 (2012-09-20), pages 113 - 120, XP032267602, ISBN: 978-1-4673-2535-6, DOI: 10.1109/MCSOC.2012.9 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220043679A1 (en) * 2018-06-05 2022-02-10 Intel Corporation Technologies for providing predictive thermal management
US11907759B2 (en) * 2018-06-05 2024-02-20 Intel Corporation Technologies for providing predictive thermal management
CN111174375A (en) * 2019-12-11 2020-05-19 西安交通大学 Data center energy consumption minimization-oriented job scheduling and machine room air conditioner regulation and control method
CN111174375B (en) * 2019-12-11 2021-02-02 西安交通大学 Data center energy consumption minimization-oriented job scheduling and machine room air conditioner regulation and control method
CN111752710A (en) * 2020-06-23 2020-10-09 中国电力科学研究院有限公司 Data center PUE dynamic optimization method, system, equipment and readable storage medium
CN113342665A (en) * 2021-06-17 2021-09-03 北京百度网讯科技有限公司 Task allocation method and device, electronic equipment and computer readable medium
CN113342665B (en) * 2021-06-17 2023-10-20 北京百度网讯科技有限公司 Task allocation method and device, electronic equipment and computer readable medium
CN114265695A (en) * 2021-12-26 2022-04-01 特斯联科技集团有限公司 Energy control device and system based on decision technology
CN116600553A (en) * 2023-07-18 2023-08-15 科瑞特空调集团有限公司 Dynamic cooling control method and system for indoor server
CN116600553B (en) * 2023-07-18 2023-09-19 科瑞特空调集团有限公司 Dynamic cooling control method and system for indoor server

Also Published As

Publication number Publication date
EP3332303A1 (en) 2018-06-13

Similar Documents

Publication Publication Date Title
US9930109B2 (en) Methods and systems for workload distribution
EP3332303A1 (en) Methods and systems for workload distribution
EP3183629B1 (en) Methods and apparatus to estimate power performance of a job that runs on multiple nodes of a distributed computer system
US9568975B2 (en) Power balancing to increase workload density and improve energy efficiency
US9880887B2 (en) Method, computer program and device for allocating computer resources of a cluster for executing a task submitted to said cluster
US7127625B2 (en) Application management based on power consumption
EP2277092B1 (en) Arrangement for managing data center operations to increase cooling efficiency
Liu et al. Task scheduling and server provisioning for energy-efficient cloud-computing data centers
US20180107503A1 (en) Computer procurement predicting device, computer procurement predicting method, and recording medium
US10305974B2 (en) Ranking system
Dong et al. Energy-aware scheduling schemes for cloud data centers on google trace data
Liu et al. Task and server assignment for reduction of energy consumption in datacenters
CN112533436A (en) Electronics rack of data center and method for determining optimized pump speed of liquid pump
Yazd et al. Boosting energy efficiency with mirrored data block replication policy and energy scheduler
Parolini et al. Model predictive control of data centers in the smart grid scenario
Alhammadi et al. Multi-objective algorithms for virtual machine selection and placement in cloud data center
CN113498300A (en) Electronic rack of data center and method for determining operating parameters thereof
CN107729141B (en) Service distribution method, device and server
Addya et al. A hybrid queuing model for virtual machine placement in cloud data center
US20230229216A1 (en) System and methods for server power management
US11744040B2 (en) Optimal control logic in liquid cooling solution for heterogeneous computing
WO2022171262A1 (en) Scheduling tasks for execution by a computer based on a reinforcement learning model
Vincent et al. Using platform level telemetry to reduce power consumption in a datacenter
Han et al. Thermal-aware energy-efficient task scheduling for DVFS-enabled data centers
Faraci et al. An analytical model for electricity-price-aware resource allocation in virtualized data centers

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15751063

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE