Computer Organization Yasser F. O. Mohammad 1. 2 Lecture 1: Introduction Today’s topics:  Why computer organization is important  Logistics  Modern.

Slides:



Advertisements
Similar presentations
CEG3420 L1 Intro.1 Copyright (C) 1998 UCB CEG3420 Computer Design Lecture 1 Philip Leong.
Advertisements

TU/e Processor Design 5Z0321 Processor Design 5Z032 Computer Systems Overview Chapter 1 Henk Corporaal Eindhoven University of Technology 2011.
Lecture 2: Modern Trends 1. 2 Microprocessor Performance Only 7% improvement in memory performance every year! 50% improvement in microprocessor performance.
1 Introduction Background: CS 3810 or equivalent, based on Hennessy and Patterson’s Computer Organization and Design Text for CS/EE 6810: Hennessy and.
1 School of Computing Science Simon Fraser University CMPT 300: Operating Systems I Dr. Mohamed Hefeeda.
1 Lecture 2: System Metrics and Pipelining Today’s topics: (Sections 1.6, 1.7, 1.9, A.1)  Quantitative principles of computer design  Measuring cost.
Computer Organization: Introduction Spring 2006 Jen-Chang Liu ( )
Computer Architecture Instructor: Wen-Hung Liao Office: 大仁樓三樓 Office hours: TBA Course web page:
1 Lecture 15: Recap Today’s topics:  Recap for mid-term Reminders:  no class Thursday  office hours on Monday (10am-4pm)  mid-term Tuesday (arrive.
1 Introduction Background: CS 3810 or equivalent, based on Hennessy and Patterson’s Computer Organization and Design Text for CS/EE 6810: Hennessy and.
CS3350B Computer Architecture Winter 2015 Introduction Marc Moreno Maza
1 Lecture 1: CS/ECE 3810 Introduction Today’s topics:  logistics  why computer organization is important  modern trends.
1 Introduction Background: CS 3810 or equivalent, based on Hennessy and Patterson’s Computer Organization and Design Text for CS/EE 6810: Hennessy and.
ECE 232 L1 Intro.1 Adapted from Patterson 97 ©UCBCopyright 1998 Morgan Kaufmann Publishers ECE 232 Hardware Organization and Design Lecture 1 Introduction.
Introduction to Computer Architecture SCHOOL OF ELECTRICAL AND COMPUTER ENGINEERING SUMMER 2015 RAMYAR SAEEDI.
1 Copyright © 2012, Elsevier Inc. All rights reserved. Chapter 1 Fundamentals of Quantitative Design and Analysis Computer Architecture A Quantitative.
Computer performance.
CSE378 Gen. Intro1 Machine Organization and Assembly Language Programming Machine Organization –Hardware-centric view (in this class) –Not at the transistor.
Computer Architecture ECE 4801 Berk Sunar Erkay Savas.
Lecture 03: Fundamentals of Computer Design - Trends and Performance Kai Bu
Introduction CSE 410, Spring 2008 Computer Systems
Last Time Performance Analysis It’s all relative
EET 4250: Chapter 1 Computer Abstractions and Technology Acknowledgements: Some slides and lecture notes for this course adapted from Prof. Mary Jane Irwin.
1 Lecture 1: CS/ECE 3810 Introduction Today’s topics:  Why computer organization is important  Logistics  Modern trends.
Multi-core Programming Introduction Topics. Topics General Ideas Moore’s Law Amdahl's Law Processes and Threads Concurrency vs. Parallelism.
1 Cpt_S 260: Lecture 1: Introduction This week’s topics:  logistics  information technology trends (new applications)  why computer architecture? 
Sogang University Advanced Computing System Chap 1. Computer Architecture Hyuk-Jun Lee, PhD Dept. of Computer Science and Engineering Sogang University.
1 CS/EE 6810: Computer Architecture Class format:  Most lectures on YouTube *BEFORE* class  Use class time for discussions, clarifications, problem-solving,
C OMPUTER O RGANIZATION AND D ESIGN The Hardware/Software Interface 5 th Edition Chapter 1 Computer Abstractions and Technology Sections 1.5 – 1.11.
(1) ECE 3056: Architecture, Concurrency and Energy in Computation Lecture Notes by MKP and Sudhakar Yalamanchili Sudhakar Yalamanchili (Some small modifications.
Advanced Computer Architecture Fundamental of Computer Design Instruction Set Principles and Examples Pipelining:Basic and Intermediate Concepts Memory.
Computer Organization and Design Computer Abstractions and Technology
Computer System Design Lecture 1 Wannarat Suntiamorntut.
Chapter 1 Computer Abstractions and Technology. Chapter 1 — Computer Abstractions and Technology — 2 The Computer Revolution Progress in computer technology.
by Computer System Design Lecture 1 Wannarat Suntiamorntut
Computer Architecture CPSC 350
CHAPTER 6 Instruction Set Architecture 12/7/
1 Lecture 2: Performance, MIPS ISA Today’s topics:  Performance equations  MIPS instructions Reminder: canvas and class webpage:
DR. SIMING LIU SPRING 2016 COMPUTER SCIENCE AND ENGINEERING UNIVERSITY OF NEVADA, RENO Session 3 Computer Evolution.
Introduction Computer Organization Spring 1436/37H (2015/16G) Dr. Mohammed Sinky Computer Architecture
Chapter 1 Computer Abstractions and Technology. Chapter 1 — Computer Abstractions and Technology — 2 The Computer Revolution Progress in computer technology.
CHAPTER 2 Instruction Set Architecture 3/21/
CS203 – Advanced Computer Architecture Introduction Daniel Wong, Assistant Professor Department of Electrical and Computer Engineering Cooperating Faculty,
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.
By Wannarat Computer System Design Lecture 1 Wannarat Suntiamorntut.
History of Computers and Performance David Monismith Jan. 14, 2015 Based on notes from Dr. Bill Siever and from the Patterson and Hennessy Text.
Introduction CSE 410, Spring 2005 Computer Systems
Lecture 2: Performance Today’s topics:
ECE 3055: Computer Architecture and Operating Systems
Lecture 1: CS/ECE 3810 Introduction
Instruction Set Architecture
CSE 410, Spring 2006 Computer Systems
Morgan Kaufmann Publishers
INTRODUCTION TO MICROPROCESSORS
Architecture & Organization 1
INTRODUCTION TO MICROPROCESSORS
Computer Architecture CSCE 350
CS775: Computer Architecture
Lecture 1: CS/ECE 3810 Introduction
Morgan Kaufmann Publishers
Lecture 2: Performance Today’s topics: Technology wrap-up
Architecture & Organization 1
Lecture 1: Parallel Architecture Intro
T Computer Architecture, Autumn 2005
CS/EE 6810: Computer Architecture
COMS 361 Computer Organization
The University of Adelaide, School of Computer Science
Instruction Set Architecture
Lecture 1 Class Overview
Presentation transcript:

Computer Organization Yasser F. O. Mohammad 1

2 Lecture 1: Introduction Today’s topics:  Why computer organization is important  Logistics  Modern trends

3 Why Computer Organization You must take it … it is in the curriculum Understanding how is this piece of metal and sand doing all the magic Understanding what affects the performance of your software ….

4 Must a Programmer Care About Hardware? Must know how to reason about program performance and energy Memory management: if we understand how/where data is placed, we can help ensure that relevant data is nearby Thread management: if we understand how threads interact, we can write smarter multi-threaded programs  Why do we care about multi-threaded programs?

5 Example 200x speedup for matrix vector multiplication Data level parallelism: 3.8x Loop unrolling and out-of-order execution: 2.3x Cache blocking: 2.5x Thread level parallelism: 14x

6 Key Topics Moore’s Law, power wall Use of abstractions Assembly language Computer arithmetic Pipelining Using predictions Memory hierarchies Reliability

7 Logistics See class web-page A mailing list will be created TAs: TBA Office hours: Tuesday 12:00~2:00PM Textbook: Computer Organization and Design – HW/SW Interface, Patterson and Hennessy, 5 th edition

8 Course Organization 15% midterm, 70% final, 10% assignments, 15% quizzes Assignment grading is done by the TA Co-operation policy: you may discuss – you may not see someone else’s written material when writing your solution

9 Contents to be Covered Computer Abstraction and Technology : Ch 1 Instructions: Language of Computers : Ch 2 (!) Arithmetic for Computers : Ch 3 The Processor: Ch 4 Memory Hierarchy: Ch 5 (may be)

10 Microprocessor Performance 50% improvement every year!! What contributes to this improvement? Source: H&P Textbook

11 Important Trends Running out of ideas to improve single thread performance Power wall makes it harder to add complex features Power wall makes it harder to increase frequency

12 Important Trends Historical contributions to performance: 1. Better processes (faster devices) ~20% 2. Better circuits/pipelines ~15% 3. Better organization/architecture ~15% In the future, bullet-2 will help little and bullet-1 will eventually disappear! Pentium P-Pro P-II P-III P-4 Itanium Montecito Year Transistors 3.1M 5.5M 7.5M 9.5M 42M 300M 1720M Clock Speed 60M 200M 300M 500M 1500M 800M 1800M At this point, adding transistors to a core yields little benefit Moore’s Law in action

13 What Does This Mean to a Programmer? Today, one can expect only a 20% improvement; the improvement is even lower if the program is not multi-threaded  A program needs many threads  The threads need efficient synchronization and communication  Data placement in the memory hierarchy is important

14 Challenges for Hardware Designers Find efficient ways to  boost single-thread performance  improve data sharing  boost programmer productivity  manage the memory system  build accelerators for important kernels  reduce system energy per instruction

15 The HW/SW Interface Compiler lw $15, 0($2) add $16, $15, $14 add $17, $15, $13 lw $18, 0($12) lw $19, 0($17) add $20, $18, $19 sw $20, 0($16) a[i] = b[i] + c; Hardware Systems software (OS, compiler) Application software Assembler …

16 Computer Components Input/output devices Secondary storage: non-volatile, slower, cheaper Primary storage: volatile, faster, costlier CPU/processor (datapath and control)

17 Manufacturing Process Silicon wafers undergo many processing steps so that different parts of the wafer behave as insulators, conductors, and transistors (switches) Multiple metal layers on the silicon enable connections between transistors The wafer is chopped into many dies – the size of the die determines yield and cost

18 Processor Technology Trends Shrinking of transistor sizes: 250nm (1997)  130nm (2002)  70nm (2008)  35nm (2014) Transistor density increases by 35% per year and die size increases by 10-20% per year… functionality improvements! Transistor speed improves linearly with size (complex equation involving voltages, resistances, capacitances) Wire delays do not scale down at the same rate as transistor delays

19 Memory and I/O Technology Trends DRAM density increases by 40-60% per year, latency has reduced by 33% in 10 years (the memory wall!), bandwidth improves twice as fast as latency decreases Disk density improves by 100% every year, latency improvement similar to DRAM Networks: primary focus on bandwidth; 10Mb  100Mb in 10 years; 100Mb  1Gb in 5 years

20 Power Consumption Trends Dyn power  activity x capacitance x voltage 2 x frequency Voltage and frequency are somewhat constant now, while capacitance per transistor is decreasing and number of transistors (activity) is increasing Leakage power is also rising (function of #trans and voltage) Source: H&P Textbook