Professional Documents
Culture Documents
NETWORKS
Classification of Networks
Interconnection networks can be broadly classified as
1. Time division where a single bus of channel is shared among the
users.
2. Space division where multiple links or channels are shared among the
users.
Frame n+1
1
5
Time
(a)
Frame n
3
Frame n+1
4
4
Time
(b)
Assume is the probability that a packet arrives and that we have users
in the system. The probability that requests arrive at a time slot is given
by
packets/time step
At low traffic, the throughput linearly increases with the number of users
and with their level of activity.
10
, we get
11
12
, we get
13
14
15
16
times before
(solid line)
(dotted line).
1
Acceptance probability
Throughput
0.8
0.6
0.4
0.2
0
0
0.5
Normalized input traffic
0.5
Normalized input traffic
15
10
Delay
0
0
17
0.8
0.6
0.4
0.2
0
0
0.5
Normalized input traffic
Space-division switching
Space-division switching is the method of choice to implement
high-performance switches since they provide high capacity and low
access time delay.
Space-division switching can be broadly classified as
crossbar networks
multistage interconnection networks (MIN)
18
19
Crossbar Network
outputs. It can
Crossbar Network
1
Inputs
2
3
4
5
6
3
4
Outputs
20
Crossbar Network
connected in a grid
21
Crossbar Network
T-configuration
X-configuration
States of the crosspoint
in a crossbar network.
22
23
24
shared media
25
26
The probability that requests arrive at a time slot addressed to the tagged
output is given by
27
packets/time step
The second term on the R.H.S. is simply the probability that no packets
are destined to the tagged output port.
28
we get
packets/time step
, we get
which indicates that almost
For very light loads
all the arriving packets make it through the switch due to the light loading.
29
packets/time step
30
we get
31
32
33
34
time steps
, we get
which indicates that arriving
For light traffic
and the
packets get through on their first attempt. For heavy traffic
on the average.
maximum number of attempts becomes
c Dr. F. Gebali, 2003
35
(solid line)
(dotted line)
1
Acceptance probability
Throughput
0.8
0.6
0.4
0.2
0
0
0.5
Input traffic
0.5
Input traffic
1
0.8
Delay
Performance
0.6
0.4
0.2
0
0
36
0.8
0.6
0.4
0.2
0
0
0.5
Input traffic
Switching
Element (SE)
Stage: 0
37
Outputs
Inputs
Connection
Links
3
4
5
6
7
Stage
For an
network, the number of stages is
the number of SEs in each stage is
.
c Dr. F. Gebali, 2003
38
where
Inputs
Outputs
and
Switching element
such that
straight connection
row label
Thus when
and
. Note that the
bits for its representation.
where
requires only
cube connection
39
Cube Function
40
is connected to row
such
cube connection
Thus when
41
straight connection
42
is obtained as follows:
where the -bit routing vector carries the information about the desired
path.
43
straight connection
cube connection
44
45
GCN network
For an
have three bits.
Bit value
Connection type
Bit scanned
Stage
straight
straight
cube
46
3
4
5
6
7
Stage
Outputs
Inputs
Path chosen in the GCN network to route a packet from input at row 2 to
output at row 6 based on binary bit pattern of routing vector .
c Dr. F. Gebali, 2003
47
48
49
for
For the SEs at the other stages we have the recursive expression
50
c Dr. F. Gebali, 2003
51
We can write the traffic at the input of the SE at the first stage
52
53
54
55
56
Acceptance probability
0.2
0
0
0.5
Input traffic
0.5
Input traffic
Delay
1.5
1
0.5
0
0
57
0.8
0.6
0.4
0.2
0
0
0.5
Input traffic
An
Stage:
banyan network.
c Dr. F. Gebali, 2003
58
Outputs
Inputs
Switching element
such that
cube connection
straight connection
59
60
61
Stage:
Outputs
Inputs
Path chosen in the banyan network to route a packet from input at row 2
to output at row 6 based on binary bit pattern of routing vector .
62
63
where
64
65
66
For the output concentrator that accepts only one packet per time step, the
packet arrival and departure probabilities at the output are given by
67
For the output concentrator that accepts all packets arriving at its two
inputs, the packet arrival and departure probabilities are given by
68
69
70
71
72
73
1
Acceptance probability
Throughput
0.8
0.6
0.4
0.2
crossbar network
(dotted line).
0
0
0.5
Input traffic
0.5
Input traffic
Delay
0.8
0.6
0.4
0.2
0
0
74
0.8
0.6
0.4
0.2
0
0
0.5
Input traffic
Inputs
b f
c
b
f
3
75
Stage:
Outputs
and
is connected to
such that
up connection
Switching element
given by
where
76
straight connection
down connection
is
77
where
78
A packet that has been routed as far as stage will have a routing vector
.
79
where
to zero.
80
81
82
NA
+1
+1
NA
-5
-1
-1
-1
-1
Stage
83
Inputs
b f
c
b
Stage:
Outputs
f
3
Path chosen in the ADMN network to route a packet from input at row 6 to output
at row 1 based on decimal value of routing vector .
c Dr. F. Gebali, 2003
84
mod
85
mod
NA
-1
-1
NA
Stage
mod
86
Inputs
b f
c
b
Stage:
Outputs
f
3
87
Path chosen in the ADMN network to route a packet from input at row 6 to output
.
where is represented in
We calculate as
88
A switching element at stage scans two bits of the routing vector: the
sign bit (which is bit ) and bit
.
.
Bit value
Connection type
Straight
Up
Straight
Down
89
and
c Dr. F. Gebali, 2003
90
As an example, assume
down
down
NA
straight
Row location
SE connection
NA
Bit scanned
Stage
91
Inputs
b
Stage:
b f
Outputs
f
3
Path chosen in the ADMN network to route a packet from input at row 7
to output at row 2 based on 2s complement representation of routing
vector.
c Dr. F. Gebali, 2003
92
93
c Dr. F. Gebali, 2003
94
NA
straight
up
NA
up
Row location
SE connection
Bit scanned
Stage
95
Inputs
b
Stage:
b f
Outputs
f
3
Path chosen in the ADMN network to route a packet from input at row 7 to output
at row 2 based on of routing vector .
c Dr. F. Gebali, 2003
96
97
we have
c Dr. F. Gebali, 2003
98
99
c Dr. F. Gebali, 2003
100
where
is the maximum number of packets that could be
is the probability that
accepted at the output in one time step and
packets arrived
101
102
103
104
105
106
Performance of ADMN
Network
1
Acceptance probability
Throughput
0.8
0.6
0.4
0.2
0
0
0.5
Input traffic
0.5
Input traffic
Delay
0.8
0.6
0.4
0.2
0
0
107
0.8
0.6
0.4
0.2
0
0
0.5
Input traffic
108
Stage:
Outputs
Inputs
and
For the
As such the network is very fault tolerant and the blocking probability is
much smaller than other MIN networks.
109
such that
is given by
is connected to
0-cube connection
where
2-cube connection
1-cube connection
straight connection
110
Co connection
C1 connection
C2 connection
S (straight) connection
Inputs
111
performs a different
where the routing vector carries the information about the desired path.
The path selected corrects the routing vector such that all its bits are
zeros to indicate that the packet has reached the destination row address.
112
Each
113
114
x
x
Outputs
Inputs
Stage:
Paths chosen in the ILN network to route a packet from input at row 6 to
output at row 0.
c Dr. F. Gebali, 2003
115
Stage:
Outputs
Inputs
All possible paths chosen in the ILN network to route a packet from input
at row 6 to output at row 0 based on routing vector .
c Dr. F. Gebali, 2003
116
117
we have
118
-to-1 concentrators.
we have
119
120
121
122
123
124
125
126
1
Acceptance probability
Throughput
0.8
0.6
0.4
0.2
0
0
0.5
Input traffic
0.5
Input traffic
0.8
Delay
0.6
0.4
0.2
0
0
127
0.8
0.6
0.4
0.2
0
0
0.5
Input traffic