08/27/2002CS267-Lecture 11 CS267 Applications of Parallel Computers Lecture 1: Introduction Horst D. Simon

Slides:



Advertisements
Similar presentations
O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY Center for Computational Sciences Cray X1 and Black Widow at ORNL Center for Computational.
Advertisements

Slides Prepared from the CI-Tutor Courses at NCSA By S. Masoud Sadjadi School of Computing and Information Sciences Florida.
1 Computational models of the physical world Cortical bone Trabecular bone.
1 Chapter 1 Why Parallel Computing? An Introduction to Parallel Programming Peter Pacheco.
Chapter1 Fundamental of Computer Design Dr. Bernard Chen Ph.D. University of Central Arkansas.
Claude TADONKI Mines ParisTech – LAL / CNRS / INP 2 P 3 University of Oujda (Morocco) – October 7, 2011 High Performance Computing Challenges and Trends.
Parallel Programming Henri Bal Rob van Nieuwpoort Vrije Universiteit Amsterdam Faculty of Sciences.
CS 240A Applied Parallel Computing John R. Gilbert Thanks to Kathy Yelick and Jim Demmel at UCB for.
Introduction CS 524 – High-Performance Computing.
CS CS 5150 Software Engineering Lecture 19 Performance.
CS267 L1 IntroDemmel Sp 1999 CS267 / E233 Applications of Parallel Computers Lecture 1: Introduction 1/18/99 James Demmel
Parallel Programming Henri Bal Vrije Universiteit Faculty of Sciences Amsterdam.
Digital Design Haldun Hadimioglu Computer and Information Science 3/30/2003 CS 2204 Laboratory.
Introduction What is Parallel Algorithms? Why Parallel Algorithms? Evolution and Convergence of Parallel Algorithms Fundamental Design Issues.
09/22/2008CS49601 CS4960: Parallel Programming Guest Lecture: Parallel Programming for Scientific Computing Mary Hall September 22, 2008.
CS CS 5150 Software Engineering Lecture 25 Performance.
01/19/2005CS267-Lecture 11 CS267/E233 Applications of Parallel Computers Lecture 1: Introduction James Demmel
1 Lecture 1 Introduction to Parallel Computing Parallel Computing Fall 2008.
1 CS 501 Spring 2005 CS 501: Software Engineering Lecture 22 Performance of Computer Systems.
Parallel Algorithms - Introduction Advanced Algorithms & Data Structures Lecture Theme 11 Prof. Dr. Th. Ottmann Summer Semester 2006.
Lecture 1: Introduction to High Performance Computing.
01/17/2007CS267-Lecture 11 CS267/E233 Applications of Parallel Computers Lecture 1: Introduction Kathy Yelick
Introduction to Parallel Computing. Outline Introduction Large important problems require powerful computers Why powerful computers must be parallel processors.
1 Computer Science, University of Warwick Architecture Classifications A taxonomy of parallel architectures: in 1972, Flynn categorised HPC architectures.
Parallel Programming Henri Bal Vrije Universiteit Amsterdam Faculty of Sciences.
CSE 260 Parallel Computation Allan Snavely, Henri Casanova
Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI CSCI.
08/21/2012CS4230 CS4230 Parallel Programming Lecture 1: Introduction Mary Hall August 21,
Chapter1 Fundamental of Computer Design Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2010.
1 In Summary Need more computing power Improve the operating speed of processors & other components constrained by the speed of light, thermodynamic laws,
Operating System Review September 10, 2012Introduction to Computer Security ©2004 Matt Bishop Slide #1-1.
01/19/2005CS267-Lecture 11 CS267/E233 Applications of Parallel Computers Lecture 1: Introduction James Demmel
Seaborg Cerise Wuthrich CMPS Seaborg  Manufactured by IBM  Distributed Memory Parallel Supercomputer  Based on IBM’s SP RS/6000 Architecture.
Outline Course Administration Parallel Archtectures –Overview –Details Applications Special Approaches Our Class Computer Four Bad Parallel Algorithms.
SJSU SPRING 2011 PARALLEL COMPUTING Parallel Computing CS 147: Computer Architecture Instructor: Professor Sin-Min Lee Spring 2011 By: Alice Cotti.
Problem is to compute: f(latitude, longitude, elevation, time)  temperature, pressure, humidity, wind velocity Approach: –Discretize the.
CS267 L1 Intro CS267 Applications of Parallel Computers Lecture 1: Introduction David H. Bailey Based on previous notes by Prof. Jim Demmel and Prof. David.
CS 240A Applied Parallel Computing John R. Gilbert Thanks to Kathy Yelick and Jim Demmel at UCB for.
CSCI-455/522 Introduction to High Performance Computing Lecture 1.
CS 240A Applied Parallel Computing John R. Gilbert Thanks to Kathy Yelick and Jim Demmel at UCB for.
Computer Organization & Assembly Language © by DR. M. Amer.
Computing Environment The computing environment rapidly evolving ‑ you need to know not only the methods, but also How and when to apply them, Which computers.
CS 240A Applied Parallel Computing John R. Gilbert Thanks to Kathy Yelick and Jim Demmel at UCB for.
Department of Computer Science University of the West Indies Part II.
Outline Why this subject? What is High Performance Computing?
Moore’s Law and Its Future Mark Clements. 15/02/2007EADS 2 This Week – Moore’s Law History of Transistors and circuits The Integrated circuit manufacturing.
3/12/2013Computer Engg, IIT(BHU)1 INTRODUCTION-1.
Computer Organization Yasser F. O. Mohammad 1. 2 Lecture 1: Introduction Today’s topics:  Why computer organization is important  Logistics  Modern.
Computer Architecture
Computational Fluid Dynamics - Fall 2007 The syllabus CFD references (Text books and papers) Course Tools Course Web Site:
Towards a Digital Human Kathy Yelick EECS Department U.C. Berkeley.
1/50 University of Turkish Aeronautical Association Computer Engineering Department Ceng 541 Introduction to Parallel Computing Dr. Tansel Dökeroğlu
Hardware Trends CSE451 Andrew Whitaker. Motivation Hardware moves quickly OS code tends to stick around for a while “System building” extends way beyond.
Hardware Trends CSE451 Andrew Whitaker. Motivation Hardware moves quickly OS code tends to stick around for a while “System building” extends way beyond.
Software System Performance CS 560. Performance of computer systems In most computer systems:  The cost of people (development) is much greater than.
Computer Organization IS F242. Course Objective It aims at understanding and appreciating the computing system’s functional components, their characteristics,
BLUE GENE Sunitha M. Jenarius. What is Blue Gene A massively parallel supercomputer using tens of thousands of embedded PowerPC processors supporting.
History of Computers and Performance David Monismith Jan. 14, 2015 Based on notes from Dr. Bill Siever and from the Patterson and Hennessy Text.
INTRODUCTION TO HIGH PERFORMANCE COMPUTING AND TERMINOLOGY.
SPRING 2012 Assembly Language. Definition 2 A microprocessor is a silicon chip which forms the core of a microcomputer the concept of what goes into a.
Introduction to Parallel Computing: MPI, OpenMP and Hybrid Programming
Web: Parallel Computing Rabie A. Ramadan , PhD Web:
CS267/E233 Applications of Parallel Computers Lecture 1: Introduction
The University of Adelaide, School of Computer Science
Parallel Programming Lecture 1: Introduction
What is Parallel and Distributed computing?
Chapter 1 Introduction.
Dr. Tansel Dökeroğlu University of Turkish Aeronautical Association Computer Engineering Department Ceng 442 Introduction to Parallel.
Computer Evolution and Performance
Vrije Universiteit Amsterdam
Presentation transcript:

08/27/2002CS267-Lecture 11 CS267 Applications of Parallel Computers Lecture 1: Introduction Horst D. Simon

08/27/2002CS267-Lecture 12 Outline Introduction Large important problems require powerful computers Why powerful computers must be parallel processors Principles of parallel computing performance Structure of the course

08/27/2002CS267-Lecture 13 Why we need powerful computers

08/27/2002CS267-Lecture 14 Simulation: The Third Pillar of Science Traditional scientific and engineering paradigm: 1)Do theory or paper design. 2)Perform experiments or build system. Limitations: -Too difficult -- build large wind tunnels. -Too expensive -- build a throw-away passenger jet. -Too slow -- wait for climate or galactic evolution. -Too dangerous -- weapons, drug design, climate experimentation. Computational science paradigm: 3)Use high performance computer systems to simulate the phenomenon -Base on known physical laws and efficient numerical methods.

08/27/2002CS267-Lecture 15 Some Particularly Challenging Computations Science -Global climate modeling -Astrophysical modeling -Biology: genomics; protein folding; drug design -Computational Chemistry -Computational Material Sciences and Nanosciences Engineering -Crash simulation -Semiconductor design -Earthquake and structural modeling -Computational fluid dynamics -Combustion Business -Financial and economic modeling -Transaction processing, web services and search engines Defense -Nuclear weapons -- test by simulations -Cryptography

08/27/2002CS267-Lecture 16 Units of Measure in HPC High Performance Computing (HPC) units are: -Flop/s: floating point operations -Bytes: size of data Typical sizes are millions, billions, trillions… MegaMflop/s = 10 6 flop/secMbyte = 10 6 byte (also 2 20 = ) GigaGflop/s = 10 9 flop/secGbyte = 10 9 byte (also 2 30 = ) TeraTflop/s = flop/secTbyte = byte (also 2 40 = ) PetaPflop/s = flop/secPbyte = byte (also 2 50 = ) ExaEflop/s = flop/secEbyte = byte

08/27/2002CS267-Lecture 17 Economic Impact of HPC Airlines: -System-wide logistics optimization systems on parallel systems. -Savings: approx. $100 million per airline per year. Automotive design: -Major automotive companies use large systems (500+ CPUs) for: -CAD-CAM, crash testing, structural integrity and aerodynamics. -One company has 500+ CPU parallel system. -Savings: approx. $1 billion per company per year. Semiconductor industry: -Semiconductor firms use large systems (500+ CPUs) for -device electronics simulation and logic validation -Savings: approx. $1 billion per company per year. Securities industry: -Savings: approx. $15 billion per year for U.S. home mortgages.

08/27/2002CS267-Lecture 18 Global Climate Modeling Problem Problem is to compute: f(latitude, longitude, elevation, time)  temperature, pressure, humidity, wind velocity Approach: -Discretize the domain, e.g., a measurement point every 10 km -Devise an algorithm to predict weather at time t+1 given t Uses: -Predict major events, e.g., El Nino -Use in setting air emissions standards Source:

08/27/2002CS267-Lecture 19 Global Climate Modeling Computation One piece is modeling the fluid flow in the atmosphere -Solve Navier-Stokes problem -Roughly 100 Flops per grid point with 1 minute timestep Computational requirements: -To match real-time, need 5x flops in 60 seconds = 8 Gflop/s -Weather prediction (7 days in 24 hours)  56 Gflop/s -Climate prediction (50 years in 30 days)  4.8 Tflop/s -To use in policy negotiations (50 years in 12 hours)  288 Tflop/s To double the grid resolution, computation is at least 8x State of the art models require integration of atmosphere, ocean, sea-ice, land models, plus possibly carbon cycle, geochemistry and more Current models are coarser than this

High Resolution Climate Modeling on NERSC-3 – P. Duffy, et al., LLNL

08/27/2002CS267-Lecture 111 Comp. Science : A 1000 year climate simulation Warren Washington and Jerry Meehl, National Center for Atmospheric Research; Bert Semtner, Naval Postgraduate School; John Weatherly, U.S. Army Cold Regions Research and Engineering Lab Laboratory et al. A 1000-year simulation demonstrates the ability of the new Community Climate System Model (CCSM2) to produce a long-term, stable representation of the earth’s climate. 760,000 processor hours used h.pdf

08/27/2002CS267-Lecture 112 Comp. Science: High Resolution Global Coupled Ocean/Sea Ice Model Mathew E. Maltrud, Los Alamos National Laboratory; Julie L. McClean, Naval Postgraduate School. The objective of this project is to couple a high- resolution ocean general circulation model with a high- resolution dynamic-thermodynamic sea ice model in a global context. Currently, such simulations are typically performed with a horizontal grid resolution of about 1 degree. This project is running a global ocean circulation model with horizontal resolution of approximately 1/10th degree. Allows resolution of geographical features critical for climate studies such as Canadian Archipelago pdf

08/27/2002CS267-Lecture 113 Parallel Computing in Web Search Functional parallelism: crawling, indexing, sorting Parallelism between queries: multiple users Finding information amidst junk Preprocessing of the web data set to help find information General themes of sifting through large, unstructured data sets: -when to put white socks on sale -what advertisements should you receive -finding medical problems in a community

08/27/2002CS267-Lecture 114 Document Retrieval Computation Approach: -Store the documents in a large (sparse) matrix -Use Latent Semantic Indexing (LSI), or related algorithms to “partition” -Needs large sparse matrix-vector multiply # keywords ~100K # documents ~= 10 M Matrix is compressed “Random” memory access Scatter/gather vs. cache miss per 2Flops Ten million documents in typical matrix. Web storage increasing 2x every 5 months. Similar ideas may apply to image retrieval. x

08/27/2002CS267-Lecture 115 Transaction Processing Parallelism is natural in relational operators: select, join, etc. Many difficult issues: data partitioning, locking, threading. (mar. 15, 1996)

08/27/2002CS267-Lecture 116 Why powerful computers are parallel

08/27/2002CS267-Lecture 117 Technology Trends: Microprocessor Capacity 2X transistors/Chip Every 1.5 years Called “Moore’s Law” Moore’s Law Microprocessors have become smaller, denser, and more powerful. Gordon Moore (co-founder of Intel) predicted in 1965 that the transistor density of semiconductor chips would double roughly every 18 months. Slide source: Jack Dongarra

08/27/2002CS267-Lecture 118 Impact of Device Shrinkage What happens when the feature size shrinks by a factor of x ? Clock rate goes up by x -actually less than x, because of power consumption Transistors per unit area goes up by x 2 Die size also tends to increase -typically another factor of ~x Raw computing power of the chip goes up by ~ x 4 ! -of which x 3 is devoted either to parallelism or locality

08/27/2002CS267-Lecture 119 Microprocessor Transistors

08/27/2002CS267-Lecture 120 Microprocessor Clock Rate

08/27/2002CS267-Lecture 121 Empirical Trends: Microprocessor Performance

08/27/2002CS267-Lecture 122 SIA Projections for Microprocessors Compute power ~1/(Feature Size) Year of Introduction Feature Size (microns) & Million Transistors per chip Feature Size (microns) Transistors per chip x 10**(-6) based on F.S.Preston, 1997

08/27/2002CS267-Lecture 123 But there are limiting forces: Increased cost and difficulty of manufacturing Moore’s 2 nd law (Rock’s law) Demo of 0.06 micron CMOS

08/27/2002CS267-Lecture 124 How fast can a serial computer be? Consider the 1 Tflop/s sequential machine: -Data must travel some distance, r, to get from memory to CPU. -Go get 1 data element per cycle, this means times per second at the speed of light, c = 3x10 8 m/s. Thus r < c/10 12 = 0.3 mm. Now put 1 Tbyte of storage in a 0.3 mm x 0.3 mm area: -Each word occupies about 3 square Angstroms, or the size of a small atom. r = 0.3 mm 1 Tflop/s, 1 Tbyte sequential machine

08/27/2002CS267-Lecture 125 Microprocessor Transistors and Parallelism Bit-Level Parallelism Instruction-Level Parallelism Thread-Level Parallelism?

08/27/2002CS267-Lecture 126 “Automatic” Parallelism in Modern Machines Bit level parallelism: within floating point operations, etc. Instruction level parallelism (ILP): multiple instructions execute per clock cycle. Memory system parallelism: overlap of memory operations with computation. OS parallelism: multiple jobs run in parallel on commodity SMPs. There are limitations to all of these! Thus to achieve high performance, the programmer needs to identify, schedule and coordinate parallel tasks and data.

08/27/2002CS267-Lecture 127 The Opportunity: Dramatic Advances in Computing Terascale Today, Petascale Tomorrow , Peak Teraflops Increased Use of Parallelism Microprocessor Advances MICROPROCESSORS 2x increase in microprocessor speeds every months (“Moore’s Law”) PARALLELISM More and more processors being used on single problem INNOVATIVE DESIGNS Processors-in-Memory HTMT IBM “Blue Gene” Innovative Designs

08/27/2002CS267-Lecture 128 Technology Trends in Parallel Computers

08/27/2002CS267-Lecture 129 Microprocessors have made desktop computing in 2000 what supercomputing was in Massive Parallelism has changed the “high end” completely. Today clusters of Symmetric Multiprocessors are the standard supercomputer architecture. Nevertheless, the microprocessor revolution will continue with little attenuation for ~10 years.

08/27/2002CS267-Lecture 130 A Parallel Computer Today: NERSC-3 Vital Statistics 5 Teraflop/s Peak Performance – 3.05 Teraflop/s with Linpack -208 nodes, 16 CPUs per node at 1.5 Gflop/s per CPU -“Worst case” Sustained System Performance measure.358 Tflop/s (7.2%) -“Best Case” Gordon Bell submission 2.46 on 134 nodes (77%) 4.5 TB of main memory -140 nodes with 16 GB each, 64 nodes with 32 GBs, and 4 nodes with 64 GBs. 40 TB total disk space -20 TB formatted shared, global, parallel, file space; 15 TB local disk for system usage Unique 512 way Double/Single switch configuration

08/27/2002CS267-Lecture 131 TOP500 – June 2002 (see

08/27/2002CS267-Lecture 132 TOP500 - Performance My Laptop

08/27/2002CS267-Lecture 133 Manufacturers

08/27/2002CS267-Lecture 134 Manufacturers

08/27/2002CS267-Lecture 135 Processor Type

08/27/2002CS267-Lecture 136 Chip Technology

08/27/2002CS267-Lecture 137 Architectures Y-MP C90 Sun HPC Paragon CM5 T3D T3E SP2 Cluster of Sun HPC ASCI Red CM2 VP500 SX3

08/27/2002CS267-Lecture 138 NOW - Cluster

Why do we have only commodity components?

Dead Supercomputer Society ACRI Alliant American Supercomputer Ametek Applied Dynamics Astronautics BBN CDC Convex Cray Computer Cray Research Culler-Harris Culler Scientific Cydrome Dana/Ardent/Stellar/Stardent Denelcor Elexsi ETA Systems Evans and Sutherland Computer Floating Point Systems Galaxy YH-1 Goodyear Aerospace MPP Gould NPL Guiltech Intel Scientific Computers International Parallel Machines Kendall Square Research Key Computer Laboratories MasPar Meiko Multiflow Myrias Numerix Prisma Thinking Machines Saxpy Scientific Computer Systems (SCS) Soviet Supercomputers Supertek Supercomputer Systems Suprenum Vitesse Electronics

08/27/2002CS267-Lecture 141 Warm Up Homework Assignment

08/27/2002CS267-Lecture 142 The Parallel Computing Challenge: improving real performance of scientific applications , Teraflops 1996 Peak Performance is skyrocketing l In 1990’s, peak performance increased 100x; in 2000’s, it will increase 1000x But... l Efficiency declined from 40-50% on the vector supercomputers of 1990s to as little as 5-10% on parallel supercomputers of today Close the gap through... l Mathematical methods and algorithms that achieve high performance on a single processor and scale to thousands of processors l More efficient programming models for massively parallel supercomputers l Parallel Tools Performance Gap Peak Performance Real Performance

08/27/2002CS267-Lecture 143 Performance Levels Peak advertised performance (PAP) -You can’t possibly compute faster than this speed LINPACK (TPP) -The “hello world” program for parallel computing Gordon Bell Prize winning applications performance -The right application/algorithm/platform combination plus years of work Average sustained applications performance -What one reasonable can expect for standard applications When reporting performance results, these levels are often confused, even in reviewed publications

08/27/2002CS267-Lecture 144 Performance Levels (for example on NERSC-3) Peak advertised performance (PAP): 5 Tflop/s LINPACK (TPP): 3.05 Tflop/s Gordon Bell Prize winning applications performance : 2.46 Tflop/s -Material Science application at SC01 Average sustained applications performance: ~0.4 Tflop/s -Less than 10% peak!

08/27/2002CS267-Lecture 145 First Assignment See home page for details. Find an application of parallel computing and build a web page describing it. -Choose something from your research area. -Or from the web or elsewhere. Create a web page describing the application. -Describe the application and provide a reference (or link) -Describe the platform where this application was run -Find peak and LINPACK performance for the platform and its rank on the TOP500 list -Find performance of your selected application -What ratio of sustained to peak performance is reported? -Evaluate project: How did the application scale? What were the major difficulties in obtaining good performance? What tools and algorithms were used? Send us (Horst and David) the link and add the webpage to your portfolio Due next week, Thursday (9/5).

08/27/2002CS267-Lecture 146 Course Organization

08/27/2002CS267-Lecture 147 Schedule of Topics Introduction Parallel Programming Models and Machines -Shared Memory and Multithreading -Distributed Memory and Message Passing -Data parallelism Sources of Parallelism in Simulation Tools -Languages (UPC) -Performance Tools -Visualization -Environments Algorithms -Dense Linear Algebra -Partial Differential Equations (PDEs) -Particle methods -Load balancing, synchronization techniques -Sparse matrices Applications: biology, climate, combustion, astrophysics Project Reports

08/27/2002CS267-Lecture 148 Reading Materials Some on-line texts: -Demmel’s notes from CS267 Spring 1999, which are similar to 2000 and However, they contain links to html notes from Yelick’s notes from Fall Ian Foster’s book, “Designing and Building Parallel Programming”. - Recommended text: -“Sourcebook for Parallel Computing”, by Dongarra, Foster, Fox,.. -Available in bookstores in November 2002; now available as a reader or on CD; Potentially Useful -“Performance Optimization of Numerically Intensive Codes” by Stefan Goedecker and Adolfy Hoisie -This is a practical guide to optimization, mostly for those of you who have never done any optimization

08/27/2002CS267-Lecture 149 Other Topics or Interest Field Trips -NERSC Visualization lab, Thursday, October 3 confirmed -Silicon Valley/Computer History Museum, Tuesday, November 26 ? Projects -MATLAB anyone? There is a parallel MATLAB available on seaborg -Student Volunteer at SC2002 in Baltimore, November 16 – 22, for the student volunteer programhttp://hpc.ncsa.uiuc.edu:8080/sc2002/svol_registration.html - for the conferencehttp:// Also of interest: -ACTS Parallel Tools Workshop for Students in Berkeley, Sept. 4 – 7, 2002 see ; send to Osni Marques at to register; about five spots available for

08/27/2002CS267-Lecture 150 Requirements Fill out on-line account request for Millennium machine. -See course web page for pointer Fill out request for NERSC account -Form available in class Fill out survey - to David if you missed this lecture Build a portfolio -Every week or two students will report explorations, ideas, proposed work, and work to the TA via an organized webpage, document or notebook. -There will be about four programming assignments geared towards hands-on experience, interdisciplinary teams. -There will be a Final Project -Teams of 2-3, interdisciplinary is best. -Interesting applications or advance of systems. -Presentation (poster session) -Conference quality paper

08/27/2002CS267-Lecture 151 What you should get out of the course In depth understanding of: When is parallel computing useful? Understanding of parallel computing hardware options. Overview of programming models (software) and tools. Some important parallel applications and the algorithms Performance analysis and tuning

08/27/2002CS267-Lecture 152 Administrative Information Instructors: -Horst D. Simon, 329 Soda, (510) -TA: David Garmire, 566 Soda, (510) 643 Accounts – fill out online registration for Millenium; fill out form for NERSC accounts on seaborg Class survey – fill out today Lecture notes are based on previous semester notes: -Jim Demmel, David Culler, David Bailey, Bob Lucas, Kathy Yelick and myself Reader based on “Sourcebook for Parallel Computing”; hardcopy or CD option Discussion section: Wed. 1:30 – 2:30 in 405 Soda; not every week Most class material and lecture notes are at: -