Seoul National University

Slides:



Advertisements
Similar presentations
Slide 1Michael Flynn EE382 Winter/99 EE382 Processor Design Stanford University Winter Quarter Instructor: Michael Flynn Teaching Assistant:
Advertisements

1 Seoul National University Introduction. 2 Why do you want to study Computer Architecture? Because….You won’t graduate if you don’t take this course.
CpE442 Intro. To Computer Architecture CpE 442 Introduction To Computer Architecture Lecture 1 Instructor: H. H. Ammar These slides are based on the lecture.
Spring 2008, Jan. 14 ELEC / Lecture 2 1 ELEC / Computer Architecture and Design Spring 2007 Introduction Vishwani D. Agrawal.
Introduction to Computers QUME Some objectives  define the term, computer, and discuss four basic computer operations  understand the terms hardware.
ECE 232 L2 Basics.1 Adapted from Patterson 97 ©UCBCopyright 1998 Morgan Kaufmann Publishers ECE 232 Hardware Organization and Design Lecture 2 Computer.
CPEN Digital System Design Chapter 10 – Instruction SET Architecture (ISA) © Logic and Computer Design Fundamentals, 4 rd Ed., Mano Prentice Hall.
CS / Schlesinger Lec1.1 1/20/99©UCB Spring 1999 Computer Architecture Lecture 1 Introduction and Five Components of a Computer Spring, 1999 Arie Schlesinger.
CIS 314 : Computer Organization Lecture 1 – Introduction.
CSCE 312 Computer Organization Lecture 0: Course Administration EJ Kim Department of Computer Science and Engineering 338B Bright
Chapter 4 The Von Neumann Model. BYU CS/ECEn 124Chapter 4 - The Von Neumann Model2 Concepts to Learn… Computer Architecture Von Neumann vs. Harvard MSP430.
August 26 TA: Angela Van Osdol Questions?. What is a computer? Tape drives? Big box with lots of lights? Display with huge letters? Little box with no.
ECE 232 L1 Intro.1 Adapted from Patterson 97 ©UCBCopyright 1998 Morgan Kaufmann Publishers ECE 232 Hardware Organization and Design Lecture 1 Introduction.
Chapter 1 Sections 1.1 – 1.3 Dr. Iyad F. Jafar Introduction.
CENG311 Computer Architecture Kayhan Erciyes. CS231 Assembly language and Digital Circuits Instructor:Kayhan Erciyes Office:
CpE442 Intro. To Computer Architecture CpE 442 Introduction To Computer Architecture Lecture 1 Instructor: H. H. Ammar These slides are based on the lecture.
Digital Systems Design L01 Introduction.1 Digital Systems Design Lecture 01: Introduction Adapted from: Mary Jane Irwin ( )
1 Lecture 2 : Computer System and Programming. Computer? a programmable machine that  Receives input  Stores and manipulates data  Provides output.
An Introduction Chapter Chapter 1 Introduction2 Computer Systems  Programmable machines  Hardware + Software (program) HardwareProgram.
Computer Architecture ECE 4801 Berk Sunar Erkay Savas.
Winter 2015 COMP 2130 Introduction to Computer Systems Computing Science Thompson Rivers University Introduction and Overview.
CPE232 Introduction1 CPE 335 Computer Organization Introduction Dr. Gheith Abandah [Adapted from the slides of Professor Mary Irwin (
Overview Introduction The Level of Abstraction Organization & Architecture Structure & Function Why study computer organization?
Cs 152 L1 Intro.1 Patterson Fall 97 ©UCB What is “Computer Architecture” Computer Architecture = Instruction Set Architecture + Machine Organization.
David O’Hallaron Carnegie Mellon University Processor Architecture Overview Overview Based on original lecture notes by Randy.
Fall 2015, Aug 17 ELEC / Lecture 1 1 ELEC / Computer Architecture and Design Fall 2015 Introduction Vishwani D. Agrawal.
Introduction and Overview Summer 2014 COMP 2130 Introduction to Computer Systems Computing Science Thompson Rivers University.
CS1104 – Computer Organization PART 2: Computer Architecture Lecture 12 Overview and Concluding Remarks.
Computer Organization and Design Computer Abstractions and Technology
Computer Architecture Mehran Rezaei
Cps-104 Intro.1 ©GK Spring 1999 CPS104 Computer Organization Lecture 1 January 14, 1999 Gershon Kedem Slides available on:
Computer Architecture And Organization UNIT-II General System Architecture.
Computer System Design Lecture 1 Wannarat Suntiamorntut.
1 chapter 1 Computer Architecture and Design ECE4480/5480 Computer Architecture and Design Department of Electrical and Computer Engineering University.
Computer Architecture Introduction Lynn Choi Korea University.
Dept. of Computer Science - CS6461 Computer Architecture CS6461 – Computer Architecture Fall 2015 Lecture 1 – Introduction Adopted from Professor Stephen.
Putting Things in Perspective: Selective Quotes. “640K ought to be enough for anyone.” Bill Gates, 1981.
August 27 Books? ? Accounts?. What does a computer look like? Tape drives? Big box with lots of lights? Display with huge letters? Little box with.
DR. SIMING LIU SPRING 2016 COMPUTER SCIENCE AND ENGINEERING UNIVERSITY OF NEVADA, RENO CS 219 Computer Organization.
Spring 2016, Jan 13 ELEC / Lecture 1 1 ELEC / Computer Architecture and Design Spring 2016 Introduction Vishwani D. Agrawal.
Compsci Today’s topics l Operating Systems  Brookshear, Chapter 3  Great Ideas, Chapter 10  Slides from Kevin Wayne’s COS 126 course l Performance.
Computer Architecture Opening Yu-Lun Kuo 郭育倫 Department of Computer Science and Information Engineering Tunghai University Taichung, 40704, Taiwan R.O.C.
Hardware Trends CSE451 Andrew Whitaker. Motivation Hardware moves quickly OS code tends to stick around for a while “System building” extends way beyond.
Lecture 1: Introduction CprE 585 Advanced Computer Architecture, Fall 2004 Zhao Zhang.
Hardware Trends CSE451 Andrew Whitaker. Motivation Hardware moves quickly OS code tends to stick around for a while “System building” extends way beyond.
CC311 Computer Architecture Chapter 1 Computer Abstraction & Technology.
VU-Advanced Computer Architecture Lecture 1-Introduction 1 Advanced Computer Architecture CS 704 Advanced Computer Architecture Lecture 1.
Introduction and Overview Winter 2013 COMP 2130 Introduction to Computer Systems Computing Science Thompson Rivers University.
CS4100: 計算機結構 Course Outline 國立清華大學資訊工程學系 九十九年度第二學期.
Computer Organization and Architecture Lecture 1 : Introduction
Computer architecture and computer organization
Computer System and Programming
Architecture & Organization 1
CSE 410: Computer Systems Instructor: David Ely
Prof. Onur Mutlu Carnegie Mellon University Spring 2014, 1/14/2013
Seoul National University
Lecture 14 Virtual Memory and the Alpha Memory Hierarchy
Architecture & Organization 1
Chapter 5: Computer Systems Organization
A primer on Computers and Programs
August 29 New address for Fang-Yi
COMS 361 Computer Organization
CS4100: 計算機結構 Course Outline
Course Outline for Computer Architecture
January 16 The books are here. Assignment 1 now due Thursday 18 Jan.
Computer Architecture
Introduction to Computer Systems Engineering
COM/BLM 376 Computer Architecture Chapter 1 Introduction
ELEC / Computer Architecture and Design Fall 2014 Introduction
Dr. Clincy Professor of CS
Presentation transcript:

Seoul National University Introduction

Why do you want to study Computer Architecture? Seoul National University Why do you want to study Computer Architecture? Because….You won’t graduate if you don’t take this course. Because….You want to design the next great instruction set. Instruction set architecture has largely converged, especially in the desktop/server/laptop space. Dictated by powerful market forces (Intel/ARM). Because….You want to become a computer architect and design the next great computer systems. Because….The design, analysis, implementation concepts that you will learn are vital to all aspects of computer science and engineering – operating systems, computer networks, compiler, programming languages Because….The course will equip you with an intellectual toolbox for dealing with a host of systems design challenges And much more !!! From Prof. Fernando C. Colon Osorio’s lecture notes

Course Goals To understand Interfaces Seoul National University Course Goals To understand Interfaces Instruction Set Architecture (ISA) – The Hardware/Software Interface Engineering methodology / Correctness criteria / Evaluation methods / Technology trends involved in Processor Cache memory Virtual memory I/O system

Textbooks Randal E. Bryant and David R. O’Hallaron, Seoul National University Seoul National University Textbooks Randal E. Bryant and David R. O’Hallaron, Computer Systems: A Programmer’s Perspective, Third Edition (CS:APP3e), Pearson, 2016 http://csapp.cs.cmu.edu Brian Kernighan and Dennis Ritchie, The C Programming Language, Second Edition, Prentice Hall, 1988 Still the best book about C, from the originators

Source : http://www.webster.com Seoul National University Interface Source : http://www.webster.com

Abstract Data Type (ADT) as an Example of Interface Seoul National University Abstract Data Type (ADT) as an Example of Interface Abstract data type : A set of data values (state) and associated operations that are precisely specified independent of any particular implementation ADT Example : stack push pop (top) Create_stack Destroy_stack ·· (bottom) stack S is_empty

Abstract Data Type (ADT) as an Example of Interface Seoul National University Abstract Data Type (ADT) as an Example of Interface Operations viewed as state transformation 4 Push (s, 4) 5 5 1 1 2 2 S S` (Before) stack (After) stack

Abstraction Before After Seoul National University Abstraction Before After Jeff Kramer, “Is Abstraction the Key to Computing,” Communications of ACM, April 2007, Vol. 50, No. 4, pp. 37 - 42.

Seoul National University Abstraction Before After

Abstraction Before After Seoul National University Abstraction Before After Jinwook Seo, “Information Visualization Design for Map Use on Future Mobile Devices (Presentation at Samsung Electronics, Dec. 8, 2008)

Instruction Set Architecture (ISA) Seoul National University Instruction Set Architecture (ISA) Application Operating System library S/W complier assembler ISA H/W

Instruction Set Architecture as an ADT Seoul National University Instruction Set Architecture as an ADT “…the attributes of a [computing] system as seen by the programmer, i.e. the conceptual structure (state) and functional behavior (operations), as distinct from the organization of the data flow and controls, the logical design, and the physical implementation.” - Amdahl, Blaauw, and Brooks, 1964

Instruction Set Architecture as an ADT Seoul National University Instruction Set Architecture as an ADT Assumptions  8 bit ISA  # of registers = 4 + PC (Program Counter)  Memory size = 64B Memory Memory 63 24 23 22 2 7 4 1 3 ·· 20 21 (add r1, r2, r3) (lw r2, 1(r0)) (sw r3, 0(r0)) (beq r0, r1, 2) (j 15) 63 24 23 22 2 7 4 1 3 ·· 20 21 (add r1, r2, r3) (lw r2, 1(r0)) (sw r3, 0(r0)) (beq r0, r1, 2) (j 15) Registers Registers add r1, r2, r3 20 2 1 r3 12 8 r2 r1 r0 PC 21 2 20 r3 12 8 r2 r1 r0 PC Before Register and Memory After Register and Memory

Instruction Set Architecture as an ADT Seoul National University Instruction Set Architecture as an ADT Assumptions  8 bit ISA  # of registers = 4 + PC (Program Counter)  Memory size = 64B Memory Memory 63 24 23 22 2 7 4 1 3 ·· 20 21 (add r1, r2, r3) (lw r2, 1(r0)) (sw r3, 0(r0)) (beq r0, r1, 2) (j 15) 63 24 23 22 2 7 4 1 3 ·· 20 21 (add r1, r2, r3) (lw r2, 1(r0)) (sw r3, 0(r0)) (beq r0, r1, 2) (j 15) Registers Registers lw r2, 1(r0) 21 2 20 r3 12 8 r2 r1 r0 PC 22 2 20 r3 7 8 r2 r1 r0 PC Before Register and Memory After Register and Memory

Instruction Set Architecture as an ADT Seoul National University Instruction Set Architecture as an ADT Assumptions  8 bit ISA  # of registers = 4 + PC (Program Counter)  Memory size = 64B Memory Memory 63 24 23 22 2 7 4 1 3 ·· 20 21 (add r1, r2, r3) (lw r2, 1(r0)) (sw r3, 0(r0)) (beq r0, r1, 2) (j 15) 63 24 23 22 8 7 4 2 1 3 ·· 20 21 (add r1, r2, r3) (lw r2, 1(r0)) (sw r3, 0(r0)) (beq r0, r1, 2) (j 15) Registers Registers sw r3, 0(r0) 22 2 20 r3 7 8 r2 r1 r0 PC 23 2 20 r3 7 8 r2 r1 r0 PC Before Register and Memory After Register and Memory

Instruction Set Architecture as an ADT Seoul National University Instruction Set Architecture as an ADT Assumptions  8 bit ISA  # of registers = 4 + PC (Program Counter)  Memory size = 64B Memory Memory 63 24 23 22 8 7 4 2 1 3 ·· 20 21 (add r1, r2, r3) (lw r2, 1(r0)) (sw r3, 0(r0)) (beq r0, r1, 2) (j 15) 63 24 23 22 8 7 4 2 1 3 ·· 20 21 (add r1, r2, r3) (lw r2, 1(r0)) (sw r3, 0(r0)) (beq r0, r1, 2) (j 15) Registers Registers beq r0, r1, 2 23 2 20 r3 7 8 r2 r1 r0 PC 24 2 20 r3 7 8 r2 r1 r0 PC Before Register and Memory After Register and Memory

Instruction Set Architecture as an ADT Seoul National University Instruction Set Architecture as an ADT Assumptions  8 bit ISA  # of registers = 4 + PC (Program Counter)  Memory size = 64B Memory Memory 63 24 23 22 8 7 4 2 1 3 ·· 20 21 (add r1, r2, r3) (lw r2, 1(r0)) (sw r3, 0(r0)) (beq r0, r1, 2) (j 15) 63 24 23 22 8 7 4 2 1 3 ·· 20 21 (add r1, r2, r3) (lw r2, 1(r0)) (sw r3, 0(r0)) (beq r0, r1, 2) (j 15) Registers Registers j 15 24 20 r3 7 8 r2 r1 r0 PC 15 20 r3 7 8 r2 r1 r0 PC Before Register and Memory After Register and Memory

Design Techniques For Each Design Technique Engineering methodology Seoul National University Design Techniques For Each Design Technique Engineering methodology Correctness criteria Evaluation methods Technology trends

Design Techniques Sequential implementation Pipelined implementation Seoul National University Design Techniques Sequential implementation Pipelined implementation Out of order execution Speculative execution Processor Processor I-cache D-cache Cache Memory Unified cache Memory Hierarchy To main memory / I/O Systems Virtual Memory Input/Output and Storage

Engineering methodology Seoul National University Engineering methodology Rule 1 : Make the (a few) common cases fast Identify & optimize Rule 2 : Make the (many) rare cases correct Plan in advance on how to enumerate them systematically

Correctness criteria Examples Seoul National University Correctness criteria Examples Pipelined execution : pipelined execution of instructions is correct if the results is as if the instructions were executed sequentially Cache memory : execution of instructions on a system with cache memory is correct if the results is as if the instructions were executed on the same system but without cache memory We’ll see a lot of as if’s

Performance Evaluation Methods Seoul National University Performance Evaluation Methods Performance types Time response time execution time Rate throughput : MIPS, MFLOPS bandwidth : Mbps Ratio relative performance (both time and rate)

Technology Trends Processor Trends DRAM Trends NAND Flash Trends Seoul National University Technology Trends Processor Trends DRAM Trends NAND Flash Trends Hard Disk Drive (HDD) Trends

Seoul National University Processor Trends

Seoul National University DRAM Trends “3D NAND Technology – Implications to Enterprise Storage Applications, 2015 Flash Memory Summit.

DRAM Market Share Seoul National University Source: https://seekingalpha.com/article/4036966-learned-micron-technology-main-competitor-samsung-electronics

DRAM Market Revenue Seoul National University Source: http://www.dramexchange.com/WeeklyResearch/Post/2/4520.html

Seoul National University NAND Flash Trends “3D NAND Technology – Implications to Enterprise Storage Applications, 2015 Flash Memory Summit.

NAND Flash Market Share Seoul National University NAND Flash Market Share Source: https://seekingalpha.com/article/4036966-learned-micron-technology-main-competitor-samsung-electronics

NAND Flash Revenue Seoul National University Source: http://worldwidegadget.blogspot.kr/2016/12/3q-2016-nand-flash-suppliers-market.html

Hard Disk Drive (HDD) Trends Seoul National University Hard Disk Drive (HDD) Trends E. Grochowski and R. E. Fontana, Jr., “An Analysis of Flash and HDD Technology Trends,” Flash Memory Summit 2011. Disk density: 1.50x - 1.60x per year (4x in three years)

Recent HDD Trends Cost per GB Seoul National University Source: https://www.backblaze.com/blog/hard-drive-cost-per-gigabyte/.

Pitfalls of Computer Technology Forecasting Seoul National University Pitfalls of Computer Technology Forecasting DOS addresses only 1 MB of RAM because we cannot imagine any applications needing more.” Microsoft, 1980 “640K ought to be enough for anybody.” Bill Gates, 1981 “Computers in the future may weigh no more than 1.5 tons.” Popular Mechanics “I think there is a world market for maybe five computers.” Thomas Watson, IBM Chairman, 1943 “There is no reason anyone would want a computer in their home.” Ken Olsen, DEC founder, 1977 “The 32-bit machine would be an overkill for a personal computer.” Sol Libes, ByteLines From Prof. Behrooz Parhami’s lecture notes

Comparison to Other Technology Trends Seoul National University Comparison to Other Technology Trends