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 NN inputs to any of its NN 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 N2N^2 elements for an N×NN \times N fabric.

Diagram of a 4x4 crossbar fabric

Operation and Characteristics

  • Operation: To connect input ii to output jj, the switching element at the intersection of the ii-th row and jj-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 2N−12N-1 elements. This variation causes different levels of signal attenuation and delay, complicating signal reception. The N2N^2 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 rr switches of size n×mn \times m, a middle stage with mm switches of size r×rr \times r, and an output stage with rr switches of size m×nm \times n. Its key property is that it can be strictly non-blocking if the number of middle-stage switches, mm, is sufficiently large, specifically when the condition m≥2n−1m \ge 2n-1 is met.

Strictly non-blocking when m ≥ 2n − 1 · 5 ≥ 5
Three-Stage Clos NetworkInput stageMiddle stageOutput stage04n−104n−10123012340123L0M0R0Click a left and a right switch to highlight a routeExample parameters: r=4, n=3, m=5Strictly non-blocking when m ≥ 2n − 1

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.

Inputs:0
Outputs:0
i=0 → j=0
Beneš Network — 16×16Click an input and an output to highlight a path015015

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.

Click an input and an output to highlight a path
Tree-structured fabric1N1N

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.

    Switching Fabric Architectures | Teleinf Edu