Lecture 5: 9/10/2002CS170 Fall 20021 CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.

Slides:



Advertisements
Similar presentations
CMSC 611: Advanced Computer Architecture Performance Some material adapted from Mohamed Younis, UMBC CMSC 611 Spr 2003 course slides Some material adapted.
Advertisements

Lecture Objectives: 1)List the 5 classical components of a computer and show their relationships graphically. 2)Define instruction set architecture. 3)Define.
CS1104: Computer Organisation School of Computing National University of Singapore.
Understanding Performance Metrics of Processors Bina Ramamurthy Chapter 1.
TU/e Processor Design 5Z032 1 Processor Design 5Z032 The role of Performance Henk Corporaal Eindhoven University of Technology 2009.
Evaluating Performance
100 Performance ENGR 3410 – Computer Architecture Mark L. Chang Fall 2006.
Computer Organization and Architecture 18 th March, 2008.
CSCE 212 Chapter 4: Assessing and Understanding Performance Instructor: Jason D. Bakos.
Chapter 4 Assessing and Understanding Performance Bo Cheng.
Performance D. A. Patterson and J. L. Hennessey, Computer Organization & Design: The Hardware Software Interface, Morgan Kauffman, second edition 1998.
Computer ArchitectureFall 2007 © September 17, 2007 Karem Sakallah CS-447– Computer Architecture.
CIS429.S00: Lec2- 1 Performance Overview Execution time is the best measure of performance: simple, intuitive, straightforward. Two important quantitative.
Assessing and Understanding Performance B. Ramamurthy Chapter 4.
Copyright © 1998 Wanda Kunkle Computer Organization 1 Chapter 2.1 Introduction.
Chapter 4 Assessing and Understanding Performance
Gordon Moore Gordon Moore, cofounder of Intel 1965: 2 x trans. per chip/year After 1970: 2 x trans. per chip/1.5year 摩爾定律.
Fall 2001CS 4471 Chapter 2: Performance CS 447 Jason Bakos.
Lecture 3: Computer Performance
CS430 – Computer Architecture Lecture - Introduction to Performance
1 Chapter 4. 2 Measure, Report, and Summarize Make intelligent choices See through the marketing hype Key to understanding underlying organizational motivation.
CMSC 611: Advanced Computer Architecture Performance Some material adapted from Mohamed Younis, UMBC CMSC 611 Spr 2003 course slides Some material adapted.
1 Computer Performance: Metrics, Measurement, & Evaluation.
CSE 340 Computer Architecture Summer 2014 Understanding Performance
Lecture 2b: Performance Metrics. Performance Metrics Measurable characteristics of a computer system: Count of an event Duration of a time interval Size.
1 CHAPTER 2 THE ROLE OF PERFORMANCE. 2 Performance Measure, Report, and Summarize Make intelligent choices Why is some hardware better than others for.
B0111 Performance Anxiety ENGR xD52 Eric VanWyk Fall 2012.
1 CPS4150 Chapter 4 Assessing and Understanding Performance.
CDA 3101 Fall 2013 Introduction to Computer Organization Computer Performance 28 August 2013.
10/19/2015Erkay Savas1 Performance Computer Architecture – CS401 Erkay Savas Sabanci University.
1 CS/EE 362 Hardware Fundamentals Lecture 9 (Chapter 2: Hennessy and Patterson) Winter Quarter 1998 Chris Myers.
1 Acknowledgements Class notes based upon Patterson & Hennessy: Book & Lecture Notes Patterson’s 1997 course notes (U.C. Berkeley CS 152, 1997) Tom Fountain.
Performance.
Computer Performance Computer Engineering Department.
1 CS/COE0447 Computer Organization & Assembly Language CHAPTER 4 Assessing and Understanding Performance.
Lecture 8: 9/19/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
Ch4a- 2 EE/CS/CPE Computer Organization  Seattle Pacific University Performance What differences do we see in performance? Almost all computers.
Morgan Kaufmann Publishers
1 COMS 361 Computer Organization Title: Performance Date: 10/02/2004 Lecture Number: 3.
Lecture 4: 9/5/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
1  1998 Morgan Kaufmann Publishers How to measure, report, and summarize performance (suorituskyky, tehokkuus)? What factors determine the performance.
Computer Organization Instruction Set Architecture (ISA) Instruction Set Architecture (ISA), or simply Architecture, of a computer is the.
4. Performance 4.1 Introduction 4.2 CPU Performance and Its Factors
Chapter 4. Measure, Report, and Summarize Make intelligent choices See through the marketing hype Understanding underlying organizational aspects Why.
Lec2.1 Computer Architecture Chapter 2 The Role of Performance.
L12 – Performance 1 Comp 411 Computer Performance He said, to speed things up we need to squeeze the clock Study
EGRE 426 Computer Organization and Design Chapter 4.
Performance Computer Organization II 1 Computer Science Dept Va Tech January 2009 © McQuain & Ribbens Defining Performance Which airplane has.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
CSE 340 Computer Architecture Summer 2016 Understanding Performance.
Lecture 3. Performance Prof. Taeweon Suh Computer Science & Engineering Korea University COSE222, COMP212, CYDF210 Computer Architecture.
BITS Pilani, Pilani Campus Today’s Agenda Role of Performance.
CPEN Digital System Design Assessing and Understanding CPU Performance © Logic and Computer Design Fundamentals, 4 rd Ed., Mano Prentice Hall © Computer.
Computer Organization
Computer Architecture & Operations I
Performance Lecture notes from MKP, H. H. Lee and S. Yalamanchili.
Defining Performance Which airplane has the best performance?
Computer Architecture & Operations I
CSCE 212 Chapter 4: Assessing and Understanding Performance
Computer Performance He said, to speed things up we need to squeeze the clock.
CS170 Computer Organization and Architecture I
CMSC 611: Advanced Computer Architecture
Morgan Kaufmann Publishers Computer Performance
Arrays versus Pointers
CMSC 611: Advanced Computer Architecture
Computer Performance Read Chapter 4
Performance.
Chapter 2: Performance CS 447 Jason Bakos Fall 2001 CS 447.
Computer Organization and Design Chapter 4
Presentation transcript:

Lecture 5: 9/10/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture 5: 9/10/2002

CS170 Fall Outline Chapter 2 Overview How to measure, report and summarize performance? What are the major factors that determine the performance of a computer? Execution time is the only adequate measure of performance Benchmarks, what are they, and how are they used to evaluate performance

Lecture 5: 9/10/2002CS170 Fall Why study Performance? Hardware performance is often key to the effectiveness of an entire system of Hardware and Software The goal is not just to assess performance but need to understand what affects performance of a machine To improve performance of software  understand how hardware affects system performance How well a program uses instructions of the machine? How well underlying HW implements instructions? How well memory and I/O systems perform?

Lecture 5: 9/10/2002CS170 Fall How to define performance? Airplanes example Passenger capacity Cruising range (miles) Cruising speed (m.p.h) Passenger throughput (passengers * m.p.h) Which airplane has the best performance? Highest cruising speed Longest range Largest capacity Speed Highest cruising speed highest throughput Run a program on two different workstations, which is fastest? User: response time (execution time) Computer center manager: throughput (how many tasks were performed during a time interval) Relationship between response time and throughput

Lecture 5: 9/10/2002CS170 Fall Performance Use response time or execution time. To maximize performance minimize execution time for some task What does it mean that Performance(X) is greater than Performance(Y)? X is n times faster than Y

Lecture 5: 9/10/2002CS170 Fall Performance Example Machine A runs a program in 10 seconds and machine B runs the same program in 15 seconds, how much faster is A than B? A is 1.5 times faster than B

Lecture 5: 9/10/2002CS170 Fall Measuring Performance 1/4 Time is the measure of computer performance (sec per program) Response time or elapsed time Total time to complete a task including everything (disk access, memory access, operating system overhead, …) CPU execution time (CPU time) Time CPU spends computing for this task and does not include time spent waiting for I/O or running other programs (some computers are timeshared) CPU execution time can be divided into User CPU time: CPU time spent in the program System CPU time: CPU time spent in operating system performing tasks on behalf of the program

Lecture 5: 9/10/2002CS170 Fall Measuring Performance 2/4 Example of user CPU time and System CPU time Output of Unix time command 90.7u 12.9s 2:39 65% User CPU time90.7 sec System CPU time12.9 sec Elapsed time2:39 = ( 2 minutes and 39 sec) = 159 sec % of elapsed time that is CPU time = ( )/159 = 65% Then 100 – 65 = 35% of elapsed time was spent doing something else (waiting for I/O, running other programs, …)

Lecture 5: 9/10/2002CS170 Fall Measuring Performance 3/4 Express CPU execution time in terms of other metric that relates to how fast the HW can perform basic functions Computers governed by a clock that runs at constant rate and determines when events happen in HW Length of a clock period is Clock cycle (measured in nanoseconds (10 -9 sec) or picoseconds ( sec)) Clock rate is 1/(clock cycle) (measured in Megahertz (MHz = 10 6 Hz), or Gigahertz (GHz = 10 9 Hz) ) 1 Hertz is 1 cycle/sec CPU execution time = CPU clock cycles for a program * clock cycle time CPU execution time = CPU clock cycles for a program / clock rate How to improve CPU execution time? Example on page 60

Lecture 5: 9/10/2002CS170 Fall Measuring Performance 4/4 Relating to Software express CPU clock cycles in terms of program instructions CPU clock cycles = Instruction for a program * Average clock cycles per instruction Clock cycles per instruction (average number of cycles each instruction takes to execute) is abbreviated as CPI CPI can be used to compare two implementations of the same instruction set architecture (since instruction count for a program will remain the same) Example page 62