CS203 – Advanced Computer Architecture

Slides:



Advertisements
Similar presentations
Prepared 7/28/2011 by T. O’Neil for 3460:677, Fall 2011, The University of Akron.
Advertisements

Computer Abstractions and Technology
The University of Adelaide, School of Computer Science
Parallel computer architecture classification
Performance Analysis of Multiprocessor Architectures
CS 203 A: Advanced Computer Architecture
1 ECE 570– Advanced Computer Architecture Dr. Patrick Chiang Winter 2013 Tues/Thurs 2-4PMPM.
1 Burroughs B5500 multiprocessor. These machines were designed to support HLLs, such as Algol. They used a stack architecture, but part of the stack was.
1 Copyright © 2012, Elsevier Inc. All rights reserved. Chapter 1 Fundamentals of Quantitative Design and Analysis Computer Architecture A Quantitative.
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.
Computer Architecture Lecture 2 Instruction Set Principles.
1 Introduction Background: CS 3810 or equivalent, based on Hennessy and Patterson’s Computer Organization and Design Text for CS/EE 6810: Hennessy and.
CPE 731 Advanced Computer Architecture Multiprocessor Introduction
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.
1 Copyright © 2012, Elsevier Inc. All rights reserved. Chapter 1 Fundamentals of Quantitative Design and Analysis Computer Architecture A Quantitative.
1 Copyright © 2012, Elsevier Inc. All rights reserved. Chapter 1 Fundamentals of Quantitative Design and Analysis Computer Architecture A Quantitative.
Lecture 2: Technology Trends and Performance Evaluation Performance definition, benchmark, summarizing performance, Amdahl’s law, and CPI.
1 Computer Performance: Metrics, Measurement, & Evaluation.
Computer Performance Computer Engineering Department.
1 Copyright © 2012, Elsevier Inc. All rights reserved. Chapter 1 Fundamentals of Quantitative Design and Analysis Computer Architecture A Quantitative.
The University of Adelaide, School of Computer Science
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.
Multiprocessing. Going Multi-core Helps Energy Efficiency William Holt, HOT Chips 2005 Adapted from UC Berkeley "The Beauty and Joy of Computing"
CDA 3101 Fall 2013 Introduction to Computer Organization Computer Performance 28 August 2013.
Advanced Computer Architecture Fundamental of Computer Design Instruction Set Principles and Examples Pipelining:Basic and Intermediate Concepts Memory.
From lecture slides for Computer Organization and Architecture: Designing for Performance, Eighth Edition, Prentice Hall, 2010 CS 211: Computer Architecture.
1 CS/COE0447 Computer Organization & Assembly Language CHAPTER 4 Assessing and Understanding Performance.
Performance Lecture notes from MKP, H. H. Lee and S. Yalamanchili.
1 Lecture 2: Performance, MIPS ISA Today’s topics:  Performance equations  MIPS instructions Reminder: canvas and class webpage:
4. Performance 4.1 Introduction 4.2 CPU Performance and Its Factors
Lecture 3: Computer Architectures
3/12/2013Computer Engg, IIT(BHU)1 INTRODUCTION-1.
EGRE 426 Computer Organization and Design Chapter 4.
Performance 9 ways to fool the public Old Chapter 4 New Chapter 1.4.
Computer Architecture Lecture 24 Parallel Processing Ralph Grishman November 2015 NYU.
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,
CS203 – Advanced Computer Architecture Performance Evaluation.
Classification of parallel computers Limitations of parallel processing.
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 Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and from the Patterson and Hennessy Text.
Measuring Performance II and Logic Design
Auburn University COMP8330/7330/7336 Advanced Parallel and Distributed Computing Parallel Hardware Dr. Xiao Qin Auburn.
What is *Computer Architecture*
Lecture 2: Performance Today’s topics:
Lecture 2: Performance Evaluation
18-447: Computer Architecture Lecture 30B: Multiprocessors
4- Performance Analysis of Parallel Programs
September 2 Performance Read 3.1 through 3.4 for Tuesday
ECE 4100/6100 Advanced Computer Architecture Lecture 1 Performance
Defining Performance Which airplane has the best performance?
Parallel computer architecture classification
Morgan Kaufmann Publishers
Morgan Kaufmann Publishers
CSCE 212 Chapter 4: Assessing and Understanding Performance
The University of Adelaide, School of Computer Science
Performance of computer systems
The University of Adelaide, School of Computer Science
Performance of computer systems
Computer Evolution and Performance
The University of Adelaide, School of Computer Science
Chapter 4 Multiprocessors
Performance of computer systems
Parameters that affect it How to improve it and by how much
The University of Adelaide, School of Computer Science
Utsunomiya University
Computer Organization and Design Chapter 4
Presentation transcript:

CS203 – Advanced Computer Architecture Performance Evaluation

Performance trends Performance Trends

Arch. & Circuit Improvement Clock Rate Historically the clock rates of microprocessors have increased exponentially Highest clock rate of intel processors in every year from 1990 to 2008 Due to process improvements Deeper pipeline Circuit design techniques If trend kept up, today’s clock rate would be > 30GHz! Arch. & Circuit Improvement 1.19 curve corresponds to process improvements alone. All other improvement due to architecture and circuits. Process Improvement Performance Trends

Single Processor Performance Move to multi-processor (Power Wall) RISC Multicore processor Instruction Level Parallelism (ILP) Performance Trends

Classes of Computers Personal Mobile Device (PMD) Desktop Computing e.g. start phones, tablet computers Emphasis on energy efficiency and real-time Desktop Computing Emphasis on price-performance Servers Emphasis on availability, scalability, throughput Clusters / Warehouse Scale Computers Used for “Software as a Service (SaaS)” Emphasis on availability and price-performance Sub-class: Supercomputers, emphasis: floating-point performance and fast internal networks Embedded Computers Emphasis: price Performance Trends

Current Trends in Architecture Cannot continue to leverage Instruction-Level parallelism (ILP) Single processor performance improvement ended in 2003 due to the power wall New models for performance: Data-level parallelism (DLP) Thread-level parallelism (TLP) Request-level parallelism (RLP) These require explicit restructuring of the application Performance Trends

Parallelism Classes of parallelism in applications: Data-Level Parallelism Task-Level Parallelism Classes of architectural parallelism: Instruction-Level Parallelism (ILP) Vector architectures/Graphic Processor Units (GPUs) Thread-Level Parallelism (Multi-processors) Request-Level Parallelism (Server clusters) Performance Trends

Flynn’s Taxonomy Single instruction stream, single data stream (SISD) Single instruction stream, multiple data streams (SIMD) Vector architectures Multimedia extensions Graphics processor units Multiple instruction streams, single data stream (MISD) No commercial implementation Multiple instruction streams, multiple data streams (MIMD) Tightly-coupled MIMD Loosely-coupled MIMD Performance Trends

Measuring performance

Measuring Performance Typical performance metrics: Response time Throughput Speedup of X relative to Y Execution timeY / Execution timeX Execution time Wall clock time: includes all system overheads CPU time: only computation time Benchmarks Kernels (e.g. matrix multiply) Toy programs (e.g. sorting) Synthetic benchmarks (e.g. Dhrystone) Benchmark suites (e.g. SPEC06fp, TPC-C, SPLASH) Measuring Performance

Fundamental Equations of Performance We typically use IPC (instructions per cycle) Measuring Performance

Measuring Performance More equations Different instruction types having different CPIs Measuring Performance

Benchmarks Benchmarks

What to use as a Benchmark? Real programs: Porting problem; too complex to understand. Kernels Computationally intense piece of real program. Benchmark suites Spec: standard performance evaluation corporation Scientific/engineeing/general purpose Integer and floating point New set every so many years (95,98,2000,2006) Tpc benchmarks: For commercial systems Tpc-b, tpc-c, tpc-h, and tpc-w Embedded benchmarks Media benchmarks Others, poor choices Toy benchmarks (e.g. quicksort, matrix multiply) Synthetic benchmarks (not real) Benchmarks

Aggregate performance measures For a group of programs, test suite Execution time: weighted arithmetic mean Program with longest execution time dominates Speedup: geometric mean Benchmarks

Geometric Mean Example Program A Program B Arithmetic Mean Machine 1 10 sec 100 sec 55 sec Machine 2 1 sec 200 sec 100.5 sec Reference 1 10000 sec 5050 sec Reference 2 1000 sec 550 sec Comparison independent of reference machine Which machine is faster? Program A Program B Arithmetic Geometric Wrt Reference 1 (speedup) Machine 1 10 100 55 31.6 Machine 2 50 75 70.7 Wrt Reference 2 (speedup) 5 52.5 22.4 1.4x 2.2x Geometric mean of speedup comparison are independent of reference machine Machine 2 has 2.2x speedup compared to machine 1. 5.3x 2.2x Benchmarks

Principles of Computer design

Principles of Computer Design Take Advantage of Parallelism e.g. multiple processors, disks, memory banks, pipelining, multiple functional units Principle of Locality Reuse of data and instructions Focus on the Common Case Amdahl’s Law Principles of Computer Design

Principles of Computer Design Amdahl’s Law Speedup is due to enhancement(E) Let F be the fraction where enhancement is applied Also, called parallel fraction and (1-F) as the serial fraction Principles of Computer Design

Principles of Computer Design Amdahl’s Law Law of diminishing returns Program with execution time T Fraction f of the program can be sped up by a factor s New execution time, enhanced, is Te Optimize the common case! Execute rare case in software (e.g. exceptions) Principles of Computer Design

Principles of Computer Design Gustafson’s Law Amdahl’s law assume constant workload As more cores are integrated, the workloads are also growing! Let s be the serial time of a program and p the time that can be done in parallel Let f = p/(s+p), fraction of exec. time that is run in parallel s p Principles of Computer Design

Principles of Computer Design Gustafson’s Law For same execution time, run larger workload s = serial time of a program p = parallel time, c = number of cores Let f = p/(s+p), fraction of exec. time that is run in parallel s C cores p Principles of Computer Design