• Nie Znaleziono Wyników

Implementation of the Static Round-Robin Dispatching Scheme in the MSM and SMM

N/A
N/A
Protected

Academic year: 2021

Share "Implementation of the Static Round-Robin Dispatching Scheme in the MSM and SMM "

Copied!
4
0
0

Pełen tekst

(1)



Abstract—In this paper, results obtained under the Static Round-Robin (SRR) technique implemented in Memory-Space- Memory (MSM) and Space-Memory-Memory (SMM) Clos switching fabric were analyzed and compared. The SRR technique was first proposed for the single-stage switching fabric (crossbar). The intuition behind this packet dispatching scheme is to desynchronize the pointers of the arbiters in a static way to considerably improve the delay performance. The implementation of this technique in the MSM Clos-network switches is known as the Static Round-Robin Dispatching (SRRD) arbitration algorithm. We contribute to this research area by implementing the SRR idea in the SMM Clos switching fabric made of the Crosspoint Queued (CQ) switches with virtual crosspoint queues (VCQs). The performance of the MSM and SMM Clos-network switches under the SRR technique and uniform and nonuniform traffic distribution patterns has been evaluated using computer simulation. Three main performance measures were investigated:

cell delay, throughput and input buffers size. Selected results are shown in this paper.

Index Terms—Clos-network, Dispatching Algorithm, Packet Switching, Packet Scheduling.

I. INTRODUCTION

HEarchitecture of switching fabric for high-performance switches/routers is still a big challenge, for both researches and equipment vendors. A switching fabric is responsible for transmitting packets from the ingress side to the egress side of a switch, and may be organized as a single-stage (crossbar) or multiple-stage, such as the Clos switching fabric [1]. The crossbar fabric is not scalable, so the Clos-network architecture is a very attractive solution for constructing a multiple-stage switching fabric made of smaller-size switching elements, where each such element is usually a crossbar.

Currently, network equipment vendors such as Cisco, Juniper, and Brocade use this switching fabric to build core routers:

CRS series, T series, and BigIron RX Series, respectively.

Taking into consideration buffer allocation schemes Clos- network packet switches may be classified as: Space-Space-

Janusz Kleban is with the Chair of Telecommunication and Computer Networks, Faculty of Electronics and Telecommunications, Poznan University of Technology, Poznan, Poland (e-mail: janusz.kleban@et.put.poznan.pl).

Space (SSS or S3), Memory-Memory-Memory (MMM), Memory-Space-Memory (MSM), Space-Memory-Memory (SMM), and Space-Space-Memory (SSM) switches [2]. Two of these architectures, namely the MSM and SMM are investigated in this paper.

The MSM Clos switching fabric is made from nonblocking crossbars as switching modules. This architecture uses bufferless modules in the second stage, but it has buffers in the first and third stage. Since the architecture has no buffer in the second-stage modules, the out-of-sequence problem is eliminated but how to dispatch cells from the first stage to the second stage becomes an important issue. The cells are fix- sized packets obtained by segmentation of variable-length packets arriving to the ingress line cards of a large-capacity switch. Packets are assembled from cells at the egress line cards, before they depart. Cells are transmitted through the switching fabric during a time slot. Since buffers are allocated in the first stage the Virtual Output Queuing (VOQ) mechanism may be implemented very easy, to avoid the Head- Of-Line (HOL) blocking phenomenon [2]. Internal blocking and output port contention problems in the MSM Clos- network switches must be solved by fast arbitration schemes.

The well known dispatching schemes for buffered Clos- network switches were proposed in [2-5]. The basic idea of these algorithms is to use the effect of desynchronization of arbitration pointers and common request-grant-accept handshaking routine. Most of these schemes can achieve 100%

throughput under the uniform traffic, but under the nonuniform traffic the throughput is usually reduced. A switch can achieve 100% throughput under the uniform or nonuniform traffic if the switch is stable, as it was defined in [6].

The SMM architecture was proposed in [7]. This architecture employs bufferless modules in the first stage, and output-queued modules in the central and output stage. Since the input stage is bufferless the SRR mechanism may be used to dispatch cells to the second stage. We propose to replace the output-queued modules in the central and output stage with the CQ switches with VCQs.

In this paper, implementation of the SRR packet dispatching scheme in the MSM and SMM Clos-network switch is presented. Performance parameters of these two architectures are also evaluated. The remainder of this paper is organized as

Implementation of the Static Round-Robin Dispatching Scheme in the MSM and SMM

Clos-Network Switch

Janusz Kleban, Member, IEEE

T

2012

(2)

follows. Section II introduces some background knowledge concerning the MSM and SMM Clos switching fabric. The CQ switches with VCQs are also presented in this section. Section III presents packet dispatching schemes. Section IV is devoted to performance evaluation of the investigated switching fabric architectures. The paper is concluded in Section V.

II. MSM AND SMMCLOS SWITCHING FABRIC

Clos-networks were proposed by C. Clos in [1]. The three- stage Clos-network architecture is denoted by C(m, n, k), where parameters m, n, and k entirely determine the structure of the network. The MSM Clos switching fabric is shown in Fig. 1. To define the architecture the terminology proposed in [3] is used (see Table I).

VOQ(0,0,0)

VOQ(0,k-1,n-1) IP (0,0)

IP (0,n-1) IM (0)

VOQ(i,0,0)

VOQ(i,k-1,n-1) IP (i,0)

IP (i,n-1) IM (i)

VOQ(k-1,0,0)

VOQ(k-1,k-1,n-1) IP (k-1,0)

IP (k-1,n-1) IM (k-1)

CM (0) OM (0)

CM (r) OM (j)

CM (m-1) OM (k-1)

LI (i, r) LC (r, j)

OP (0,0)

OP (0,n-1)

OP (j,0)

OP (j,n-1)

OP (k-1,0)

OP (k-1,n-1)

Fig. 1. The MSM Clos switching fabric architecture.

TABLEI

A NOTATION FOR THE MSMCLOS SWITCHING FABRIC

Notation Description

IM Input module at the first stage CM Central module at the second stage OM Output module at the third stage

m Number of CMs

n Number of input/output ports in each IM/OM

k Number of IMs/OMs

i IM number, where 0 d i d k-1 j OM number, where 0 d j d k-1

h Input/output port number in IM/OM, where 0 d h d n-1 r CM number, where 0 d r d m-1

IM(i) The (i+1)th input module CM(r) The (r+1)th central module OM(j) The (j+1)th output module IP(i, h) The (h+1)th input port at IM(i) OP(j, h) The (h+1)th output port at OM(j)

LI(i, r) Output link at IM(i) that is connected to CM(r) LC(r, j) Output link at CM(r) that is connected to OM(j)

VOQ(i, j, h) Virtual output queue at IM(i) that stores cells from IM(i) to OP(j, h)

In the MSM Clos switching fabric architecture the first stage consists of k IMs, and each of them has an n u m dimension and nk VOQ(i, j, h) to eliminate Head-Of- Line blocking. The second stage consists of m bufferless CMs, and each of them has a k u k dimension. The third stage consists of k OMs of capacity m u n, where each OP(j, h) has an output buffer. Each output buffer can receive at most m cells from m CMs, so a memory speedup is required here.

The SMM Clos-network architecture can be defined by analogy with the MSM architecture. To transform the MSM architecture into SMM, the central stage must be replaced with the input stage. The organization of buffers in the switching modules must be also changed, because the central stage in the SMM switching fabric uses only output buffers. The VOQs are not used this architecture.

Currently, the implementation of crosspoint queued switching fabric with large crosspoint buffers has become feasible, because the technology for VLSI chip manufacture has matured. Recently, the CQ switches with VCQs (Fig. 2) have been proposed to eliminate the large RTT (Round Trip Time) delay between the line card and switching fabric the CICQ (Combined Input and Crosspoint Queued) switch suffers from [8]. This kind of switch consists of NxN crosspoint queues and N VCQs associated with individual input ports. All schedulers, crosspoint buffers (CPBs), and VCQs are located inside a single chip. In the CQ switch with VCQs the capacity of buffers to store cells was considerably increased because cells may be buffered in both CPBs and VCQs.

CPB CPB

CPB CPB

Input 1

Input N

Output 1 Output N

VCQ-S1 VCQ11

VCQ1N

VCQ-SN VCQN1

VCQNN

CP-S1 CP-SN

Fig. 2. CQ switch with VCQ: VCQ-S – VCQ scheduler, CP-S – CPB scheduler.

We propose employing the CQ switches with VCQs in the second and third stages of the SMM Clos-switching fabric to investigate the architecture made of real switches.

III. IMPLEMENTATION OF THE SRR IN THE MSM AND SMM CLOS SWITCHING FABRIC

The SRR scheme was first proposed for crossbar switches.

The basic idea of this mechanism is to desynchronize the arbitration pointers at the beginning and to update the pointers in a static way according to the round-robin routine (Fig. 3).

The pointers are kept desynchronized all the time. Since the SRR algorithm is very simple it may be implemented easily in hardware.

Implementation of the SRR in the MSM Clos-network switches has been proposed in [4], and is called SRRD scheme. The SRRD scheme is the same as the CMSD (Concurrent Master-Slave Round-Robin Dispatching) [3]

algorithm except the routine concerning updating the values of round robin pointers. The CMSD algorithm uses hierarchical

(3)

round-robin arbitration during iterative matching within the IMs. Two types of round-robin arbiters (master and slave) are necessary to perform arbitration process in the first stage of Clos-network switch.

Fig. 3. Matching sequence in the SRR.

Within the SRRD scheme the pointers are set up as follows:

PV(i, j, h) = h, PSL(i, j, r) = r, PML(i, r) = (i+r) % k, PC(r, j) = i if PML(i, r) = j. In each time slot pointer PML(i, r) and PC(r, j) are always incremented by 1 (mod k), and pointer PSL(i, j, r) and PV(i, j, h) remain unchanged, no matter there is a match or not. PV(i, j, h) – represents the pointer of the VOQ(i, j, h) arbiter. Pointer PML(i, r) is assigned to the master arbiter in LI(i, r), whereas PSL(i, j, r) works as the pointer of the jth slave arbiter in LI(i, r). Pointer PC(r, j) works for the arbiter in LC(r, j). The initial configuration of the round-robin pointers is set to preserve the paths as shown in Fig. 3. To improve the performance of the SRRD scheme under nonuniform traffic rotation of the search directions of round-robin arbiters was proposed. Now, some round-robin arbiters are allowed to search the requests in clockwise direction and anti-clockwise direction alternatively, each for one time slot. The track of time is kept by a 0/1 counter, which will increment by one (mod 2) in each time slot. Therefore, if the counter=0, the master arbiter in LI(i, r) searches one request in clockwise round-robin fashion, and the other way round if the counter=1.

The implementation of the SRR mechanism in the SMM Clos-network switches is much simpler. Since the first stage of the SMM switching fabric is bufferless no schedulers are needed. In this case the input stage is used to distribute cells to buffers located in the central stage. We propose to shift the static connection patterns in IMs under the influence of the backpressure signal (BP), sent by any CM module. The BP signal is transmitted to IMs controller when the cell, sent to any central module exceeds the value of the assumed threshold representing the number of cells waiting in VCQs. The algorithm works as follows:

Phase 1: Cells forwarding between IM and CM

o Step 1: Each cell arriving to IP(i, h) is transmitted, according to the static connection pattern of IM(i), to LI(i, r), and next to CM(r).

o Step 2: Each cell arriving to CM(r) is stored in proper VCQ(r, i, j) buffer; e.g. the cell destined to OM(3) is buffered in the VCQ(r, i, 3) buffer. This buffer is associated with CPB(r, i, 3) buffer. All CPB buffers with j=3 are associated with LC(r, 3) output link. Cells buffered in these buffers will be sent by this link to OM(3).

o Step 3: If arriving cell exceeds the value of assumed threshold send the BP signal to IMs controller to change the connection pattern used in IMs.

o Step 4: If there is a room in CPB(r, i, j) buffers, the VCQ-S arbiters transfer cells from VCQ(r, i, j) to CPB(r, i, j).

Phase 2: Cells forwarding between CM and OM

o Step 1: Each CP-S arbiter searches CPB(r, i, j) buffers with the same value of j, and selects cell to be sent to the OM(j).

The round-robin arbitration is employed for this selection.

o Step 2: All selected cells in step 1 are sent to OMs modules and stored in proper VCQ(j, i, h) buffers related to OP(j, h).

o Step 3: If there is a room in CPB(j, i, h) buffers, the VCQ- S arbiters transfer cells from VCQ(j, i, h) to CPB(j, i, h).

o Step 4: Each CP-S round-robin arbiter searches CPB(j, i, h) buffers with the same value of h, and selects cell to be sent to the OP(j, h).

IV. SIMULATION EXPERIMENTS

Two packet arrival models are considered in simulation experiments: the Bernoulli arrival model and the bursty traffic model. The probability that a cell may arrive in a time slot is denoted by p and is referred to as the load of the input. In the bursty traffic model, each input alternates between active and idle periods. During active periods, cells destined for the same output arrive continuously in consecutive time slots. The average burst (active period) length is set to 16 cells.

Several traffic distribution models (the most popular in this research area) have been considered, which determine the probability pij that a cell, which arrives at an input, will be directed to a certain output. The considered traffic models are:

uniform, Chang’s, bidiagonal and transdiagonal [9].

The experiments have been carried out for the MSM and SMM Clos-switching fabric of size 64 u 64. There are no capacity limited buffers in the MSM as well as in the SMM Clos switching fabric. In each simulation experiment traffic load per input port, from p = 0,05 to p = 1, with the step 0.05, was considered. The 95% confidence intervals have been calculated after t-student distribution for five series with 200,000 cycles, and are at least one order lower than the mean value of the simulation results, so they are not shown in the figures. The starting phase comprised 50,000 time slots, enabled to reach the stable state of the switching fabric. The threshold for BP signals was set to 15 cells. One and four iterations were considered for the MSM switch. Average cell delay in time slots, maximum size of queues in CMs and OMs in the SMM switching fabric, and throughput have been evaluated. Owing to the space limits, only selected results for the average cell delay will be presented in this paper (Fig. 4–

Fig. 8).

Fig. 4 shows the average cell delay for uniform traffic and Bernoulli arrival model. The SMM architecture produces better results for high input load p>0.95. For lower input load the differences between both architectures are very small.

Analogous trends, in the average cell delay can be observed for Chang’s traffic (Fig. 5). Fig. 6 shows average cell delay under the bidiagonal traffic. In this case, the throughput of both architectures is limited to 95% and 90% for the MSM

(4)

switch and SMM switch respectively. Simulation results have shown that the MSM architecture under the SRR mechanism is not able to support the transdiagonal traffic. The achievable throughput is equal only to 70% for four iterations. The SMM architecture behaves in a different way. The throughput under the transdiagonal traffic is equal to 100%, and average cell delay is about 140. The results for bursty model and uniform traffic are shown in Fig. 8. The MSM switch produces slightly better results than the SMM switch. The maximum queue size (total VCQ and CPB) in CMs modules in the SMM switch was about 50 for uniform and Chang’s traffic, 180 for transdiagonal traffic, 4000 for bidiagonal traffic and 500 for bursty model. A little bit longer queues were observed in OMs.

1 10 100 1000

0,00 0,10 0,20 0,30 0,40 0,50 0,60 0,70 0,80 0,90 1,00

Average cell delay (time slots)

Input load

MSM, SRRD, 1 itr MSM, SRRD, 4 itr

SMM, BP SMM, no BP

Fig. 4. Average cell delay, uniform traffic.

1 10 100 1000

0,00 0,10 0,20 0,30 0,40 0,50 0,60 0,70 0,80 0,90 1,00

Average cell delay (time slots)

Input load MSM, SRRD, 1itr MSM, SRRD, 4 itr

SMM, BP SMM, no BP

Fig. 5. Average cell delay, Chang’s traffic

1 10 100 1000

0,00 0,10 0,20 0,30 0,40 0,50 0,60 0,70 0,80 0,90 1,00

Average cell delay (time slots)

Input load MSM, SRRD, 1 itr MSM, SRRD, 4 itr SMM, BP SMM no BP

Fig. 6. Average cell delay, bidiagonal traffic.

1 10 100 1000

0,00 0,10 0,20 0,30 0,40 0,50 0,60 0,70 0,80 0,90 1,00

Average cell delay (time slots)

Input load MSM, SRRD, 1 itr MSM, SRRD, 4 itr SMM, BP SMM, no BP

Fig. 7. Average cell delay, transdiagonal traffic.

1 10 100 1000

0,00 0,10 0,20 0,30 0,40 0,50 0,60 0,70 0,80 0,90 1,00

Average cell delay (time slots)

Input load

MSM, SRRD, 1 itr MSM, SRRD, 4 itr

SMM, BP SMM, no BP

Fig. 8. Average cell delay, uniform traffic, bursty model.

V. CONCLUSION

Simulation results for the MSM and SMM Clos-network switches under the SRR scheme are presented in this paper. To our knowledge, there are first results obtained for the SMM architecture made of CQ switches with VCQ. Proposed solution is implementable in hardware due to its simplicity.

REFERENCES

[1] C. Clos, “A study of non-blocking switching networks”, Bell Sys. Tech.

Jour., 1953, pp. 406-424.

[2] H. J. Chao, B. Liu, High performance switches and routers, Wiley Interscience, New Jersey, 2007.

[3] E. Oki, Z. Jing, R. Rojas-Cessa, and H. J. Chao: “Concurrent round- robin-based dispatching schemes for Clos-network switches”, IEEE/ACM Trans. on Networking, vol. 10, no.6, 2002, pp. 830-844.

[4] K. Pun and M. Hamdi, “Dispatching schemes for Clos-network switches”, Computer Networks, no. 44, pp. 667–679, 2004.

[5] J. Kleban and A. Wieczorek, “CRRD-OG – a packet dispatching algorithm with open grants for three-stage buffered Clos-network switches”, in Proc. High Performance Switching and Routing 2006 – HPSR 2006, pp. 315–320.

[6] N. McKeown, A. Mekkittikul, V. Anantharam, J. Walrand, “Achieving 100% throughput in an input-queued switch”, IEEE Trans. Commun., pp. 1260-1267, Aug. 1999.

[7] X. Li, Z. Zhou, and M. Hamdi, “Space-Memory-Memory architecture for Clos-network packet switches”, Proc. IEEE International Conference on Communications – ICC 2005, May 2005, vol. 2, pp. 1031-1035.

[8] K. Yoshigoe, The Crosspoint-Queued Switches with Virtual Crosspoint Queueing, Proc. 5th International Conference on Signal Processing and Communication Systems, ICSPCS 2011, Dec. 2011. pp. 277-281.

[9] J. Kleban: Packet Dispatching Scheme Employing Distributed Arbiters for Modified MSM Clos Switching Fabric, Poznańskie Warsztaty Telekomunikacyjne '2011, 09 grudnia 2011, Poznań, pp.43-47.

Cytaty

Powiązane dokumenty

Hitherto, however, there do not appear to have been any measurements of the two-point correlation with separations in the streamwise direction at different downstream locations in

The concept was later developed in the Reports of the present UN Secretary General (SG), Ban Ki-moon. His so far seven reports on RtoP 28 were followed by interactive debates in

powstał Klub Aktywnego Popołudnia (KAP), którego częścią spotkań teoretycznych pozostała Akademia Po Godzinach, a nowym elementem były i są zajęcia warsztatowe. Wśród nich

Programming controller using incremental models, which is named Incremental model based Heuristic Dynamic Pro- gramming (IHDP), is developed as a model-free adaptive con- trol

Jeszcze jednym przykładem w zorow ania się Sm uglew icza na legendach i podaniach jest kom pozycja przed staw iająca śm ierć św.. W ykonał wówczas także szereg

odnosi się to głównie do kazań pogrzebowo-żałobnych z cza- sów niewoli narodowej, obliczonych także na promowanie ściśle określonych osób lub grup społecznych, które –

Cette stratégie d’« abizarrement », que l’on peut voir chez plusieurs traducteurs polo- nais, mais aussi dans quelques traductions anglaises (par exemple, De la gram‑.. matologie

Since the differences in average cell delay between one and two iterations are negligible we may say that the performance of modified Clos network is the same under the DAUB1