Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications...

27
Dark Silicon Dark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1 / 21

Transcript of Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications...

Page 1: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Dark Silicon and its Implications for Future

Processor Design

Max Menges

22. December 2015

1 / 21

Page 2: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Introduction: What is dark silicon?

Motivation

0

2

4

6

8

10

90nm TSM

C

45nm TSM

C

32nm ITR

S

Fre

qu

en

cy [

GH

z]

0

500

1000

1500

2000

2500

3000

3500

90nm TSM

C

45nm TSM

C

32nm ITR

S

Po

we

r [W

]

0

5

10

15

20

25

90nm TSM

C

45nm TSM

C

32nm ITR

S

Utiliz

atio

n [

%]

2 / 21

Page 3: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Introduction: What is dark silicon?

What is dark silicon?

The utilization wall refers to the part of a chip which canactively be used within the power budget at full frequency.

This is dropping exponentially with each process generation.The unused silicon that is left unpowered is referred to as dark

silicon.

3 / 21

Page 4: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Introduction: What is dark silicon?

1 Introduction: What is dark silicon?

2 Background: Where does dark silicon come from?

3 Conservation Cores: Utilizing dark silicon.

4 / 21

Page 5: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Background: Where does dark silicon come from?

What is in a CPU?

Sudha Yalamanchili, Architectural Alternatives for Energy Efficient Performance Scaling, VLSI Conference, 2013

5 / 21

Page 6: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Background: Where does dark silicon come from?

Power Consumption

Dynamic power when switching

Pdyn = αCLV2f

Subthreshold leakage

Pleak ∝ eVGS−Vth

nVT

Gate-oxide leakage due toquantum meachanical tunneling

D-cache6%

Data path38%

Registerfile 14%

Fetch/decode

19%

I-cache23%

Baseline CPU91 pJ/instr.

Goulding-Hotta et al. The GreenDroidMobile Application Processor: AnArchitecture for Silicon’s Dark Future, MicroIEEE, vol.31, no.2, 2011

6 / 21

Page 7: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Background: Where does dark silicon come from?

Technology Scaling

Scale geometries by factor S = 1.4, e.g. from 90nm to65nmIdeally scale all voltages etc. accordinglyDevices per chip at constant area A increases by S2 ≈ 2No increase in power due to constant energy density

PS = 1SC · 1

S2V2 · Sf = 1

S2P

Param. Description Rel.ClassicalScaling

W , L Transistor dimensions 1/SVdd ,Vth Supply & threshold voltages 1/S

tox Oxide thicknes 1/SC Gate capacitance WL/tox 1/Sp Power per device CV 2f 1/S2

P Full die, full power Dp 1U Utilization B/P 1

7 / 21

Page 8: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Background: Where does dark silicon come from?

Dennard Scaling

Source DrainGate

Subthreshold

Gate-leakage

Dennard’s Law: The power density in a transistor staysconstant as geometries shrink

Breakdown of Dennard scaling due to leakage current atabout 2005-2007, around the 65nm process

Limited by subthreshold leakage current and QMtunneling effects at thin gate oxide

8 / 21

Page 9: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Background: Where does dark silicon come from?

Technology Scaling II

Post Dennard scaling is leakage limited, Vdd and Vth

cannot be lowered

Continue to scale geometries by factor S = 1.4

Utilization will decrease with a factor of 1/S2 with eachnew process generation

Param. Description Rel.ClassicalScaling

LeakageLimited

W , L Transistor dimensions 1/S 1/SVdd ,Vth Supply & threshold voltages 1/S 1

tox Oxide thicknes 1/S 1/SC Gate capacitance WL/tox 1/S 1/Sp Power per device CV 2f 1/S2 1P Full die, full power Dp 1 1/S2

U Utilization B/P 1 1/S2

9 / 21

Page 10: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Background: Where does dark silicon come from?

Muticore CPUs

Single core CPUs derive speedup fromfrequency gains

Transition to multicore CPUsReduce clock frequency to 80%Power: PM = 0.512 · PS

Gain 1.6x performance by adding a second core

Low frequency, throughput orientatedmanycores for regular floating pointarithmetics

Heterogeneous cores for energyefficient computations

Specialized hardware

Single core

Core 0 Core 1

Manycore

little BIG

?

10 / 21

Page 11: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Background: Where does dark silicon come from?

Muticore CPUs

Single core CPUs derive speedup fromfrequency gains

Transition to multicore CPUsReduce clock frequency to 80%Power: PM = 0.512 · PS

Gain 1.6x performance by adding a second core

Low frequency, throughput orientatedmanycores for regular floating pointarithmetics

Heterogeneous cores for energyefficient computations

Specialized hardware

Single core

Core 0 Core 1

Manycore

little BIG

?

10 / 21

Page 12: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Background: Where does dark silicon come from?

Muticore CPUs

Single core CPUs derive speedup fromfrequency gains

Transition to multicore CPUsReduce clock frequency to 80%Power: PM = 0.512 · PS

Gain 1.6x performance by adding a second core

Low frequency, throughput orientatedmanycores for regular floating pointarithmetics

Heterogeneous cores for energyefficient computations

Specialized hardware

Single core

Core 0 Core 1

Manycore

little BIG

?

10 / 21

Page 13: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Background: Where does dark silicon come from?

Muticore CPUs

Single core CPUs derive speedup fromfrequency gains

Transition to multicore CPUsReduce clock frequency to 80%Power: PM = 0.512 · PS

Gain 1.6x performance by adding a second core

Low frequency, throughput orientatedmanycores for regular floating pointarithmetics

Heterogeneous cores for energyefficient computations

Specialized hardware

Single core

Core 0 Core 1

Manycore

little BIG

?

10 / 21

Page 14: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Background: Where does dark silicon come from?

Muticore CPUs

Single core CPUs derive speedup fromfrequency gains

Transition to multicore CPUsReduce clock frequency to 80%Power: PM = 0.512 · PS

Gain 1.6x performance by adding a second core

Low frequency, throughput orientatedmanycores for regular floating pointarithmetics

Heterogeneous cores for energyefficient computations

Specialized hardware

Single core

Core 0 Core 1

Manycore

little BIG

?

10 / 21

Page 15: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Background: Where does dark silicon come from?

1 Introduction: What is dark silicon?

2 Background: Where does dark silicon come from?

3 Conservation Cores: Utilizing dark silicon.

11 / 21

Page 16: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Conservation Cores: Utilizing dark silicon.

The GreenDroid

The GreenDroid is a proposed energy efficient chip designtargeted at Andriod mobile phones

Power limitation of 3W

Android OS ideal as a limited software platform

User applications run in a VMCommon applications: Web browser, e-mail, mediaplayerShort replacement cycle

Utilize dark silicon in energy efficient conservation cores

12 / 21

Page 17: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Conservation Cores: Utilizing dark silicon.

What is a C-Core?

Specialized core which implements software functions inhardware

Analyze most frequently used functions and translate toverilog code

C-cores are coupled to a host CPU via L1 cache and scanchain

13 / 21

Page 18: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Conservation Cores: Utilizing dark silicon.

Tile layout

Chip layout Tile layout

Venkatesh et al. Conservation Cores: Reducing the Energy of Mature Computations, SIGARCH Comput. Archit.News, March 2010

14 / 21

Page 19: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Conservation Cores: Utilizing dark silicon.

Generating the Cores I

Characterize workload andidentify regions of hotcode

Translate CFG to statemachine

Compile code

Compare c-core specsand codeGenerate stubs thatallow execution onc-core or CPU

computeArraySum{

sum = 0;for(i = 0; i < n; i++){

sum += a[i];}return(sum);

}

i = 0sum = 0

phi(i)phi(sum)

i < n

sum+=a[i]i++ return(sum)

F

Venkatesh et al. Conservation Cores: Reducing theEnergy of Mature Computations, SIGARCH Comput.Archit. News, March 2010

15 / 21

Page 20: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Conservation Cores: Utilizing dark silicon.

Generating the Cores II

Change code toallow patching

ConstantsOperatorsControl flow

Insert scan chainsand synthesise tohardware

Add exception bit toeach state transition

isum a

+

ld unitaddr

valid

en

value+

0 0

+1

muxSelmuxSel

ldEn

ldValid

<

n

cond

Data Path

sInit

s1

s2

s3 ldValid==0

sRetcond==0

ControlPath

CacheInterface

Scan ChainInterface

Scan Chain

Venkatesh et al. Conservation Cores: Reducing the Energy of MatureComputations, SIGARCH Comput. Archit. News, March 2010

16 / 21

Page 21: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Conservation Cores: Utilizing dark silicon.

Execution

Decide at runtime to execute code on CPU or c-core

Pass function arguments via scan chain

Start c-core execution with a single bit master scan chain

Once complete the c-core throws an exception andtransfers controll back to the CPU

In case of a patched core, pass control back and forthbetween CPU and c-core

17 / 21

Page 22: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Conservation Cores: Utilizing dark silicon.

Results I

Goulding-Hotta et al. The GreenDroid MobileApplication Processor: An Architecture for Silicon’s DarkFuture, Micro IEEE, vol.31, no.2, 2011

Reduce energy byremoving instruction fetchand decode andsimplifying the data path

C-core executions in oneexample tile span ≈ 10%of code

18 / 21

Page 23: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Conservation Cores: Utilizing dark silicon.

Results II

Nor

mal

ized

app

licat

ion

exec

utio

n tim

e

0

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

1.8

1.00

1.01

ExceptionArgument TransferDispatch OverheadInitializationConservation CoreMIPS

MIPS

C-Core

Nor

mal

ized

app

licat

ion

ener

gy

0

0.2

0.4

0.6

0.8

1

1.2

1.4

1.1.00

0.67

Conservation CoreLeakageCore LeakageD−Cache LeakageCore ClockConservation CoreDynamicCore DynamicD−Cache Dynamic

MIPS

C-Core

Venkatesh et al. Conservation Cores: Reducing the Energy of Mature Computations, SIGARCH Comput. Archit.News, March 2010

Average energy and execution times of bzip2, cjpeg, djpeg,mcf and vpr in c-cores and the MIPS core.

19 / 21

Page 24: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Conservation Cores: Utilizing dark silicon.

Conclusion

Dark silicon is the part of chip which cannot be operatedwithin the power budget

It is a result of scaling process technologies withoutreducing supply voltage accordingly

Introduce specialized energy efficient hardware to utilizedark silicon

20 / 21

Page 25: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Conservation Cores: Utilizing dark silicon.

Conclusion

Dark silicon is the part of chip which cannot be operatedwithin the power budget

It is a result of scaling process technologies withoutreducing supply voltage accordingly

Introduce specialized energy efficient hardware to utilizedark silicon

20 / 21

Page 26: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Conservation Cores: Utilizing dark silicon.

Conclusion

Dark silicon is the part of chip which cannot be operatedwithin the power budget

It is a result of scaling process technologies withoutreducing supply voltage accordingly

Introduce specialized energy efficient hardware to utilizedark silicon

20 / 21

Page 27: Dark Silicon and its Implications for Future Processor Design fileDark Silicon and its Implications for Future Processor Design Max Menges 22. December 2015 1/21. Dark Silicon ...

Dark Silicon

Conservation Cores: Utilizing dark silicon.

Thank you for your attention.Any questions?

21 / 21