Computer and Communication Networks (paperback)
13.4. Nonblocking Switch Fabrics: Clos Networks
Figure 13.4 shows a Clos network with n = 8 inputs, d = 2, and k = 5. If the number of middle-stage crossbar switch elements k is greater than or equal to 2 d - 1, C 3 n , d , k is strictly nonblocking. Let d and k be integers with 2 Equation 13.8
Figure 13.4. A Clos network with n = 8 inputs, d = 2, and k = 5
The proof of this claim can be derived by first observing that a connection through the three-stage switch requires a middle-stage switch element having an idle link from the first stage and an idle link to the third stage, as shown in Figure 13.5. In C 3 n , d , k , we search for a route realizing a connection request from input x to output y . Thus, the number of outputs of the stage 1 switch elements containing input x that are busy is at most d - 1. This means that there are at most d - 1 middle-stage switch elements that are not accessible form x . Similarly, there are at most d - 1 middle-stage switch elements that are not accessible from y . Figure 13.5. Analysis of blocking in the three-stage Clos network
Clearly, there are at most 2 d - 2 middle-stage switches that are either not accessible from x or not accessible from y . Hence, the worst-case situation for blocking is that these two sets of middle-stage switch elements are unavailable for connection request ( x , y ). However, if one additional free middle-stage switch element exists as shaded in the figure, that element can be used to set up the connection ( x , y ). Hence if k = ( d - 1) + ( d - 1) + 1 = 2 d - 1, the switch is strictly nonblocking. More generally , at least one middle-stage switch that is accessible from both sides or a state that blocks connection request ( x , y ) can be found if k Equation 13.9
In order to find the complexity of the Clos network under nonblocking conditions, we can substitute k = 2 d - 1 in Equation 13.9. Thus, the complexity of a nonblocking network, Equation 13.10
It is always useful to optimize the complexity of switching networks, especially for the nonblocking Clos networks, in which finding the best d would be beneficial. To achieve this goal, we can optimize the network by Equation 13.11
This procedure releases Equation 13.12
However, the number of crosspoints for large three-stage switches is still quite prohibitive. Large switching systems typically use more than three stages to provide greater reductions in crosspoints. Three-stage Clos networks can be enhanced by substituting another three-stage Clos network for the middle-stage crossbars, resulting in a five-stage Clos network. We can continue in this fashion to construct networks with many stages. 13.4.1. Estimation of Blocking Probabilities
To estimate the internal blocking probability of a Clos network, consider d x k switch elements in the first stage. Figure 13.6 shows a probability graph of a three-stage network. All possible internal paths for an input/output connection pair are shown. For the middle-stage crossbars, the blocking-probability estimation for n parallel links, each with probability p , is generally B = p n ; for a series of n links, the blocking probability is generally B = 1 - (1 - p) n . To apply this rule, let p 1 be the probability that an internal link is busy, as shown in the figure, and thus 1 - p 1 is the probability that a link is idle. Then, B , the internal blocking probability of the switching network, or the probability that all paths are busy, is Equation 13.13
Figure 13.6. A blocking model for Clos switching network
We want the traffic load to balance at both sides of each node. Specifically, at the first node, we want the external and internal traffic to be equal, such that kp 1 = dp or p 1 = p(d/k) . Using this and Equation (13.13) leads to B in terms of p : Equation 13.14
13.4.2. Five-Stage Clos Networks
Figure 13.7 shows a five-stage Clos network obtained by replacing every middle-stage switch element in a three-stage Clos network. This structure provides less complexity, as the complexity of each middle three-stage network has been reduced as was explained for a three-stage network. Note that this statement can be true only if a five-stage switch is strictly nonblocking, where k 1 Equation 13.15
Figure 13.7. Constructing a five-stage Clos network by using three-stage networks to reduce blocking probability.
Figure 13.8. A blocking model for the five-stage Clos network
|