Space-Division Switch Fabrics
Space-Division Switch Fabrics
Crossbar switch
concentrators
At the intersection of each input and each output, there is a crosspoint, which can be selectively enabled, allowing communication from input to output. e.g. Intel 470 switches Feasible to implement in VLSI (e.g. PMC-Sierra PM9312), problem is high-speed I/O to chip - pincount
Copyright 2003, Tim Moors [Sketch from znet.net/~cdk14568/mpet/contacts/fig23-5.gif. Photos from Lucent]
Crossbar variations
Internal buffering, e.g. for variable-length packets & output contention
Knockout switch
Crossbar with concentrators modelled on a knockout tournament: Competitors (inputs) play and those who win progress to the next round. At the end, one competitor is selected (transferred to output), and all others have lost one match. Losers then compete again (clean slate) to determine next competitor to be selected. Repeat to capacity of output port.
Copyright 2003, Tim Moors
Staged switches
Multistage switches: Composed of networks of smaller switches (e.g. crossbars and shared-media), often 2x2 Selection of switch in first and last stage is determined by which input & output are being connected ( use 3 or more stages to get benefits) There may be variety of choice of switch in intermediate stages
Lower blocking probability Increased reliability: can still connect input and output even if a component switch has fail
Copyright 2003, Tim Moors
Multistage switches work well as pipelines if each stage takes same time Prefer that all units of information have the same length (cells) ATM
Figure from H. Peyravi
Copyright 2003, Tim Moors
10
Clos switches
Multiple stages of small switches (e.g. crossbars) Each switch of a stage has one output feeding into each switch of the next stage (rectangular, not square) Fewer crosspoints, path diversity, chance of blocking
k arrays arrays nk nk N inputs
N/ n N/ n N/ n N/ n N/ n N/ n
arrays kn kn N outputs
nk
kn
Nx(Cross) 16,356 1B
11
Clos switches
Used in some commercial products: NEC ATOM ATM switch Myrinet switch Clos switches provide multiple paths; c.f. Banyan
C. Clos: A study of non-blocking switching networks, Bell Sys. Tech. J., 32(3):406-24, Mar. 1953
Copyright 2003, Tim Moors
12
Banyan switches
Self/source-routing using binary representation of output port cant multicast n-port switch has log2n stages each with n/2 22 switches Direction for each stage specified by bit corresponding to that stage (MSb 1st)
0 1
0 1
0 1
000 001 010 011 100 101 110 111 1switch to right output port of switch in this stage 0switch to left output port
Copyright 2003, Tim Moors
13
In the worst case, half of the traffic is blocked (when increasing input port number destined to decreasing output port number)
000 001 010 011 100 101 110 111 Output port numbers Copyright 2003, Tim Moors
14
Sorting networks
Sorter
Trap
Banyan
15
Sorting networks
Sorting is essentially the same as switching, except need to spread output after sorting to account for idle ports
Input port: a Destination: 101a Sorted: 001d Switched: ---x
b c d e f g h ---b 111c 001d 010e 110f ---g 011h 010e 011h 101a 110f 111c ---x ---x 001d 010e 011h ---x 101a 110f 111c
16
K. E. Batcher: Sorting networks and their applications, Proc. AFIPS Spring Joint Computer Conference, pp. 307-14, 1968
Copyright 2003, Tim Moors
17
Sorting
18
Trap modules
Sorting alone doesnt resolve output port contention trap duplicates Starlite switch: Recirculate duplicates
Resequencing is needed. Often give priority to recirculated cells to avoid prolonged resequencing.
Conc.
Sorter
Trap
Expand
Banyan