




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





After 15 years of exponential improvement in microproces- sor clock rates, the physical principles allowing for Dennard scaling, which enabled performance improvements without a commensurate increase in power consumption, have all but ended. Until now, most HPC systems have not focused on power efficiency. However, as the cost of power reaches par- ity with capital costs, it is increasingly important to com- pare systems with metrics based on the sustained perfor- mance per watt. Therefore we need to establish practical methods to measure power consumption of such systems in- situ in order to support such metrics. Our study provides power measurements for various computational loads on the largest scale HPC systems ever involved in such an assess- ment. This study demonstrates clearly that, contrary to conventional wisdom, the power consumed while running the High Performance Linpack (HPL) benchmark is very close to the power consumed by any subset of a typical compute- intensive scientific workload. Therefore, HPL, which in most cases cannot serve as a suitable workload for performance measurements, can be used for the purposes of power mea- surement. Furthermore, we show through measurements on a large scale system that the power consumed by smaller subsets of the system can be projected straightforwardly and accurately to estimate the power consumption of the full system. This allows a less invasive approach for deter- mining the power consumption of large-scale systems.
We are entering an era where Petaflop HPC systems are anticipated to draw enormous amounts of electrical power. Concerns over total cost of ownership have moved the focus of the HPC system architecture from concern over peak per- formance towards concern over improving power efficiency. The increase in power consumption can be illustrated by comparing typical top HPC systems. In November of 2001, NERSC’s new 3 teraflop HPC system was able to reach # on the Top500 list of most powerful machines using less than 400 KW of electrical power. In November 2007, NERSC’s
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. To copy otherwise, to republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. .
100 teraflop successor consumes almost 1,500 KW without even being in the top 10. The first petaflop-scale systems, expected to debut in 2008, will draw 2-7 megawatts of power. Projections for exaflop-scale computing systems, expected in 2016-2018, range from 60-130 megawatts [16]. Therefore, fewer sites in the US will be able to host the largest scale computing systems due to limited availability of facilities with sufficient power and cooling capabilities. Following this trend, over time an ever increasing proportion of an HPC center’s budget will be needed for supplying power to these systems. The root cause of this impending crisis is that chip power efficiency is no longer improving at historical rates. Up until now, Moore’s Law improvements in photolithography tech- niques resulted in proportional reductions in dynamic power consumption per transistor and consequent improvements in clock frequency at the same level of power dissipation– a property referred to as Dennard scaling. However, be- low 90 nm, the static power dissipation (power lost due to current leakage through the silicon substrate) has overtaken dynamic power dissipation. This leads to a stall in clock fre- quency improvements in order to stay within practical ther- mal power dissipation limits. Thus, the free ride of clock frequency and power efficiency improvements is over. Power is rapidly becoming the leading design constraint for future HPC system designs. After many years of architectural evo- lution driven by clock frequency improvements at any cost, architectural power efficiency matters once again. In this paper we address how power consumption on small and large scale systems can be measured for a variety of workloads. We do not address the related but independent question of performance measurement itself. In Section 2 we discuss various approaches for defining workloads, pro- cedures for power measurements, and different power effi- ciency metrics. In Section 3 we describe the experimental setup for the systems in our study. Results for single node measurements are presented in Section 4, for single cabinet measurements in Section 5, and for a full large scale system in Section 6. In Section 7 we demonstrate that full system power consumption can be approximated with high accuracy through extrapolations based on power consumption at the cabinet level. Our conclusions are presented in Section 9.
While metrics for assessing performance such as SPEC- FP [5], the NAS Parallel Benchmarks [9], and the Top500 [6] list have gotten considerable attention over the past decade,
similarly robust assessments of power-efficiency have received comparably less attention. In order to foster an industry- wide focus on keeping power consumption under control, it is necessary to provide appropriate power-efficiency metrics that can be used to compare and rank systems in a manner similar to how LINPACK is used for ranking peak delivered performance. Such efforts are already underway for com- mercial data centers. For example the EPA Energy Star program has defined a rigorous set of Server Metrics [1] and testing methodologies oriented towards transactional work- loads. However, they are inappropriate for assessing the power efficiency delivered for HPC and scientific workloads. The emerging SpecPower metric is valuable for assessing technical applications on workstation-class computing plat- forms, but may have limited applicability to large scale HPC systems. It is our intent to foster development of power metrics by popular HPC rankings such as the Top500 list to develop efficiency standards that are appropriate for scientific work- loads. To arrive at a sound power efficiency metric we need to define a suitable workload for performance measurements as well as power measurements, a power measurement pro- cedure, and an appropriate metric itself.
2.1 Workload Definition for Performance Measurements For any serious evaluation of performance, it is critically important to develop a workload that correctly reflects the requirements of large-scale scientific computing applications. Contrary to first impressions this continues to be largely unsolved and has not proven straightforward. There have been numerous alternative computer architec- tures proposed to address power efficiency concerns, but lit- tle information on sustained power efficiency. A number of novel architectures such as General Purpose GPUs [14], the STI Cell Broadband Engine [18], and embedded-processor- based systems like the IBM BG/L hold some promise of improving the power efficiency of HPC platforms, but the lack of a uniform basis for comparing such systems makes it difficult to determine whether any of these approaches of- fer genuine power efficiency benefits for relevant scientific computing problems.
2.2 Workload Definition for Power Consumption One important question addressed in this study is whether the computational workload defined for performance mea- surements has to be used for power measurements as well. Similarly, it is important to know whether power measure- ments of a different and potentially simpler workload can be used without loss of accuracy. It is generally well understood that power consumed under a full system load is considerably higher than the idle power. However, we do not understand how much the application mix on a fully loaded system can effect power draw. In this study we examine the extent to which the choice of appli- cation effects power consumption. We find that the power consumed under a full LINPACK workload is very close to the power consumed by a more diverse set of scientific ap- plications. Therefore, the power consumed under LINPACK can be used as a proxy for the power consumed by a much broader variety of workloads (eg. power efficiency based on NAS benchmark performance or power efficiency based on
HPCC benchmark performance). There is no need to mea- sure the power consumption under each different benchmark workload— the power drawn while running LINPACK can suffice.
2.3 Methodologies for Measuring Power Consumption Several different methods for measuring power usage on current architectures have been proposed. These methods differ in the tools used for measuring power consumption and in the various places where valid measurements can be collected. In this study we explore several different mea- surement methods, and compare their effectiveness in our experience. We investigated a variety of measurement techniques to fit into the diverse constraints of existing facility infrastructure. For example, in many facilities more than one system shares the same PDU or metered circuit, therefore making it very difficult to isolate system power. In Warren et al [17], the authors use Transmeta processors and infrastructure allow- ing them to utilize an off-the-shelf UPS system to measure power because of low power consumption as well as the use of a system that uses standard 3-prong wall sockets. Their power consumption methodology is not generally applicable, since most cluster systems do not use wall socket connectors for power; in addition, current cluster designs attempt to perform a single AC to DC conversion for the entire rack. A 2005 study due to Feng et al [11] proposed a framework for building cluster systems from commodity components and integrating a set of extension wires from the power sup- ply, each connected to a sensor resistor and a digital mul- timeter. Experimentally, they correlate each wire with its associated components, and then measure the power con- sumption for various NAS parallel benchmark codes. Al- though their power measurement hardware is infeasible for many systems, they provide important results that agree with our findings. Previous work has shown that it can be extremely chal- lenging (and likely impractical) to measure power for a com- plete HPC system while running the LINPACK benchmark. Systems that have already collected performance data are loath to take a system out of service to collect the data yet again while measuring the power consumption. Our study demonstrates that measuring the power consumed by LIN- PACK on a small fraction of the system (even a single rack) can be used to accurately project power consumed by the overall system. Overall the proposed Top500 power-consumption mea- surements should be very practical to collect and have a low impact on center operations.
2.4 Power Efficiency Metrics and Procedures for Ranking Systems Having defined how to measure performance and power consumption of an HPC system, the question remains how to combine the measured values into a power efficiency met- ric to compare technologies, architectures, and systems and rank them. Extreme ranking procedures would use only performance values, such as the LINPACK numbers used in the TOP500 [6] or only total power consumption, such as occasionally shown in presentations [15]. The ratio of performance per watt drawn called “power efficiency” is a popular metric used to compare systems.
brated power meter that measures instantaneous power us- age and outputs a variety of measurements every second. The meter measures power at 120 VAC, and for the instan- taneous power usage (in watts), the error factor is 0.5% + 1 LSD. These meters are calibrated yearly by the manufac- turer to ensure they remain accurate and precise. For larger-scale systems, such as the Cray XT4 (Franklin), using inline meters is not as practical. Power is supplied to the XT4 cabinets via 208 V 3-phase power conduits that are rated at 60 A. At that current rating, the power whips are bolted down on both ends (both the power supply and the panel end-points), making it impractical to use inline me- ters for the power feed to each cabinet. We point out that Power3 and Power5 SP systems also employ a similar power distribution method. In the case of the Power5-Federation systems (NERSC Bassi and the ASCI Purple system), the power is converted from 408 VAC to 350 VDC for distribu- tion within the rack. The SGI ICE and Altix systems also use 48 VDC power distribution within the rack. Therefore, unlike commodity clusters that use conventional AC power plugs, typical high-end HPC systems are not amenable to power measurement using in-line meters.
3.3.2 Clamp Meters Clamp meters provide a way to measure power without needing to disconnect a system. In addition, clamp meters work with a large range of voltages and wire types (sin- gle core, multicore). We attempted to use an AVO Inter- national Megger FlexiClamp 200 meter to investigate how useful clamp meters could be for measuring HPC power con- sumption. Normally, clamp meters can only be used to measure current on individual conductors of a 2-phase or 3-phase multi-conductor cable. The manufacturer of our clamp meter claimed that it was capable of measuring cur- rent in multi-conductor wires (2-phase or 3-phase). How- ever we found the meter incapable obtaining precise mea- surements with a clamp meter when encountering wire with more than one wire core for our single-node tests. Even for measurements on simple 2-phase (3-conductor) wires, the measurements varied by over 50% in some cases. In fact, the specifications for our clamp meter only claim accuracy to within 12%. We examined the possibility of using the clamp meters for measurements on our large-scale HPC systems since it was infeasible to use an in-line meter. It is theoretically possible to measure current on a 3-phase carrier by clamping each phase individually and taking into account the phase angle. However, there was not a convenient or safe location to sep- arate out the phases at either end of the power whips (either the panel or the power supply). In theory, one could build a custom cable with the phases broken out, but this would in- volve taking the system down to reinstall the affected power whips (a non-starter for a production supercomputing cen- ter), and violate local standards in the electrical code. Ultimately, we do not feel it is feasible to use clamp meters successfully except if individual phases are broken out into separate clamp-able wires. This proved to be infeasible for systems we examined.
3.3.3 Integrated Meters Power supply manufacturers have recently begun provid- ing mechanisms within their products to monitor and record power usage. However, such devices are fairly new and not
widely deployed, leaving their accuracy unknown. In the case of our Cray XT4 system, the power supply contains an ethernet interface that allows us to measure the current and voltage of each of the 3 DC outputs that feed the 3 compute shelves in the rack. The measurements are rel- atively coarse-grained because the commands must be sub- mitted through an interactive command-line interface. It is not feasible to monitor all of the racks on a continuous basis because the current ALPS system management interface al- lows direct connection to only one rack at a time for manual diagnostic purposes. The utility was never intended to pro- vide manual access to all of the racks at the same time for this particular purpose. It is possible that future implemen- tations may provide comprehensive and continuous power monitoring.
3.3.4 Power Panels Lastly, power panels in power distribution units (PDUs) are one way to measure the power usage of a large system. The power systems in most facilities incorporate metering capabilities as an important diagnostic function for building electrical infrastructure. The panel does not provide fine- grained measurements of individual pieces of a system, but rather allows the entire system to be characterized. Gener- ally, the accuracy may only be to the nearest kilowatt, and may require the observer to manually record each reading. Nevertheless, PDU power panels provide the only way to monitor large pieces of an HPC system or the entire HPC system itself. We utilized power panels at NERSC to record the power consumption of the entire XT4 system made up of several thousand cores.
3.4 Benchmark Codes We selected a number of microbenchmark codes to exer- cise orthogonal hardware components. In addition, we in- cluded a mix of full-fledged scientific applications from the NERSC workload and some application kernels (such as the NAS PB) to represent the requirements of a typical scientific workload.
3.4.1 Single Node Tests For a CPU-centric benchmark code, we used the C port of the LINPACK benchmark [2] by Bonnie Toy (HPL), which performs CPU-intensive linear algebra routines to test peak CPU floating-point performance. For our test runs, we used double precision algebra with unrolled loops to exploit as much of the CPU as possible. In order to exercise machine features somewhat orthogo- nal to the CPU, we use the standard STREAM [4] bench- mark, which exercises the memory subsystem of a computer, measuring the maximum utilizable bandwidth for a set of simple loops. Our test runs used the C version of the bench- mark and increased the appropriate memory sizes and itera- tion counts to ensure the benchmark ran for a longer period of time (long enough to measure the power usage). For a third data point that explores the power usage of the I/O subsystem, we used the IOZone benchmark [7]. IO- Zone is a self-contained benchmark suite that stress-tests the filesystem of a machine by varying a number of parameters and measuring the I/O performance. We used the default “automatic” test suite (which uses 256 MB files) and mea- sured how power varied throughout. As proxies for single-node scientific applications, we used
a subset of the serial implementations of the NAS Paral- lel Benchmarks [9]. Although they are much simpler than typical full applications, we ran FT, CG, and LU from the benchmark suite because they represent a mix of memory- intensive and CPU-intensive operations for solving a simpli- fied version of an actual problem of interest. Therefore, their memory and CPU usage is interesting in that it exercises both subsystems, as opposed to STREAM and LINPACK. For all of the benchmark codes, we also ran two instances of each to test multi-core or SMP power usage, because all of our single-node test machines contain at least two cores/processors. The goal was to see if using both cores increases power consumption substantially.
3.4.2 Multiple Node Tests The workload in the single-cabinet power tests consists of a set of microbenchmarks and production applications. We run High Performance LINPACK (the standard benchmark for the Top500 list) and MPI-STREAM to test the memory and compute power usage, along with a subset of the NAS Parallel Benchmarks and two applications: Paratec [10] and PMEMD [3], which are both used in production at NERSC and are components of the NERSC SSP (Sustained System Performance) metric [12]. The NERSC SSP is a methodology for measuring real- world performance using a set of production applications and simplified versions of production codes. For the full system test, we again run HPL and STREAM, but also run a mix of SSP applications on the machine to simulate a full- system workload in a production situation.
Our test methodology consisted of running our single- node test applications in sequence, allowing the processor to return to idle operation in between each test. We ran each application for 3 minutes and allowed 2 minutes for the pro- cessor to return to idle. In addition to single process tests, we also tested running two instances of the benchmarks at the same time (one per core/processor).
4.1 Single Node Results
In this section, we show power consumption results for standalone machines while running our test benchmarks. We first show the non-I/O results, then present IOZone power usage on the test machines.
4.1.1 Non-I/O Benchmarks Figure 1 shows the results of running our benchmark suite on the 2.0 GHz Core Duo MacBook Pro. Interestingly, the highest power usage occurs in the memory-intensive bench- marks (running two instances of STREAM, for example) while benchmarks that focus mainly on CPU usage, such as LINPACK, result in lower power measurements. The absolute power usage of this system is quite low at both idle and at peak. At idle, it consumes about 20 watts of power, and at peak, we saw power usage of 32 W, or 60% more power than at idle. The relative power usage at peak is high compared to the power used under no load. The Opteron machine, slaphappy, consumes more than 10x the power of our MacBook Pro system, as shown in Fig- ure 2. At idle, power consumption is just under 250 W, while peak power usage was measured at about 295 W. On this machine, the benchmarks did not show much differentiation—
(^00 500 1000 )
5
10
15
20
25
30
35
Elapsed Time (sec)
Watts
Watts macbookpro (2.0ghz Core Duo, 2GB)
Linpack
STREAM FT (^) LU CG^ 2xLinpack
2xSTREAM 2xFT 2xLU
2xCG
Figure 1: Results on our 2.0GHz Intel Core Duo machine.
(^00 500 1000 )
50
100
150
200
250
300
350
Elapsed Time (sec)
Watts
Watts slaphappy (2x2.2GHz Opteron)
Linpack (^) STREAM FT^ LU CG
2xLinpack (^) 2xSTREAM 2xFT 2xLU 2xCG
Figure 2: Results on our dual-processor Opteron test system.
(^00 500 1000 )
50
100
150
200
250
300
350
Elapsed Time (sec)
Watts
Watts G5 (2x2.7GHz PowerPC970FX)
Linpack STREAM^ FT^ LU^ CG
2xLinpack 2xSTREAM 2xFT^ 2xLU^ 2xCG
Figure 3: Results on our dual-processor G5 system.
running one iteration of any of the benchmarks yielded al- most the same power usage. For two instances, the power signatures of all the benchmarks except for STREAM were relatively similar. The relative power usage at peak is only 19% more than at idle.
0
50
100
150
200
250
300
DC Amps
Franklin Single Cabinet Power Usage
STREAM (^) GTC FT.D LU.D CG.D PARATEC PMEMD HPL
Figure 6: Power usage on a single cabinet of Franklin (192 cores) for various applications and benchmarks.
0
200
400
600
800
1000
1200
Power (KW)
Franklin Full System Power Usage
STREAM (^) HPL Throughput
Catamount
Compute Node Linux
Figure 7: Power usage on the entire Franklin system. Throughput is realistic workload mix run at NERSC. The upper line is power under the Catamount OS, while the lower line is under Compute Node Linux.
applications run simultaneously to fill the machine. The results are shown in Figure 7. Interestingly, the power usage under load is the same for both OSs, although the idle power is quite different, due to Linux having better power management. In particular, the Linux idle() loop uses DVS to save power when the system load average is low, but DVS apparently provides very little benefit for the simulated workload (the ”throughput” test). In addition, we see that the HPL power consumption is quite similar to the mix of production codes in the throughput test. Based on our results in the previous two sections, we at- tempted to model the full Franklin system power usage using single-cabinet results. In addition to the nodes of Franklin, an additional power draw in the full system test is due to our DDN-based file system backend. Using actual power consumption numbers provided by DDN (and comparing with measured data from a power sub-panel in the machine room) we estimate that the disk subsystem consumes ap- proximately 50 KW, which is a tiny fraction of the entire system usage.
Next, we linearize the power data obtained from a single rack to the full 102 racks and attempt to correct for power loss in the AC to DC conversion. That is, our model is simply
DCW attssystem = 102 × DCW attsrack + 50KW
= 102 × DCAmpsrack × V oltsrack + 50KW
However, since the power panels where we obtain measure- ments for the full machine deal with AC, we must correct for power loss due to conversion. According to Cray, the AC-to-DC converters in each rack are approximately 90% efficient. Thus, in Figure 8, we compare the power usage from our model to DC power at 90% conversion efficiency of the measured AC power. Our model manages to capture the power usage of Franklin quite well. Using our simple linearized model, we obtain less than 5% error from the measured power usage under a 90% efficient conversion from AC to DC. Although this model may seem trivial, it is important that such a simple estima-
tion strategy can deliver a fairly accurate number for overall power consumption. For some supercomputing centers, it may be impossible to take an entire machine offline to mea- sure power consumption; the close agreement between our simple model that uses measurements from a single cabinet to estimate power across the machine and the actual usage points to a possible methodology for measuring power con- sumption without requiring a full shutdown of a machine.
Idle STREAM HPL 0
5
10
15 x 10
5
Watts
Franklin Power Usage, Model vs. Actual Measured AC Power DC Power @ 90% Eff Conversion Model DC Power
Figure 8: Model vs Actual power on the entire Franklin system.
In this paper, we present some initial work for measuring the power consumption of large-scale supercomputers un- der HPC workloads. Beginning with single-node tests, we increase the scale of our power measurements up to a full- scale modern supercomputer, a Cray XT4. We confirmed the general understanding that nameplate (or “rated”) power was generally much higher than any real- istic power measurement under a production scenario, and CPU power is also an inaccurate predictor of power con- sumption. Therefore, it is essential to measure power con- sumed when running a suitable workload. We found tests on individual workstations to yield results similar to tests run on a large scale system. That is, there did not seem to be a large difference in power usage due to switch fabric or other cluster-wide issues for the benchmarks we used. In addition, the maximum power usage we saw was during the runs of HPL, a compute-intensive benchmark; our memory- intensive MPI-STREAM benchmark yielded the lowest power usage. However, the difference between the two was minis- cule; therefore, we believe that running HPL is a good proxy for the power consumption of a general HPC workload. Fur- thermore, we were able to model full system power by lin- early extrapolating from a smaller piece of the system; thus, it is probably good enough to measure the power consump- tion of a rack or group of racks and extrapolate when direct measurement is impossible. For measurement apparatus, we recommend using an isolated PDU or vendor-included functionality. In our future work, we will measure power on several a wider array of large-scale systems to verify our results. Mo- tivated by these measurements and observations, we will de- fine a procedure and metrics for fairly comparing the power
usage of large-scale HPC systems across the variety of ar- chitectures present today and in the future.
[15] John Shalf and David Bailey. Power efficiency metrics for the top500. Top500 BoF, Supercomputing 2006, 2006. [16] H. D. Simon, T. Zacharia, and R. Stevens. Modeling and simulation at the exascale for energy and the environment. Department of Energy Technical Report, 2007. [17] Michael S. Warren, Eric H. Weigle, and Wu-Chun Feng. High-density computing: A 240-processor beowulf in one cubic meter. [18] S. Williams, L. Oliker, J. Shalf, P. Husbands, S. Kamil, and K. Yelick. The potenial of the cell processor for scientific computing. Proceedings of the ACM Computing Frontiers Conference 2006.