Docsity

Implementation Aspects - Parallel Processing - Lecture Slides, Slides of Parallel Computing and Programming

Partial preview of the text

Download Implementation Aspects - Parallel Processing - Lecture Slides and more Slides Parallel Computing and Programming in PDF only on Docsity!

Part VI

Implementation Aspects

VI Implementation Aspects

Study real parallel machines in MIMD and SIMD classes:

  • Examine parallel computers of historical significance
  • Learn from modern systems and implementation ideas
  • Bracket our knowledge with history and forecasts

Topics in This Part

Chapter 21 Shared-Memory MIMD Machines

Chapter 22 Message-Passing MIMD Machines

Chapter 23 Data-Parallel SIMD Machines

Chapter 24 Past, Present, and Future

21.1 Variations in Shared Memory

Fig. 21.1 Classification of shared-memory hardware architectures and example systems that will be studied in the rest of this chapter.

Central

Main

Memory

Distributed

Main

Memory

Single Copy of

Modifiable Data

UMA

BBN Butterfly

Cray Y-MP

COMA

CC-NUMA

Tera MTA

NUMA

Stanford DASH

Sequent NUMA-Q

CC-UMA

Multiple Copies of

Modifiable Data

C.mmp: A Multiprocessor of Historical Significance

Fig. 21.2 Organization of the C.mmp multiprocessor.

16 × 16 crossbar

Mem 0

.

.

.

Mem 1

Mem 15

.

.

.

Cache

Cache

Cache

Proc 0

Proc 1

Proc 15

Clock

Bus control

BI

BI

BI

Map

Map

Map

Bus interface

21.2 MIN-Based BBN Butterfly

Fig. 21.3 Structure of a processing node in the BBN Butterfly.

MC 68000 Proces sor Proces sor Node Controller Memory Manager

EPROM

1 MB Memory

Daughter Board Connection for Memory Expans ion (3 MB)

Switch Interface To I/O Boards

Fig. 21.4 A small 16-node version of the multistage interconnection network of the BBN Butterfly.

4 × 4

4 × 4

4 × 4

4 × 4

Processing Node 0

Processing Node 15

4 × 4

4 × 4

4 × 4

4 × 4

21.3 Vector-Parallel Cray Y-MP

Fig. 21.5 Key elements of the Cray Y-MP processor. Address registers, address function units, instruction buffers, and control not shown.

V

V V5V V3V V 0 V 1 2 3...

62 63

Vector Regis ters

Vector Integer Units Shift

Add Logic Weight/ Parity

Floating- Point Units (^) Multiply

Add

Reciprocal Approx.

Scalar Integer Units Shift

Add Logic Weight/ Parity

T Regis ters (8 64-bit) S Registers (8 64-bit)

From addres s regis ters /units

Central Memory

Inter- Processor Commun.

CPU

64 bit

64 bit

32 bit Input/Output

21.4 Latency-Tolerant Tera MTA

Fig. 21. The instruction execution pipelines of Tera MTA.

Memory Internal Pipeline

M A (^) C

Ins tr. Fetch

Interconnection Network

Iss ue Pool

Retry Pool

21.5 CC-NUMA Stanford DASH

Fig. 21.8 The architecture of Stanford DASH.

Processor cluster

Processor cluster

Processor cluster

Main memory

Reply mesh

Request mesh

Processor cluster

Directory & network interface

Level-2 cache

Processor

I-cache D-cache

Wormhole routers

Details of the IQ-Link in Sequent NUMA-Q

Fig. 21. Block diagram of the IQ-Link board.

P

bus SCI in

SCI out

Bus interface controller Directory controller Interconnectcontroller

Remote cache data

Local directory Remotetags Local directory Remotetags

us s de snooping tags Network side tags

32 MB

Fig. 21. Block diagram of IQ-Link’s interconnect controller.

SCI in

SCI out

Assemble Stripper Elasticbuffer

Request receive Q

Response receive Q

Request send Q

Response send Q

Bypass Disassemble FIFO

22 Message-Passing MIMD Machines

Topics in This Chapter 22.1 Mechanisms for Message Passing 22.2 Reliable Bus-Based Tandem NonStop 22.3 Hypercube-Based nCUBE 22.4 Fat-Tree-Based Connection Machine 5 22.5 Omega-Network-Based IBM SP 22.6 Commodity-Driven Berkeley NOW

Learn about practical message-passing parallel architectures:

  • Study mechanisms that support message passing
  • Examine research prototypes and production machines

Router-Based Networks

Q Q

Q Q

LC LC

LC LC

LC Q LC Q

LC Q LC Q

Switch

LC LC

Routing/Arbitration

Q (^) Q

Link Controller

Message Queue

Input Channels

Output Channels

Input Queue Output Queue

Injection Channel

Ejection Channel

Fig. 22.1 The structure of a generic router.

Case Studies of Message-Passing Machines

Coarse- Grain

Medium- Grain

Shared-Medium Network

Tandem NonStop (Bus)

Berkeley NOW (LAN)

nCUBE

Router-Based Network

TMC CM- IBM SP

Switch-Based Network

Fine- Grain

Fig. 22. Classification of message-passing hardware architectures and example systems that will be studied in this chapter.

High-Level Structure of the Tandem NonStop

Four-processor sections

Dynabus+

Fig. 22.5 Four four-processor sections interconnected by Dynabus +^.

22.3 Hypercube-Based nCUBE

Fig. 22. An eight-node nCUBE architecture.

Host

Host

I/O

I/O

I/O

I/O