cse 691: energy-efficient computing lecture 5 speed: processor anshul gandhi 1307, cs building...

12
CSE 691: Energy-Efficient Computing Lecture 5 SPEED: processor Anshul Gandhi 1307, CS building [email protected]

Upload: eleanor-carson

Post on 31-Dec-2015

221 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: CSE 691: Energy-Efficient Computing Lecture 5 SPEED: processor Anshul Gandhi 1307, CS building anshul@cs.stonybrook.edu

CSE 691: Energy-Efficient ComputingLecture 5

SPEED: processorAnshul Gandhi

1307, CS [email protected]

Page 2: CSE 691: Energy-Efficient Computing Lecture 5 SPEED: processor Anshul Gandhi 1307, CS building anshul@cs.stonybrook.edu

opt_allocation paper

Page 3: CSE 691: Energy-Efficient Computing Lecture 5 SPEED: processor Anshul Gandhi 1307, CS building anshul@cs.stonybrook.edu

3

U.S. Data Center Energy Consumption

2000 2006 20110

102030405060708090

100

$ 8.4 billion

kWh

(in b

illio

ns)

120 billion kWh

12 billion kWh

50 billion kWh

Source: EPA report to Congress on Server and Data Center Energy Efficiency ,2007

Page 4: CSE 691: Energy-Efficient Computing Lecture 5 SPEED: processor Anshul Gandhi 1307, CS building anshul@cs.stonybrook.edu

4

P

Get the best performance from thepower, P, that we have.

Goal

Data Center

Page 5: CSE 691: Energy-Efficient Computing Lecture 5 SPEED: processor Anshul Gandhi 1307, CS building anshul@cs.stonybrook.edu

5

PP1

P2

P3

Goal How to split P to minimize mean response time?

Right answer can improve performance by up to 5X

Constraint:P ≥ P1 + P2 + P3

Page 6: CSE 691: Energy-Efficient Computing Lecture 5 SPEED: processor Anshul Gandhi 1307, CS building anshul@cs.stonybrook.edu

6

Our Experimental Results

DFS: Dynamic Frequency Scaling

Power (Watts)

DFS

Freq

uenc

y (G

Hz)

(s

erve

r spe

ed)

How power affects server speed for a single server

)( minmin PPss

s

P

minP

mins

“linear”P = system power NOT processor power

Page 7: CSE 691: Energy-Efficient Computing Lecture 5 SPEED: processor Anshul Gandhi 1307, CS building anshul@cs.stonybrook.edu

7

Our Experimental Results

Power (Watts)

DFS

Freq

uenc

y (G

Hz)

How power affects server speed for a single server

Power (Watts)

Freq

uenc

y (G

Hz)

Power (Watts)

Freq

uenc

y (G

Hz)

DVFS DVFS

+DFS

Power (Watts)

DFS

Freq

uenc

y (G

Hz)

Power (Watts)

Freq

uenc

y (G

Hz)

Power (Watts)

Freq

uenc

y (G

Hz)

DVFS DVFS

+DFS

“LINPACK”CPU BOUND

“STREAM”MEM BOUND

Page 8: CSE 691: Energy-Efficient Computing Lecture 5 SPEED: processor Anshul Gandhi 1307, CS building anshul@cs.stonybrook.edu

8

Power Allocation ResultsCPU bound “LINPACK”

Memory bound

“STREAM”

DFS

DVFS

DVFS+DFS

Power (Watts)

DFS

Freq

uenc

y (G

Hz)

optimal. is PowMax then ,Ps

α steep

and linear is scaling speed If :THEOREM

min

min

minP

mins

Page 9: CSE 691: Energy-Efficient Computing Lecture 5 SPEED: processor Anshul Gandhi 1307, CS building anshul@cs.stonybrook.edu

9

Power Allocation ResultsCPU bound “LINPACK”

Memory bound

“STREAM”

DFS

DVFS

DVFS+DFS for optimal is PowMin

then ,

P

P

for optimal is PowMax

Ps

αflat and

linear is scaling speed If :THEOREM

min

min

Power (Watts)

Freq

uenc

y (G

Hz)

DVFS

P.

Page 10: CSE 691: Energy-Efficient Computing Lecture 5 SPEED: processor Anshul Gandhi 1307, CS building anshul@cs.stonybrook.edu

10

Power Allocation ResultsCPU bound “LINPACK”

Memory bound

“STREAM”

DFS

DVFS

DVFS+DFS

0

0

for optimal is PowMed

for optimal is PowMax

then cubic, is scaling speed If :THEOREM

Power (Watts)

Freq

uenc

y (G

Hz)

DVFS+DFS

332

0 minkneeminmaxkneemax

PPPPPP

P

0

Page 11: CSE 691: Energy-Efficient Computing Lecture 5 SPEED: processor Anshul Gandhi 1307, CS building anshul@cs.stonybrook.edu

11

Power Allocation ResultsCPU bound “LINPACK”

Memory bound

“STREAM”

DFS

DVFS

DVFS+DFS

DVFS+DFS

DFS

DVFS

Arrival rate (jobs/sec)

Mea

n Re

sp. T

ime

(sec

)M

ean

Resp

. Tim

e (s

ec)

Mea

n Re

sp. T

ime

(sec

)

Arrival rate (jobs/sec) Arrival rate (jobs/sec)

Page 12: CSE 691: Energy-Efficient Computing Lecture 5 SPEED: processor Anshul Gandhi 1307, CS building anshul@cs.stonybrook.edu

12

Conclusions: How to allocate power optimally

Speed Scaling?

Arrival Rate?

Linear, Steep Linear, Flat Cubic

Arrival Rate? Arrival Rate?

PowMax PowMax PowMax PowMin

HighLow HighLow HighLow

PowMax PowMed