Jan. 5, 2000Systems Architecture II1 Machine Organization (CS 570) Lecture 2: Performance Evaluation and Benchmarking * Jeremy R. Johnson Wed. Oct. 4,

Slides:



Advertisements
Similar presentations
CS2100 Computer Organisation Performance (AY2014/2015) Semester 2.
Advertisements

TU/e Processor Design 5Z032 1 Processor Design 5Z032 The role of Performance Henk Corporaal Eindhoven University of Technology 2009.
1  1998 Morgan Kaufmann Publishers Chapter 2 Performance Text in blue is by N. Guydosh Updated 1/25/04*
100 Performance ENGR 3410 – Computer Architecture Mark L. Chang Fall 2006.
Lecture 7: 9/17/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
Computer Organization and Architecture 18 th March, 2008.
1 Introduction Rapidly changing field: –vacuum tube -> transistor -> IC -> VLSI (see section 1.4) –doubling every 1.5 years: memory capacity processor.
Chapter 4 Assessing and Understanding Performance Bo Cheng.
CIS629 Fall Lecture Performance Overview Execution time is the best measure of performance: simple, intuitive, straightforward. Two important.
1 CSE SUNY New Paltz Chapter 2 Performance and Its Measurement.
Performance D. A. Patterson and J. L. Hennessey, Computer Organization & Design: The Hardware Software Interface, Morgan Kauffman, second edition 1998.
Copyright © 1998 Wanda Kunkle Computer Organization 1 Chapter 2.5 Comparing and Summarizing Performance.
Computer ArchitectureFall 2007 © September 17, 2007 Karem Sakallah CS-447– Computer Architecture.
1  1998 Morgan Kaufmann Publishers and UCB Performance CEG3420 Computer Design Lecture 3.
Assessing and Understanding Performance B. Ramamurthy Chapter 4.
Chapter 4 Assessing and Understanding Performance
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.
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.
Computer Organization and Design Performance Montek Singh Mon, April 4, 2011 Lecture 13.
1 Computer Performance: Metrics, Measurement, & Evaluation.
Memory/Storage Architecture Lab Computer Architecture Performance.
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.
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.
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 CS465 Performance Revisited (Chapter 1) Be able to compare performance of simple system configurations and understand the performance implications of.
1 CS/COE0447 Computer Organization & Assembly Language CHAPTER 4 Assessing and Understanding Performance.
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.
Performance Lecture notes from MKP, H. H. Lee and S. Yalamanchili.
CEN 316 Computer Organization and Design Assessing and Understanding Performance Mansour AL Zuair.
CET Gannod1 Chapter 1 Fundamentals of Computer Design.
1 COMS 361 Computer Organization Title: Performance Date: 10/02/2004 Lecture Number: 3.
1  1998 Morgan Kaufmann Publishers How to measure, report, and summarize performance (suorituskyky, tehokkuus)? What factors determine the performance.
Nov. 15, 2000Systems Architecture II1 Machine Organization (CS 570) Lecture 8: Memory Hierarchy Design * Jeremy R. Johnson Wed. Nov. 15, 2000 *This lecture.
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.
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.
4. Performance 4.1 Introduction 4.2 CPU Performance and Its Factors
1  1998 Morgan Kaufmann Publishers Lectures for 2nd Edition Note: these lectures are often supplemented with other materials and also problems from the.
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.
COD Ch. 1 Introduction + The Role of Performance.
June 20, 2001Systems Architecture II1 Systems Architecture II (CS ) Lecture 1: Performance Evaluation and Benchmarking * Jeremy R. Johnson Wed.
CPEN Digital System Design Assessing and Understanding CPU Performance © Logic and Computer Design Fundamentals, 4 rd Ed., Mano Prentice Hall © Computer.
Measuring Performance II and Logic Design
Performance Lecture notes from MKP, H. H. Lee and S. Yalamanchili.
September 2 Performance Read 3.1 through 3.4 for Tuesday
Defining Performance Which airplane has the best performance?
Prof. Hsien-Hsin Sean Lee
CSCE 212 Chapter 4: Assessing and Understanding Performance
CS2100 Computer Organisation
Computer Performance He said, to speed things up we need to squeeze the clock.
Systems Architecture I
Systems Architecture II
Systems Architecture I (CS ) Lecture 16: Exceptions
Systems Architecture I (CS ) Lecture 17: Exceptions
Systems Architecture I
January 25 Did you get mail from Chun-Fa about assignment grades?
Computer Performance Read Chapter 4
Chapter 2: Performance CS 447 Jason Bakos Fall 2001 CS 447.
Computer Organization and Design Chapter 4
CS2100 Computer Organisation
Presentation transcript:

Jan. 5, 2000Systems Architecture II1 Machine Organization (CS 570) Lecture 2: Performance Evaluation and Benchmarking * Jeremy R. Johnson Wed. Oct. 4, 2000 *This lecture was derived from material in the text (Chap. 1) and material in the undergraduate text from Hennessy and Patterson. All figures from Computer Organization and Design: The Hardware/Software Approach, Second Edition, by David Patterson and John Hennessy, are copyrighted material (COPYRIGHT 1998 MORGAN KAUFMANN PUBLISHERS, INC. ALL RIGHTS RESERVED).

Jan. 5, 2000Systems Architecture II2 Introduction Objective: To quantify performance and relate performance to design parameters. Also to understand the role of benchmarking Execution Time (sec) = Inst/Program X Cycles/Inst (CPI) X Sec/Cycle Topics –Performance Definition –Performance parameters and equation –Benchmarking –Fallacies and Pitfalls: Amdahl’s law

Jan. 5, 2000Systems Architecture II3 Performance Definition Response Time Throughput Cost Example Performance X = 1/Execution Time X “X is n times faster than Y”  Performance X / Performance y = n Airplane Passengers Range (mi) Speed (mph) Throughput Boeing ,750 Boeing ,700 BAC/Sud Concorde ,200 Douglas DC ,424

Jan. 5, 2000Systems Architecture II4 Measuring Performance Execution time –Wallclock (elapsed time) –CPU time (system vs. user) –Limited accuracy Instruction count (simulator/hardware counters) Cycle count (simulator/hardware counters) Memory performance (simulator/hardware counters)

Jan. 5, 2000Systems Architecture II5 Performance Parameters and Equation Instruction count - depends on program, compiler, optimization flags, instruction set architecture Cycles Per Instruction (CPI) - depends on implementation of architecture (datapath, pipelining, parallelism, etc.) Clock rate - depends on implementation design and technology Execution Time (sec) = Inst/Program X Cycles/Inst (CPI) X Sec/Cycle

Jan. 5, 2000Systems Architecture II6 Benchmarking Want sample to use sample programs that approximate actual usage Beware of –small (artificial, kernel) benchmarks –synthetic benchmarks (Whetstone, Dhrystone) –Peak performance reports –use of parameters other than execution time (e.g. program size, MIPS) Make sure results are reproducible SPEC (System Performance Evalutation Corporation) –Collection of real world integer and floating point programs – –CPU95 (SPECint95, SPECfp95) - originate in 1989 –CPU2000 just out, also graphics, web and other benchmarkds

Jan. 5, 2000Systems Architecture II7 SPEC95

Jan. 5, 2000Systems Architecture II8

Jan. 5, 2000Systems Architecture II9 SPEC95 Doubling clock rate does not double performance

Jan. 5, 2000Systems Architecture II10 SPEC89 Compiler “enhancements” and performance

Jan. 5, 2000Systems Architecture II11 Summarizing Results Example Perf B /Perf A = 1001/110 = 9.1 Total execution time Arithmetic mean (weighted) Geometric mean (for ratios) - used by SPEC

Jan. 5, 2000Systems Architecture II12 SPECint95 Geometric mean of ratios compared to SPARC 10 Model 40 Dell Computer Co Dell Precision WorkStation Dell Computer Co Dell Precision WorkStation Dell Computer Co Precision WorkStation 410 (450MH Dell Computer Co Precision WorkStation 410 (650 M Dell Computer Co Precision WorkStation 410 (700 M Dell Computer Co Precision WorkStation 420 (600 M Dell Computer Co Precision WorkStation 420 (733 M Dell Computer Co Precision WorkStation 610 (450MH Dell Computer Co Precision Workstation 410 (450MH Dell Computer Co Precision Workstation 410 (500MH Dell Computer Co Precision Workstation 410 (550MH Dell Computer Co Precision Workstation 410 (600MH Dell Computer Co Precision Workstation Dell Computer Co Precision Workstation Dell Computer Co Precision Workstation 610 (450MH Dell Computer Co Precision Workstation 610 (500MH Dell Computer Co Precision Workstation 610 (500MH Dell Computer Co Precision Workstation 610 (550MH

Jan. 5, 2000Systems Architecture II13 Amdahl’s Law Execution Time After Improvement = Execution Time Unaffected + ( Execution Time Affected / Amount of Improvement ) Example: "Suppose a program runs in 100 seconds on a machine, with multiply responsible for 80 seconds of this time. How much do we have to improve the speed of multiplication if we want the program to run 4 times faster?" How about making it 5 times faster? Principle: Make common cases fast

Jan. 5, 2000Systems Architecture II14 Remember Performance is specific to a particular program/s –Total execution time is a consistent summary of performance For a given architecture performance increases come from: –increases in clock rate (without adverse CPI affects) –improvements in processor organization that lower CPI –compiler enhancements that lower CPI and/or instruction count Pitfall: expecting improvement in one aspect of a machine’s performance to affect the total performance

Jan. 5, 2000Systems Architecture II15 Principle of Locality Programs tend to reuse instructions and data that they have used recently Spatial –items whose addresses are near one another tend to be referenced close together in time Temporal –recently accessed items are likely to be accessed in the near future

Jan. 5, 2000Systems Architecture II16 Memory Hierarchy CPU Registers CACHECACHE Memory IO Device Size: 200 B Speed: 5 ns Size: 64 KB Speed: 10 ns Size: 32 MB Speed: 100 ns Size: 2 GB Speed: 5 ms

Jan. 5, 2000Systems Architecture II17 Typical Parameters Values in 1995

Jan. 5, 2000Systems Architecture II18 Memory Access Speed on DEC Alpha Clock Speed 500 MHz (= 2 ns clock rate) Registers (2 ns) L1 On-Chip (4 ns) L2 On-Chip (5 ns) L3 Off-Chip (30 ns) Memory (220 ns)

Jan. 5, 2000Systems Architecture II19 Performance Equation CPU Execution Time = (CPU clock cycles + Memory Stall Cycles) X Clock Cycle Memory Stall Cycles = =Number of misses X Miss penalty =IC X Misses per instruction X Miss penalty =IC X Memory references/instruction X Miss rate X Miss penalty Miss rate = fraction of cache accesses that result in a miss