Switching Fabric Architectures
Common designs for switching fabrics, including Crossbar, Tree, Benes, and Clos networks.
The Heart of the Switch
The is the internal hardware that creates paths between a switch's inputs and outputs. Think of it as a highly automated version of an old-fashioned telephone exchange, where an operator manually connected patch cords to establish a call. The goal is to build a fabric that can efficiently connect any of its inputs to any of its outputs.
Most fabrics are built from a simple building block: a 2x2 switching element. This element has two inputs and two outputs and can be in one of two states: "bar" (straight-through) or "cross". By arranging these simple elements in different ways, we can create large and complex switching fabrics.
The Crossbar Fabric
The crossbar is one of the most fundamental switching architectures. It is structured as a grid of switching points, with elements for an fabric.
Operation and Characteristics
- Operation: To connect input to output , the switching element at the intersection of the -th row and -th column is activated.
- Advantage: The main advantage is that it is . As long as the desired input and output ports are free, a connection can always be made.
- Disadvantage: Its primary drawback is the varying optical path length for different connections. A connection from input 0 to output 0 passes through only one element, while a connection from input 3 to output 3 may pass through elements. This variation causes different levels of signal attenuation and delay, complicating signal reception. The complexity also makes it costly for large switches.
Multi-Stage Fabrics: Clos and Beneš
To reduce the complexity of the crossbar switch while maintaining good performance, multi-stage interconnection networks (MINs) were developed. The Clos and Beneš networks are foundational examples of this approach.
Clos Network
A Clos network is a three-stage fabric. It consists of an input stage with switches of size , a middle stage with switches of size , and an output stage with switches of size . Its key property is that it can be strictly non-blocking if the number of middle-stage switches, , is sufficiently large, specifically when the condition is met.
Beneš Network
A Beneš network is a special, recursive form of a Clos network. It is not strictly non-blocking but is . This means that any desired connection can be made, but it might be necessary to change the paths of existing connections to avoid blocking. While more complex to control, it uses fewer switching elements than a strictly non-blocking Clos network.
Other Fabric Architectures
Beyond the classic crossbar and Clos-type networks, other architectures have been developed with different trade-offs between performance, cost, and complexity.
Tree Architecture
This fabric uses a tree-like structure of 1xN splitters at the input and Nx1 combiners at the output. While simple in concept, it requires a very large number of basic 2x2 elements, making it less efficient for larger switches compared to other designs.
Baseline Fabric
In a Baseline network, there is only one possible path between any given input-output pair. This has the significant advantage that the signal attenuation is always the same regardless of the connection path, simplifying signal processing. However, its main disadvantage is that it is a blocking network; new connections can be blocked by existing ones even if the desired input and output are free.