Professional Documents
Culture Documents
Lecture 6 - Interconnection Networks
Lecture 6 - Interconnection Networks
NETWORKS
Today’s Agenda
2
1. INTRODUCTION
TO
INTERCONNECTION
NETWORKS
3
Where is interconnect used?
To connect components.
To make communication possible within components.
Interconnection network
4
Interconnection between two devices
5
Interconnection between multiple devices
6
Why is it important?
7
Goal
To provide
Low latency
High data Transfer rate
Wide communication Bandwidth
Interconnect Networks should be designed to
transfer the maximum amount of information within
the least amount of time, cost, and power
constraints so as not to bottleneck the system.
8
2. TERMINOLOGIES
9
Basic Network Structures and Functions
10
Additional Network Structure
Topology
What paths are possible for packets?
Indicates how the nodes of network are organized.
11
Additional Network Functions
Routing
Which of the possible paths are allowable (valid) for packets?
Provides the set of operations needed to compute a valid path.
Executed at source, intermediate, or even at destination nodes.
Routing determines the path that will conduct packets from source
to destination. This process must take into account traffic, path
length as well as division of labor in calculating the route.
Arbitration
When paths are available for packets? (along with Flow Control)
Resolves packets requesting the same resources at the same
time.
For every arbitration, there is a winner and possibly many losers.
Losers are buffered (lossless) or dropped on overflow
(lossy).
12
Additional Network Functions
Switching
How are paths allocated to packets?
The winning packet (from arbitration) proceeds towards
destination
Switching is similar to routing; it must perform the task of
configuring connection(s) in order to transmit packets.
Switching techniques:
Circuit switching (similar to the telephone system) which
reserves a path for the transmission of packets
Packet switching in which each packet may use a different
path to its destination (no guarantees on the order either).
13
Routing
14
Routing
15
Types of Routing Algorithm
Deterministic
Always choose the same path for a communicating source
destination pair.
Oblivious
Chooses different paths, without considering network state.
Adaptive
Can choose different paths, adapting to the state of the
network.
16
Arbitration
17
Arbitration
Problems: Starvation
Arises when packets can never gain access to
requested resources
Solution: Grant resources to packets with
fairness, even if prioritized
18
Metrics
Degree
Number of links (edges) per node.
Diameter
Longest distance between two nodes in the network. The
distance is measured in terms of number of distinct hops
between any two nodes.
Cost
Number of links
19
Metrics
Latency
Delay in transferring message between two nodes
Bandwidth
Maximum transfer rate between two nodes
Throughput
Total number of messages that a network can transfer per
unit time
Scalability
Ability of Expansion
20
3. TOPOLOGIES
21
Taxonomy
22
Static Vs Dynamic Networks
Static Network:
The connection between nodes are fixed and cannot be
changed.
Cannot be reconfigured.
They are used to build computers where communication
pattern is more or less fixed.
Dynamic Network:
Enable changing (Reconfiguring) of the connection
structure in a system.
23
Degree 1: Shared Bus Topology
24
Degree 1: Shared Bus Topology
25
Degree 2: Linear Array
26
Degree 2: Ring Topology
A ring network has a degree of 2. Similar to the linear
array, each node is connected to two of its neighbors,
Ring can be unidirectional or bidirectional. In a
unidirectional ring, the data can travel in only one
direction.Such a ring has a diameter of N-1, like the
linear array.
If a node fail, the other direction can be used to
complete a message transmission.
27
Degree 2: Ring Topology
28
Degree 3: Binary Tree
In the tree interconnection network, processors are
arranged in a complete binary tree pattern.
The binary tree has the advantages of being expandable
and having a simple implementation.
A packet is routed upward toward the root node until it
reaches a destination node.
It can still cause long communication delays between far
away leaf nodes. Leaf nodes farthest away from each
other must ultimately pass their message through the
root.
29
Degree 3: Binary Tree
Since traffic increases as the root is
approached, bottleneck issue.
30
Degree 3: Fat Tree
It is a modified version of tree network.
In this bandwidth of edge increases towards root.
Bottleneck problem is avoided in this type of tree
because of higher bandwidth.
One problem with the binary tree is that there can be
heavy traffic toward the root node. To reduce the effect
of such a problem, the fat tree was proposed.
Proceeding up from the leaf nodes of a fat tree to the
root, the number of communication links increases, and
therefore the communication bandwidth increases.
31
Degree 3: Fat Tree
Each edge of the binary tree corresponds to two channels
of the fat tree. The number of communication links in each
channel increases as we go up the tree from the leaves.
32
Varying Degree: Cube
33
Hyper Cube
+ Low Latency
- Hard to lay out
• Used in some
early message
passing machines:
o Intel iPSC
o nCube
34
Single Bus Systems
35
Multiple Bus Systems
36
Multiple Bus Systems: MBFBMC
37
Multiple Bus Systems: MBSBMC
38
Multiple Bus Systems: MBPBMC
39
Multiple Bus Systems: MBCBMC
40
Single Stage Switch-based Network
Direct Topology
Obtained by shuffling left most bit to right side.
42
Single Stage Butterfly Network
Direct Topology
Obtained by interchanging the MSB in address with LSB.
43
Multi Stage Switch-based Network
Limitation of Single Stage: availability of only one path
between source and destination modules.
Solution: Multi stages having set of SE in each stage.
Stages are connected to each other using inter-stage
connection (ISC) pattern.
Routing of message based
on destination address
(Self-routing).
Examples:
Omega Network
Banyan Network
44
Multi stage network: Omega Network
45
Multi stage network: Banyan Network
46
Crossbar
+ Low Latency
+ High Throughput
Expensive
Not Scalable easily
Difficult to arbitrate
Applications:
IBM Power5
Sun Niagara I/II
47
4. ANALYSIS
48
Analysis of Static Networks
Ring N N
49
Analysis of Dynamic Networks
Degree Diameter Latency Bisection Cost
Width
Single Bus N 1
Multiple mN M
Bus
Shuffle 2 2 log n -1 N / log n
Exchange
Butterfly 4 Log n N/ 2
Omega N/ 2 N log n
Crossbar 1 n n2
50