MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

29
MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1

Transcript of MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

Page 1: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

MS108 Computer System I

Lecture 2 Metrics

Prof. Xiaoyao Liang

2014/2/28 1

Page 2: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

Performance MetricsPerformance Metrics

2

Page 3: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

Performance MetricsPerformance Metrics

3

Page 4: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

CPICPI

4

Page 5: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

IPCIPC

5

Page 6: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

IPCIPC

6

Page 7: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

Amdahl’s LawAmdahl’s Law

7

Page 8: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

Amdahl’s LawAmdahl’s Law

8

Page 9: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

Amdahl’s LawAmdahl’s Law

9

Page 10: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

Performance EquationPerformance Equation

10

• The Processor Performance Equation

Page 11: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

11

Performance EquationPerformance Equation

Page 12: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

Performance EquationPerformance Equation

12

• Different instruction types having different CPIs

Page 13: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

13

MIPSMIPS

Page 14: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

14

MFLOPSMFLOPS

Page 15: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

15

GHzGHz

Page 16: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

16

Page 17: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

17

Page 18: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

18

IC CostIC Cost

• Cost driven down by learning curve– Yield

• DRAM: price closely tracks cost

• Microprocessors: price depends on volume– 10% less for each doubling of volume

Page 19: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

IC CostIC Cost

19

• Integrated circuit

• Bose-Einstein formula:

• Defects per unit area = 0.016-0.057 defects per square cm (2010)

• N = process-complexity factor = 11.5-15.5 (40 nm, 2010)

Page 20: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

IC CostIC Cost

20

Page 21: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

AvailabilityAvailability

Year 21

Page 22: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

PowerPower

22

Page 23: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

PowerPower

23

Page 24: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

PowerPower

24

• Dynamic energy– Transistor switch from 0 -> 1 or 1 -> 0– ½1/2 x Capacitive load x Voltage2

• Dynamic power– ½ 1/2x Capacitive load x Voltage2 x Frequency

switched

• Reducing clock rate reduces power, not energy

Page 25: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

PowerPower

25

• Static power consumption– Currentstatic x Voltage– Scales with number of transistors– To reduce: power gating

Page 26: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

PowerPower

26

• Intel 80386 consumed ~ 2 W

• 3.3 GHz Intel Core i7 consumes 130 W

• Heat must be dissipated from 1.5 x 1.5 cm chip

• This is the limit of what can be cooled by air

Page 27: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

BenchmarkBenchmark

27

Page 28: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

BenchmarkBenchmark

28

Page 29: MS108 Computer System I Lecture 2 Metrics Prof. Xiaoyao Liang 2014/2/28 1.

29

BenchmarkBenchmark