managing performance and efficiency of a processor advisor: dr. vishwani agrawal committee: dr. adit...

27
Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical and Computer Engineering Auburn University November 1, 2012 Aditi Shinde: MEE Project Defense 1 Master’s Project Defense Aditi Shinde

Upload: katherine-henderson

Post on 11-Jan-2016

230 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

Managing Performance and Efficiency of a Processor

Advisor: Dr. Vishwani AgrawalCommittee: Dr. Adit Singh and Dr. Victor Nelson

Department of Electrical and Computer Engineering

Auburn University

November 1, 2012 Aditi Shinde: MEE Project Defense 1

Master’s Project DefenseAditi Shinde

Page 2: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

OUTLINE

Motivation Chip Power Density System Optimization Triangle

Performance Characteristic of a Performance Metric Existing Metrics

Energy Efficiency Energy Efficiency Metrics Problem Statement Proposed Work

Characterization of Intel Pentium M Cycle Efficiency Cycle Efficiency and Performance

Conclusion Limitations Future Work References

Aditi Shinde: MEE Project DefenseNovember 1, 2012 2

Page 3: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

November 1, 2012 Aditi Shinde: MEE Project Defense

40048008

80808085

8086

286386

486Pentium®

P6

1

10

100

1000

10000

1970 1980 1990 2000 2010Year

Pow

er

Den

sit

y (

W/c

m2)

Hot Plate

NuclearReactor

RocketNozzle

Sun’sSurface

Source: Patrick P. Gelsinger , Keynote, ISSCC, Feb. 2001

MOTIVATION VLSI Chip Power Density

3

Page 4: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

MOTIVATION (CONTINUED)

Area

Performance

Power

System Optimization Triangle

Aditi Shinde: MEE Project DefenseNovember 1, 2012 4

Page 5: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

PERFORMANCE

How fast is your computer ?

Performance =

Aditi Shinde: MEE Project DefenseNovember 1, 2012 5

TimeExecution

1

Source: D. A. Patterson and J. L. Hennessy, Computer Organization & Design, the hardware/Software Interface, Fourth Edition, San Francisco, California: Morgan Kaufman Publishers, Inc., 2008.

Page 6: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

CHARACTERISTIC OF A PERFORMANCE METRIC Linearity

Reliability

Repeatability

Easiness of measurement

Consistency

IndependenceAditi Shinde: MEE Project DefenseNovember 1, 2012 6

Source: D. J. Lilja, ”Measuring Computer Performance: A Practitioner’s Guide”, Cambridge University

Press, New York, NY, 2000

Page 7: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

EXISTING PERFORMANCE METRICS Clock Rate MIPS MFLOPS SPEC QUIPS Synthetic Benchmarks Execution Time

Aditi Shinde: MEE Project DefenseNovember 1, 2012 7

Page 8: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

ENERGY EFFICIENCY

Performance achieved per unit power.

Useful in determining battery life of a computer system.

Aditi Shinde: MEE Project DefenseNovember 1, 2012 8

Page 9: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

ENERGY EFFICIENCY METRICS

Et2 Energy and Time (square) Product

Power × Time (Energy per Operation)

Aditi Shinde: MEE Project DefenseNovember 1, 2012 9

Source: M. Hicks,” Energy Efficient Branch Prediction” in Doctor of Philosophy thesis, University of Hertfordshire, Dec. 2007

Page 10: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

PROBLEM STATEMENT

Given a limited source of energy, can we determine the number of cycles (and hence the number of instructions) that can be executed for a given processor?

Aditi Shinde: MEE Project DefenseNovember 1, 2012 10

Page 11: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

PROPOSED WORK

We characterize the Intel Pentium M processor and define a new metric called ‘Cycle Efficiency’ and analyze it.

11

Page 12: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

ENERGY PER CYCLE OF 8 BIT ADDER

Source: K. Kim, “Ultra Low Power CMOS Design” in Doctor of Philosophy’s dissertation, Auburn University, Dept. of ECE, Auburn, Alabama, May 2011.

Aditi Shinde: MEE Project DefenseNovember 1, 2012 12

Page 13: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

ENERGY PER CYCLE FOR INTEL PENTIUM M

0 0.2 0.4 0.6 0.8 1 1.2 1.40

20

40

60

80

100

120

Vdd in Volts

En

erg

y p

er

cycl

e (

nJ)

Aditi Shinde: MEE Project DefenseNovember 1, 2012 13

Page 14: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

CYCLE EFFICIENCY

We define new metric, cycle efficiency as

Aditi Shinde: MEE Project DefenseNovember 1, 2012 14

Cycleper Energy 1

Page 15: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

and FREQUENCY vs. VOLTAGE

0 0.2 0.4 0.6 0.8 1 1.2 1.40

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0

0.2

0.4

0.6

0.8

1

1.2

1.4

Cycle EfficiencyFrequency

Vdd (Volts)

Cycl

e E

ffici

en

cy (

1/n

J)

Fre

qu

en

cy (

GH

z)Aditi Shinde: MEE Project DefenseNovember 1, 2012 15

Page 16: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

EXAMPLE

For a program that executes in 1.3 billion clock cycles.Voltage Frequenc

yCycle Efficiency Time Total

Energy Consumed

1.2 V 1.3 GHz 15 megacycles/joule

1 seconds 86.7 Joules

0.6 V 350 MHz 70 megacycles/joule

4 seconds 18.6 Joules

200 mV 100 MHz 660 megacycles/joule

13 seconds 1.97 Joules

November 1, 2012 Aditi Shinde: MEE Project Defense 16

Fastest !

Lowest Power Consumption !

Page 17: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

CYCLE EFFICIENCY V/S FREQUENCY PLOT

0 200 400 600 800 1000 1200 14000

50

100

150

200

250

300

350

Cycle Efficiency v/s Frequency

Cycle Efficiency v/s Frequency

Frequency (MHz)

Cycl

e E

ffici

ency

(M

ega c

ycl

es/joule

)

November 1, 2012 Aditi Shinde: MEE Project Defense 17

Page 18: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

vs. PERFORMANCE

Performance =

Say, Time factor =

Energy Efficiency = =

Aditi Shinde: MEE Project DefenseNovember 1, 2012 18

C

f

f

1

EPC*C

1

C

η

Page 19: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

CONCLUSION

Performance proportional to Time Factor.

Energy Efficiency proportional to Cycle Efficiency.

Role played is analogous.

Aditi Shinde: MEE Project DefenseNovember 1, 2012 19

Page 20: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

CONCLUSION

Number of cycles that can be completed per given energy resource can be determined.

Number of instructions and hence what part of the program that can be executed knowing the cycles taken per instruction can be determined.

Aditi Shinde: MEE Project DefenseNovember 1, 2012 20

Page 21: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

LIMITATIONS

Power values are benchmark program dependent.

‘Almost Perfect Approximation’ by curve fitting and trend line insertion techniques.

Aditi Shinde: MEE Project DefenseNovember 1, 2012 21

Page 22: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

FUTURE WORK

Running benchmark programs on actual processor and finding the energy per cycle.

Averaging values over number of benchmark programs to reduce program dependency.

Aditi Shinde: MEE Project DefenseNovember 1, 2012 22

Page 23: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

FUTURE WORK

Other approaches, like using the Alpha Power Law Model for MOSFETS can also be used for characterization.

Designing a method where operating points between ‘best energy efficient’ and ‘best performance’ can be derived depending on our requirements.

Aditi Shinde: MEE Project DefenseNovember 1, 2012 23

Page 24: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

REFERENCES

1. Synopsys, Inc., “HSPICE User Guide: Simulation and Analysis”, www.synopsys.com.

2. H. Hanson, K. Rajamani, S. Keckler, F. Rawson, S. Ghiasi, J. Rubio, “Thermal Response to DVFS: Analysis with an Intel Pentium M,” In Proceedings of International Symposium on Low Power Electronics and Design, August 27–29, 2007, Portland, Oregon, pp. 219-224

3. M. Hicks,” Energy Efficient Branch Prediction” in Doctor of Philosophy thesis, University of Hertfordshire, Dec. 2007.

4. D. J. Lilja, ”Measuring Computer Performance: A Practitioner’s Guide,” Cambridge University Press, New York, NY, 2000.

5. K. Kim, “Ultra Low Power CMOS Design,” Doctor of Philosophy’s dissertation, Auburn University, Dept. of ECE, Auburn, Alabama, May 2011.

6. Patrick P. Gelsinger , Keynote, ISSCC, Feb. 2001.

Aditi Shinde: MEE Project DefenseNovember 1, 2012 24

Page 25: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

REFERENCES

7. D. A. Patterson and J. L. Hennessy, Computer Organization & Design, the Hardware/Software Interface, Fourth Edition, San Francisco, California: Morgan Kaufman Publishers, Inc., 2008.

8. W. Zhao and Y. Cao, “New Generation of Predictive Technology Model for Sub-45nm Early Design Exploration,“ IEEE Transactions on Electron Devices, vol. 53, no. 11, pp. 2816–2823, 2006.

25

Page 26: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

QUESTIONS ?

Aditi Shinde: MEE Project DefenseNovember 1, 2012 26

Page 27: Managing Performance and Efficiency of a Processor Advisor: Dr. Vishwani Agrawal Committee: Dr. Adit Singh and Dr. Victor Nelson Department of Electrical

Aditi Shinde: MEE Project DefenseNovember 1, 2012