23
EE HPC Working Group http://eehpcwg.lbl.gov/ http://www.green500.org A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering, March 2014 A Power-Measurement Methodology for Large-Scale, High-Performance Computing Thomas R. W. Scogland (Virginia Tech & Green500), Craig P. Steffen (University of Illinois, NCSA), Torsten Wilde (Leibniz Supercomputing Centre), Florent Parent (Calcul Québec), Susan Coghlan (Argonne National Laboratory), Natalie Bates (EE HPC WG & ORNL), Wu-chun Feng (Virginia Tech & Green500), Erich Strohmaier (LBNL & Top500)

A Power-Measurement Methodology for Large-Scale, High … · A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering,

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: A Power-Measurement Methodology for Large-Scale, High … · A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering,

EE HPC Working Grouphttp://eehpcwg.lbl.gov/ http://www.green500.org

A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering, March 2014

A Power-Measurement Methodology for Large-Scale, High-Performance Computing

Thomas R. W. Scogland (Virginia Tech & Green500), Craig P. Steffen (University of Illinois, NCSA),

Torsten Wilde (Leibniz Supercomputing Centre), Florent Parent (Calcul Québec),

Susan Coghlan (Argonne National Laboratory), Natalie Bates (EE HPC WG & ORNL),

Wu-chun Feng (Virginia Tech & Green500), Erich Strohmaier (LBNL & Top500)

Page 2: A Power-Measurement Methodology for Large-Scale, High … · A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering,

EE HPC Working Grouphttp://eehpcwg.lbl.gov/ http://www.green500.org

A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering, March 2014

Why a New Methodology?

2

Page 3: A Power-Measurement Methodology for Large-Scale, High … · A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering,

EE HPC Working Grouphttp://eehpcwg.lbl.gov/ http://www.green500.org

A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering, March 2014

Our Goals

1. Create a standard method for accurately evaluating energy efficiency at full-system scale

2. Quantify and over time improve large-scale measurement quality

3. Standardize the measurement methodology of rankings like the Top500, Green500, and Green Graph 500

3

Page 4: A Power-Measurement Methodology for Large-Scale, High … · A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering,

EE HPC Working Grouphttp://eehpcwg.lbl.gov/ http://www.green500.org

A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering, March 2014

Alternatives

• SPEC Power and Performance Benchmark Methodology

• High-quality, well specified, but not designed with supercomputer-scale issues in mind

• Green500 Run Rules

• Easy to measure at scale with coarse-grain accuracy

4

Page 5: A Power-Measurement Methodology for Large-Scale, High … · A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering,

EE HPC Working Grouphttp://eehpcwg.lbl.gov/ http://www.green500.org

A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering, March 2014

The Methodology

5

Page 6: A Power-Measurement Methodology for Large-Scale, High … · A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering,

EE HPC Working Grouphttp://eehpcwg.lbl.gov/ http://www.green500.org

A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering, March 2014

Basic Principles

• Specify the basic requirements to appropriately measure power across a system running a workload

• No specific workload is required

• High-Performance Linpack (HPL) is used as an example

• Address “gaps” in the previous Green500 and Top500 methodologies

• What system components to measure

• What components are system components

• Scale to varied levels of instrumentation while quantifying the resulting measurement quality

6

Page 7: A Power-Measurement Methodology for Large-Scale, High … · A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering,

EE HPC Working Grouphttp://eehpcwg.lbl.gov/ http://www.green500.org

A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering, March 2014

L3

• Level 1: Green500 run-rules compatible

• Level 2: Greater accuracy and coverage

• Level 3: Current best accuracy and coverage

• Level 4+: To be determined as new technologies or requirements emerge

L2

Flexibility:Three+ Quality Levels

7Difficulty

L1

Page 8: A Power-Measurement Methodology for Large-Scale, High … · A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering,

EE HPC Working Grouphttp://eehpcwg.lbl.gov/ http://www.green500.org

A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering, March 2014

Four “Aspects” Define Measurement Quality

The level achieved by a measurement, is the minimum of the levels achieved in each aspect

1. Measurement timing and granularity

2. Fraction of system measured

3. Subsystems measured

4. Power measurement location:

• Before AC->DC conversion or measure conversion loss

8

Page 9: A Power-Measurement Methodology for Large-Scale, High … · A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering,

EE HPC Working Grouphttp://eehpcwg.lbl.gov/ http://www.green500.org

A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering, March 2014

Aspect 1:Measurement Timing

9

The Green500 List: Escapades to Exascale 7

benchmark results in a single number in order to rank thesystem?”

Prior to the above collaborative efforts, the Green500team was involved with creating and investigating metricslike the Green Index (TGI) (Feng, 2010) to address this is-sue. The key idea behind TGI is to measure the energy effi-ciency of an HPC system with respect to a reference system.This approach is similar to the approach adapted by Stan-

dard Performance Evaluation Corporation (SPEC) (SPEC,2012) for comparing system performance as shown in Equa-tion (1).

SPEC rating =Performance of Reference SystemPerformance of System Under Test

(1)

The TGI of a system can be calculated by using the fol-lowing algorithm:

1. Calculate the energy efficiency (EE), i.e., performance-to-powerratio, while executing different benchmark tests from a benchmarksuite on the supercomputer:

EEi =Performancei

Power Consumedi(2)

where each i represents a different benchmark test.2. Obtain the relative energy efficiency (REE) for a specific bench-

mark by dividing the above results with the corresponding resultfrom a reference system:

REEi =EEi

EERefi

(3)

where each i represents a different benchmark test.3. For each benchmark, assign a TGI component (or weighting factor

W) such that the sum of all weighting factor is equal to one.4. Use the weighting factors and sum across product of all weighting

factors and corresponding REEs to arrive at the overall TGI for thesystem.

TGI =X

i

Wi ⇤ REEi (4)

The Green500 team will further investigate the use ofTGI and its incorporation into the Green500 in the future.

5.3 MethodologiesAs more and more petaflop systems enter the Green500, oneof the major concerns that needs to be addressed is how tomeasure the power consumed by such large-scale systems.In particular, the questions that begs to be asked in our questto standardize the methodology (Subramaniam and Feng,2010b) for power measurement in order to improve our runrules are as follows:

1. When should the power be measured? (For a certain pe-riod of time or for the entire benchmark execution?)

2. How should the power be measured? (Extrapolate froma single node or measure the power consumed by theentire system?)

To standardize methodologies for power measurement,it is critical to understand the computational characteristics

38

!

!

0.00

0.20

0.40

0.60

0.80

1.00

1.20

0 2 4 6 8 10 12 14 16 18 20

Pflo

ps/

s

Time (hours)

1.06 Pflop/s

Fig. 8 Instantaneous FLOPS Rating Running LINPACK on Jaguar Su-percomputer (Dongarra, 2010)

of the benchmark in use (which is LINPACK in our casepending a shift to a new benchmark). LINPACK is a lin-ear algebraic package which solves a dense system of linearequations. It runs in four stages: (1) random matrix genera-tion, (2) LU factorization of the matrix, (3) backward sub-stitution to solve, and (4) correctness checking. The secondand third steps are used for calculating the LINPACK score(in GFLOPS) and require O(N3) and O(N2), respectively.Note that as the application progresses, the effective matrixsize reduces and there is a corresponding drop in FLOPS asdepicted in Figure 8, making the portion of the run that ameasurement is made in highly important.

We expect the power profile of the LINPACK run to havetrends related to its computational characteristics as timeprogresses. We analyze the profile of the newly installedHokieSpeed cluster at Virginia Tech to track the power con-sumption during a run. Figure 9 shows the power profile ofHokieSpeed for a CUDA-LINPACK run extrapolated fromone full rack (neither optimized to achieve best performancenor best energy efficiency).

3000

4000

5000

6000

7000

8000

9000

10000

0 100 200 300 400 500

Pow

er

(in W

att

s)

Time (In Seconds)

Power Profile of HokieSpeed

Fig. 9 Instantaneous Power Profile of HokieSpeed Supercomputer.

The trend in power profile clearly demarcates step 2 (fac-torization phase) and step 3 (solve phase) of the LINPACKbenchmark from the other steps. The power consumed bythe system ramps up as soon as the step 2 starts and gradu-ally decays at the end of step 3. This indicates the regionwhere the power consumption of the system would be atits highest and helps us narrow down the phases in which

Core phase

20%Level 1

Level 2: evenly spaced average measurements

Level 3: Continuously integrated energy

HPL Power Profile on Hokiespeed

Page 10: A Power-Measurement Methodology for Large-Scale, High … · A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering,

EE HPC Working Grouphttp://eehpcwg.lbl.gov/ http://www.green500.org

A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering, March 2014

Aspect 2: Fraction of System Measured

1. 1KW or 1/64th

2. 10KW or 1/8th

3. The whole machine

10

Page 11: A Power-Measurement Methodology for Large-Scale, High … · A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering,

EE HPC Working Grouphttp://eehpcwg.lbl.gov/ http://www.green500.org

A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering, March 2014

Aspect 3: Subsystems Measured

• Level 1: Compute nodes only

• Level 2: All participating systems, including networking, storage etc. must be included if used either measured or estimated

• Level 3: All participating subsystems must be measured

Note: Only cooling included within another subsystem is currently required 11

Page 12: A Power-Measurement Methodology for Large-Scale, High … · A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering,

EE HPC Working Grouphttp://eehpcwg.lbl.gov/ http://www.green500.org

A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering, March 2014

Case Studies (In Brief)

1. Argonne National Laboratory: Mira

2. Calcul Québec Université Laval: Colosse

3. Leibniz Supercomputing Centre: SuperMUC

12

Page 13: A Power-Measurement Methodology for Large-Scale, High … · A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering,

EE HPC Working Grouphttp://eehpcwg.lbl.gov/ http://www.green500.org

A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering, March 2014

Argonne National Laboratory: Mira

• IBM Blue Gene/Q

• 48 Racks and 48,000 compute nodes

• Evaluated: Levels 1 and 2

13

Page 14: A Power-Measurement Methodology for Large-Scale, High … · A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering,

EE HPC Working Grouphttp://eehpcwg.lbl.gov/ http://www.green500.org

A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering, March 2014

Metering and Access

14

Mira 480V Compute Power Distribution System

13.2KV'Substa.ons' Transformers'

480V'

Distribu.on'Panels'

!'!'!'

!'!'!'

!'!'!'

!'!'!'

Eaton'Digitrip'Op.m'1050'

BG/Q'Compute'Racks'

!'!'!'

Measuring'points'

Bulk'Power'Modules'(BPM)'

Nodes'DCAs'7'Domains'

Bulk'Power'Modules'(BPM)'

Nodes'DCAs'7'Domains'

Bulk'Power'Modules'(BPM)'

Nodes'DCAs'7'Domains'

36'

36'

36'

64'

64'

64'

1024'

1024'

1024'

Page 15: A Power-Measurement Methodology for Large-Scale, High … · A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering,

EE HPC Working Grouphttp://eehpcwg.lbl.gov/ http://www.green500.org

A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering, March 2014

Mira: Lesson

Having the infrastructure is not enough, it must be accessible to be

useful

15

Page 16: A Power-Measurement Methodology for Large-Scale, High … · A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering,

EE HPC Working Grouphttp://eehpcwg.lbl.gov/ http://www.green500.org

A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering, March 2014

Calcul Québec Université Laval:Colosse

• Sun 6048

• 7680 cores in 960 nodes

• Evaluated: Level 3

16

Page 17: A Power-Measurement Methodology for Large-Scale, High … · A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering,

EE HPC Working Grouphttp://eehpcwg.lbl.gov/ http://www.green500.org

A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering, March 2014

Colosse Measurement Infrastructure

17

600V 3p 208V 3p

UPS

distribution panels

60kW

lightingpumpsetc.

transformers

...

. . .

com

pute

stor

age

com

pute

. . .

metered rack PDU40 PDUs total

Campus closed water loop

measurement point

600V 3p

building transformer

PDUs

Page 18: A Power-Measurement Methodology for Large-Scale, High … · A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering,

EE HPC Working Grouphttp://eehpcwg.lbl.gov/ http://www.green500.org

A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering, March 2014

Colosse HPL Power: Infrastructural vs. PDU

18

30-35kW

Page 19: A Power-Measurement Methodology for Large-Scale, High … · A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering,

EE HPC Working Grouphttp://eehpcwg.lbl.gov/ http://www.green500.org

A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering, March 2014

Colosse: Lesson

Large-scale systems are difficult to separate from other infrastructure, prefer high-quality meters at finer

granularity

19

Page 20: A Power-Measurement Methodology for Large-Scale, High … · A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering,

EE HPC Working Grouphttp://eehpcwg.lbl.gov/ http://www.green500.org

A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering, March 2014

Leibniz Supercomputing Centre: SuperMUC

• IBM System x iDataPlex nodes

• 155,656 processor cores in 9400 compute nodes

• Evaluated: All three levels, standard for Level 3 quality 20

BADW-LRZ SuperMUC Setup

Page 21: A Power-Measurement Methodology for Large-Scale, High … · A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering,

EE HPC Working Grouphttp://eehpcwg.lbl.gov/ http://www.green500.org

A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering, March 2014

Results Across Levels:Single Run

21

Quality Level Mflops/Watt full run Efficiency Drop From Level 1

L1 (compute only) 1055 0

L2 (>10kW)(compute and interconnect) 1011 44 (~4%)

L2 (>1/8)(compute and interconnect) 994 61 (~6%)

L3(compute, interconnect, storage,

cooling, power distribution)887 168 (~16%)

Page 22: A Power-Measurement Methodology for Large-Scale, High … · A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering,

EE HPC Working Grouphttp://eehpcwg.lbl.gov/ http://www.green500.org

A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering, March 2014

SuperMUC: Lesson

Measurements taken at different levels are not comparable

22

Page 23: A Power-Measurement Methodology for Large-Scale, High … · A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering,

EE HPC Working Grouphttp://eehpcwg.lbl.gov/ http://www.green500.org

A Power-Measurement Methodology for Large-Scale, High-Performance Computing, International Conference on Performance Engineering, March 2014

Conclusions

• We present a higher-quality measurement methodology for use with large-scale HPC

• Even well-instrumented systems easily run into problems measuring a full system

• Comparing measurements at different levels is unwise

• High-quality measurements require consideration during system procurement and computing center design

23