METHOD FOR REJECTING CELLS AT AN OVERLOADED NODE BUFFER

Abstract: The invention is related to a method for managing a buffer in a data network, in which many users send great amounts of data with high speed. Due to the invention the buffering can be performed impartially for all connections so that in an overloading situation the data dispatches of the connections are in a fair position and the network's capacity will be used in an optimal way. Also because of the solution according to the invention the connections can easily be given certain privileges for the use of the capacity.

Description: Method for rejecting cells at an overloaded node buffer. This invention relates to a method defined in the introductory part of claim 1 for managing a buffer in a data network, in which the data is divided into frames and the frame has several cells. At the present high-speed data networks are used for the data transfer, of which an ATM- network (Asynchronous Transfer Mode)-network can be mentioned as an example. Besides high transfer speeds the most significant advantages of the ATM include a connectable and dynamic architecture. ATM can easily be adapted for different occasional telecommunication speeds. ATM- terminal devices can also reserve the desired portion of the band width of the ATM-network in order to establish connections similar to a telephone network. Due to the connection distance one of the most important factors influencing the ATM performance is the architecture of the coupling circuit in the ATM-device. When information is transferred between two computers through private and public ATM- networks, the transmitter must negotiate with each node or node point along the way concern¬ ing the routing of the packages, transfer speeds and service levels. The process is in principle analoguous to the connec-tion establishment in a telephone network. The most re ar- ___ kable difference is the determination of the service level. The communications description defines the parameters for the average transfer speed of ATM-cells as well as the burst duration and the delay variation tolerance. It is also determined, whether the connection serves constant bit rate or variable bit rate sources and whether the question is about connectable, as frame relay, or nonconnectable communications known from the local network. Depending on the agreed service level the nodes follow priorities, which determine, which of the willing cells is allowed firstly inside the ATM-circuit. Besides it is determined by priorities, which of the cells are removed firstly, when the transfer channel is for some reason overloaded. An ATM-connection is established by paths (Virtual Path) formed inside a physical copper or light cable and connecting together nodes and terminal devices, which paths for their part are divided into several logical virtual channels. By paths the stationary reserved connections .are realized and by channels the connectable temporary connections. Thanks to the flexible archi¬ tecture each parallel channel of one path can transfer data of different type. The conception of virtuality peculiar to ATM is therefore generated by the idea, that the physical movement of a cell through the ATM coupling circuit lasts only for a while, though the connection is available all the time. The fixed length of an ATM-cell has been chosen as 53 bytes, of which 48 bytes include actual information. In order to save space the 5-byte header of the ATM-cell does not comprise all necessary routing information, but only data of the next path (VP) and channel (VC). ATM assumes that the underlying transfer path is reliable, whereby the node points do not check the integrity of the data they transfer. The path usually comprises several channels seeking for the transfer capacity. It is therefore obvious that in a certain stage several packages are simultaneous striving to attain the node. On the other hand the dynamically varying transfer speed may cause in the case of burst-filled communications situations, in which the optimal transfer speed of the node point is exceeded. Inner blocking takes place in the circuit itself for example in the case, when two data packages going to different out-ports are obliged to use the same inner route. If the circuit is not able to adapt two cells simultaneously to the same route, the other cell must be buffered or even destroyed. Upon the delivery blocking two cells are competing for the same out-port. By placing the buffer to the out-port, part of the problems is avoided. The buffer may operate either by the FIFO- line principle or according to priorities, whereby the time-depending audio and video files can be transferred ahead the other data When fixed transfer speeds are used in a node point, jamming does cause problems Troubles emerge only when the communication quantity can sway together with random data buffers. Inner buffering of the node point eliminates short peak loads. The buffer seizes all the data packages, whose speed exceeds the handling ability of the node. Transfer of packages to the circuit takes subsequently place either by queueing or priority. For the jamming control also different priorite levels are needed for normal data and control information. The structure and control of buffers may be the most important of the details connected to the ATM-coupling or node point. Buffering is needed in order that switches would not lose pack¬ ages or frames in burst-filled traffic. Buffers are on the other hand harmful, because their construction is costly and as large devices they cause irritating delays. The buffer size depends on the circuit architecture and the adaptation. Most nodes have been planned on the starting buffers, whereby the packages go through the node before stopping. Also inner input and node buffers have been used. The deeper into the buffer the data must be transferred, the more harmful delay is generated. Therefore the port-related buffers should be as short as possible. The node should mostly comprise space for at the most 50-256 cells to be buffered per port. In greater package amounts one must rely upon the traffic balancing techniques of the ATM-network. A substantial part of the ATM-network traffic comprises data communications, especially between local networks. Typical for this kind of traffic are very great variations, the anti¬ cipation of which is difficult. On the other hand the data communications can often be adapted to the variations of the available capacity. For the most effective utilization of the ATM- network capacity the network can announce to the user the highest permissible transfer speed of the connection For this a so-called ABR (Available Bit Rate) -service is under develop- ment. Another possibility is that the network does not inform the overloading situations to the users, but the user observes them as loss of data frames (Unspecified Bit Rate, UBR-service). In both cases it is very important that losses of frames are distributed fairly to different connec¬ tions. Fair buffering causes, however, a significant problem, because transfer speeds in the ATM-network are very high, whereat realization of complicated protocolls and buffering met- hods causes great additional costs. Buffers with large physical size are also often used, which in this case require valuable space in the circuit board and engender extra costs. Some methods for buffer control are already known. In the weighted Fair Queueing (WFQ) - method certain portion of the buffer capacity of each node is reserved for each connection. The number of buffer places needed by each connection depends on the traffic parameters defined for the connection. By this principle it is possible to guarantee for each connection (following the agreed traffic parameters) a trouble-free service regardless other traffic in the network. By WFQ it is possible to guarantee trouble-free service simultaneously for very different connections. Its technical realization is however difficult, because it requires both a sophisti¬ cated buffering system and a complicated method, by which it is determined, which cells are accepted to the buffer. Static distribution of the buffer capacity based on WFQ requires very large buffers in each network node, if the number of connections is high. Another known solution is a so-called Random Early Drop (RED), in which the data frame to be dropped during the overloading situation is randomly selected. The RED-principle is suit- able for networks without connections, in which there is no information about the connections and their amounts. The ATM-network is, however, connectable in nature, so that rejection of frames may be done on the basis of data related to the connections. A third solution is based on the fact that the network informs the users about the overloading situation in the netwrok using e.g. a method of the EFCI-type (Explicit Forward Congestion Indication). When the network has sent an EFCI-notice, it is assumed that the users reduce the speed of the traffic to be sent to the network. The solutions of both the RED and EFCI-type are simple from the view of the buffering reali- zation. By them it is, however, very difficult to protect other network users, if some connec¬ tion does not follow in advance agreed procedures in the overloading situation. By these methods it is not therefore possible to realize a fair capacity distribution. In large networks the influence of an EXCI-notice begins after a delay of considerable length, even tens of millisec¬ onds. In order to keep moderate the amount of lost cells and frames, very large buffers are needed in each network node. EFCI requires equipment alterations in all parts of the network from connection cards to network nodes. Further on the most available embodiments cannot react to an EFCI-notice. The objective of the invention is to eliminate the above-mentioned problems. The purpose of the present invention is especially to achieve a novel method and system in order to control a buffer, i.e. a buffer space, in the data network, as in ATM-network, and thus to enable effec¬ tive operation fair to all network connections, which can be utilized in the data traffic of the data network. Because of the present invention it is possible to satisfy the requirements set forth naturally for the control method of the data traffic of the data and ATM-network: simple realization, fair capacity distribution for different connections and effective utilization of the network resources. For the characteristic parts of the invention a reference is made to the claims. In the method according to the invention for the control of a buffer in the data network com¬ prising a number of node points and the data bus connecting them and including a predefined amount of connections, data is transferred in frame form so that a data frame comprises a number of data cells, and data is buffered in the node point in order to adapt the data network capacity and the capacity required by the transferable data to correspond each other. The data network comprises preferably an ATM-network, but also networks of other types can be used. The method according to the invention can also be adapted to other architectures having the problem of fair buffering of the data to be sent. According to the invention in the overloading situation of the buffer or in the case, where the overloading limit imposed to the buffer is about to be exceeded, the amount of cells to be buffered and coming to the node point is restricted. The overloading situation may be present for instance in the case, when three quarters of the total buffer capacity is in use. Restriction is made by rejecting the first cell to the data frame buffer in incoming sequence, if the total number of all cells in the buffer exceeds the predefined first limit value or for example the above-mentioned overloading limit, and if the number of cells sent by the connection that transferred the cell in the buffer exceeds the predefined second limit value. In a preferred embodiment of the invention the first limit value is selected lower than the number of cells going to the buffer. This is made for instance in such a way that in a buffer, whose capacity is 2000 cells, the first limit value is selected to the value of 1500 cells. The second limit value is calculated from the formula: K- X W = Z\ l + x-R (1 ) where: Wi = permissible number of cells of the connection i in the buffer; Z = freely selectable weighting coefficient; K = number of cells going to the buffer, X = number of cells in the buffer; R = first limit value (R < K). The formula in question can also be written in the form: Y,N a (X - R) > Z(K - R)X. (2) where: Yj = number of cells of the connection i in the buffer N;, = number of active connections or the connections, which have at least one cell in the buffer; Z = freely selectable weighting coefficient: K = number of cells going to the buffer; X = number of cells in the buffer; R = first limit value (R < K). Then the fulfillment of the condition imposed by the second limit value is determined by mak¬ ing the comparison according to the formula (2) above. This comparison can easily be realized by calculations, because Z(K-R) is not a quantity depending on the buffer loading. It is there¬ fore sufficient, that for each comparison one subtraction and three multiplications are per¬ formed. On the other hand the case in the method according to the invention may be, that it is desired to reserve certain capacity for certain connections, a kind of a "guarantee capacity", by which it is secured for the connection a capacity not depending on other connections. The capacity can be reserved advantageously in advance by giving to each connection, for which it is desired to distribute the capacity, a predefined weighting coefficient, whereby the second limit value is calculated from the formula: where: W] = permissible number of cells of the connection i in the buffer; Z = freely selectable weighting coefficient; K = number of cells going to the buffer; X = number of cells in the buffer; R = first limit value (R < K). qi = weighting coefficient of connection 1 ; and J = l Further the formula in question can be written in the form: Y.Q(X - R) > Z(K - R)q,X. (4) where: Yj = number of cells of the connection i in the buffer; Q = ∑ι, Z = freely selectable weighting coefficient: K = number of cells going to the buffer, X = number of cells in the buffer; R = first limit value (R < K). qi = weighting coefficient of connection 1. In this context it can be mentioned, that the comparison presented in the formula (4) returns to the form shown in the formula (2), if equal weighting coeeficient is given to each connection or when no connection has a more priviledged status regarding other connections. It is also preferable, regardless the conditions above, if the buffer is full. Though the formulas shown above are relatively clear and simple to calculate, the time used for the calculation, depending on the equipment about 10 μs, generate delay obstructing the operation in high-speed connections. Therefore in the practice it is preferable to perform the calculations beforehand as completely as possible. That is why in one advantageous embodi¬ ment a table is formed, into which is placed the second limit value with the number of cells in the buffer and the number of active connections In the table there is then a finished limit value with different parameter values. Therefore the engendered delay can be reduced, because reading from the table can be made more rapidly than calculation of values. Additionally by using a suitable cache memory, the reading time can further be decreased. Because it is unlikely that all the cells in the buffer belong to a different connection, the size of the table can be reduced essentially smaller by assuming, that the number of active connections is clearly below the buffer's maximum capacity. Further if the number of active connections exceeds the as-su- med value, the greatest number of active connections in the table will be used as parameter. In one advantageous embodiment of the present invention the buffer size is selected according to the size of the frames to be sent, so that their ratio is preferably about 50. Thus can be ensured that the ratio between the buffer size and the frame size to be used is sufficient in order that the available capacity can be distributed as fairly as possible between the connections. Also in one advantageous embodiment the size of the table to be formed can be reduced by decreasing the number of tabulable values X or the amount of cells in the buffer. In certain simulations it has been observed, that the variation of the parameter Z between 0,5 - 1 influ- ences only slightly the fairness of the buffering, whereby as parameter X in the table can be used a staggered parameter X*, which can be determined as follows: X* = GLX/G + 0,5j, where L J refers to the integer (5) In this formula G means a staggering constant influencing the table size. In some tests that have been realized by the method according to the invention it has been observed that even five different values of W] are sufficient in order to obtain necessary fairness. One advantage of the present invention compared with the known technique comprises the possibility to divide the buffer space dynamically for many simultaneous connections in an effective and simple way. In the overloading situation only the connection using higher than average network capacity, data frame losses take place. Embodiments using the connections in question may thereafter reduce their speed and thus avoid the frame losses. The i ' nvention offers also the advantage that by the method according the invention it is possible to weigh the capacity to be distributed for different connections by weighting coefficients. The presented method offers further, compared with RED and EFCI-methods, substantially more justifiable capacity distribution of the network for different connections. Compared with the WFQ-method the presented method can be realized in a significantly simpler way thanks to the FIFO-buffering. Also compared with the static WFQ-method the need for buffering capac¬ ity of the presented method is significantly lower, because the capacity of the FIFO-buffer can be utilized very effectively (up to certain limit each free buffer position is available for the cell of any connection). It can also be stated that the invention has an essential effect upon realization of services adapted for the data traffic in an ATM-network. The presented traffic control method enables advantageous, but simultaneously fair service. The invention will be described in the following as an example referring to some simulation results obtained by the method according to the invention and accompanying drawing showing in curve form rejection operations of different algorithms, and also to tables, in which certain simulation results are shown. Algorithm A3 according to the present invention is compared to two significantly simpler, but clearly more unjustified algorithms Al and A2. In compliance with the algorithm Al a cell coming to the node point is rejected, if X > R, where X and R are the same as above. The weakness of this algorithm is clearly visible. One connection may alone take a great part of the buffer, whereby other connections are in a weaker position regarding it. It would, however, be expe¬ dient in an overloading situation to reject cells from the connection, which uses the buffer capacity more than the others. By the secong algorithm A2 it is tried to eliminate the above- mentioned problem. In the algorithm A2 the first cell of the frame in the input sequence is rejected, if X > R and Wj > 1. In the drawing it is presented the number of cells allowed by the above-mentioned algorithms Al , A2 and A3 for certain connection as a function of the number of cells in the buffer. Following algorithms have been used in the algorithms: K = 2000, R = 1500, Z = 0,5, X = 1525 and K, = 5. In the algorithm A3, when the number of cells in the buffer are attaining the number of cells going to the buffer, the second limit value W, is reduced substantially under one Therefore almost all cells are rejected, because the algorithm tries to balance the use of the buffer capacity between the connections, when the number of cells in the buffer increases. This is a remarkable quality, because a part of the buffer capacity must be left for the remaining cells of the accepted frames. Operation of the algorithm A3 can be worked out depending on the adaptation by the selection of parameters R and Z. In the following some simulation results are shown referring to enclosed tables 1 - 4 for the algorithms Al , A2 and A3. In order to state the fairness a reference model is used based on the assumption, that traffic variations are relatively slow. Then the fair algorithm rejects cells in such a way, that there exists a maximum cell speed W max satisfying the following terms when the loading exceeds the bus capacity: ∑>, (i - *, ' ) = r ( 6 ) wherein for the Wj connection i the characteristic cell speed, C is the bus speed, and: B = 0, if Wj iw^ ( 7 ) w. w B. = . M , > M, max w In other words W^ is the greatest permissible band, which the connection may use in an overloading situation. The final cell loss ratio is determined as follows: Σ m A B: = =• (8) ' ,v B. Σ- where m, means the average bit speed of the connection and N the number of the connections Based on the reference model above the fairness or justification index can be presented as follows. where B, means the simulated cell loss ratio of the connection i. The fairness index has follow¬ ing qualities: * F = 1, if in all connections B, = B,* * if m, = m„ for each i value and B,:s comprise exponentially distributed random numbers, F is typically about zero * F does not change, if each B, and B,« is multiplied by the same constant * F is weighted by the average band width of each connection in order to avoid over¬ weighting of connections in small cell speeds. In table 1 are presented the source types used in the simulations. The simulation program determines the connection activity 8000 between time intervals. In the table it has also been shown the simulation results for mere FIFO-buffer, Al , A2 and A3. As parameters has been used the following values: R = 1500, Z = 0,5, 0,9 and 1 (A3). In tables 2 - 4 there are shown the simulated cell loss of each connection and the calculated reference value as well as the average cell loss B ave . In the last column it is presented the fairness or justification index determined by simulation. As clearly shown in the tables, the algorithm is significantly more justified than other buffering algorithms used in the comparison. It can also be observed that the selection of the parameter Z does not influence very much the fairness. It does not, however, make calculations more complicated, so that there is no reason for its deletion. Actual traffic in the data network influences the selection of parameters R and Z. In table 5 there is presented the influence of the staggering according to the formula (5) to the simulation results Firstly by staggering properly the above-mentioned parameter table the table size can be reduced to 100 kilobits, eliminating thus the problems caused by the table size. In the table the number of levels refers to the number of different Wj values As can be discovered in the table, the level number can be reduced even significantly without a substantial influence to the fairness index In table 6 it has been shown the influence of the ratio of the buffer size and frame size to the fairness index. As shown in table 6, the maximum ratio of the buffer size to the frame size should be at least 50 in order that sufficient fairness would be maintained For instance, if the maximum frame size is 200, the buffer size must be about 10000. The method according to the invention can be realized in a network node point by suitable combinatory logic and counter arrangement in the node before depositing the cells into the buffer. The buffer can comprise alternatively either an input, output or inner coupling field buffer. The physical realization contains further for each connection the following components: counter, which tells the number of cells of the connection in question in the buffer, ticket which tells whether the previous cell of the connection in question was the last one in the frame, and ticket which tells whether the cells belonging to the frame in question has been rejected before. These components can be realized with components generally used in the digital technique. Finally as a summary it can be concluded that by the method according to the invention and the FIFO-buffers it is possible to realize very impartially a buffering method utilizing the buffer capacity. The presented method is especially suitable for control of UBR-connection to be realized in the ATM-network, because this method reacts rapidly in an over-loading situation. The invention is not restricted to concern the above-shown examples, but many modifications are possible within the inventional idea defined in the claims.

Claims: CLAIMS 1. A method for managing a buffer in a data network comprising a number of node points and the data bus connecting them and including a predefined amount of connections, in which method data is transferred in frame form, so that a data frame comprises a number of data cells and data is buffered in the node point in order to adapt the data network capacity and the capacity required by the transferable data to correspond each other, characterized in that in an overloading situation of the buffer the number of cells to be buffered and coming to the node point is restricted by rejecting the first cell in the input se- quence of the data frame, if the total number of all cells in the buffer exceeds the -predefined first limit value and the number of cells sent by the connection that transferred the cell in the buffer exceeds the predefined second limit value 2. A method according to claim 1, characterized in that the first limit value (R) is selected lower than the number of cells (K) going to the buffer, and that the second limit value (W,) is calculated from the formula where: W, = permissible number of cells of the connection i in the buffer, Z = freely selectable weighting coefficient, K = number of cells going to the buffer, X = number of cells in the buffer, R = first limit value (R < K) 3. A method according to claim 1, characterized in that the data network capacity is distributed by giving each connection a predefined weighting coefficient, whereby the second limit value is calculated from the formula ■ *# ♦ * where: Wj = permissible number of cells of the connection i in the buffer; Z = freely selectable weighting coefficient; K = number of cells going to the buffer; X = number of cells in the buffer; R = first limit value (R > K). qi = weighting coefficient of the connection i; and Q = sum of the weighting coefficients. 4. A method of any of the preceding claims 1 -3, characterized in that the cell is rejected, if the buffer is full. 5. A method according to any of the preceding claims 1 -4, characterized in that a table is formed, into which a second limit value (W,) is placed with the number of cells in the buffer and the number of active connections, whereby the connection is active, if at least one of the cells in the buffer belongs to it. 6. A method according to any of the claims 1 -5, characterized in that the buffer size is selected according to size of the frames to be sent, so that their ratio is advantageously about 50.

Inventors: HEINAENEN JUHA, KILKKI KALEVI, HEINAENEN, JUHA, KILKKI, KALEVI
Applicants: FINLAND TELECOM OY, HEINAENEN JUHA, KILKKI KALEVI, HEINAENEN, JUHA, KILKKI, KALEVI, TELECOM FINLAND OY
Application year: 1996
Main classification: H04L12
IPC codes: H04L12, H04Q11