CS 258 Parallel Computer Architecture

Slides:



Advertisements
Similar presentations
POLITECNICO DI MILANO Parallelism in wonderland: are you ready to see how deep the rabbit hole goes? ILP: VLIW Architectures Marco D. Santambrogio:
Advertisements

TU/e Processor Design 5Z0321 Processor Design 5Z032 Computer Systems Overview Chapter 1 Henk Corporaal Eindhoven University of Technology 2011.
COE 502 / CSE 661 Parallel and Vector Architectures Prof. Muhamed Mudawar Computer Engineering Department King Fahd University of Petroleum and Minerals.
ECE669 L15: Mid-term Review March 25, 2004 ECE 669 Parallel Computer Architecture Lecture 15 Mid-term Review.
ECE669 L1: Course Introduction January 29, 2004 ECE 669 Parallel Computer Architecture Lecture 1 Course Introduction Prof. Russell Tessier Department of.
1 COMP 206: Computer Architecture and Implementation Montek Singh Mon, Dec 5, 2005 Topic: Intro to Multiprocessors and Thread-Level Parallelism.
Introduction What is Parallel Algorithms? Why Parallel Algorithms? Evolution and Convergence of Parallel Algorithms Fundamental Design Issues.
Chapter 17 Parallel Processing.
CIS 629 Parallel Arch. Intro Parallel Computer Architecture Slides blended from those of David Patterson, CS 252 and David Culler, CS 258 UC Berkeley.
Why Parallel Architecture? Todd C. Mowry CS 495 January 15, 2002.
Parallel Processing Architectures Laxmi Narayan Bhuyan
Implications for Programming Models Todd C. Mowry CS 495 September 12, 2002.
CPE 731 Advanced Computer Architecture Multiprocessor Introduction
CMSC 611: Advanced Computer Architecture Parallel Computation Most slides adapted from David Patterson. Some from Mohomed Younis.
0 Introduction to parallel processing Chapter 1 from Culler & Singh Winter 2007.
Computer performance.
Lecture 2: Technology Trends and Performance Evaluation Performance definition, benchmark, summarizing performance, Amdahl’s law, and CPI.
Parallel Computing Laxmikant Kale
Multi-core architectures. Single-core computer Single-core CPU chip.
Multi-Core Architectures
ECE 568: Modern Comp. Architectures and Intro to Parallel Processing Fall 2006 Ahmed Louri ECE Department.
Problem is to compute: f(latitude, longitude, elevation, time)  temperature, pressure, humidity, wind velocity Approach: –Discretize the.
1 Today About the class Introductions Any new people? Start of first module: Parallel Computing.
ECE 569: High-Performance Computing: Architectures, Algorithms and Technologies Spring 2006 Ahmed Louri ECE Department.
INEL6067 Technology ---> Limitations & Opportunities Wires -Area -Propagation speed Clock Power VLSI -I/O pin limitations -Chip area -Chip crossing delay.
CS433 Spring 2001 Introduction Laxmikant Kale. 2 Course objectives and outline You will learn about: –Parallel programming models Emphasis on 3: message.
1 Lecture 1: Parallel Architecture Intro Course organization:  ~18 parallel architecture lectures (based on text)  ~10 (recent) paper presentations 
3/12/2013Computer Engg, IIT(BHU)1 PARALLEL COMPUTERS- 2.
CS 258 Parallel Computer Architecture Lecture 1 Introduction to Parallel Architecture January 23, 2002 Prof John D. Kubiatowicz.
Jan. 5, 2000Systems Architecture II1 Machine Organization (CS 570) Lecture 1: Overview of High Performance Processors * Jeremy R. Johnson Wed. Sept. 27,
CDA-5155 Computer Architecture Principles Fall 2000 Multiprocessor Architectures.
High Performance Computing1 High Performance Computing (CS 680) Lecture 2a: Overview of High Performance Processors * Jeremy R. Johnson *This lecture was.
VU-Advanced Computer Architecture Lecture 1-Introduction 1 Advanced Computer Architecture CS 704 Advanced Computer Architecture Lecture 1.
Lecture 13 Parallel Processing. 2 What is Parallel Computing? Traditionally software has been written for serial computation. Parallel computing is the.
Feeding Parallel Machines – Any Silver Bullets? Novica Nosović ETF Sarajevo 8th Workshop “Software Engineering Education and Reverse Engineering” Durres,
Fall 2012 Parallel Computer Architecture Lecture 4: Multi-Core Processors Prof. Onur Mutlu Carnegie Mellon University 9/14/2012.
These slides are based on the book:
CS203 – Advanced Computer Architecture
Auburn University COMP8330/7330/7336 Advanced Parallel and Distributed Computing Parallel Hardware Dr. Xiao Qin Auburn.
Introduction to Parallel Processing
Lecture 2: Performance Evaluation
15-740/ Computer Architecture Lecture 3: Performance
Introduction.
CMSC 611: Advanced Computer Architecture
Chapter1 Fundamental of Computer Design
Parallel Computers Definition: “A parallel computer is a collection of processing elements that cooperate and communicate to solve large problems fast.”
Auburn University COMP7330/7336 Advanced Parallel and Distributed Computing Parallel Programming Models Dr. Xiao Qin Auburn.
Architecture & Organization 1
CS775: Computer Architecture
CMSC 611: Advanced Computer Architecture
Architecture & Organization 1
Shared Memory Multiprocessors
Lecture 14: Reducing Cache Misses
Lecture 1: Parallel Architecture Intro
Performance of computer systems
Course Description: Parallel Computer Architecture
Parallel Processing Architectures
Parallel Computer Architecture
/ Computer Architecture and Design
Performance of computer systems
Computer Evolution and Performance
What is Computer Architecture?
Latency Tolerance: what to do when it just won’t go away
COMS 361 Computer Organization
What is Computer Architecture?
What is Computer Architecture?
Chapter 4 Multiprocessors
Performance of computer systems
The University of Adelaide, School of Computer Science
CSE378 Introduction to Machine Organization
Presentation transcript:

CS 258 Parallel Computer Architecture CS 258, Spring 99 David E. Culler Computer Science Division U.C. Berkeley CS258 S99

Today’s Goal: Introduce you to Parallel Computer Architecture Answer your questions about CS 258 Provide you a sense of the trends that shape the field 12/8/2018 CS258 S99

What will you get out of CS258? In-depth understanding of the design and engineering of modern parallel computers technology forces fundamental architectural issues naming, replication, communication, synchronization basic design techniques cache coherence, protocols, networks, pipelining, … methods of evaluation underlying engineering trade-offs from moderate to very large scale across the hardware/software boundary 12/8/2018 CS258 S99

Departmenatal Servers Will it be worthwhile? Absolutely! even through few of you will become PP designers The fundamental issues and solutions translate across a wide spectrum of systems. Crisp solutions in the context of parallel machines. Pioneered at the thin-end of the platform pyramid on the most-demanding applications migrate downward with time Understand implications for software SuperServers Departmenatal Servers Workstations Personal Computers 12/8/2018 CS258 S99

Am I going to read my book to you? NO! Book provides a framework and complete background, so lectures can be more interactive. You do the reading We’ll discuss it Projects will go “beyond” 12/8/2018 CS258 S99

What is Parallel Architecture? A parallel computer is a collection of processing elements that cooperate to solve large problems fast Some broad issues: Resource Allocation: how large a collection? how powerful are the elements? how much memory? Data access, Communication and Synchronization how do the elements cooperate and communicate? how are data transmitted between processors? what are the abstractions and primitives for cooperation? Performance and Scalability how does it all translate into performance? how does it scale? 12/8/2018 CS258 S99

Why Study Parallel Architecture? Role of a computer architect: To design and engineer the various levels of a computer system to maximize performance and programmability within limits of technology and cost. Parallelism: Provides alternative to faster clock for performance Applies at all levels of system design Is a fascinating perspective from which to view architecture Is increasingly central in information processing 12/8/2018 CS258 S99

Why Study it Today? History: diverse and innovative organizational structures, often tied to novel programming models Rapidly maturing under strong technological constraints The “killer micro” is ubiquitous Laptops and supercomputers are fundamentally similar! Technological trends cause diverse approaches to converge Technological trends make parallel computing inevitable Need to understand fundamental principles and design tradeoffs, not just taxonomies Naming, Ordering, Replication, Communication performance 12/8/2018 CS258 S99

Is Parallel Computing Inevitable? Application demands: Our insatiable need for computing cycles Technology Trends Architecture Trends Economics Current trends: Today’s microprocessors have multiprocessor support Servers and workstations becoming MP: Sun, SGI, DEC, COMPAQ!... Tomorrow’s microprocessors are multiprocessors 12/8/2018 CS258 S99

Application Trends Application demand for performance fuels advances in hardware, which enables new appl’ns, which... Cycle drives exponential increase in microprocessor performance Drives parallel architecture harder most demanding applications Range of performance demands Need range of system performance with progressively increasing cost New Applications More Performance 12/8/2018 CS258 S99

Speedup Speedup (p processors) = For a fixed problem size (input data set), performance = 1/time Speedup fixed problem (p processors) = Performance (p processors) Performance (1 processor) Time (1 processor) Time (p processors) 12/8/2018 CS258 S99

Commercial Computing Relies on parallelism for high end Computational power determines scale of business that can be handled Databases, online-transaction processing, decision support, data mining, data warehousing ... TPC benchmarks (TPC-C order entry, TPC-D decision support) Explicit scaling criteria provided Size of enterprise scales with size of system Problem size not fixed as p increases. Throughput is performance measure (transactions per minute or tpm) 12/8/2018 CS258 S99

TPC-C Results for March 1996 Parallelism is pervasive Small to moderate scale parallelism very important Difficult to obtain snapshot to compare across vendor platforms 12/8/2018 CS258 S99

Scientific Computing Demand 12/8/2018 CS258 S99

Engineering Computing Demand Large parallel machines a mainstay in many industries Petroleum (reservoir analysis) Automotive (crash simulation, drag analysis, combustion efficiency), Aeronautics (airflow analysis, engine efficiency, structural mechanics, electromagnetism), Computer-aided design Pharmaceuticals (molecular modeling) Visualization in all of the above entertainment (films like Toy Story) architecture (walk-throughs and rendering) Financial modeling (yield and derivative analysis) etc. 12/8/2018 CS258 S99

Applications: Speech and Image Processing Also CAD, Databases, . . . 100 processors gets you 10 years, 1000 gets you 20 ! 12/8/2018 CS258 S99

Is better parallel arch enough? AMBER molecular dynamics simulation program Starting point was vector code for Cray-1 145 MFLOP on Cray90, 406 for final version on 128-processor Paragon, 891 on 128-processor Cray T3D 12/8/2018 CS258 S99

Summary of Application Trends Transition to parallel computing has occurred for scientific and engineering computing In rapid progress in commercial computing Database and transactions as well as financial Usually smaller-scale, but large-scale systems also used Desktop also uses multithreaded programs, which are a lot like parallel programs Demand for improving throughput on sequential workloads Greatest use of small-scale multiprocessors Solid application demand exists and will increase 12/8/2018 CS258 S99

- - - Little break - - - 12/8/2018 CS258 S99

Technology Trends Today the natural building-block is also fastest! 12/8/2018 CS258 S99

Can’t we just wait for it to get faster? Microprocessor performance increases 50% - 100% per year Transistor count doubles every 3 years DRAM size quadruples every 3 years Huge investment per generation is carried by huge commodity market 180 160 140 DEC 120 alpha 100 Integer FP IBM 80 HP 9000 RS6000 750 60 540 MIPS 40 MIPS Sun 4 M2000 M/120 20 260 1987 1988 1989 1990 1991 1992 12/8/2018 CS258 S99

Technology: A Closer Look Basic advance is decreasing feature size ( ) Circuits become either faster or lower in power Die size is growing too Clock rate improves roughly proportional to improvement in  Number of transistors improves like (or faster) Performance > 100x per decade clock rate < 10x, rest is transistor count How to use more transistors? Parallelism in processing multiple operations per cycle reduces CPI Locality in data access avoids latency and reduces CPI also improves processor utilization Both need resources, so tradeoff Fundamental issue is resource distribution, as in uniprocessors Proc $ Interconnect 12/8/2018 CS258 S99

Growth Rates 30% per year 40% per year 12/8/2018 CS258 S99

Architectural Trends Architecture translates technology’s gifts into performance and capability Resolves the tradeoff between parallelism and locality Current microprocessor: 1/3 compute, 1/3 cache, 1/3 off-chip connect Tradeoffs may change with scale and technology advances Understanding microprocessor architectural trends => Helps build intuition about design issues or parallel machines => Shows fundamental role of parallelism even in “sequential” computers 12/8/2018 CS258 S99

Phases in “VLSI” Generation 12/8/2018 CS258 S99

Architectural Trends Greatest trend in VLSI generation is increase in parallelism Up to 1985: bit level parallelism: 4-bit -> 8 bit -> 16-bit slows after 32 bit adoption of 64-bit now under way, 128-bit far (not performance issue) great inflection point when 32-bit micro and cache fit on a chip Mid 80s to mid 90s: instruction level parallelism pipelining and simple instruction sets, + compiler advances (RISC) on-chip caches and functional units => superscalar execution greater sophistication: out of order execution, speculation, prediction to deal with control transfer and latency problems Next step: thread level parallelism 12/8/2018 CS258 S99

How far will ILP go? Infinite resources and fetch bandwidth, perfect branch prediction and renaming real caches and non-zero miss latencies 12/8/2018 CS258 S99

Threads Level Parallelism “on board” Proc Proc Proc Proc MEM Micro on a chip makes it natural to connect many to shared memory dominates server and enterprise market, moving down to desktop Faster processors began to saturate bus, then bus technology advanced today, range of sizes for bus-based systems, desktop to large servers 12/8/2018 CS258 S99 No. of processors in fully configured commercial shared-memory systems

What about Multiprocessor Trends? 12/8/2018 CS258 S99

Bus Bandwidth 12/8/2018 CS258 S99

What about Storage Trends? Divergence between memory capacity and speed even more pronounced Capacity increased by 1000x from 1980-95, speed only 2x Gigabit DRAM by c. 2000, but gap with processor speed much greater Larger memories are slower, while processors get faster Need to transfer more data in parallel Need deeper cache hierarchies How to organize caches? Parallelism increases effective size of each level of hierarchy, without increasing access time Parallelism and locality within memory systems too New designs fetch many bits within memory chip; follow with fast pipelined transfer across narrower interface Buffer caches most recently accessed data Disks too: Parallel disks plus caching 12/8/2018 CS258 S99

Economics Commodity microprocessors not only fast but CHEAP Development costs tens of millions of dollars BUT, many more are sold compared to supercomputers Crucial to take advantage of the investment, and use the commodity building block Multiprocessors being pushed by software vendors (e.g. database) as well as hardware vendors Standardization makes small, bus-based SMPs commodity Desktop: few smaller processors versus one larger one? Multiprocessor on a chip? 12/8/2018 CS258 S99

Can we see some hard evidence? 12/8/2018 CS258 S99

Consider Scientific Supercomputing Proving ground and driver for innovative architecture and techniques Market smaller relative to commercial as MPs become mainstream Dominated by vector machines starting in 70s Microprocessors have made huge gains in floating-point performance high clock rates pipelined floating point units (e.g., multiply-add every cycle) instruction-level parallelism effective use of caches (e.g., automatic blocking) Plus economics Large-scale multiprocessors replace vector supercomputers 12/8/2018 CS258 S99

Raw Uniprocessor Performance: LINPACK 12/8/2018 CS258 S99

Raw Parallel Performance: LINPACK Even vector Crays became parallel X-MP (2-4) Y-MP (8), C-90 (16), T94 (32) Since 1993, Cray produces MPPs too (T3D, T3E) 12/8/2018 CS258 S99

500 Fastest Computers Number of systems u n s 11/93 11/94 11/95 11/96 50 100 150 200 250 300 350 PVP MPP SMP 319 106 284 239 63 187 313 198 110 73 12/8/2018 CS258 S99

Summary: Why Parallel Architecture? Increasingly attractive Economics, technology, architecture, application demand Increasingly central and mainstream Parallelism exploited at many levels Instruction-level parallelism Multiprocessor servers Large-scale multiprocessors (“MPPs”) Focus of this class: multiprocessor level of parallelism Same story from memory system perspective Increase bandwidth, reduce average latency with many local memories Spectrum of parallel architectures make sense Different cost, performance and scalability 12/8/2018 CS258 S99

Where is Parallel Arch Going? Old view: Divergent architectures, no predictable pattern of growth. Application Software System Software Systolic Arrays SIMD Architecture Message Passing Dataflow Shared Memory Uncertainty of direction paralyzed parallel software development! 12/8/2018 CS258 S99

Today Extension of “computer architecture” to support communication and cooperation Instruction Set Architecture plus Communication Architecture Defines Critical abstractions, boundaries, and primitives (interfaces) Organizational structures that implement interfaces (hw or sw) Compilers, libraries and OS are important bridges today 12/8/2018 CS258 S99

Modern Layered Framework CAD Multipr ogramming Shar ed addr ess Message passing Data parallel Database Scientific modeling Parallel applications Pr ogramming models Communication abstraction User/system boundary Compilation or library Operating systems support Communication har dwar e Physical communication medium Har e/softwar e boundary 12/8/2018 CS258 S99

How will we spend out time? http://www.cs.berkeley.edu/~culler/cs258-s99/schedule.html 12/8/2018 CS258 S99

How will grading work? 30% homeworks (6) 30% exam 30% project (teams of 2) 10% participation 12/8/2018 CS258 S99

Any other questions? 12/8/2018 CS258 S99