Computer Architecture. Introduction. Lynn Choi Korea University

Similar documents
Chapter 2. OS Overview

IT 252 Computer Organization and Architecture. Introduction. Chia-Chi Teng

Computer Architecture. Fall Dongkun Shin, SKKU

Introduction to Microprocessor

Intel released new technology call P6P

Microarchitecture Overview. Performance

Computer Architecture!

Computers Are Your Future

7/28/ Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc.

Microarchitecture Overview. Performance

Computer Architecture!

CPE/EE 421 Microcomputers

Alex Milenkovich 1. CPE/EE 421 Microcomputers. CPE/EE 421 Microcomputers U A H U A H U A H. Instructor: Dr Aleksandar Milenkovic Lecture Notes S01

How What When Why CSC3501 FALL07 CSC3501 FALL07. Louisiana State University 1- Introduction - 1. Louisiana State University 1- Introduction - 2

Advanced Processor Architecture. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

Advanced Processor Architecture

Advanced d Processor Architecture. Computer Systems Laboratory Sungkyunkwan University

Alex Milenkovich 1 CPE 323. CPE 323 Introduction to Embedded Computer Systems: Introduction. Instructor: Dr Aleksandar Milenkovic Lecture Notes

Computer Organization

Computer Architecture!

Computer Architecture Dr. Charles Kim Howard University

IA-32 Architecture COE 205. Computer Organization and Assembly Language. Computer Engineering Department

ADVANCED COMPUTER ARCHITECTURES

High Performance Computing

Computer Architecture

Unit 11: Putting it All Together: Anatomy of the XBox 360 Game Console

Introduction To Computer Hardware. Hafijur Rahman

Alternate definition: Instruction Set Architecture (ISA) What is Computer Architecture? Computer Organization. Computer structure: Von Neumann model

UMBC. Rubini and Corbet, Linux Device Drivers, 2nd Edition, O Reilly. Systems Design and Programming

The Processor: Instruction-Level Parallelism

SYSTEM BUS AND MOCROPROCESSORS HISTORY

Course web site: teaching/courses/car. Piazza discussion forum:

Introduction to ASIC Design

EECE 321: Computer Organization

EE282 Computer Architecture. Lecture 1: What is Computer Architecture?

ECE 154A. Architecture. Dmitri Strukov

The Components of the System Unit

Computer Architecture Dr. Charles Kim Howard University

Computer Architecture

Administrative matters. EEL-4713C Computer Architecture Lecture 1. Overview. What is this class about?

EE5780 Advanced VLSI CAD

Mainstream Computer System Components CPU Core 2 GHz GHz 4-way Superscaler (RISC or RISC-core (x86): Dynamic scheduling, Hardware speculation

Computer Architecture

Mainstream Computer System Components

Providing Fundamental ICT Skills for Syrian Refugees PFISR

URL: Offered by: Should already know: Will learn: 01 1 EE 4720 Computer Architecture

This Unit: Putting It All Together. CIS 501 Computer Architecture. What is Computer Architecture? Sources

HW Trends and Architectures

Intel Enterprise Processors Technology

Computer Organization and Design THE HARDWARE/SOFTWARE INTERFACE

This Unit: Putting It All Together. CIS 371 Computer Organization and Design. Sources. What is Computer Architecture?

CS61C Machine Structures. Lecture 1 Introduction. 8/27/2006 John Wawrzynek (Warzneck)

Superscalar Processors

CSE 141 Computer Architecture Spring Lecture 3 Instruction Set Architecute. Course Schedule. Announcements

What is Computer Architecture?

Advanced Computer Architecture (CS620)

Lecture 1: Introduction

CS Computer Architecture Spring Lecture 01: Introduction

PERFORMANCE MEASUREMENT

Memory Systems IRAM. Principle of IRAM

Modern Computer Architecture (Processor Design) Prof. Dan Connors

INTEL Architectures GOPALAKRISHNAN IYER FALL 2009 ELEC : Computer Architecture and Design

URL: Offered by: Should already know: Will learn: 01 1 EE 4720 Computer Architecture

1DT157 Digitalteknik och datorarkitekt. Digital technology and computer architecture, 5p

EN164: Design of Computing Systems Topic 06.b: Superscalar Processor Design

Advanced d Instruction Level Parallelism. Computer Systems Laboratory Sungkyunkwan University

CS758: Multicore Programming

Chapter 2. Prepared By: Humeyra Saracoglu

EC 413 Computer Organization

This Unit: Putting It All Together. CIS 371 Computer Organization and Design. What is Computer Architecture? Sources

COMPUTER ORGANIZATION AND DESI

Chapter One. Introduction to Computer System

Computers Are Your Future

Outline Marquette University

3.1 Description of Microprocessor. 3.2 History of Microprocessor

The Alpha Microprocessor: Out-of-Order Execution at 600 MHz. Some Highlights

ELEC 5200/6200 Computer Architecture and Design Spring 2017 Lecture 1: Introduction

EE 3170 Microcontroller Applications

ELE 455/555 Computer System Engineering. Section 1 Review and Foundations Class 5 Computer System Performance

Introduction to the Personal Computer

COMP2121: Microprocessors and Interfacing. Introduction to Microprocessors

Chapter 1: Introduction to the Microprocessor and Computer 1 1 A HISTORICAL BACKGROUND

Intentionally Blank 0

CS 152 Computer Architecture and Engineering. Lecture 7 - Memory Hierarchy-II

Computer Architecture

Hardware Design I Chap. 10 Design of microprocessor

The Alpha Microprocessor: Out-of-Order Execution at 600 Mhz. R. E. Kessler COMPAQ Computer Corporation Shrewsbury, MA

CISC 360. Computer Architecture. Seth Morecraft Course Web Site:

Introduction. What is Computer Architecture? Meltdown & Spectre. Meltdown & Spectre. Computer Architecture ELEC /1/17. Dr. Hayden Kwok-Hay So

Agenda Computer Hardware Input Devices Output Devices Secondary Storage Computer Software System Software Application Software Working with Windows

Chapter 2 Logic Gates and Introduction to Computer Architecture

ELEC 5200/6200 Computer Architecture and Design Spring 2017 Lecture 7: Memory Organization Part II

ECE 471 Embedded Systems Lecture 2

Lecture 1: CS/ECE 3810 Introduction

Multiple Issue ILP Processors. Summary of discussions

Real Processors. Lecture for CPSC 5155 Edward Bosworth, Ph.D. Computer Science Department Columbus State University

Computer Architecture Computer Architecture. Computer Architecture. What is Computer Architecture? Grading

Computer System Components

Computer Systems. Binary Representation. Binary Representation. Logical Computation: Boolean Algebra

ICE3003: Computer Architecture. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

Transcription:

Computer Architecture Introduction Lynn Choi Korea University

Class Information Lecturer Prof. Lynn Choi, School of Electrical Eng. Phone: 3290-3249, 공학관 411, lchoi@korea.ac.kr, TA: 윤창현 / 신동욱, 3290-3896, {yunch, shindw}@korea.ac.kr Time Tue/Thu 3:30pm 4:45pm Office Hour: Thu 5:00pm 6:00pm Place 공학관 466(Tue)/ 공학관 250(Thu) Textbook Computer Systems: A Programmer s Perspective, Randal E. Bryant and David O Hallaron, Prentice Hall, 2 nd Edition, 2011. References Computer Organization and Design: The Hardware/Software Interface, (MIPS versi on), D. Patterson, J. Hennessy, 4 th Edition, Morgan Kaufmann, 2009 Class homepage http://it.korea.ac.kr : slides, announcements

Class Information Project MIPS/ARM assembly programming IPhone/Android programming Evaluation Midterm : 35% Final: 35% Homework and Projects: 25% Class participation: extra 5% Attendance: no shows of more than 2 will get -5% Bonus points and Quiz

Computer SAMSUNG. All rights reserved Apple Inc. All rights reserved

What s Inside a Computer?

Basics: What is inside Computer? Processor(s) Also called CPU (Central Processing Unit) Fetches instructions from memory Executes instructions Transfers data from/to memory Memory Caches, main memory, HDD, CD-ROM, DVD, ROM, FLASH,.. Stores program and data Input devices Mouse, keyboard, camera, pen, touch screen, barcode reader, scanner, microphone, Output devices Printer, monitor, speaker, beam projector,.. Interconnects: buses Motherboards, chipsets,

Computer Components Intel Corp. All rights reserved Intel Corp. All rights reserved

What s inside a CPU? Pentium 4 Processor Die on 0.18 micron (42M transistors) 400MHz system bus Advanced Transfer Cache Pipeline Intel Corp. All rights reserved Trace cache FP/MMX

Logic Level : Gates Prentice Hall Inc. All rights reserved

Circuit Level: Transistors www.wikipedia.org All rights reserved CMOS NAND Gate

SPECInt95 Performance Advances in Intel Microprocessors 80 70 Intel Corp. All rights reserved 81.3 (projected) Pentium IV 2.8GHz (superscalar, out-of-order) 60 50 42X Clock Speed 2X IPC 45.2 (projected) Pentium IV 1.7GHz (superscalar, out-of-order) 40 30 20 3.33 Pentium 100MHz 1 (superscalar, in-order) 80486 DX2 66MHz (pipelined) 10 8.09 PPro 200MHz 11.6 (superscalar, out-of-order) 24 Pentium III 600MHz (superscalar, out-of-order) Pentium II 300MHz (superscalar, out-of-order) 1992 1993 1994 1995 1996 1997 1998 1999 2002

Terminology Microprocessor: a single chip processor Pentium IV, AMD Athlon, SUN Ultrasparc, ARM, MIPS,.. ISA (Instruction Set Architecture) Defines machine instructions and visible machine states such as registers and memory Examples X86(IA32): 386 ~ Pentium III, Pentium IV IA64: Itanium, Itanium2 Others: PowerPC, SPARC, MIPS, ARM Microarchitecture Implementation: implement according to the ISA Pipelining, caches, branch prediction, buffers Invisible to programmers

Terminology CISC (Complex Instruction Set Computer) Each instruction is complex Instructions of different sizes, many instruction formats, allow computations on memory data, A large number of instructions in ISA Architectures until mid 80 s Examples: x86, VAX RISC (Reduced Instruction Set Computer) Each instruction is simple Fixed size instructions, only a few instruction formats A small number of instructions in ISA Load-store architectures Computations are allowed only on registers Data must be transferred to registers before computation Most architectures built since 80 s Examples: MIPS, ARM, PowerPC, Alpha, SPARC, IA64, PA-RISC, etc.

Terminology Word Default data size for computation Size of a GPR & ALU data path depends on the word size The word size determines if a processor is a 8b, 16b, 32b, or 64b processor Address (or pointer) Points to a location in memory Each address points to a byte (byte addressable) If you have a 32b address, you can address 2 32 bytes = 4GB If you have a 256MB memory, you need at least 28 bit address since 2 28 = 256MB Caches Faster but smaller memory close to processor Fast since they are built using SRAMs, but more expensive

Pentium 4 Microprocessor Intel Pentium IV Processor Technology 0.13 process, 55M transistors, 82W 3.2 GHz, 478pin Flip-Chip PGA2 Performance Intel Corp. All rights reserved 1221 Ispec, 1252 Fspec on SPEC 2000 Relative performance to SUN 300MHz Ultrasparc (100) 40% higher clock rate, 10~20% lower IPC compared to P III Pipeline 20-stage out-of-order (OOO) pipeline, hyperthreading Cache hierarchy 12K micro-op trace cache/8 KB on-chip D cache On-chip 512KB L2 ATC (Advanced Transfer Cache) Optional on-die 2MB L3 Cache 800MHz system bus, 6.4GB/s bandwidth Compared with 1.06GB/s on P III 133MHz bus Implemented by quad-pumping on 200MHz system bus

Microprocessor Performance Curve

Today s Microprocessor Intel i7 Processor Technology 32nm process, 130W, 239 mm² die 3.46 GHz, 64-bit 6-core 12-thread processor Intel Corp. All rights reserved 159 Ispec, 103 Fspec on SPEC CPU 2006 (296MHz UltraSparc II processor as a referecen machine) Core microarchitecture Next generation multi-core microarchitecture introduced in Q1 2006 (Derived from P6 microarchitecture) Optimized for multi-cores and lower power consumption 14-stage 4-issue out-of-order (OOO) pipeline 64bit Intel architecture (x86-64) Core i3 (entry-level), Core i5 (mainstream consumer), Core i7 (high-end consumer), Xeon (server) 256KB L2 cache/core, 12MB L3 Caches Integrated memory controller 36bit physical address, 3 channel, 3.2GH clock, 25.6 GB/s memory bandwidth (memory up to 24GB DDR3 SDRAM)

Today s Microprocessor Apple Inc. All rights reserved Apple A6 Chip Technology SoC designed by Apple and manufactured by Samsung 32nm process, 96.71mm 2, 500m~800mW 1.3 GHz ARMv7 based dual-core CPU with integrated triplecore PowerVR GPU Custom-designed dual-core CPU called swift» Rather than ARM-licensed CPU (ARM Cortex A9MPcore in A5 and ARM Cortex A8 in A4) Triple-issue superscalar pipeline 2X speedup in both CPU and GPU performance compared to A5 Used for iphone 5 and 4 th generation IPAD (contains 1.4GHz A6X) 1GB RAM

iphone 4 System Architecture

Processor Performance Equation T exe (Execution time per program) = NI * CPI execution * T cycle NI: # of instructions / program (program size) Small program is better CPI: clock cycles / instruction Small CPI is better. In other words, higher IPC is better T cycle = clock cycle time Small clock cycle time is better. In other words, higher clock speed is better

Class Information Class content Introduction (Chapter 1) Instruction Set Architecture (Chapter 2) Linking (Ch. 7) Computer Arithmetic (Chapter 3) Pipelining (Chapter 4) Caches and Memory Hierarchy (Chapter 5) Virtual Memory (Ch. 9) Exceptions and Signals (Ch. 8) System-Level IO (Ch. 10) Input and Output (Chapter 6)

Homework 1 Read Chapter 1 and Chapter 2 Exercise 1.1 1.4 1.6 1.7 1.10