0 computer architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/cse141-mbt-l1.pdf · the great...

33
UCSD Department of Computer Science & Engineering Professor: Michael Taylor RF 0 CSE 141: Computer Architecture

Upload: others

Post on 30-Apr-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

UCSD Department of Computer Science & Engineering

Professor: Michael Taylor

RF

0

CSE 141:

ComputerArchitecture

Page 2: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

Computer Architecture from 10,000 feetfoo(int x){ .. }

Class of application

Physics

Page 3: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

Computer Architecture from 10,000 feetfoo(int x){ .. }

Class of application

Physics

An impossiblylarge gap!

In the olden days:

“In 1942, just after the United States entered World War II, hundreds of women were employed around the country as computers...” (source: IEEE)

Page 4: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

The Great Battles in Computer ArchitectureAre About How to Refine the Abstraction Layers

foo(int x) { .. }Computation

Language Compiler ISAMicro ArchitectureRegister-Transfer LevelCircuitsDevicesMaterials Science

Physics

IBM 360, VLIWRISC, T’meta

Fortran

Mead & Conway

Superscalar, caches

Page 5: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

Language Compiler ISAMicro ArchitectureRegister-Transfer LevelCircuitsDevicesMaterials Science

Abstractions protect us from change-- but must also change as the world changes

More Power/cm^2!

Denser VLSI gates!

More pins!

Slower Wires!

Changes in fabrication capabilities

Computation

Page 6: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

Abstraction Layers – reflected in organization of research communities

Computation

Language Compiler ISAMicro ArchitectureReg-Transfer LevelCircuitsDevicesMaterials Science

Physics

International Symposiumon Computer Architecture (ISCA)

High Performance Computer Architecture (HPCA)

Architectural Support for Programming Languages and OS(ASPLOS)

International Symposium on Microarchitecture (MICRO)

Design Automation Conference (DAC)Int. Conf. Computer Aided Design (ICCAD)

International Solid State Circuit Conference (ISSCC)

International Electron Devices Meeting (IEDM)

Page 7: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

Classic ISSCC (Circuits) Paper: “How we designed a chip and how fast / low power it is.”

Page 8: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

Classic Int. Electron Device Meeting (IEDM) Paper: How we designed a single transistor

Page 9: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

Classic Int. Electron Device Meeting (IEDM) Paper: “How we designed a wire”

Page 10: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

The focus of this class

Language Compiler ISAMicro ArchitectureReg-Transfer LevelCircuitsDevicesMaterials Science

International Symposiumon Computer Architecture (ISCA)

High Performance Computer Architecture (HPCA)

Architectural Support for Programming Languages and OS(ASPLOS)

International Symposium on Microarchitecture (MICRO)

Design Automation Conference (DAC)Int. Conf. Computer Aided Design (ICCAD)

International Solid State Circuit Conference (ISSCC)

International Electron Devices Meeting (IEDM)

Page 11: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

Tech Trends Language Compiler ISAMicro ArchitectureRTLCircuitsDevicesMaterials Science

Changes in fabrication capabilities

Computation

Since technologychange is such abig influence in architecture,and because it takes 3-6 yearsto create a totally new design, we try to predict & exploit it (with varying degrees of success.)

Page 12: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

Moore’s Law: 2X transistors / “year”

“Cramming More Components onto Integrated Circuits”– Gordon Moore, Electronics, 1965

# on transistors / cost-effective integrated circuit double every N months (12 ≤ N ≤ 24) Adapted from Patterson, CSE 252 Sp06 Lecture 2 © 2006 UC Berkeley.

Page 13: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

One Important Change: PowerSanta Clara, we have a problem

More pipeline stages,less efficient, more power.

Just can’t remove> 100 wattswithout great expense ona desktop.

All computing is now Low Power Computing!

Page 14: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

Wat

ts/c

m2

1

10

100

1000

1.5μ 1μ 0.7μ 0.5μ 0.35μ 0.25μ 0.18μ 0.13μ 0.1μ 0.07μ

i386i386i486i486

PentiumPentium®®PentiumPentium®® ProPro

PentiumPentium®® IIIIPentiumPentium®® IIIIIIHot plateHot plate

RocketNozzleRocketRocketNozzleNozzle

Nuclear ReactorNuclear ReactorNuclear Reactor

From From ““New Microarchitecture Challenges in the Coming Generations of CMNew Microarchitecture Challenges in the Coming Generations of CMOS Process OS Process TechnologiesTechnologies”” –– Fred Pollack, Intel Corp. Micro32 conference key note Fred Pollack, Intel Corp. Micro32 conference key note -- 1999. 1999.

PentiumPentium®® 44

Power Density

Power doubles every 4 yearsPower doubles every 4 years55--year projection: 200W total, 125 W/cmyear projection: 200W total, 125 W/cm2 2 !!

P=VI: 75W @ 1.5V = 50 A!P=VI: 75W @ 1.5V = 50 A!

Page 15: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

10

100

1000

1000019

93

1994

1995

1996

1997

1998

1999

2000

2001

2002

2003

2004

2005

Intel x86

7 yr / 10x (39%)

5 yr / 10x (58%)

Change: microprocessor frequency versus time

3800

Power Limited

Faster Circuits,Faster + Smaller Transistors,Fast Microarchitecture

Page 16: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

Intel

P3: 12 stagesP4 (b4 paper): 20 stagesP4/prescott: 31 stagesP5/Tejas: >> 31 stages

Page 17: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

Intel

P3: 12 stagesP4 (b4 paper): 20 stagesP4/prescott: 31 stagesP5/Tejas: >> 31 stages

Page 18: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

Intel

P3: 12 stagesP4 (b4 paper): 20 stagesP4/prescott: 31 stagesP5/Tejas: >> 31 stages

Page 19: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

Back to the futureP3:

12 stagesP4 (b4 paper):

20 stagesP4/prescott:

31 stagesP5/Tejas:

>> 31 stages

Same as 1996 – I can’t sell that. I must call it something new ---Pentium...Mmmm... Great Scott,

I’ve got it!

Page 20: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

And forward to multi-core

Intel Core Duo

Page 21: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

Future outlook

Old Trend: Frequency

New Trend: Parallel processingIntel is pushing multi-core instead of higher clocks(will we ever hit 10 GHz?)

good time to know something about architectureyour application may be feasible only if you canuse the architecture efficiently

Page 22: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

Language Compiler ISAMicro ArchitectureRegister-Transfer LevelCircuitsDevicesMaterials Science

Abstractions protect us from change-- but must also change as the world changes

TelepathicPhotographic memory

Virtual Homicide (Quake) Changes in application space

Physics

Mathematical GeniusEtc…

Page 23: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

And on that note: PC’s are not the only important class of computer – in fact they are in the minority (~2%)!

Page 24: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

Administrative Details

**************

Page 25: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

Course Work and Grading

• Let's Review the Course Website ...

Page 26: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

Textbook

Patterson & Hennessy, fourth edition of “Computer Organization, the Hardware/Software Interface”– Decent book. We’ll read most of it.

• 4rd Edition, came out this year, look for errata– Patterson is professor at Berkeley;

• lead RISC project (foundation of SPARC processor)• lead RAID (redundant array of inexpensive disks) project

– Hennessy is professor at Stanford• lead RISC project (foundation of MIPS processor)• very typical career trajectory for an architect

– Note: same authors wrote the graduate textbook, “Computer Architecture, A Quantitative Approach”.

mbt
Typewritten Text
mbt
Typewritten Text
mbt
Typewritten Text
mbt
Typewritten Text
mbt
Typewritten Text
Page 27: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

Strategizing

Should you take this class now?– You should take 141/141L together.

– Class is a LOT of work

• don't take with other project classes• if you have not done a large project class,

assignments will take you extra time. may want to "cut your teeth" on another class

mbt
Typewritten Text
mbt
Typewritten Text
mbt
Typewritten Text
mbt
Typewritten Text
mbt
Typewritten Text
Page 28: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

Text vs. Lectures in CSE 141

Textbook

- Resource limitations prevent us from addressing material fromthe prerequisites in office hours…but we are happy to referyou to the book or your classmates.

- Lectures will include material not in the text…text will include material not in the lectures.

Lectures

Assigned readings for each lecture posted on website!

Page 29: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

Your deliverables• Check the website. Generally, we won’t necessarily

announce readings or assignment due dates in lecture.

• You will have assigned reading for every lecture except when you have an exam.

http://www-cse.ucsd.edu/classes/sp11/cse141/

Please watch the website for course updates,reading assignments and homework assignments!

Page 30: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

Question Triage: Who to ask which Question

Me:“In lecture, …”“I’m designing my own supercomputer, and…”TA

141 TA:“On problem 5, …”

141L TA:“In the Altera environment, … “

Me+141 TA:“In a 2-way set associative cache…”“In the book, …”

Me+141L TA:“In my 141L Implementation, …”

.. and of course, talk with your classmates!!

Page 31: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

Am I Qualified to Teach You?• PhD, MIT, EE & CS- ten years at MIT studying processor design- 5 years consulting for chip companies- various research publications

Architectures designed: 4Machines Implemented: 3Millions of units of software shipped: > 1Million-gate chips designed: 1Supercomputers designed: 1

Page 32: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

About Me

PowerMush IVPowerMush 3

Page 33: 0 Computer Architecturecseweb.ucsd.edu/classes/sp11/cse141/pdf//01/CSE141-MBT-L1.pdf · The Great Battles in Computer Architecture Are About How to Refine the Abstraction Layers foo(int

About Me

~120 million transistors