Introduction Computer Organization 1403372 Spring 1436/37H (2015/16G) Dr. Mohammed Sinky Computer Architecture - 14034721.

Slides:



Advertisements
Similar presentations
Syllabus Instructor: Dr. Wesam Ashour
Advertisements

Spring 2008, Jan. 14 ELEC / Lecture 2 1 ELEC / Computer Architecture and Design Spring 2007 Introduction Vishwani D. Agrawal.
Chapter 1 CSF 2009 Computer Performance. Defining Performance Which airplane has the best performance? Chapter 1 — Computer Abstractions and Technology.
Performance D. A. Patterson and J. L. Hennessey, Computer Organization & Design: The Hardware Software Interface, Morgan Kauffman, second edition 1998.
CS/ECE 3330 Computer Architecture Chapter 1 Performance / Power.
Computer Organization: Introduction Spring 2006 Jen-Chang Liu ( )
Copyright © 1998 Wanda Kunkle Computer Organization 1 Chapter 2.1 Introduction.
EET 4250: Chapter 1 Performance Measurement, Instruction Count & CPI Acknowledgements: Some slides and lecture notes for this course adapted from Prof.
Introduction to C++ Programming CS 117 Section 2 and KNET Sections Spring 2001 MWF 1:40-2:30.
Lecture 3: Computer Performance
Slide 1 Instructor: Dr. Hong Jiang Teaching Assistant: Mr. Sheng Zhang Department of Computer Science & Engineering University of Nebraska-Lincoln Classroom:
1 Chapter 4. 2 Measure, Report, and Summarize Make intelligent choices See through the marketing hype Key to understanding underlying organizational motivation.
Introduction to Computer Architecture SCHOOL OF ELECTRICAL AND COMPUTER ENGINEERING SUMMER 2015 RAMYAR SAEEDI.
CS 0004 –Lecture 1 Wednesday, Jan 5 th, 2011 Roxana Gheorghiu.
Gary MarsdenSlide 1University of Cape Town Computer Architecture – Introduction Andrew Hutchinson & Gary Marsden (me) ( ) 2005.
C OMPUTER O RGANIZATION AND D ESIGN The Hardware/Software Interface 5 th Edition Chapter 1 Computer Abstractions and Technology.
Fall 2015, Aug 17 ELEC / Lecture 1 1 ELEC / Computer Architecture and Design Fall 2015 Introduction Vishwani D. Agrawal.
EET 4250: Chapter 1 Computer Abstractions and Technology Acknowledgements: Some slides and lecture notes for this course adapted from Prof. Mary Jane Irwin.
Chapter 1 - The Computer Revolution Chapter 1 — Computer Abstractions and Technology — 1  Progress in computer technology  Underpinned by Moore’s Law.
Sogang University Advanced Computing System Chap 1. Computer Architecture Hyuk-Jun Lee, PhD Dept. of Computer Science and Engineering Sogang University.
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 CS/EE 362 Hardware Fundamentals Lecture 9 (Chapter 2: Hennessy and Patterson) Winter Quarter 1998 Chris Myers.
Chapter 1 — Computer Abstractions and Technology — 1 Understanding Performance Algorithm Determines number of operations executed Programming language,
Performance.
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
Performance Lecture notes from MKP, H. H. Lee and S. Yalamanchili.
Computer Architecture CPSC 350
Computing Systems: Organization and Design EE460/CS360/T425.
Morgan Kaufmann Publishers
Computer Organization Instructors Course By: Lecturer: Shimaa Ibrahim Hassan TA: Eng: Moufeda Hussien Lecture: 9:45 Address:
Chapter 1 Computer Abstractions and Technology. Chapter 1 — Computer Abstractions and Technology — 2 The Computer Revolution Progress in computer technology.
1 chapter 1 Computer Architecture and Design ECE4480/5480 Computer Architecture and Design Department of Electrical and Computer Engineering University.
CSE 3322 Computer Architecture Dr. John Patterson 614 NH Office Hours: M, W 11 –12 noon Grading Policy: Project 25%
Computer Organization Instruction Set Architecture (ISA) Instruction Set Architecture (ISA), or simply Architecture, of a computer is the.
Lecture 5: 9/10/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
Chapter 4. Measure, Report, and Summarize Make intelligent choices See through the marketing hype Understanding underlying organizational aspects Why.
Spring 2016, Jan 13 ELEC / Lecture 1 1 ELEC / Computer Architecture and Design Spring 2016 Introduction Vishwani D. Agrawal.
Performance Computer Organization II 1 Computer Science Dept Va Tech January 2009 © McQuain & Ribbens Defining Performance Which airplane has.
Chapter 1 Computer Abstractions and Technology. Chapter 1 — Computer Abstractions and Technology — 2 The Computer Revolution Progress in computer technology.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
Computer Architecture Opening Yu-Lun Kuo 郭育倫 Department of Computer Science and Information Engineering Tunghai University Taichung, 40704, Taiwan R.O.C.
Chapter 1 Performance & Technology Trends. Outline What is computer architecture? Performance What is performance: latency (response time), throughput.
Lecture 3. Performance Prof. Taeweon Suh Computer Science & Engineering Korea University COSE222, COMP212, CYDF210 Computer Architecture.
COD Ch. 1 Introduction + The Role of Performance.
C OMPUTER O RGANIZATION AND D ESIGN The Hardware/Software Interface 5 th Edition Chapter 1 Computer Abstractions and Technology.
Computer Architecture & Operations I
CS161 – Design and Architecture of Computer Systems
Performance Lecture notes from MKP, H. H. Lee and S. Yalamanchili.
Morgan Kaufmann Publishers Computer Abstractions and Technology
Overview Instruction set architecture (MIPS)
Defining Performance Which airplane has the best performance?
Computer Architecture & Operations I
CSE 3322 Computer Architecture
Morgan Kaufmann Publishers
Morgan Kaufmann Publishers Computer Abstractions and Technology
CSCE 212 Chapter 4: Assessing and Understanding Performance
Computer Architecture CSCE 350
COSC 3406: Computer Organization
EEL 4713/EEL 5764 Computer Architecture
T Computer Architecture, Autumn 2005
Morgan Kaufmann Publishers Computer Performance
Performance Lecture notes from MKP, H. H. Lee and S. Yalamanchili.
Performance.
Lecture 1 Class Overview
ELEC / Computer Architecture and Design Fall 2014 Introduction
CS161 – Design and Architecture of Computer Systems
ICS103 Programming in C 1: Overview of Computers And Programming
Presentation transcript:

Introduction Computer Organization Spring 1436/37H (2015/16G) Dr. Mohammed Sinky Computer Architecture

General Information Instructor: Mohammed Sinky Office: 1102 in Building H ( مبنى ح ) Lab TA: Mohsin Khan Office Hours: Monday 10am-11:50am TEXTBOOK: Computer Organization and Design the Hardware/Software Interface, 5 th edition, David Patterson and John Hennessy, ISBN Web Page: Computer Architecture

Class Meeting Times TimeSundayMondayTuesdayWednesdayThursday 8am (1) 7H (7 ح ) 9am (2) 10am (3) Office Hours 11am (4) 12pm 1pm (5) 2pm (6)6H (6 ح ) 3pm 4pm (7) Lab: Electronics Lab 5pm (8) 6pm (9) Computer Architecture

Web Page and Required Software Class depends heavily on the internet, be sure to check regularly Web Page Contents Announcements Homework Notes Class grades Adobe Reader is needed for homework Class notes will be provided in Microsoft PowerPoint See UQU home page for free download for students Computer Architecture

Homework Homework will be posted on the web page Submission should be on time or you receive no credit Solutions will be posted on due date after class Computer Architecture

Classroom Policy Class will start ON TIME! Attendance No points for attendance, it is for your own good to attend 45 lecture hours throughout semester UQU policy states that 25% = 12 absences results in a grade of “banned” or محروم Cell phone – considered absent You are encouraged to ask questions Best way to pass class Attend and put forth effort Computer Architecture

Test Policy NO MAKEUP EXAMS. If you miss a test or quiz you will not be allowed to take it No cell phones, no calculators. Solve using PEN You must show your work for credit! No work = 0 points Cheating results in an automatic score of 0. Computer Architecture

Grade Distribution (tentative for now) Homework: 15 % Midterm: 20 % Lab: 25% Final: 40 % I will try to post updated class grades if possible Computer Architecture

Computer Organization and Design Covers the organization and interconnections between components of a computer Basic understanding of what constitutes performance Major focus in this class Instruction set architecture (ISA) The language of a computer Understand the interface between ISA and hardware Computer Architecture

Five Classic Components Five classic components of a computer: Input Output Memory Datapath Control Computer Architecture

What is Under Your Program? Computer Architecture C, C++, Java Windows, iOS, Linux Compilers

Hardware Inputting data Keyboard, mouse, touchscreen Outputting data Speakers, LCD display Processing data Central Processing Unit (CPU) – old terminology Processor Microprocessor Storing data Cache SRAM, DRAM Flash Magnetic Disk Computer Architecture Hardware inputting dataoutputting data processing data storing data

The Hardware/Software interface Interface between hardware and lowest level software: Instruction Set Architecture (ISA) or Architecture Operating system hides ISA from application programmers ISA implementation may have many designs ISA can be discussed independent of hardware Computer Architecture Hardware ISA add $s1, $s2, $s3 beq $s1, $s2, CHECK.

Short review Computer Arithmetic – two’s complement Flip Flops Registers State Machine – relationship to Computer Operation Short discussion about MIPS assembly language Computer Architecture

What Affects Performance? Algorithm Determines number of operations executed Programming language, compiler, architecture Determine number of machine instructions executed per operation Processor and memory system Determine how fast instructions are executed I/O system (including OS) Determines how fast I/O operations are executed Computer Architecture

Defining Performance Which airplane has the best performance? Computer Architecture

Response Time and Throughput Response time How long it takes to do a task Throughput Total work done per unit time E.g., tasks/transactions/… per hour How are response time and throughput affected by Replacing the processor with a faster version? Adding more processors? Focus: response time Computer Architecture

Relative Performance Define Performance = 1/Execution Time “X is n times faster than Y” Example: time taken to run a program 10s on A, 15s on B Execution Time B / Execution Time A = 15s / 10s = 1.5 So A is 1.5 times faster than B Computer Architecture

Computer Architecture Measuring Execution Time Elapsed time Total response time, including all aspects Processing, I/O, OS overhead, idle time Determines system performance CPU time Time spent processing a given job Discounts I/O time, other jobs’ shares Comprises user CPU time and system CPU time Different programs are affected differently by CPU and system performance 19

Computer Architecture CPU Clocking Operation of digital hardware governed by a constant- rate clock Clock (cycles) Data transfer and computation Update state Clock period Clock period: duration of a clock cycle e.g., 250ps = 0.25ns = 250×10 –12 s Clock frequency (rate): cycles per second e.g., 4.0GHz = 4000MHz = 4.0×10 9 Hz 20

Computer Architecture CPU Time Performance improved by Reducing number of clock cycles Increasing clock rate Hardware designer must often trade off clock rate against cycle count 21

Computer Architecture CPU Time Example Computer A: 2GHz clock, 10s CPU time Designing Computer B Aim for 6s CPU time Can do faster clock, but causes 1.2 × clock cycles How fast must Computer B clock be? 22

Computer Architecture Instruction Count and CPI Instruction Count for a program Determined by program, ISA and compiler Average cycles per instruction Determined by CPU hardware If different instructions have different CPI Average CPI affected by instruction mix 23

Computer Architecture CPI Example Computer A: Cycle Time = 250ps, CPI = 2.0 Computer B: Cycle Time = 500ps, CPI = 1.2 Same ISA Which is faster, and by how much? A is faster… …by this much 24