Professional Documents
Culture Documents
samples
INPUTS
OUTPUTS
#2
#3 3
Bridges: at datalink level (L2) based on MAC addresses discover attached stations by listening
Routers: at network level (L3) participate in routing protocols
Application level gateways: at application level (L7) treat entire network as a single hop Gain functionality at the expense of forwarding
speed
Types of services
Packet vs. circuit switches packets have headers and samples dont
Connectionless vs. connection oriented connection oriented switches need a call setup setup is handled in control plane by switch
controller
#6
Requirements
Capacity of switch is the maximum rate at which it
can move information, assuming all data paths are simultaneously active Primary goal: maximize capacity
Internal switching
In a circuit switch, path of a sample is determined
field
Datagram lookup based on entire destination address Cell lookup based on VCI used as an index to a table Other than that, switching units are very similar
#8
Internal no path to output Example: head of line blocking. Output output link busy
If packet is blocked, must either buffer or
drop it
#9
Backpressure if switch fabric doesnt have buffers, prevent packet from entering until path is available Parallel switch fabrics increases effective switching capacity
#10
same technology, a later generation switch achieves greater capacity, but at greater cost
current products
#11
queues in memory
linecard
linecard
linecard
#12
Port mapping intelligence in line cards Bottleneck is the bus (or ring)
#13
paths (fabric)
ILC IN
ILC ILC NxN packet switch fabric
control
#14
#15
Line Cards
(for CRS-1)
#16
CRS-1 routers
#17
Switching - Fabric
N input lines Output runs N times as fast as input Demultiplexor: distributes sessions one input line and N outputs that run N times slower
#20
frame determines output link Time division switching interchanges sample position within a frame:
Time
M U X
TSI
#21
2
3 4
4 3 2 1
1 2 3 4
2 4
3 1 4 2
1 3
TSI
Simple to build.
#23
different path through the switch, depending on its destination Crossbar: Simplest possible space-division switch Crosspoints can be turned on or off
i n p u t s
outputs
#24
Crossbar - example
sessions: (1,2) (2,4) (3,1) (4,3)
1 2 3 4 4
inputs
output
#25
Crossbar
Advantages:
Drawbacks
#26
Time-space switching
Precede each input trunk in a crossbar with
a TSI Delay samples so that they arrive at the right time for the space division switchs schedule Crosspoint: 4 (not 16)
1
2
M U X
M U X
3
4
Feasible schedule
3 4
3 4
#28
Time-Space: Example
time 1 time 2 2 1 4 3 TSI 2 1 3 4 3 1 2 4
TSI
#31
AB)
internal nodes
#32
Crossbar - example
1 2 3 4 4
#33
Another Example
outputs
inputs
#34
Another Example
sessions: (1,3) (2,6) (3,1) (4,4) (5,2) (6,5)
outputs
inputs
#35
Clos Network
Clos(N, n , k) : N - inputs/outputs; cross-points: 2 (N/n)nk + k(N/n)2 nxk (N/n)x(N/n) 3x3 3x3
kxn
2x2 2x2 N=6 n=2 k=2
2x2 N
2x2
2x2 k
2x2
N/n
#36
N/n
Recall: IF [A,B S and |A|+|B| > |S|] then A B S= The k middle switches A = middle switches reachable from the inputs B = middle switches reachable from the outputs Our case:
|S|=k |A| k-(n-1) |B| k-(n-1)
#37
Consider an idle input and output Input box connected to at most n-1 middle layer switches output box connected to at most n-1 middle layer switches There exists an unused" middle switch good for both.
n-1
kxn
nxk
n-1
#38
Example
Clos(8,2,3) Need to route a new call 2x3 4x4 4x4 4x4 3x2 3x2 3x2 N=8 n=2 k=3
2x3
2x3
2x3
3x2
#39
Clos Network
Why is k=n internally blocking?
nxk (N/n)x(N/n) 3x3 3x3
kxn
2x2 2x2 N=6 n=2 k=2
2x2
2x2
2x2
2x2
#40
3 4
#42
#43
Example 16x16
#44
Benes Networks
Symmetry Size: F(N) = 2(N/2)*4 + 2F(N/2) = O(N log N) Rearrangable
Proof I: Build routing graph. Find 2 matchings route one in the upper Benes and the other in the lower.
#45
recursively.
#46
I1
1 2 3 4
5 6 7 8
I2
level 2r switches
level 0 switches
#47
Example
(
1 2 3 4
1 2 3 4 5 6 7 8 1 5 6 8 4 2 3 7
I1
5 6 7 8
I2
level 2r switches
#48
level 0 switches
Example
(
1 2 3 4
1 2 3 4 5 6 7 8 1 5 6 8 4 2 3 7
I1
5 6 7 8
I2
level 2r switches
#49
level 0 switches
Example
(
1 2 3 4
1 2 3 4 5 6 7 8 1 5 6 8 4 2 3 7
I1
5 6 7 8
I2
level 2r switches
#50
level 0 switches
Example
(
1 2 3 4
1 2 3 4 5 6 7 8 1 5 6 8 4 2 3 7
I1
5 6 7 8
I2
level 2r switches
#51
level 0 switches
S1
S2
S3
Line Card
1296 x 1296 buffered non-blocking switch Multi-stage Interconnect3 Stage Benes topology
#52
Forwarding Component
Control Components
Interconnect #53
N/2 x N/2 . . . . . .
N/2 x N/2
N/2 x N/2
#54
Properties
Size:
F(N) = 2N*6 + 3F(N/2) = O( N1.58 ) strict sense non-blocking Clos network with k=3 n=2
Better parameters: n=sqrt{N}, k=2sqrt{N}-1 recursive size sqrt{N} x sqrt{N} Circuit size O(N log2.58 N)
#55
Cantor Networks
m copies of Benes network. For
#56
Cantor Network
m=4
#57
Proof
Sketch:
Benes network:
2 log N -1 layers, N/2 nodes in layer. Middle layer= layer log N -1
reachable from an input and output. If the sum is more than Nm/2:
Proof Sketch:
Let A(k) = number of nodes reachable at
level k. A(0)=m A(1)= 2A(0)-1 A(2)=2A(1)-2 A(k)=2A(k-1) - 2k-1 = 2k A(0) - k 2k-1 A(log N -1) = Nm/2 - (log N -1) N/4 Need that: 2A(log N -1) > Nm/2.
#59
Advanced constructions
There are networks of size
switches.
#60