Abstract:
An apparatus and method for controlling power usage in a computer includes a plurality of computers communicating with a local control device, and a power source supplying power to the local control device and the computer. A plurality of sensors communicate with the computer for ascertaining power usage of the computer, and a system control device communicates with the computer for controlling power usage of the computer.

Description:
CROSS-REFERENCE TO RELATED APPLICATIONS 
       [0001]    The present invention is related to the following commonly-owned, co-pending United States patent applications filed on even date herewith, the entire contents and disclosure of each of which is expressly incorporated by reference herein as if fully set forth herein. U.S. patent application Ser. No. (YOR920070268US1 (21189)), for “A SHARED PERFORMANCE MONITOR IN A MULTIPROCESSOR SYSTEM”; U.S. patent application Ser. No. (YOR920070293US1 (21233)), for “OPTIMIZED COLLECTIVES USING A DMA ON A PARALLEL COMPUTER”; U.S. patent application Ser. No. (YOR920070295US1 (21232)), for “DMA SHARED BYTE COUNTERS IN A PARALLEL COMPUTER”; U.S. patent application Ser. No. (YOR920070297US1 (21208)), for “MULTIPLE NODE REMOTE MESSAGING”; U.S. patent application Ser. No. (YOR920070298US1 (21209)), for “A METHOD AND APPARATUS OF PREFETCHING STREAMS OF VARYING PREFETCH DEPTH”; U.S. patent application Ser. No. (YOR920070299US1 (21212)), for “PROGRAMMABLE PARTITIONING FOR HIGH-PERFORMANCE COHERENCE DOMAINS IN A MULTIPROCESSOR SYSTEM”; U.S. patent application Ser. No. (YOR920070300US1 (21211)), for “METHOD AND APPARATUS FOR SINGLE-STEPPING COHERENCE EVENTS IN A MULTIPROCESSOR SYSTEM UNDER SOFTWARE CONTROL”; U.S. patent application Ser. No. (YOR920070301US1 (21210)), for “INSERTION OF COHERENCE EVENTS INTO A MULTIPROCESSOR COHERENCE PROTOCOL”; U.S. patent application Ser. No. (YOR920070302US1 (21216), for “METHOD AND APPARATUS TO DEBUG AN INTEGRATED CIRCUIT CHIP VIA SYNCHRONOUS CLOCK STOP AND SCAN”; U.S. patent application Ser. No. (YOR920070303US1 (21236)), for “DMA ENGINE FOR REPEATING COMMUNICATION PATTERNS”; U.S. patent application Ser. No. (YOR920070304US1 (21239)), for “METHOD AND APPARATUS FOR A CHOOSE-TWO MULTI-QUEUE ARBITER”; U.S. patent application Ser. No. (YOR920070305US1 (21238)), for “METHOD AND APPARATUS FOR EFFICIENTLY TRACKING QUEUE ENTRIES RELATIVE TO A TIMESTAMP”; U.S. patent application Ser. No. (YOR920070307US1 (21245)), for “BAD DATA PACKET CAPTURE DEVICE”; U.S. patent application Ser. No. (YOR920070321US1 (21256)), for “EXTENDED WRITE COMBINING USING A WRITE CONTINUATION HINT FLAG”; U.S. patent application Ser. No. (YOR920070322US1 (21255)), for “A SYSTEM AND METHOD FOR PROGRAMMABLE BANK SELECTION FOR BANKED MEMORY SUBSYSTEMS”; U.S. patent application Ser. No. (YOR920070323US1 (21246)), for “AN ULTRASCALABLE PETAFLOP PARALLEL SUPERCOMPUTER”; U.S. patent application Ser. No. (YOR920070324US1 (21264)), for “SDRAM DDR DATA EYE MONITOR METHOD AND APPARATUS”; U.S. patent application Ser. No. (YOR920070337US1 (21281)), for “A CONFIGURABLE MEMORY SYSTEM AND METHOD FOR PROVIDING ATOMIC COUNTING OPERATIONS IN A MEMORY DEVICE”; U.S. patent application Ser. No. (YOR920070338US1 (21293)), for “ERROR CORRECTING CODE WITH CHIP KILL CAPABILITY AND POWER SAVING ENHANCEMENT”; U.S. patent application Ser. No. (YOR920070339US1 (21292)), for “STATIC POWER REDUCTION FOR MIDPOINT-TERMINATED BUSSES”; U.S. patent application Ser. No. (YOR920070340US1 (21295)), for “COMBINED GROUP ECC PROTECTION AND SUBGROUP PARITY PROTECTION”; U.S. patent application Ser. No. (YOR920070355US1 (21299)), for “A MECHANISM TO SUPPORT GENERIC COLLECTIVE COMMUNICATION ACROSS A VARIETY OF PROGRAMMING MODELS”; U.S. patent application Ser. No. (YOR920070356US1 (21263)), for “MESSAGE PASSING WITH A LIMITED NUMBER OF DMA BYTE COUNTERS”; U.S. patent application Ser. No. (YOR920070357US1 (21312)), for “ASYNCRONOUS BROADCAST FOR ORDERED DELIVERY BETWEEN COMPUTE NODES IN A PARALLEL COMPUTING SYSTEM WHERE PACKET HEADER SPACE IS LIMITED”; and U.S. patent application Ser. No. (YOR920070361US1 (21215)), for “HARDWARE PACKET PACING USING A DMA IN A PARALLEL COMPUTER”. 
     
    
     STATEMENT REGARDING FEDERALLY SPONSORED RESEARCH OF DEVELOPMENT 
       [0002]    The U.S. Government has a paid-up license in this invention and the right in limited circumstances to require the patent owner to license others on reasonable terms as provided for by the terms of Contract. No. B554331 awarded by the Department of Energy. 
     
    
     FIELD OF THE INVENTION 
       [0003]    The present invention relates to a control device and method of controlling a plurality of computers, and more specifically, centrally controlling power usage of a plurality of computers. 
       BACKGROUND OF THE INVENTION 
       [0004]    Typical power saving mechanisms developed for computing systems only manage small numbers of processors in a system and do not generally interact with the environmental limitations of a room or data center. Systems such as BLUE GENE® are composed of collections of thousands of systems processors. This type of large collection of devices consumes so much energy that the environmental limitations of the room or data center which holds the system must be considered. 
         [0005]    Further, typical computer system are built from a collection of parts which can vary widely in their power usage requirements, and thus large amounts of performance or power capabilities are left unused if the system is designed for the “worst case” scenario. This problem becomes more pronounced with systems that are constructed from a collection of devices. 
         [0006]    Consider power dissipated by an electronic device can be described as P=½C Vdd 2 fa, where P is the power, C is the capacitance being switched, Vdd is the power supply voltage, f is the clock frequency, and “a” is the switching activity factor, which is a fraction of the processor clock cycles that the circuit logic is actually activating and switching. Given that the capacitance is fixed by the design of the processor chip, the natural controls on power are power supply voltage and clock frequency. Current microprocessor power control mechanisms such as Dynamic Voltage Scaling (DVS) and Dynamic Frequency Scaling (DFS) employ these controls. However, computing systems and super computing systems, for example, BLUE GENE® have a single clock source controlling all chips throughout the system, which simplifies chip-to-chip communication. Thereby, it is a requirement that the frequency stays constant to maintain chip-to-chip communication integrity. Thus, Vdd has to stay above the minimum level that allows the communication functionality of the processor chips to keep up with the frequency requirement. 
         [0007]    It would therefore be desirable to have an apparatus or method for controlling power in a computer system or plurality of computers or processors by affecting the switching activity “a”. It would also be desirable for an apparatus or system to be scalable and safely operate at performance levels which are above the worst-case scenario design aspects. It would further be desirable for an apparatus and method to adapting to environmental characteristics of the room or data center which holds the computer system to safely maximize performance while staying within the limitations of the environment. 
       SUMMARY OF THE INVENTION 
       [0008]    An apparatus for controlling power usage of a processing element in a computer system includes at least one processing element communicating with a local control device, and a power source supplying power to the local control device and the processing element. At least one sensor communicates with the processing element for ascertaining power usage data from the processing element. A system control device communicates with the sensor and communicates with the processing element for controlling power usage of the processing element using the data from the sensor. 
         [0009]    In a related aspect, the local control device receives data from at least one local sensor for regulating power. 
         [0010]    In a related aspect, the at least one processing element includes a computer. 
         [0011]    In a related aspect, the system controlling device includes a memory device for storing a plurality of rules and a processor for executing commands for controlling the power usage of the processing element. 
         [0012]    In a related aspect, the local control device receives data from at least one local sensor for regulating power, and the local control device compares the local sensor data to the rules received from the system control device. 
         [0013]    In a related aspect, the processing element is a computer which includes a local memory device for storing on a computer readable medium the rules received from the system controlling device, and the computer includes a local processor for executing the rules. 
         [0014]    In a related aspect, the processing element is part of a supercomputer system including a plurality of processing elements. 
         [0015]    In a related aspect, the apparatus further includes a plurality of processing elements or computers in a network computing system. 
         [0016]    In a related aspect, the system controlling device includes a program stored on a computer readable memory device for storing global policies and a processor for executing the program and distributing the global policies to a plurality of processing elements. 
         [0017]    In a related aspect, the global policies are updated for a specified power requirement. 
         [0018]    In a related aspect, the power requirement includes the power dissipation of a datacenter housing the plurality of processing elements. 
         [0019]    In a related aspect, a plurality of local control devices receive data from a plurality of local sensors for regulating power of the plurality of processing elements and compare the local sensor data to safety thresholds. 
         [0020]    In a related aspect, the local control device regulates switching activity of the processor element. 
         [0021]    In a related aspect, the local control device regulates switching activity of the processing element by changing parameters of a memory access controller in the local control device. 
         [0022]    In a related aspect, the local control device regulates switching activity of the processing element as part of a computer by changing a programmed instruction stream stored on computer readable medium for the processing element in the computer by inserting a no-operation or wait command. 
         [0023]    In a related aspect, the rules include setpoints and thresholds. 
         [0024]    In a related aspect, the rules are included in a program stored on a computer readable medium in the local control device and sent by the system control device. 
         [0025]    In a related aspect, the apparatus further includes a job scheduler communicating with the system control device, and uses information from the job scheduler for updating the global policies and rules. 
         [0026]    In a related aspect, the apparatus further includes a database communicating with the system control device. The database includes power characteristics for jobs, and the global policies on the system controlling device are updated using the power characteristics. 
         [0027]    In a related aspect, the database is updated by the system control device with measured power characteristics of particular jobs. 
         [0028]    In another aspect of the invention, a method of controlling power usage in a computer includes: providing a plurality of processing elements; connecting the plurality of processing elements with at least one local control device and a power source supplying power to the local control device and the processing elements; connecting at least one sensor to the processing elements; ascertaining power usage data from the processing elements using the sensor; and controlling power usage of the processing elements using a system control device communicating with the processing elements and the sensor. 
         [0029]    In a related aspect, controlling the power usage of the processing elements includes changing switching activity of the processing elements. 
         [0030]    In another aspect of the invention, a storage medium on which a program is stored to permit a computer to perform processing comprises the steps of: receiving data from at least one sensor communicating with at least one computer; determining whether power usage of the computer meets specified parameters; and controlling power usage by the computer. 
         [0031]    In a related aspect, controlling the power usage includes changing switching activity of the computer. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0032]    These and other objects, features and advantages of the present invention will become apparent from the following detailed description of illustrative embodiments thereof, which is to be read in connection with the accompanying drawings, in which: 
           [0033]      FIG. 1  is a block diagram depicting an illustrative embodiment of an apparatus for controlling a plurality of computers according to the present invention which includes, a system control device, a computer network, sensors, local control devices, and controlled devices. 
       
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
       [0034]    An illustrative embodiment of an apparatus  100  for controlling power usage in a plurality of processors, or a supercomputer, or supercomputer system including a plurality of processors according to the present invention is shown in  FIG. 1 , and includes a plurality of control devices  120 A- 120 E linked together in a network  110  comprising nodes  108 . A node is defined herein as a point in a communication topology where data packets being carried through links  109  are rebuffered and arbitrated for the next stage. A node  108  may include, for example, a processor, a computer system, a server, or a router, and the nodes may communicate using a link hardware or software protocol. Nodes  108  are connected to the control devices  120 A- 120 E and a system control device  104  by links  109 . The illustrative embodiment of the present invention shown in  FIG. 1  depicts, for example, one control device  120 A linked to a node  108 , however, other embodiments may include, for example, any specified number of nodes, and any specified number of control devices connected to the nodes. The plurality of control devices  120 A- 120 E and network nodes  108  in the illustrative embodiment shown in  FIG. 1  form the network  110  which is included in a supercomputer system  112 . The supercomputer system  112  includes a plurality of sensors  130  communicating with the control devices  120 A- 120 E which control processing elements embodied as local power-dissipating devices  140 A- 140 D which may include, for example, processing chips or processors, or other power-dissipating devices which may also include, for example, field programmable gate array (FPGA) devices. The sensors  130  are placed strategically and communicate with the various devices to detect characteristics such as power usage and temperature of the various devices in the system and of the computing environment in general such as room or data center characteristics, for example, air temperature in a data center. 
         [0035]    Additionally, control devices  120 A- 120 E include processors  122  and memory storage devices  124  such that the control devices  120 A- 120 E are programmed, to varying degrees, to react to local conditions as measured by local sensors  130 . The control devices  120 A- 120 E respond to local conditions by changing the operating characteristics of the local power-dissipating devices  140 A- 140 D. Changing the operating characteristics of the controlled devices  140 A- 140 D achieves a trade-off or balance between power usage and software application performance. This balancing process is called “throttling”. The controlled devices  140 A- 140 D include actuators  142  that receive a control signal  150  from the control devices  120 A- 120 E, respectively. 
         [0036]    Referring to  FIG. 1 , a number of variations of the apparatus  100  for controlling power usage are described. For example, control device  120 A gathers local sensor  130  data and directly controls actuators  142  on the devices under its control via control signals  150 . Controlled device  140 A contains both a sensor  130  and an actuator  142 . Controlled device  140 B contains only an actuator  142 . Controlled device  120 B only gathers sensor  130  input data. A partial control device  120 C gathers sensor  130  input data, and another partial control device  120 D, having a distributed part of the control device function, is embedded in controlled device  140 C, and a bidirectional data link  155  connects partial controllers  120 C and  120 D. Partial control device  120 E is another example of partial control function distributed to a controlled device  140 D, which contains both sensors  130  and actuators  142 . While sensors  130  are interfaced to a specific type of controllers  120 A- 120 E, it is also possible to attach appropriate sensors  135  directly to the nodes  108  of the network  110 . Other variants can be constructed within the scope of this invention. 
         [0037]    All controller devices  120 A- 120 E are leaf nodes of the network  110 . At the root of this network is a system controlling device embodied as a system controlling computer  104  for data collection and rule generation. The system controlling computer  104  includes the process of data collection and rules generation and collects and stores the information from the various sensors  130 . The data may be promptly analyzed or analyzed over an extended period of time. Further, the data may be combined with known information about the construction of the supercomputer system  112  or network system and the environmental limitations of the data center or enclosed room, as well as, with information from the job scheduler  190 . The data can also be used to generate operating rules which are sent to the controller devices  120 A- 120 E. In an alternative embodiment, each controlled device may include a customized set of operating rules. 
         [0038]    In the illustrative embodiment shown in  FIG. 1 , the process of data collection and rules generation runs on a system control device  104  which is a computer external to the supercomputer system  112 . The system control device  104  includes a memory device  106  which may, for example, store a database, and a processor  107  for running the process of collecting data and generating rules. The system control device  104  is dedicated to controlling and administrating the supercomputer system  112 , thus providing global control and policy over the supercomputer system  112  for controlling temperature/power using control devices  120 A- 120 E. The network  110  may be, for example, a dedicated and private control network separate from any user network. 
         [0039]    Additionally, a job scheduling device  190  communicates with the system controller  104 . In one embodiment, information from the job scheduler  190  is used to build a library of power signatures of common jobs, which, for example, includes the power consumption of a controlled device for a particular job. This information is then used to set power thresholds for particular controlled devices or for specific partitions of the system while maintaining the desired average power of the supercomputer system  112  or a datacenter. 
         [0040]    The local control devices  120 A- 120 E are local controllers situated at leaf nodes of a control network, and are embodied as, for example, programmable microcontrollers or as field programmable gate array (FPGA) devices or, in cases  120 D and  120 E, as dedicated logic or processes in controlled devices  140 C and  140 D, respectively. The control devices  120 A- 120 E compare the actual data gathered from the local sensors  130  and compare these with setpoints or thresholds set by the data collection and rules generation process of the system controller  104 . The sensor data can be, for example, of an analog nature (such as the locally dissipated power), or of a digital nature (such as a bit which indicates a warning for overtemperature). The comparison of current data to setpoints and/or thresholds will result in control signals  150  to actuators  142  in the supercomputer&#39;s  112  controlled devices, i.e., processors  140 . These actuators  142 , may comprise a combined hardware/software system, work, in the illustrative embodiment shown in  FIG. 1 , by activating various interrupts to the controlled devices, i.e., processors  140 . 
         [0041]    In the present embodiment of the invention shown in  FIG. 1 , an interrupt command to one of the controlled devices, i.e., the processors  140 A- 140 D implements remedial action. In particular, where the controlled parameter is power dissipation, and the monitored condition is the amount of power consumption, and too much power consumption or over-temperature initiates action, the remedial action is to slow down the processor in any of several ways. For example, to maintain processor-to-processor communication integrity, the supercomputer system  112  does not allow dynamic frequency scaling or dynamic voltage scaling. However, another way to decrease power dissipation is reducing the switching activity on a processor  140 A- 140 D or chip. For example, the interrupt software can be used to change memory access parameters or to insert idles (no-ops) into the instruction stream. 
         [0042]    Many computations lead to an irregular power consumption signature (power consumption, over time, of a particular device), thus, it is understood that the control devices  120 A- 120 E) will allow for a specified time during power spikes before remedial action is taken. Thus, any given application will typically be allowed to ride through short duration power spikes exceeding desired or average power thresholds, as long as separate safety thresholds are not exceeded. A criteria accounting for hysteresis may also be deployed to maintain stability of power to the controlled devices  140 A- 140 D. 
         [0043]    An advantage of the present invention is that during the normal operation of the system, the control devices  120 A- 120 E are able to take quick and accurate actions based on local sensor  130  data. This design eliminates the need to quickly transmit large amounts of measurement data to the system control device  104  to modify the data collection and rules generation and have operational orders returned to the local devices quickly. Thus, in the present invention, scalability is greatly enhanced while safety and usability is preserved by removing the need for a high bandwidth, low-latency link between the various components. 
         [0044]    In another embodiment according to the present invention, the apparatus  100  for controlling power usage will allow and facilitate dynamic tradeoffs. For example, some partitions of the computer system can be allowed to run at higher power dissipation levels, or even temporarily exceed peak power thresholds, while other partitions operating at lower power dissipation levels. The system as a whole remains within the environmental envelope (e.g. cooling capacity) of the datacenter. The effectiveness of such trade-offs can be increased when the system control device  104  is enhanced by information from the job scheduling device  190  of the apparatus  100 . For example, when repetitive jobs are being run, the system control device  104  can build a database of the power characteristics of each workload, and set rules (i.e. power and temperature thresholds) accordingly. 
         [0045]    In another embodiment (not shown), the system control device  104  can combine with adaptive datacenter environmental controls, and, for example, if it finds that the supercomputer is being throttled too much, ask the power distribution and cooling to be stepped up temporarily to support the increased work load. Optimal control policies can thus be implemented that optimize data center performance while minimizing average power dissipation or the cost of operation. 
         [0046]    Thus, the apparatus  100  of the present invention, provides remote sensors measuring power usage, environmental characteristics such as temperature, and have that information forwarded to a central collection and processing point, the system control device  104 . This data can be combined with other information such as the characteristics of computer applications which are running on the system and globally determine rules for local implementation. Real-time decisions on how to limit power use or heat generation are sent to the remote components of the system for local execution, affecting the switching activity of the devices or processors  140 A- 140 D. This provides the benefits of a global view of power management policy though the use of local devices. The resulting system is more scalable than a mechanism that requires both central collection and centralized control. 
         [0047]    Thus, the apparatus  100  of the present invention may provide, for example, components, e.g., control devices  120 A- 120 E, for measuring various characteristics of the devices which make up the computing system. These components measure physical characteristics such as power usage and temperature at the various devices in the system and the environment in general. Another type of component, e.g., control devices  120 A- 120 E, which includes devices which can be programmed, to varying degrees, to react to local conditions and change the operating characteristics of the local controlled devices  140 A- 140 D in some way which provides a different trade-off between energy usage and application performance. Another type of component, for example, the system control device  104  which includes a data collection and rule generating process and is connected via a network to the first two types of devices in the system. The collection and rules generating process collects and stores the information from the various measurement devices. This data, is often analyzed over extended periods of time, combined with known information about the construction of the system and the environmental limitations of the enclosing room are used to generate operating rules which are sent to the reactive devices in the throttling mechanism. It is possible for each device to have its own, customized set of operating rules. 
         [0048]    During the normal operation of the apparatus  100 , the local reactive devices, e.g., control devices  120 A- 120 E, are able to take quick and accurate actions based on local data. This scalable design eliminates the need to quickly transmit large amounts or measurement data to the collection and decision section of the invention and have operational orders returned to the local devices quickly. By removing this need for a high bandwidth, low-latency patch between the various components in the invention scalability is greatly enhanced while safety and usability is preserved. 
         [0049]    Thus, the apparatus  100  according to the embodiment shown in  FIG. 1 , includes remote sensors  130  measuring power usage, as well as environmental characteristics such as chip temperature, board temperature, fan speed, inlet and exhaust temperature or room temperature and have that information forwarded to the system control device  104  as a central collection and processing point. This data can be combined with other information such as the characteristics of computer applications which are running on the system. Globally determined rules from the system control device  104  are sent to the remote components of the system, for example, control devices  120 A- 120 E, which then locally implement real-time decisions on how to limit power use or heat generation. This provides the benefits of a global view of power management policy though the use of local devices. The apparatus  100  is more scalable than a mechanism that requires both central collection and centralized control. 
         [0050]    While the present invention has been particularly shown and described with respect to preferred embodiments thereof; it will be understood by those skilled in the art that changes in forms and details may be made without departing from the spirit and scope of the present application. It is therefore intended that the present invention not be limited to the exact forms and details described and illustrated herein, but falls within the scope of the appended claims.