Computer Architecture Introduction Lynn Choi Korea University.

Slides:



Advertisements
Similar presentations
Pentium microprocessors CAS 133 – Basic Computer Skills/MS Office CIS 120 – Computer Concepts I Russ Erdman.
Advertisements

1-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL
Chapter 1 An Introduction To Microprocessor And Computer
Microprocessor Microarchitecture Multithreading Lynn Choi School of Electrical Engineering.
The Central Processing Unit: What Goes on Inside the Computer.
Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
© Paradigm Publishing, Inc. 2-1 Chapter 2 Input and Processing Chapter 2 Input and Processing.
Computer Architecture & Organization
1 Microprocessor-based Systems Course 4 - Microprocessors.
EEM 486 EEM 486: Computer Architecture Lecture 1 Course Introduction and the Five Components of a Computer.
CSCE101 – 4.2, 4.3 October 17, Power Supply Surge Protector –protects from power spikes which ruin hardware. Voltage Regulator – protects from insufficient.
Computer Hardware Processing and Internal Memory.
Computer Architecture Instructor: Wen-Hung Liao Office: 大仁樓三樓 Office hours: TBA Course web page:
ECE 232 L2 Basics.1 Adapted from Patterson 97 ©UCBCopyright 1998 Morgan Kaufmann Publishers ECE 232 Hardware Organization and Design Lecture 2 Computer.
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.
Chapter 1 Sections 1.1 – 1.3 Dr. Iyad F. Jafar Introduction.
Computer Organization and Assembly language
Chapter 4  Converts data into information  Control center  Set of electronic circuitry that executes stored program instructions  Two parts ◦ Control.
Computer performance.
Computer Architecture and Organization
Information and Communication Technology Fundamentals Credits Hours: 2+1 Instructor: Ayesha Bint Saleem.
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
Writer:-Rashedul Hasan Editor:- Jasim Uddin
1 More on Computer Components Computer switches Binary number system Inside the CPU Cache memory Types of RAM Computer buses Creating faster CPUs NEXT.
Introduction to Computing: Lecture 4
2007 Sept 06SYSC 2001* - Fall SYSC2001-Ch1.ppt1 Computer Architecture & Organization  Instruction set, number of bits used for data representation,
Computer Architecture Introduction Lynn Choi Korea University.
Introduction CSE 410, Spring 2008 Computer Systems
Company LOGO High Performance Processors Miguel J. González Blanco Miguel A. Padilla Puig Felix Rivera Rivas.
Lynn Choi School of Electrical Engineering Microprocessor Microarchitecture The Past, Present, and Future of CPU Architecture.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Chapter 2 The CPU and the Main Board  2.1 Components of the CPU 2.1 Components of the CPU 2.1 Components of the CPU  2.2Performance and Instruction Sets.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
High Performance Computing Processors Felix Noble Mirayma V. Rodriguez Agnes Velez Electric and Computer Engineer Department August 25, 2004.
Computer Organization and Design Computer Abstractions and Technology
Computer System Design Lecture 1 Wannarat Suntiamorntut.
CHAPTER 4 The Central Processing Unit. Chapter Overview Microprocessors Replacing and Upgrading a CPU.
Computer Organization & Assembly Language © by DR. M. Amer.
by Computer System Design Lecture 1 Wannarat Suntiamorntut
12/13/ _01 1 Computer Organization EEC-213 Computer Organization Electrical and Computer Engineering.
1 chapter 1 Computer Architecture and Design ECE4480/5480 Computer Architecture and Design Department of Electrical and Computer Engineering University.
Microprocessor Microarchitecture Introduction Lynn Choi School of Electrical Engineering.
DR. SIMING LIU SPRING 2016 COMPUTER SCIENCE AND ENGINEERING UNIVERSITY OF NEVADA, RENO CS 219 Computer Organization.
Introduction Computer Organization Spring 1436/37H (2015/16G) Dr. Mohammed Sinky Computer Architecture
Compsci Today’s topics l Operating Systems  Brookshear, Chapter 3  Great Ideas, Chapter 10  Slides from Kevin Wayne’s COS 126 course l Performance.
Lecture # 10 Processors Microcomputer Processors.
BITS Pilani Pilani Campus Pawan Sharma ES C263 Microprocessor Programming and Interfacing.
By Wannarat Computer System Design Lecture 1 Wannarat Suntiamorntut.
Hardware Architecture
CS4100: 計算機結構 Course Outline 國立清華大學資訊工程學系 九十九年度第二學期.
Introduction CSE 410, Spring 2005 Computer Systems
William Stallings Computer Organization and Architecture 6th Edition
Microprocessor Microarchitecture Introduction
CSE 410, Spring 2006 Computer Systems
Lynn Choi School of Electrical Engineering
Architecture & Organization 1
Introduction to Microprocessors
Phnom Penh International University (PPIU)
Components of Computer
Basic Computer Organization
Introduction to Microprocessors
Unit 2 Computer Systems HND in Computing and Systems Development
Architecture & Organization 1
T Computer Architecture, Autumn 2005
Computers: Tools for an Information Age
What is Computer Architecture?
COMS 361 Computer Organization
Computers: Tools for an Information Age
Presentation transcript:

Computer Architecture Introduction Lynn Choi Korea University

Class Information Lecturer Prof. Lynn Choi, School of Electrical Eng. Phone: , 공학관 411, TA: 배용수, , Mon/Wed 3:30pm – 4:45pm Office Hour: Mon 5:00pm – 5:30pmPlace 창의관 110Textbook “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, D. Patterson, J. Hennessy, Morgan Kaufmann, 2007 Class homepage : slides, announcements

Class Information Project MIPS assembly programming IPhone or Android programmingEvaluation Midterm : 35% Final: 35% Homework and Projects: 30% Class participation: extra 5% Attendance: no shows of more than 2 will get -5% Bonus points

Computer

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, 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

What ’ s inside a CPU? Pentium 4 Processor Die on 0.18 micron (42M transistors) 400MHz system bus Advanced Transfer Cache Trace cacheFP/MMX Pipeline

Logic Level : Gates

Circuit Level: Transistors CMOS NAND Gate

Advances in Intel Microprocessors SPECInt95 Performance PPro 200MHz (superscalar, out-of-order) 8.09 Pentium II 300MHz (superscalar, out-of-order) 11.6 Pentium III 600MHz (superscalar, out-of-order) 24 Pentium 100MHz (superscalar, in-order) DX2 66MHz (pipelined) (projected) Pentium IV 1.7GHz (superscalar, out-of-order) 1 Pentium IV 2.8GHz (superscalar, out-of-order) 81.3 (projected) 80 42X Clock Speed ↑ 2X IPC ↑

Terminology Microprocessor: a single chip processor Intel i7, Intel Pentium IV, AMD Athlon, SUN Ultrasparc, ARM, MIPS,.. ISA (Instruction Set Architecture) Defines machine instructions and programmer visible machine states such as registers and memory Examples X86(IA32): 386 ~ Pentium III, Pentium IV IA64: Itanium, Itanium2 Others: PowerPC, SPARC, MIPS, ARMMicroarchitecture Implementation: implement the machine hardware 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 Data must be transferred to registers before computation Computations are allowed only on registers Most architectures built since 80’s Examples: MIPS, ARM, PowerPC, Alpha, SPARC, IA64, PA-RISC, etc.

TerminologyWord 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 = 256MBCaches 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 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 159 Ispec, 103 Fspec on SPEC CPU 2006 (296MHz UltraSparc II processor as a reference machine) Core microarchitecture Next generation multi-core microarchitecture introduced in Q (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 3.2GHz clock, 3 channels, 25.6 GB/s memory bandwidth (memory up to 24GB DDR3 SDRAM)

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) Network Programming (Ch. 11)

Homework 1 Read Chapter 1 (Reference) Exercise