EECS 470 Power and Architecture Many slides taken from Prof. David Brooks, Harvard University and modified by Mark Brehob. A couple of slides are also.

Slides:



Advertisements
Similar presentations
CMOS Logic Circuits.
Advertisements

Keeping Hot Chips Cool Ruchir Puri, Leon Stok, Subhrajit Bhattacharya IBM T.J. Watson Research Center Yorktown Heights, NY Circuits R-US.
Power Reduction Techniques For Microprocessor Systems
Elettronica T A.A Digital Integrated Circuits © Prentice Hall 2003 Inverter CMOS INVERTER.
Introduction to CMOS VLSI Design Lecture 18: Design for Low Power David Harris Harvey Mudd College Spring 2004.
EE42/100, Spring 2006Week 14a, Prof. White1 Week 14a Propagation delay of logic gates CMOS (complementary MOS) logic gates Pull-down and pull-up The basic.
S. Reda EN160 SP’08 Design and Implementation of VLSI Systems (EN1600) Lecture 14: Power Dissipation Prof. Sherief Reda Division of Engineering, Brown.
CS 7810 Lecture 12 Power-Aware Microarchitecture: Design and Modeling Challenges for Next-Generation Microprocessors D. Brooks et al. IEEE Micro, Nov/Dec.
Week 7a, Slide 1EECS42, Spring 2005Prof. White Week 7a Announcements You should now purchase the reader EECS 42: Introduction to Electronics for Computer.
© Digital Integrated Circuits 2nd Inverter CMOS Inverter: Digital Workhorse  Best Figures of Merit in CMOS Family  Noise Immunity  Performance  Power/Buffer.
04/09/02EECS 3121 Lecture 25: Interconnect Modeling EECS 312 Reading: 8.3 (text), 4.3.2, (2 nd edition)
Lecture #25a OUTLINE Interconnect modeling
S. Reda EN160 SP’07 Design and Implementation of VLSI Systems (EN0160) Lecture 22: Material Review Prof. Sherief Reda Division of Engineering, Brown University.
S. Reda EN160 SP’07 Design and Implementation of VLSI Systems (EN0160) Lecture 13: Power Dissipation Prof. Sherief Reda Division of Engineering, Brown.
Lecture 13, Slide 1EECS40, Fall 2004Prof. White Lecture #13 Announcements You should now purchase the reader EECS 40: Introduction to Microelectronics,
Lecture 5 – Power Prof. Luke Theogarajan
Temperature-Aware Design Presented by Mehul Shah 4/29/04.
Lecture 7: Power.
Lecture 7: Power.
Power-Aware Computing 101 CS 771 – Optimizing Compilers Fall 2005 – Lecture 22.
Lecture 21, Slide 1EECS40, Fall 2004Prof. White Lecture #21 OUTLINE –Sequential logic circuits –Fan-out –Propagation delay –CMOS power consumption Reading:
Low Power Design of Integrated Systems Assoc. Prof. Dimitrios Soudris
EECS 470 Power and Architecture Many slides taken from Prof. David Brooks, Harvard University and modified by Mark Brehob. A couple of slides are also.
Power, Energy and Delay Static CMOS is an attractive design style because of its good noise margins, ideal voltage transfer characteristics, full logic.
The CMOS Inverter Slides adapted from:
Digital Integrated Circuits© Prentice Hall 1995 Inverter THE INVERTERS.
Digital logic families
1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University
Free Powerpoint Templates Page 1 Free Powerpoint Templates Low Power VLSI Design Dr Elwin Chandra Monie RMK Engineering College.
6.893: Advanced VLSI Computer Architecture, September 28, 2000, Lecture 4, Slide 1. © Krste Asanovic Krste Asanovic
EE466: VLSI Design Power Dissipation. Outline Motivation to estimate power dissipation Sources of power dissipation Dynamic power dissipation Static power.
17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?
Low Power Techniques in Processor Design
Chalmers University of Technology FlexSoC Seminar Series – Page 1 Power Estimation FlexSoc Seminar Series – Daniel Eckerbert
Lecture 03: Fundamentals of Computer Design - Trends and Performance Kai Bu
CAD for Physical Design of VLSI Circuits
Last Time Performance Analysis It’s all relative
THE INVERTERS. DIGITAL GATES Fundamental Parameters l Functionality l Reliability, Robustness l Area l Performance »Speed (delay) »Power Consumption »Energy.
1 Power Dissipation in CMOS Two Components contribute to the power dissipation: »Static Power Dissipation –Leakage current –Sub-threshold current »Dynamic.
Basics of Energy & Power Dissipation Lecture notes S. Yalamanchili, S. Mukhopadhyay. A. Chowdhary.
1 EE 587 SoC Design & Test Partha Pande School of EECS Washington State University
Power.
MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.
Why Low Power Testing? 台大電子所 李建模.
Power-Aware Compilation CS 671 April 22, CS 671 – Spring Why Worry about Power Dissipation? Environment Thermal issues: affect cooling, packaging,
Thermal-aware Issues in Computers IMPACT Lab. Part A Overview of Thermal-related Technologies.
Leakage reduction techniques Three major leakage current components 1. Gate leakage ; ~ Vdd 4 2. Subthreshold ; ~ Vdd 3 3. P/N junction.
Inverter Chapter 5 The Inverter April 10, Inverter Objective of This Chapter  Use Inverter to know basic CMOS Circuits Operations  Watch for performance.
© Digital Integrated Circuits 2nd Inverter EE5900 Advanced Algorithms for Robust VLSI CAD The Inverter Dr. Shiyan Hu Office: EERC 731 Adapted.
1 Interconnect/Via. 2 Delay of Devices and Interconnect.
Basics of Energy & Power Dissipation
© Digital Integrated Circuits 2nd Inverter Digital Integrated Circuits A Design Perspective The Inverter Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic.
An Introduction to VLSI (Very Large Scale Integrated) Circuit Design
FPGA-Based System Design: Chapter 6 Copyright  2004 Prentice Hall PTR Topics n Low power design. n Pipelining.
Chapter 4: Secs ; Chapter 5: pp
Modern VLSI Design 3e: Chapter 3 Copyright  1998, 2002 Prentice Hall PTR Topics n Electrical properties of static combinational gates: –transfer characteristics;
EE415 VLSI Design THE INVERTER [Adapted from Rabaey’s Digital Integrated Circuits, ©2002, J. Rabaey et al.]
Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 6.1 EE4800 CMOS Digital IC Design & Analysis Lecture 6 Power Zhuo Feng.
Penn ESE534 Spring DeHon 1 ESE534 Computer Organization Day 19: March 28, 2012 Minimizing Energy.
ELEC Digital Logic Circuits Fall 2015 Delay and Power Vishwani D. Agrawal James J. Danaher Professor Department of Electrical and Computer Engineering.
CS203 – Advanced Computer Architecture
LOW POWER DESIGN METHODS
CS203 – Advanced Computer Architecture
Green cloud computing 2 Cs 595 Lecture 15.
Reading: Hambley Ch. 7; Rabaey et al. Sec. 5.2
Lecture 7: Power.
The University of Adelaide, School of Computer Science
Lecture 7: Power.
Presentation transcript:

EECS 470 Power and Architecture Many slides taken from Prof. David Brooks, Harvard University and modified by Mark Brehob. A couple of slides are also taken from Prof. Wenisch. Any errors are almost certainly Mark’s. Thanks to both! Introduction

2 Outline Why is power a problem? What uses power in a chip? Relationship between power and performance. How can we reduce power? Introduction

3 Why is power a problem in a μP? Power used by the μP, vs. system power Dissipating Heat Melting (very bad) Packaging (to cool  $) Heat leads to poorer performance. Providing Energy Battery Cost of electricity Introduction

4 Why worry about power dissipation? Environment Thermal issues: affect cooling, packaging, reliability, timing Battery life Why is power a problem?

5 Where does the juice go in laptops? Microsoft, The processor power can be a lot higher depending on what the laptop is doing. [Hsu+Kremer, 2002]

6 What about servers? Need whole-system approaches to save energy SunFire T2000 CPU <25%; shrinking AC to DC only 60-90% efficient DRAM >20%; growing

7 Power usage effectiveness (PUE) A PUE of 2.0 means that for every 2W of power supplied to the data center, only 1W is consumed by computing equipment. Values of around 2.9 are pretty common

A Paradigm Shift In Computing 8 Era of High Performance Computing Era of Energy-Efficient Computing c Limits on heat extraction Limits on energy-efficiency of operations Stagnates performance growth IEEE Computer—April 2001 T. Mudge

9 Spot Heat Issues in Microprocessors Why is power a problem?

10 Data center energy use Source: US EPA 2007—Newest I can find Source: Mankoff et al, IEEE Computer % of world CO 2 emissions; rivals entire Czech Republic Improving energy efficiency is a critical challenge In 2012, ~2.0% of US energy ~$7 billion/yr. (Rich Miller, 2012) In 2012, ~2.0% of US energy ~$7 billion/yr. (Rich Miller, 2012) Installed base grows 11%/yr.

11 Where does all the power go? Source: Liebert 2007 System designers must think about cooling Servers account for barely half of power 1W of cooling per 1.5W of IT load 10MW data center: cooling costs $4M to $8M / yr.

12 This may be getting worse. Power Usage Effectiveness (PUE) A PUE of 2.0 means that for every 2W of power supplied to the data center, only 1W is consumed by computing equipment. Values of around 2.8 are pretty common these days, while 1.9 was a common number in Not clear why. UPS: Power supplies/converters CRAC: Computer Room Air Conditioner. PDU: Power distribution unit

13 Why is cooling so costly? (1) Server density increasing Integration, disaggregation reduce hardware costs Need for high-BW interconnect Data center floor space costs up to $15,000 /m 2 Heat flux up to 500W per ft 2 floor space; Racks draw 4 to 20kW each Heat flux up to 500W per ft 2 floor space; Racks draw 4 to 20kW each Source: AHRAE 2006

14 Why is cooling so costly? (2) Source: C. Patel, HP Labs Servers’ 3-year power & cooling costs nearing their purchase price Heat density drives cooling cost Cooling power grows super-linearly with thermal load Heat Generated Power to Remove 100W250W20kW 5W 1MW 2kW20W

15 Intel Itanium packaging Complex and expensive (note heatpipe) Source: H. Xie et al. “Packaging the Itanium Microprocessor” Electronic Components and Technology Conference 2002 Why is power a problem?

16 P4 packaging Simpler, but still… Source: Intel web site From Tiwari, et al., DAC98 Why is power a problem?

17 Power-Aware Computing Applications Energy-Constrained Computing Temperature/di-dt-Constrained

18 Environment Environment Protection Agency (EPA): computers consume 10% of commercial electricity consumption This incl. peripherals, possibly also manufacturing A DOE report suggested this percentage is much lower ( %) No consensus, but it’s still a lot Interesting to look at the numbers: – Data center growth was cited as a contribution to the 2000/2001 California Energy Crisis Equivalent power (with only 30% efficiency) for AC CFCs used for refrigeration Lap burn Fan noise Why is power a problem?

19 Power-Aware Needed across all computing platforms Mobile/portable (cell phones, laptops, PDA) Battery life is critical Desktops/Set-Top (PCs and game machines) Packaging cost is critical Servers (Mainframes and compute-farms) Packaging limits Volumetric (performance density) Why is power a problem?

20 How CMOS Transistors Work What uses power in a chip?

21 MOS Transistors are Switches What uses power in a chip?

22 Static CMOS What uses power in a chip?

23 Basic Logic Gates What uses power in a chip?

24 CMOS Water Analogy Electron: water molecule Charge: weight of water Voltage: height Current: flow rate Capacitance: container cross-section (Think of power-plants that store energy in water towers) What uses power in a chip?

25 Liquid Inverter Capacitance at input Gates of NMOS, PMOS Metal interconnect Capacitance at output Fanout (# connections) to other gates Metal Interconnect NMOS conducts when water level is above switching threshold PMOS conducts below No conduction after container full Slide courtesy D. Brooks, Harvard

26 Inverter Signal Propagation (1) Slide courtesy D. Brooks, Harvard

27 Inverter Signal Propagation (2) Slide courtesy D. Brooks, Harvard

28 Delay and Power Observations Load capacitance increases delay High fanout (gates attached to output) Interconnection Higher current can increase speed Increasing transistor width raises currents but also raises capacitance Energy per switching event independent of current Depends on amount of charge moved, not rate What uses power in a chip?

29 Power: The Basics Dynamic power vs. Static power Dynamic: “switching” power Static: “leakage” power Dynamic power dominates, but static power increasing in importance Static power: steady, per-cycle energy cost Dynamic power: capacitive and short-circuit Capacitive power: charging/discharging at transitions from 0  1 and 1  0 Short-circuit power: power due to brief short-circuit current during transitions. What uses power in a chip?

30 Dynamic (Capacitive) Power Dissipation Data dependent – a function of switching activity What uses power in a chip?

31 Capacitive Power dissipation Power ~ ½ CV 2 Af Capacitance: Function of wire length, transistor size Supply Voltage: Has been dropping with successive fab generations Clock frequency: Increasing… Activity factor: How often, on average, do wires switch? What uses power in a chip?

32 Lowering Dynamic Power Reducing Vdd has a quadratic effect Has a negative (~linear) effect on performance however Lowering C L May improve performance as well Keep transistors small (keeps intrinsic capacitance (gate and diffusion) small) Reduce switching activity A function of signal transition stats and clock rate Clock Gating idle units Impacted by logic and architecture decisions What uses power in a chip?

33 Static Power: Leakage Currents Subthreshold currents grow exponentially with increases in temperature, decreases in threshold voltage But threshold voltage scaling is key to circuit performance! Gate leakage primarily dependent on gate oxide thickness, biases Both type of leakage heavily dependent on stacking and input pattern What uses power in a chip?

34 Lowering Static Power Design-time Decisions Use fewer, smaller transistors -- stack when possible to minimize contacts with Vdd/Gnd Multithreshold process technology (multiple oxides too!) –Use “high-Vt” slow transistors whenever possible Dynamic Techniques Reverse-Body Bias (dynamically adjust threshold) –Low-leakage sleep mode (maintain state), e.g. XScale Vdd-gating (Cut voltage/gnd connection to circuits) –Zero-leakage sleep mode –Lose state, overheads to enable/disable What uses power in a chip?

35 Power vs. Energy Power consumption in Watts Determines battery life in hours Sets packaging limits Energy efficiency in joules Rate at which energy is consumed over time Energy = power * delay (joules = watts * seconds) Lower energy number means less power to perform a computation at same frequency What uses power in a chip?

36 Power vs. Energy What uses power in a chip?

37 Power vs. Energy Power-delay Product (PDP) = P avg * t PDP is the average energy consumed per switching event Energy-delay Product (EDP) = PDP * t Takes into account that one can trade increased delay for lower energy/operation Energy-delay 2 Product (EDDP) = EDP * t Why do we need so many formulas?!!? We want a voltage-invariant efficiency metric! Why? Power ~ ½ CV 2 Af, Performance ~ f (and V) What uses power in a chip?

38 E vs. EDP vs. ED 2 P Power ~ CV 2 f ~ V 3 (fixed microarch/design) Performance ~ f ~ V (fixed microarch/design) (For the nominal voltage range, f varies linearly with V) Comparing processors that can only use freq/voltage scaling as the primary method of power control: (perf) 3 / power, or MIPS 3 / W is a fair metric to compare energy efficiencies. This is an ED 2 P metric. We could also use: (CPI) 3 * W for a given application What uses power in a chip?

39 E vs. EDP vs. ED 2 P Currently have a processor design: 80W, 1 BIPS, 1.5V, 1GHz Want to reduce power, willing to lose some performance Cache Optimization: –IPC decreases by 10%, reduces power by 20% => Final Processor: 900 MIPS, 64W –Relative E = MIPS/W (higher is better) = 14/12.5 = 1.125x Energy is better, but is this a “better” processor? What uses power in a chip?

40 Not necessarily 80W, 1 BIPS, 1.5V, 1GHz Cache Optimization: –IPC decreases by 10%, reduces power by 20% => Final Processor: 900 MIPS, 64W –Relative E = MIPS/W (higher is better) = 14/12.5 = 1.125x –Relative EDP = MIPS 2 /W = 1.01x –Relative ED 2 P = MIPS 3 /W =.911x What if we just adjust frequency/voltage on processor? How to reduce power by 20%? P = CV 2 F = CV 3 => Drop voltage by 7% (and also Freq) =>.93*.93*.93 =.8x So for equal power (64W) –Cache Optimization = 900MIPS –Simple Voltage/Frequency Scaling = 930MIPS What uses power in a chip?