Introduction to Parallel Processing Ch. 12, Pg

Slides:



Advertisements
Similar presentations
© 2009 Fakultas Teknologi Informasi Universitas Budi Luhur Jl. Ciledug Raya Petukangan Utara Jakarta Selatan Website:
Advertisements

Prepared 7/28/2011 by T. O’Neil for 3460:677, Fall 2011, The University of Akron.
SE-292 High Performance Computing
Fundamental of Computer Architecture By Panyayot Chaikan November 01, 2003.
Today’s topics Single processors and the Memory Hierarchy
Taxanomy of parallel machines. Taxonomy of parallel machines Memory – Shared mem. – Distributed mem. Control – SIMD – MIMD.
CSCI 8150 Advanced Computer Architecture Hwang, Chapter 1 Parallel Computer Models 1.2 Multiprocessors and Multicomputers.
Advanced Topics in Algorithms and Data Structures An overview of the lecture 2 Models of parallel computation Characteristics of SIMD models Design issue.

Lecture 10 Outline Material from Chapter 2 Interconnection networks Processor arrays Multiprocessors Multicomputers Flynn’s taxonomy.
1 Lecture 23: Multiprocessors Today’s topics:  RAID  Multiprocessor taxonomy  Snooping-based cache coherence protocol.
Course Outline Introduction in algorithms and applications Parallel machines and architectures Overview of parallel machines, trends in top-500 Cluster.
 Parallel Computer Architecture Taylor Hearn, Fabrice Bokanya, Beenish Zafar, Mathew Simon, Tong Chen.
Fall 2008Introduction to Parallel Processing1 Introduction to Parallel Processing.
Introduction to Parallel Processing Debbie Hui CS 147 – Prof. Sin-Min Lee 7 / 11 / 2001.
Flynn’s Taxonomy of Computer Architectures Source: Wikipedia Michael Flynn 1966 CMPS 5433 – Parallel Processing.
1 Parallel computing and its recent topics. 2 Outline 1. Introduction of parallel processing (1)What is parallel processing (2)Classification of parallel.
Course Outline Introduction in software and applications. Parallel machines and architectures –Overview of parallel machines –Cluster computers (Myrinet)
CS668- Lecture 2 - Sept. 30 Today’s topics Parallel Architectures (Chapter 2) Memory Hierarchy Busses and Switched Networks Interconnection Network Topologies.
1 Chapter 1 Parallel Machines and Computations (Fundamentals of Parallel Processing) Dr. Ranette Halverson.
Pipeline And Vector Processing. Parallel Processing The purpose of parallel processing is to speed up the computer processing capability and increase.
August 15, 2001Systems Architecture II1 Systems Architecture II (CS ) Lecture 12: Multiprocessors: Non-Uniform Memory Access * Jeremy R. Johnson.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Parallel Programming in C with MPI and OpenMP Michael J. Quinn.
Parallel Processing - introduction  Traditionally, the computer has been viewed as a sequential machine. This view of the computer has never been entirely.
CHAPTER 12 INTRODUCTION TO PARALLEL PROCESSING CS 147 Guy Wong page
Chapter 2 Parallel Architecture. Moore’s Law The number of transistors on a chip doubles every years. – Has been valid for over 40 years – Can’t.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Parallel Programming in C with MPI and OpenMP Michael J. Quinn.
CSCI 232© 2005 JW Ryder1 Parallel Processing Large class of techniques used to provide simultaneous data processing tasks Purpose: Increase computational.
An Overview of Parallel Computing. Hardware There are many varieties of parallel computing hardware and many different architectures The original classification.
Lecture 3 TTH 03:30AM-04:45PM Dr. Jianjun Hu CSCE569 Parallel Computing University of South Carolina Department of.
Chapter 2 Data Manipulation. © 2005 Pearson Addison-Wesley. All rights reserved 2-2 Chapter 2: Data Manipulation 2.1 Computer Architecture 2.2 Machine.
The fetch-execute cycle. 2 VCN – ICT Department 2013 A2 Computing RegisterMeaningPurpose PCProgram Counter keeps track of where to find the next instruction.
PARALLEL PROCESSOR- TAXONOMY. CH18 Parallel Processing {Multi-processor, Multi-computer} Multiple Processor Organizations Symmetric Multiprocessors Cache.
Parallel Computing.
Data Structures and Algorithms in Parallel Computing Lecture 1.
2016/1/5Part I1 Models of Parallel Processing. 2016/1/5Part I2 Parallel processors come in many different varieties. Thus, we often deal with abstract.
Outline Why this subject? What is High Performance Computing?
Lecture 3: Computer Architectures
Parallel Processing Presented by: Wanki Ho CS147, Section 1.
3/12/2013Computer Engg, IIT(BHU)1 INTRODUCTION-1.
Spring EE 437 Lillevik 437s06-l22 University of Portland School of Engineering Advanced Computer Architecture Lecture 22 Distributed computer Interconnection.
An Overview of Parallel Processing
LECTURE #1 INTRODUCTON TO PARALLEL COMPUTING. 1.What is parallel computing? 2.Why we need parallel computing? 3.Why parallel computing is more difficult?
Classification of parallel computers Limitations of parallel processing.
Lecture 13 Parallel Processing. 2 What is Parallel Computing? Traditionally software has been written for serial computation. Parallel computing is the.
Auburn University COMP8330/7330/7336 Advanced Parallel and Distributed Computing Parallel Hardware Dr. Xiao Qin Auburn.
Flynn’s Taxonomy Many attempts have been made to come up with a way to categorize computer architectures. Flynn’s Taxonomy has been the most enduring of.
Overview Parallel Processing Pipelining
CHAPTER SEVEN PARALLEL PROCESSING © Prepared By: Razif Razali.
Multiprocessor Systems
Distributed Processors
buses, crossing switch, multistage network.
Parallel Processing - introduction
Course Outline Introduction in algorithms and applications
CS 147 – Parallel Processing
Flynn’s Classification Of Computer Architectures
Parallel and Multiprocessor Architectures
Pipelining and Vector Processing
Data Structures and Algorithms in Parallel Computing
Parallel Architectures Based on Parallel Computing, M. J. Quinn
Chapter 17 Parallel Processing
Outline Interconnection networks Processor arrays Multiprocessors
buses, crossing switch, multistage network.
Overview Parallel Processing Pipelining
AN INTRODUCTION ON PARALLEL PROCESSING
High Performance Computing & Bioinformatics Part 2 Dr. Imad Mahgoub
Advanced Computer and Parallel Processing
Part 2: Parallel Models (I)
COMPUTER ARCHITECTURES FOR PARALLEL ROCESSING
Advanced Computer and Parallel Processing
Presentation transcript:

Introduction to Parallel Processing Ch. 12, Pg. 514-526 CS147 Louis Huie

Topics Covered An Overview of Parallel Processing Parallelism in Uniprocessor Systems Organization of Multiprocessor Flynn’s Classification System Topologies MIMD System Architectures

An Overview of Parallel Processing What is parallel processing? Parallel processing is a method to improve computer system performance by executing two or more instructions simultaneously. The goals of parallel processing. One goal is to reduce the “wall-clock” time or the amount of real time that you need to wait for a problem to be solved. Another goal is to solve bigger problems that might not fit in the limited memory of a single CPU.

An Analogy of Parallelism The task of ordering a shuffled deck of cards by suit and then by rank can be done faster if the task is carried out by two or more people. By splitting up the decks and performing the instructions simultaneously, then at the end combining the partial solutions you have performed parallel processing.

Another Analogy of Parallelism Another analogy is having several students grade quizzes simultaneously. Quizzes are distributed to a few students and different problems are graded by each student at the same time. After they are completed, the graded quizzes are then gathered and the scores are recorded.

Parallelism in Uniprocessor Systems It is possible to achieve parallelism with a uniprocessor system. Some examples are the instruction pipeline, arithmetic pipeline, I/O processor. Note that a system that performs different operations on the same instruction is not considered parallel. Only if the system processes two different instructions simultaneously can it be considered parallel.

Parallelism in a Uniprocessor System A reconfigurable arithmetic pipeline is an example of parallelism in a uniprocessor system. Each stage of a reconfigurable arithmetic pipeline has a multiplexer at its input. The multiplexer may pass input data, or the data output from other stages, to the stage inputs. The control unit of the CPU sets the select signals of the multiplexer to control the flow of data, thus configuring the pipeline.

A Reconfigurable Pipeline With Data Flow for the Computation A[i]  B[i] * C[i] + D[i] To memory and registers 1 MUX 2 3 S1 S0 LATCH * 1 MUX 2 3 S1 S0 LATCH | 1 MUX 2 3 S1 S0 LATCH + 1 MUX 2 3 S1 S0 Data Inputs 0 0 x x 0 1 1 1

Although arithmetic pipelines can perform many iterations of the same operation in parallel, they cannot perform different operations simultaneously. To perform different arithmetic operations in parallel, a CPU may include a vectored arithmetic unit.

Vector Arithmetic Unit A vector arithmetic unit contains multiple functional units that perform addition, subtraction, and other functions. The control unit routes input values to the different functional units to allow the CPU to execute multiple instructions simultaneously. For the operations AB+C and DE-F, the CPU would route B and C to an adder and then route E and F to a subtractor for simultaneous execution.

A Vectored Arithmetic Unit Data Input Connections Data Input Connections + - Data Inputs * % AB+C DE-F

Organization of Multiprocessor Systems Flynn’s Classification Was proposed by researcher Michael J. Flynn in 1966. It is the most commonly accepted taxonomy of computer organization. In this classification, computers are classified by whether it processes a single instruction at a time or multiple instructions simultaneously, and whether it operates on one or multiple data sets.

Taxonomy of Computer Architectures Simple Diagrammatic Representation 4 categories of Flynn’s classification of multiprocessor systems by their instruction and data streams

Single Instruction, Single Data (SISD) SISD machines executes a single instruction on individual data values using a single processor. Based on traditional Von Neumann uniprocessor architecture, instructions are executed sequentially or serially, one step after the next. Until most recently, most computers are of SISD type.

SISD Simple Diagrammatic Representation

Single Instruction, Multiple Data (SIMD) An SIMD machine executes a single instruction on multiple data values simultaneously using many processors. Since there is only one instruction, each processor does not have to fetch and decode each instruction. Instead, a single control unit does the fetch and decoding for all processors. SIMD architectures include array processors.

SIMD Simple Diagrammatic Representation

Multiple Instruction, Multiple Data (MIMD) MIMD machines are usually referred to as multiprocessors or multicomputers. It may execute multiple instructions simultaneously, contrary to SIMD machines. Each processor must include its own control unit that will assign to the processors parts of a task or a separate task. It has two subclasses: Shared memory and distributed memory

MIMD Simple Diagrammatic Representation (Shared Memory) Simple Diagrammatic Representation(DistributedMemory)

Multiple Instruction, Single Data (MISD) This category does not actually exist. This category was included in the taxonomy for the sake of completeness.

Analogy of Flynn’s Classifications An analogy of Flynn’s classification is the check-in desk at an airport SISD: a single desk SIMD: many desks and a supervisor with a megaphone giving instructions that every desk obeys MIMD: many desks working at their own pace, synchronized through a central database

System Topologies Topologies A system may also be classified by its topology. A topology is the pattern of connections between processors. The cost-performance tradeoff determines which topologies to use for a multiprocessor system.

Topology Classification A topology is characterized by its diameter, total bandwidth, and bisection bandwidth Diameter – the maximum distance between two processors in the computer system. Total bandwidth – the capacity of a communications link multiplied by the number of such links in the system. Bisection bandwidth – represents the maximum data transfer that could occur at the bottleneck in the topology.

System Topologies Shared Bus Topology M M M P P P Shared Bus Global Processors communicate with each other via a single bus that can only handle one data transmissions at a time. In most shared buses, processors directly communicate with their own local memory. P P P Shared Bus Global memory

System Topologies Ring Topology P Uses direct connections between processors instead of a shared bus. Allows communication links to be active simultaneously but data may have to travel through several processors to reach its destination. P P P P P

System Topologies Tree Topology P Uses direct connections between processors; each having three connections. There is only one unique path between any pair of processors. P P P P P P

Systems Topologies Mesh Topology In the mesh topology, every processor connects to the processors above and below it, and to its right and left. P P P P P P P P P

System Topologies Hypercube Topology Is a multiple mesh topology. Each processor connects to all other processors whose binary values differ by one bit. For example, processor 0(0000) connects to 1(0001) or 2(0010). P P P P P P P P P P P P P P P P

System Topologies Completely Connected Topology Every processor has n-1 connections, one to each of the other processors. There is an increase in complexity as the system grows but this offers maximum communication capabilities. P P P P P P P P

MIMD System Architectures Finally, the architecture of a MIMD system, contrast to its topology, refers to its connections to its system memory. A systems may also be classified by their architectures. Two of these are: Uniform memory access (UMA) Nonuniform memory access (NUMA)

Uniform memory access (UMA) The UMA is a type of symmetric multiprocessor, or SMP, that has two or more processors that perform symmetric functions. UMA gives all CPUs equal (uniform) access to all memory locations in shared memory. They interact with shared memory by some communications mechanism like a simple bus or a complex multistage interconnection network.

Uniform memory access (UMA) Architecture Processor 1 Communications mechanism Processor 2 Shared Memory Processor n

Nonuniform memory access (NUMA) NUMA architectures, unlike UMA architectures do not allow uniform access to all shared memory locations. This architecture still allows all processors to access all shared memory locations but in a nonuniform way, each processor can access its local shared memory more quickly than the other memory modules not next to it.

Nonuniform memory access (NUMA) Architecture Processor 1 Processor 2 Processor n Memory 1 Memory 2 Memory n Communications mechanism

THE END