

























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


























COSC 4397 – Parallel ComputationEdgar Gabriel
Some slides on network topologies based on a similar presentation
by Michael ReschEdgar Gabriel
Spring 2006
2
COSC 4397 – Parallel ComputationEdgar Gabriel
SISD: Single instruction single data– Classical von Neumann architecture
-^
SIMD: Single instruction multiple data
-^
MISD: Multiple instructions single data– Non existent, just listed for completeness
-^
MIMD: Multiple instructions multiple data– Most common and general parallel machine
4
Interesting detail: handling of if-conditions– First all processors, for which the if-condition is true
execute the according code-section, other processorsare on hold
execute the according code-section, other processorsare on hold
Some architectures in the early 90s used SIMD (MasPar,Thinking Machines)
-^
No SIMD machines available today
-^
SIMD concept used in processors of your graphics card
5
COSC 4397 – Parallel ComputationEdgar Gabriel
Each processor has its own instruction stream and inputdata
-^
Most general case – every other scenario can bemapped to MIMD
-^
Further breakdown of MIMD usually based on thememory organization– Shared memory systems– Distributed memory systems
7
All processors share the same physical main memory
-^
Memory bandwidth per processor is limiting factor forthis type of architecture
-^
Typical size: 2-16 processors
Memory CPU
CPU
CPU
CPU
8
COSC 4397 – Parallel ComputationEdgar Gabriel
Some memory is closer to a certain processor than othermemory– The whole memory is still addressable from all
processors
the access time might vary strongly
Memory CPU
CPU
Memory CPU
CPU
Memory CPU
CPU
Memory CPU
CPU
10
COSC 4397 – Parallel ComputationEdgar Gabriel
Each processor has its own address space
-^
Communication between processes by explicit dataexchange– Sockets– Message passing– Remote procedure call / remote method invocation
CPU
CPU
Network interconnect
^ CPU
^ CPU
^ CPU
11
Performance of a distributed memory machine stronglydepends on the quality of the network interconnect andthe topology of the network interconnect– Of-the-shelf technology: e.g. fast-Ethernet, gigabit-
Ethernet
Quadrics, …
13
COSC 4397 – Parallel ComputationEdgar Gabriel
E.g. clusters of multi-processor nodes
CPU
CPU
Network interconnect
CPU
CPU
CPU
CPU
CPU
CPU
CPU
CPU
CPU
CPU
14
COSC 4397 – Parallel ComputationEdgar Gabriel
Further evaluation of distributed memory machines
-^
Several (parallel) machines connected by wide-arealinks (typically the internet)– Machines are in different administrative domains
16
COSC 4397 – Parallel ComputationEdgar Gabriel
Small (costs)
Number of links required to create anetwork topology
Complexity
Small (costs)
Number of procs to be added to keepthe properties of a topology
Increment
Large (reliability)
Minimum number of links that have tobe cut to separate the network
Connectivity
Small (costs) /Large (redundancy)
Number of links that connect to aprocessor
Degree
Small
Maximum distance in a network
Diameter
Small
Minimum length of a path between twoprocessors
Distance
As many as possible
A route between two processors
Path
A direct connection between twoprocessors
Link
Optimal parameter
Description
Metric
17
COSC 4397 – Parallel ComputationEdgar Gabriel
All nodes are connected to the same (shared)communication medium
-^
Only one communication at a time possible– Does not scale
-^
Examples: Ethernet, SCSI, Token Ring, Memory bus
-^
Main advantages:– simple broadcast– cheap
CPU
CPU
CPU
….
CPU
19
COSC 4397 – Parallel ComputationEdgar Gabriel
A grid of switches connecting n
x m ports
a connection from one process to another does notprevent communication between other process pairs
-^
Scales from the technical perspective
-^
Does not scale from the financial perspective
-^
Aggregated Bandwidth of a crossbar: sum of thebandwidth of all possible connections at the same time
20
COSC 4397 – Parallel ComputationEdgar Gabriel
Overcoming the financial problem by introducing multi-stage networks