17 sep 2002embedded seminar2 outline the big picture who’s got the power? what’s in the bag of...

39

Upload: augustine-baker

Post on 11-Jan-2016

214 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?
Page 2: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 2

Outline

The Big Picture

Who’s got the Power?

What’s in the bag of tricks?

Page 3: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 3

The Big Picture

Phenomenal increase in processor speed

3GHz Pentium 4 by the end of the year

Shrinkage in sizeMobility highly desiredBUT battery technology not improving at the same rate

Page 4: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 4

Batteries Not Included

Nickel-based batteriesNickel-Iron

The first rechargeable, old technology

Nickel-cadmium and Nickel-Metal-HydrideHigh energy density – good for motors

Lithium-based batteriesPromising because lithium releases electrons easilyProblem with battery life, dangerous to handle

OthersZinc-air batteries – can work a laptop for 10 hours

Page 5: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 5

Some Terminologies

Power is the rate of energy consumptionPower ≠ energy

Energy depends on how long you run the thing!

Optimizing for speed = optimizing for energy?

Some researchers look at average power

Page 6: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 6

Back to Basics

P- substrate

N+ source N+ drain

Gate

Gate oxide insulator

N-Channel Metallic Oxide Semiconductor Field Effect Transistor

Page 7: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 7

Back to Basics – ACTION!

P- substrate

N+ source N+ drain

Gate

Gate oxide insulator

+

-

+-

N-Channel Metallic Oxide Semiconductor Field Effect Transistor

Page 8: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 8

P-channel MOSFET

N-channel MOSFET

CMOS

VDD

GND

Input: 0 = 0V 1 = +5V

Output

CMOS Inverter

Page 9: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 9

P-channel MOSFET

N-channel MOSFET

CMOS

VDD

GND

Input: 0 = 0V

Output = 0

CMOS Inverter

Page 10: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 10

P-channel MOSFET

N-channel MOSFET

CMOS

VDD

GND

Input: 1 = +5V

Output = 1

CMOS Inverter

Page 11: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 11

Power in CMOS

21

2 DD SC DD leak DD static DDP C V f N Q V f N I V I V

P = total power VDD = supply voltage f = clock

frequency

N = switching (gate transition per clock cycle)

Ileak = leakage power Istatic = static power

QSC = quantity of charge carried by short-circuit current per

transistion

Page 12: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 12

Power in CMOS

21

2 DD SC DD leak DD static DDP C V f N Q V f N I V I V

Switching power Short-circuit power Leakagepower

Staticpower

Dynamic power Static power

Page 13: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 13

Switching Power

Accounts for most (90%) of power

Two major factor is supply voltage and frequency

Voltage scaling

Frequency scaling

Page 14: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 14

Short Circuit Power

During switching, there is a short period of time when both gates are ON a path from VDD to ground

power dissipation

Page 15: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 15

Leakage Power

Diode leakageSource (and drain) together with substrate forms a diodeAt times, this diode can be reverse-biased during which current can leak

Sub-threshold leakageEven when gate is not completely on, enough of a channel can form for some movement of charges from source to drain

Page 16: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 16

Static Power

Reduced voltage feedingBoth gates can be “weakly on”

Weak current flow from VDD to ground

Other parasitic current flowsDue to imperfect manufacturing or operating conditions

Page 17: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 17

A Digression – The Problems Of Scaling down

Latch-up effect

Short-channel effect

Punch-through effect

Hot electron effectGate erosion

Page 18: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 18

Latch-up Effect

Page 19: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 19

Tricks in the bag

Voltage Scaling

Frequency Scaling

Power Gating

Page 20: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 20

Voltage Scaling

Lower VDD

For the same circuit and technology, this leads to higher gate delay

Total delay, , is made up of two components, = 1 + 2

1 is a constant

2 VDD

Page 21: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 21

Frequency Scaling

Widely used in many processorsIntel SpeedStep on mobile processors

Leads to lower performanceObvious!

Page 22: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 22

Power Gating

Turn off power to parts of the circuit

Can be problematic for circuits with memory

Page 23: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 23

What About Memory?

SRAMImplemented using CMOS

DRAMEntirely different technology

Implemented using capacitors

Page 24: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 24

SRAM

CMOS SRAM Cell

Page 25: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

DRAM

Single Transistor DRAM cell

Page 26: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 26

Model or Measure?

Hardware measurementMeasures the amount of current consumed

Depends on how the circuit is designed

Cannot get core CPU power breakdowns

Page 27: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 27

Software Estimation

SPICE simulationVery slow

PowerMill from Synopsys

CAD ToolsPart of a lot of CAD tool chains, eg. Synopsys

Architectural based simulationEg: SimplePower, WATTCH etc.

Page 28: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 28

Putting it Together – System Power

Reference:Marc A. Viredaz and Deborah A. Wallach, “Power Evaluation of a Handheld Computer: A Case Study”. Compaq Western Research Lab Technical Report 2001/1. May 2001.http://research.compaq.com/wrl/techreports/abstracts/2001.1.html

Page 29: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 29

Dealing with it

System / OSAlgorithmsArchitectureCircuit/LogicTechnology

Page 30: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 30

Technology

Low threshold, low voltage

Various technological issues as discussed

Page 31: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 31

Circuit/Logic

Even within CMOS, there are different types of logic families that consumes different amount of energyTransistor sizeLayoutAsynchronous circuits

Clocking consumes a lot of power

Pipeline retiming

Page 32: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 32

Architecture / Compiler

Trade off area for power

Page 33: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 33

Architecture / Compiler

Trade off area for powerShorter wires less power

Parallelism and concurrency

Directives to allow compiler to doVoltage scalingFrequency scalingPower gatingOne more degree of freedom: activity

Page 34: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 34

Algorithms

Low power algorithms

Parallelism and concurrency

A under-research area

Page 35: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 35

System / OS

System level power managementHeuristics for transiting between various power modes

Operating environment sensitive power management

Battery or plugged-in?

Power-domain specific management schemes

Page 36: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 36

Reducing Processor Power

Energy conscious code generationReduce switching

Instruction scheduling

Use of Gray code instead of binary

Low power modesInstruction compressionParallelism and concurrency

Page 37: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 37

Reducing Memory Power

Reduce memory accessesAll compiler techniques for reducing cache misses

Use registers

Memory reference compactionPower aware page allocation

Group active pages together

Page 38: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 38

Reducing Peripheral Power

CommunicationDifferent power modes for communicating devicesData compressionAdaptation in view of traffic and power

DiskSpin-down and different power modes (when?)

Display

Page 39: 17 Sep 2002Embedded Seminar2 Outline The Big Picture Who’s got the Power? What’s in the bag of tricks?

17 Sep 2002 Embedded Seminar 39

Summary

Some research opportunities still exist

Especially in algorithms and operating systems

An integrated approach is neededAll levels of the system cooperating with one another