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

Slides:



Advertisements
Similar presentations
11 Measuring performance Kosarev Nikolay MIPT Feb, 2010.
Advertisements

Lecture 13: 10/8/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
Performance What differences do we see in performance? Almost all computers operate correctly (within reason) Most computers implement useful operations.
1  1998 Morgan Kaufmann Publishers Chapter 2 Performance Text in blue is by N. Guydosh Updated 1/25/04*
Lecture 7: 9/17/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
CIS629 Fall Lecture Performance Overview Execution time is the best measure of performance: simple, intuitive, straightforward. Two important.
Copyright © 1998 Wanda Kunkle Computer Organization 1 Chapter 2.5 Comparing and Summarizing Performance.
1 COMP 206: Computer Architecture and Implementation Montek Singh Wed., Sep 3, 2003 Lecture 2.
Fall 2001CS 4471 Chapter 2: Performance CS 447 Jason Bakos.
CIS429/529 Winter 07 - Performance - 1 Performance Overview Execution time is the best measure of performance: simple, intuitive, straightforward. Two.
CMSC 611: Advanced Computer Architecture Benchmarking Some material adapted from Mohamed Younis, UMBC CMSC 611 Spr 2003 course slides Some material adapted.
Performance & Benchmarking. What Matters? Which airplane has best performance:
1 Computer Performance: Metrics, Measurement, & Evaluation.
Lecture 2b: Performance Metrics. Performance Metrics Measurable characteristics of a computer system: Count of an event Duration of a time interval Size.
Memory/Storage Architecture Lab Computer Architecture Performance.
Lecture 3: 9/3/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
Recap Technology trends Cost/performance Measuring and Reporting Performance What does it mean to say “computer X is faster than computer Y”? E.g. Machine.
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 Measuring and Discussing Computer System Performance or “My computer is faster than your computer” Reading: 2.4, Peer Instruction Lecture Materials.
PerformanceCS510 Computer ArchitecturesLecture Lecture 3 Benchmarks and Performance Metrics Lecture 3 Benchmarks and Performance Metrics.
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.
Lecture 2: 8/29/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
Lecture 11: 10/1/2002CS149D Fall CS149D Elements of Computer Science Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture.
From lecture slides for Computer Organization and Architecture: Designing for Performance, Eighth Edition, Prentice Hall, 2010 CS 211: Computer Architecture.
Computer Architecture
Lecture 8: 9/19/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
1 Seoul National University Performance. 2 Performance Example Seoul National University Sonata Boeing 727 Speed 100 km/h 1000km/h Seoul to Pusan 10 hours.
Performance Lecture notes from MKP, H. H. Lee and S. Yalamanchili.
CMSC 611: Advanced Computer Architecture Benchmarking Some material adapted from Mohamed Younis, UMBC CMSC 611 Spr 2003 course slides Some material adapted.
Lecture 4: 9/5/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
CSE2021: Computer Organization Instructor: Dr. Amir Asif Department of Computer Science York University Handout # 2: Measuring Performance Topics: 1. Performance:
1  1998 Morgan Kaufmann Publishers How to measure, report, and summarize performance (suorituskyky, tehokkuus)? What factors determine the performance.
Performance Performance
TEST 1 – Tuesday March 3 Lectures 1 - 8, Ch 1,2 HW Due Feb 24 –1.4.1 p.60 –1.4.4 p.60 –1.4.6 p.60 –1.5.2 p –1.5.4 p.61 –1.5.5 p.61.
1  1998 Morgan Kaufmann Publishers Where we are headed Performance issues (Chapter 2) vocabulary and motivation A specific instruction set architecture.
Performance – Last Lecture Bottom line performance measure is time Performance A = 1/Execution Time A Comparing Performance N = Performance A / Performance.
4. Performance 4.1 Introduction 4.2 CPU Performance and Its Factors
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /03/2013 Lecture 3: Computer Performance Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER SCIENCE.
Lecture 5: 9/10/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
Performance Evaluation II November 10, 1998 Topics Amdahl’s Law Benchmarking (lying with numbers) class23.ppt.
Computer Engineering Rabie A. Ramadan Lecture 2. Table of Contents 2 Architecture Development and Styles Performance Measures Amdahl’s Law.
Performance 9 ways to fool the public Old Chapter 4 New Chapter 1.4.
ECE/CS 552: Benchmarks, Means and Amdahl’s Law © Prof. Mikko Lipasti Lecture notes based in part on slides created by Mark Hill, David Wood, Guri Sohi,
CMSC 611: Advanced Computer Architecture Performance & Benchmarks Some material adapted from Mohamed Younis, UMBC CMSC 611 Spr 2003 course slides Some.
Jan. 5, 2000Systems Architecture II1 Machine Organization (CS 570) Lecture 2: Performance Evaluation and Benchmarking * Jeremy R. Johnson Wed. Oct. 4,
Lecture 16: 10/29/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
Lecture 2: 8/29/2002CS149D Fall CS149D Elements of Computer Science Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture.
Lecture 17: 10/31/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
Performance 9 ways to fool the public #1 – Reporting Results.
June 20, 2001Systems Architecture II1 Systems Architecture II (CS ) Lecture 1: Performance Evaluation and Benchmarking * Jeremy R. Johnson Wed.
Computer Architecture & Operations I
Measuring Performance II and Logic Design
Lecture 2: Performance Evaluation
Computer Architecture & Operations I
CS161 – Design and Architecture of Computer Systems
4- Performance Analysis of Parallel Programs
Performance Lecture notes from MKP, H. H. Lee and S. Yalamanchili.
Execution time Execution Time (processor-related) = IC x CPI x T
Uniprocessor Performance
Morgan Kaufmann Publishers
CSCE 212 Chapter 4: Assessing and Understanding Performance
CS170 Computer Organization and Architecture I
Chapter 3: Principles of Scalable Performance
CS170 Computer Organization and Architecture I
CMSC 611: Advanced Computer Architecture
CS170 Computer Organization and Architecture I
CMSC 611: Advanced Computer Architecture
Performance Lecture notes from MKP, H. H. Lee and S. Yalamanchili.
January 25 Did you get mail from Chun-Fa about assignment grades?
Presentation transcript:

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

CS170 Fall Outline Problem 2.44 (Another example of Amdahl’s law) Harmonic Mean Fallacies and Pitfalls  Using arithmetic mean with normalized execution times  Geometric Mean of execution time ratios is proportional to total execution time  Other pitfalls Should cover section 2.7

Lecture 9: 9/24/2002CS170 Fall Another example For Amdahl’s Law Problem 2.44 on page 102

Lecture 9: 9/24/2002CS170 Fall Arithmetic Mean with Normalized Execution Times 1/2 M/C AM/C B P1110 P Normalize to A M/C AM/C B P1110 P210.1 AM15.05 Normalize to B M/C AM/C B P10.11 P2101 AM5.051 Machine A is 5.05 times faster than B Machine B is 5.05 times faster than A Problem ? (result depends on which machine is used as reference) AM: Arithmetic Mean ET(B)/ET(A) 10/1

Lecture 9: 9/24/2002CS170 Fall Arithmetic Mean with Normalized Execution Times 2/2 Normalize to A M/C AM/C B P1110 P210.1 GM11 Normalize to B M/C AM/C B P10.11 P2101 GM11 According to GM, machine A and B have the same speed Normalized results should be combined with the geometric mean and not arithmetic mean Geometric mean independent of which machine is used a reference because of the property GM Geometric Mean Take ratio of means or means of ratios produces the same results

Lecture 9: 9/24/2002CS170 Fall Geometric Mean does not track total ET M/C AM/C B P1110 P AM GM suggested that A and B have same performance Advantages  independent of running times of individual programs  Does not matter which machine used for normalization Disadvantage  Does not predict execution time AM of execution times (proportional to total ET) suggests that B is 9.1 times faster than A

Lecture 9: 9/24/2002CS170 Fall Harmonic Mean When performance is expressed as a rate, such as MIPS, or MFLOPS (million floating point operations per second) see page 99 for a discussion of MFLOPS Harmonic mean tracks total execution (HM) Exercise 2.39 page 100

Lecture 9: 9/24/2002CS170 Fall Other pitfalls 1/2 Using hardware-independent metrics predict performance Use code size as measure of speed COPYRIGHT 1998 MORGAN KAUFMANN PUBLISHERS, INC. ALL RIGHTS RESERVED CDC 6600 runs Algol programs almost 6 times faster than B5500 CDC6600 programs are over three times as big as B5500 programs

Lecture 9: 9/24/2002CS170 Fall Other pitfalls 2/2 Synthetic benchmarks predict performance Artificial programs that are constructed to try to match characteristics of a large set of problems Examples Whetstone: measurements of Algol problems in a scientific and engineering environment, later converted to Fortran Dhrystone: benchmark for systems programming environment (originally written in Ada, then converted to C) Not interesting as real applications, and do not reflect program behavior Compiler and hardware optimizations can inflate performance

Lecture 9: 9/24/2002CS170 Fall Big Picture Execution time is the only valid measure of performance  Remember the problems with MIPS as a measure of performance Any measure that summarizes performance should reflect execution time Weighted arithmetic mean summarizes performance while tracking execution time