computer architecture - the university of edinburgh · what drives computer architecture? early...

15
Dr. Vijay Nagarajan Institute for Computing Systems Architecture, School of Informatics University of Edinburgh (thanks to Prof. Nigel Topham) Informatics 3 Computer Architecture

Upload: others

Post on 07-Oct-2019

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Computer Architecture - The University of Edinburgh · What drives Computer Architecture? Early computers – simplest possible implementation CDC 6600, 7600 and IBM S/360 model 91

Dr. Vijay Nagarajan

Institute for Computing Systems Architecture, School of Informatics University of Edinburgh

(thanks to Prof. Nigel Topham)

Informatics 3

Computer Architecture

Page 2: Computer Architecture - The University of Edinburgh · What drives Computer Architecture? Early computers – simplest possible implementation CDC 6600, 7600 and IBM S/360 model 91

Inf3 Computer Architecture - 2011-2012 2

General Information

  Instructor : Vijay Nagarajan ([email protected] )   TA: Bharghava Rajaram ( [email protected] )   Online @ www.inf.ed.ac.uk/teaching/courses/car/   Practicals (25%)

–  Practical handed out 13/2/12; due 29/3/12   Tutorials

–  Starts 3rd week   Book:

–  Hennessy & Patterson - Computer Architecture: A Quantitative Approach – Morgan Kaufmann – 4th edition

  Lecture slides + book = lecture notes   Please interrupt with questions at any time

Page 3: Computer Architecture - The University of Edinburgh · What drives Computer Architecture? Early computers – simplest possible implementation CDC 6600, 7600 and IBM S/360 model 91

What is Computer Architecture?

Inf3 Computer Architecture - 2011-2012 3

Page 4: Computer Architecture - The University of Edinburgh · What drives Computer Architecture? Early computers – simplest possible implementation CDC 6600, 7600 and IBM S/360 model 91

What is Computer Architecture?

  Computer Architecture =

–  Instruction Set Architecture +

–  Microarchitecture +

–  Hardware

Inf3 Computer Architecture - 2011-2012 4

Page 5: Computer Architecture - The University of Edinburgh · What drives Computer Architecture? Early computers – simplest possible implementation CDC 6600, 7600 and IBM S/360 model 91

Three Aspects of Computer Architecture

  Instruction Set Architecture (ISA) –  Programmer/compiler view –  Instructions visible to the (system) programmer –  Opcode, addressing mode, architectural registers etc.

  Microarchitecture –  Processor designer view –  Logical organization that implements the ISA –  Pipelining, functional units, caches, physical registers etc.

  Hardware –  Chip designer view –  Detailed logic design and the packaging technology –  Gates, cells, CMOS process etc.

Inf3 Computer Architecture - 2011-2012 5

Page 6: Computer Architecture - The University of Edinburgh · What drives Computer Architecture? Early computers – simplest possible implementation CDC 6600, 7600 and IBM S/360 model 91

Inf3 Computer Architecture - 2011-2012 6

What do we cover in this course?

  Introduction –  What is Computer Architecture? –  Technological trends –  Measuring performance of CA

  Instruction Set Architecture

  Processor architecture –  Pipelining, dynamic scheduling, branch prediction

  Memory systems –  Cache hierarchies –  High-performance memory organizations

  Parallel architectures

Page 7: Computer Architecture - The University of Edinburgh · What drives Computer Architecture? Early computers – simplest possible implementation CDC 6600, 7600 and IBM S/360 model 91

The Rise of the Electronic Computer

  Today’s microprocessors evolved over a period of 40 years   Key developments were:

–  First transistor in 1947 –  First integrated circuit in 1958 –  First microprocessor in 1972

  Since the first electronic computers were created in the late 1940’s, performance has increased at a dramatic rate, due to:

–  Advances in integrated circuit technology –  Computer Architecture –  Compiling Techniques –  Algorithm Development

Intel 4004 (1972)

William Shockley, and the first transistor (1947) Jack Kilbey with the first IC (1958)

AMD ‘Phenom’ quad-core

Page 8: Computer Architecture - The University of Edinburgh · What drives Computer Architecture? Early computers – simplest possible implementation CDC 6600, 7600 and IBM S/360 model 91

The Evolution of Computer Technology

  1952 – I.C. first proposed   1958 – First I.C. is build   1965 – Gordon Moore’s “Law”   1972 – First microprocessor   1975 – Moore’s Law revised

Page 9: Computer Architecture - The University of Edinburgh · What drives Computer Architecture? Early computers – simplest possible implementation CDC 6600, 7600 and IBM S/360 model 91

Costs Fall whilst Performance Rises

  37% compound annual reduction in $ per MIPS since 1944   Identical reduction (37% per annum) in $ per Mbyte since 1957   Two important CPU phenomena:

–  Increasing transistor densities and levels of integration –  New Architectures able to exploit more transistors to reduce cycle count

Data: J. McCallum, “The Computer Engineering Handbook”, V.G. Oklobdzija (ed), CRC Press, 2002

Page 10: Computer Architecture - The University of Edinburgh · What drives Computer Architecture? Early computers – simplest possible implementation CDC 6600, 7600 and IBM S/360 model 91

What drives Computer Architecture?

  Early computers – simplest possible implementation   CDC 6600, 7600 and IBM S/360 model 91

–  Emergence of pipelined processors –  Parallel execution units –  Hardware detects parallelism between instructions

  `Scientific’ computing –  Driven mostly by US military requirements –  Development of vector processing

  Microprocessor revolution –  Driven by commercial and desktop use –  Not initially a threat to mainframes –  Eventually rendered mainframes obsolete

  Architecture of microprocessors? –  Started simple, just like early computers –  Re-used concepts from 6600, 7600 and 360/91 –  But also integrated fast memory close to CPU

  What drives CA in 2012?

Cray 1

IBM S/360 model 91

CDC 6600

Page 11: Computer Architecture - The University of Edinburgh · What drives Computer Architecture? Early computers – simplest possible implementation CDC 6600, 7600 and IBM S/360 model 91

Future Technology Predictions

  Moore’s Law will continue to ~2016

  MPU will have 2.2 billion transistors

  DRAM capacity to reach 128 Gbit

  MPU clocks should reach 40 GHz?

–  Should have reached 8 GHz by now

Source: International Technology Roadmap for Semiconductors, 2003

Page 12: Computer Architecture - The University of Edinburgh · What drives Computer Architecture? Early computers – simplest possible implementation CDC 6600, 7600 and IBM S/360 model 91

Inf3 Computer Architecture - 2011-2012 12

State-of-the-art - January 2012

  IBM Power7 –  4, 6 or 8 core versions –  4 SMT threads per core –  45nm CMOS –  4.25 GHz clock

  AMD Bulldozer –  4, 8 cores –  32nm –  4.2 GHz –  125 W

  Intel i7 ‘Ivy bridge’ quad-core –  (to be released in 2012) –  22nm CMOS silicon –  4 cores, 32 threads –  3.5 GHz –  77 Watts

Page 13: Computer Architecture - The University of Edinburgh · What drives Computer Architecture? Early computers – simplest possible implementation CDC 6600, 7600 and IBM S/360 model 91

End of Frequency Scaling

  Frequency of processors have stopped scaling since ~ 2005

  Why? –  Power wall –  Memory wall –  ILP wall

  Parallel architectures have arrived –  Performance through parallelism –  Software must expose parallelism –  CA should enable this

Inf3 Computer Architecture - 2011-2012 13

Page 14: Computer Architecture - The University of Edinburgh · What drives Computer Architecture? Early computers – simplest possible implementation CDC 6600, 7600 and IBM S/360 model 91

Inf3 Computer Architecture - 2010-2011 14

Summary: Computer Architecture

  What is CA?

  Objectives of CA: –  High-performance –  Low cost –  Reliability –  Low power consumption

CA: • ISA • Microarchitecture • Hardware implementation

Operating System (OS)

Technology Logic design

Programming Languages

Compilers

Applications Users

Page 15: Computer Architecture - The University of Edinburgh · What drives Computer Architecture? Early computers – simplest possible implementation CDC 6600, 7600 and IBM S/360 model 91

Why study CA?

  Technology is always changing –  CA should adapt

  Requirements are always changing –  Speed, power, cost, reliability etc.

  Understand computer performance

  Get a (design or research) hardware job –  ARM, Intel, IBM etc.

Inf3 Computer Architecture - 2011-2012 15