Computer Engineering Rabie A. Ramadan Lecture 2. Table of Contents 2 Architecture Development and Styles Performance Measures Amdahl’s Law.

Slides:



Advertisements
Similar presentations
Computer Organization Lab 1 Soufiane berouel. Formulas to Remember CPU Time = CPU Clock Cycles x Clock Cycle Time CPU Clock Cycles = Instruction Count.
Advertisements

CS1104: Computer Organisation School of Computing National University of Singapore.
Performance Evaluation of Architectures Vittorio Zaccaria.
TU/e Processor Design 5Z032 1 Processor Design 5Z032 The role of Performance Henk Corporaal Eindhoven University of Technology 2009.
Evaluating Performance
Computer Performance CS350 Term Project-Spring 2001 Elizabeth Cramer Bryan Driskell Yassaman Shayesteh.
Computer Organization and Architecture 18 th March, 2008.
CSCE 212 Chapter 4: Assessing and Understanding Performance Instructor: Jason D. Bakos.
ENGS 116 Lecture 21 Performance and Quantitative Principles Vincent H. Berk September 26 th, 2008 Reading for today: Chapter , Amdahl article.
CIS629 Fall Lecture Performance Overview Execution time is the best measure of performance: simple, intuitive, straightforward. Two important.
Performance D. A. Patterson and J. L. Hennessey, Computer Organization & Design: The Hardware Software Interface, Morgan Kauffman, second edition 1998.
Computer Performance Evaluation: Cycles Per Instruction (CPI)
9/16/2004Comp 120 Fall September 16 Assignment 4 due date pushed back to 23 rd, better start anywayAssignment 4 due date pushed back to 23 rd, better.
Computer Architecture Lecture 2 Instruction Set Principles.
Chapter 4 Assessing and Understanding Performance
Fall 2001CS 4471 Chapter 2: Performance CS 447 Jason Bakos.
1 Chapter 4. 2 Measure, Report, and Summarize Make intelligent choices See through the marketing hype Key to understanding underlying organizational motivation.
1 ECE3055 Computer Architecture and Operating Systems Lecture 2 Performance Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia.
1 Measuring Performance Chris Clack B261 Systems Architecture.
CMSC 611: Advanced Computer Architecture Performance Some material adapted from Mohamed Younis, UMBC CMSC 611 Spr 2003 course slides Some material adapted.
CPU Performance Assessment As-Bahiya Abu-Samra *Moore’s Law *Clock Speed *Instruction Execution Rate - MIPS - MFLOPS *SPEC Speed Metric *Amdahl’s.
CMSC 611: Advanced Computer Architecture Benchmarking Some material adapted from Mohamed Younis, UMBC CMSC 611 Spr 2003 course slides Some material adapted.
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.
Copyright 1995 by Coherence LTD., all rights reserved (Revised: Oct 97 by Rafi Lohev, Oct 99 by Yair Wiseman, Sep 04 Oren Kapah) IBM י ב מ 7-1 Measuring.
Memory/Storage Architecture Lab Computer Architecture Performance.
1 Embedded Systems Computer Architecture. Embedded Systems2 Memory Hierarchy Registers Cache RAM Disk L2 Cache Speed (faster) Cost (cheaper per-byte)
1 CHAPTER 2 THE ROLE OF PERFORMANCE. 2 Performance Measure, Report, and Summarize Make intelligent choices Why is some hardware better than others for.
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.
CDA 3101 Discussion Section 09 CPU Performance. Question 1 Suppose you wish to run a program P with 7.5 * 10 9 instructions on a 5GHz machine with a CPI.
Computer Organization and Architecture Tutorial 1 Kenneth Lee.
Computer Engineering Rabie A. Ramadan Lecture 1. 2 Welcome Back.
1. 2 Table 4.1 Key characteristics of six passenger aircraft: all figures are approximate; some relate to a specific model/configuration of the aircraft.
1 CS/COE0447 Computer Organization & Assembly Language CHAPTER 4 Assessing and Understanding Performance.
Computer Architecture
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 – Last Lecture Bottom line performance measure is time Performance A = 1/Execution Time A Comparing Performance N = Performance A / Performance.
CEN 316 Computer Organization and Design Assessing and Understanding Performance Mansour AL Zuair.
Computer Organization (1) تنظيم الحاسبات (1)
CPU Performance using Different Parameters CS 250: Andrei D. Coronel, MS,CEH,PhD Cand.
Performance Enhancement. Performance Enhancement Calculations: Amdahl's Law The performance enhancement possible due to a given design improvement is.
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.
September 10 Performance Read 3.1 through 3.4 for Wednesday Only 3 classes before 1 st Exam!
Performance – Last Lecture Bottom line performance measure is time Performance A = 1/Execution Time A Comparing Performance N = Performance A / Performance.
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.
CMSC 611: Advanced Computer Architecture Performance & Benchmarks Some material adapted from Mohamed Younis, UMBC CMSC 611 Spr 2003 course slides Some.
Performance Computer Organization II 1 Computer Science Dept Va Tech January 2009 © McQuain & Ribbens Defining Performance Which airplane has.
Performance. Moore's Law Moore's Law Related Curves.
Lecture 2: Performance Evaluation
September 2 Performance Read 3.1 through 3.4 for Tuesday
Defining Performance Which airplane has the best performance?
CSCE 212 Chapter 4: Assessing and Understanding Performance
Chapter 1 Fundamentals of Computer Design
CS2100 Computer Organisation
CMSC 611: Advanced Computer Architecture
Performance of computer systems
Performance Cycle time of a computer CPU speed speed = 1 / cycle time
Performance of computer systems
CMSC 611: Advanced Computer Architecture
Parameters that affect it How to improve it and by how much
Performance Measurement and Analysis
Chapter 2: Performance CS 447 Jason Bakos Fall 2001 CS 447.
Computer Organization and Design Chapter 4
CS2100 Computer Organisation
Presentation transcript:

Computer Engineering Rabie A. Ramadan Lecture 2

Table of Contents 2 Architecture Development and Styles Performance Measures Amdahl’s Law

Architecture Development and Styles Performance is the main goal of any architecture Complex instructions Reduces the number of instructions to be used Small number of instructions to perform a job. Using different addressing modes that fits the required task Examples : Complex Instructions Set Computers (CISCs) such as : Intel PentiumTM, Motorola, MC68000TM, and the IBM & Macintosh PowerPCTM.

Architecture Development and Styles (Cont.) Speeding up some of the effective instructions More than 80% of the instructions executed are those using: Assignment statements, conditional branching and procedure calls. Simple assignment statements constitute almost 50% of those operations. Optimizing such instructions enhances the performance Example: Reduced Instructions Set Computers (RISCs) such as: Sun SPARCTM and MIPS machines.

Amdahl’s Law and Performance Measure Speedup : a measure of how a machine performs after some enhancement relative to its original performance.

Amdahl’s Law and Performance Measure (Cont.) Not all program instructions execution time can be enhanced May be part of it speedup due to the enhancement for a fraction of time For more than

Group Activity A machine for which a speedup of 30 is possible after applying an enhancement. If under certain conditions the enhancement was only possible for 30% of the time, what is the speedup due to this partial application of the enhancement?

Answer

Performance Measures

Performance analysis: How fast can a program be executed using a given computer? User Point of View Time taken to execute a given job (program) Lab Engineer Total amount of work done in a given time.

Performance Measures (Cont.) Definitions Clock Cycle Time The time between two consecutive rising (trailing) edges of a periodic clock signal Cycle Count (CC) The number of CPU clock cycles for executing a job

Performance Measures (Cont.) Cycle Time (CT) A mount of time taken by a cycle Clock Frequency (f) / Clock Rate f= 1/ CT

First Performance Measure The CPU time to execute a job is : CPU time = Clock Count x Clock Time

Performance Measures (Cont.) The average number of Clock Cycles Per Instruction (CPI): In case of the CPI per instruction is known : I i is the repetition time in the given job Not All instructions take the same number of clock cycles

Performance Measures (Cont.) The relation between the CPI and CPU Time:

Performance Measures (Cont.) Another Measure is the rate of instruction execution per unit time: Millions Instructions Per Second (MIPS)

Group Activity Drive CPU Time and MIPS in terms of “Clock Rate”?

Group Activity Consider computing the overall CPI for a machine A for which the following performance measures were recorded when executing a set of benchmark programs. Assume that the clock rate of the CPU is 200 MHz.

Answer Assuming the execution of 100 instructions, the overall CPI can be computed as:

Group Activity Suppose that the same set of benchmark programs considered above were executed on another machine, call it machine B, for which the following measures were recorded. What is the MIPS rating for the machine considered in the previous slide (machine A) and machine B assuming a clock rate of 200 MHz?

Answer

Group Activity Given the following benchmarks, compute the CPU time and MIPS?

Solution Be Carful using it as a performance measure. It does not consider the execution time.

More Performance Measures

Performance Measure Rate of floating-point instruction execution per unit time Million floating-point instructions per second (MFLOPS) Defined only for subset of instructions where floating point is used

Performance Measure (Cont.) Arithmetic Mean Gives a clear picture of the expected behavior of the system Used to compare different systems based on Benchmarks i is the execution time for the i th program n is the total number of programs in the set of benchmarks.

Performance Measure (Cont.) Example Note: We could not decide on which system to use due to no great deal of variability ProgramSystem A Execution Time System B Execution Time System C Execution Time v w x y z Average1180

Performance Measure (Cont.) Geometric Mean Gives a consistent measure with which to perform comparisons regardless of the distribution of the data. i is the execution time for the i th program n is the total number of programs in the set of benchmarks.

Performance Measure (Cont.) Example ProgramSystem A Execution Time System B Execution Time System C Execution Time v w x y z Geometric mean