Docsity

Interconnection Networks: Cost, Scalability, and Multistage Omega Networks, Slides of Parallel Computing and Programming

Partial preview of the text

Download Interconnection Networks: Cost, Scalability, and Multistage Omega Networks and more Slides Parallel Computing and Programming in PDF only on Docsity!

Interconnection Network:

Cost vs Scalability

  • Buses have excellent cost scalability,

but poor performance scalability

  • Crossbars have excellent performance

scalability but poor cost scalability.

  • Multistage interconnects strike a

compromise between these extremes.

docsity.com

Shared bus BW Bottleneck

  • Shared bus parallel computer using 32-

bit RISC processor running at at 150MHz, carries out one instruction perclock cycle. Assume 15% load & 10%store instructions. Cache Hit ratio is95% & Bus BW is 2 GB/sec. Comparemax limit of Parallelism with & withoutCache.

docsity.com

Network Topologies:

Multistage Omega Network

  • One of the most commonly used

multistage interconnects is theOmega network.

  • This network consists of

log p

stages, where

p

is the number of

inputs/outputs.

  • At each stage, input

i

is connected

to output

j

if:

docsity.com

Network Topologies:

Multistage Omega Network

Each stage of the Omega network implements a perfect shuffle as follows:

A perfect shuffle interconnection for eight inputs and outputs.

000 001 010 011 100 101 110 111

000 001 010 011 100 101 110 111

0 1 2 3 4 5 6 7

0 1 2 3 4 5 6 7

= left_rotate(000)= left_rotate(100)= left_rotate(001)= left_rotate(101)= left_rotate(010)= left_rotate(110)= left_rotate(011)= left_rotate(111)

docsity.com

Network Topologies:

Multistage Omega Network

A complete omega network connecting eight inputs and eight outputs.

An

omega network has

p/2 × log p

switching nodes, and the cost of

such a network grows as

(p log p).

000001 010011 100101 110111

000001 010011 100101 110111 docsity.com

Network Topologies:

Multistage Omega Network – Routing•^

Let

s

be the binary representation of the

source and

d

be that of the destination

processor.

-^

The data traverses the link to the firstswitching node. If the most significant bits of

s

and

d

are the same, then the data is routed in

pass-through mode by the switch else, itswitches to crossover.

-^

This process is repeated for each of the

log p

switching stages.

-^

Note that this is not a non-blocking switch.

docsity.com

Evaluating

Static Interconnection Networks

•^

Degree : max links to any node of the network

-^

Diameter:

The distance (shortest path) between

the farthest two nodes in the network.

-^

Cost:

The number of links or switches (whichever

is asymptotically higher) is a meaningful measureof the cost. However, a number of other factors,such as the ability to layout the network, thelength of wires, etc., also factor in to the cost.

docsity.com

Network Topologies:

Linear Arrays, Meshes, and

k-d

Meshes

•^

In a linear array, each node has two neighbors, oneto its left and one to its right. If the nodes at eitherend are connected, it becomes ring.

-^

A generalization to 2 dimensions has nodes with 4neighbors, to the north, south, east, and west.

-^

A further generalization to

d

dimensions has nodes

with

2d

neighbors.

•^

A k-d mesh has d dimensions with k nodes in eachdimension

-^

A special case of a

d

-dimensional mesh is a

hypercube. Here,

d = log p

, where

p

is the total

number of nodes(two nodes in each dimension).

docsity.com

Evaluating

Static Interconnection Networks

•^

Degree : max links to any node of the network

-^

Diameter:

The distance (shortest path) between

the farthest two nodes in the network. Thediameter of a linear array is

p

, that of a mesh

is

that of a hypercube is

log p

, and that

of a completely connected network is

O(1).

•^

Cost:

The number of links or switches (whichever

is asymptotically higher) is a meaningful measureof the cost. However, a number of other factors,such as the ability to layout the network, thelength of wires, etc., also factor in to the cost.

docsity.com