Professional Documents
Culture Documents
C.E. Rohrs is a Fellow of Tellabs Research Center and a Visiting Scientist at MIT.
Tellabs Research Center, 3740 Edison Lakes Pkwy, Mishawaka, IN 46545 (charlie@trc.tellabs.com)
R.A. Berry and S.J. O’Halek are graduate students at MIT.
Abstract -- Algorithms for controlling congestion are critical possible beliaviors quickly becomes intractable. The
for the success of ATM networks. The various sample mathematics of dynamic system theory suggests that the
algorithms appearing in the literature have in common interaction of many non-linear feedback loops can produce
significant non-linearities that make these algorithms difficult unexpected and erratic behavior. While no such behavior has
to analyze using the tools of classical control theory. This been demonstrated for the carefully crafted binary algorithms,
paper reports on the beginnings of a research program that we feel that it is a u:seful endeavor to examine if simple linear
considers the ATM congestion control problem from the point feedback loops can be designed in the context of the ATM
of view of control theorist. A control scheme is developed that congestion avoidance problem. If adequate feedback loops can
can be designed and analyzed using well established linear be obtained, the expansion of the analysis to large
control theory. There is promise that as this approach is further interconnected systems becomes much simpler and more
developed it offers hope that analysis can assure reasonable fruitful.
behavior in the large scale system setting of ATM networks. In this pcxper, we address the creation of source and switch
algorithms that can be analyzed and designed using standard
linear control system techniques that can be found in any
I. INTRODUCTION standard undergraduate text in the subject, for example, [7].
We believe that thilj theory of control which has developed
A critical success factor for ATM networks is the resolution over many years has much to teach us about congestion
of a scheme to adequately control the flow of data into an ATM avoidance algorithms and that this theory has been largely
network so as to avoid congestion at the network switching ignored. We believe: manipulating the problem to make use of
points [I]. The ATM Forum is earnestly addressing this this theory can produce a number of benefits. Among the
question and has defined protocols that enable the switches and potential benefits are:
sources to communicate congestion information [2]. It has (1) simpler and/or more effective algorithms,
also produced a series of sample congestion avoidance (2) better understanding of the current non-linear
algorithms. These algorithms are not part of the standards algorithms,
being set but are included to demonstrate the viability of the (3) better analysis techniques for large systems of
protocols. The algorithms suggested to date fall into two interacting algorithms.
categories - binary algorithms, e.g. the PRCA (proportional In this paper, we consider only the simple case where two
rate control algorithm) [3], which use a single bit to sources are trying to send cells to the same output port of the
communicate congestion information from the switches to the same switch. Both sources are persistent in that they would
sources, and multivalued algorithms such as those presented in like to send cells as fast as possible but are limited by the
[4],[5] and [6], which exchange much more information in bandwidth of the output port of the switch. Each source should
both directions between the sources and the switches. While settle to a rate that is half the bandwidth of the output port.
more recent work in the ATM Forum has concentrated on The results of this paper provide only the first steps in using
multi-valued schemes, this paper addresses only the more control theory to analyze and design alternative congestion
restricted binary schemes. Our attention is restricted to these avoidance algorithms. We are not yet at the point where we
schemes because we are looking to more fundamentally advocate a particular alternative algorithm. We present our
understand the behavior of these schemes and the role classical thinking and. our results as a contribution to the general
control theory can play in suggesting alternative schemes that understanding of the behavior of rate control algorithms and an
can be more productively analyzed. opening to a different way of considering such algorithms. We
The binary schemes that have been presented to date as hope that the lessons learned in addressing these issues from
sample switch and source algorithms possess the characteristic the viewpoirit of a control engineer will enrich the work of
that they contain control loops with significant non-linearities those working on the problem of congestion control, most of
within their operating regions. Such schemes are difficult to whom have differen,t backgrounds from ours.
analyze even in a single loop setting. In a network setting with
many interacting loops, fully understanding the range of
noise source nq. The statistics of nq can be derived from 3 w e u e length lcellsl
603
The switch sets the congestion indicator of RM cells
returning to the source if its queue length surpasses some
threshold (in this case, q=500). 0.01 0.02 0.03 0.04
time 1sec1
1090
Also shown in Fig. l b is the timing of the C=O and C=l RM It can create the effect of a many valued feedback variable by
cells as received back at a source. The timing out problem is using probabilistic feedback.
seen most clearly at the top of the source's rate cycle. The Consider the situation where the switch would like to
source rate levels off while it is receiving only C=O (no communicate the parameter p , a number between 0 and 1 to the
congestion) indicators. At this point the rate is high and new source. It can use a pseudo-random number generator to set
outgoing RM cells are being generated much faster than RM C=l with probability p and C=O with probability 1-p. The
cells (which were generated at lower rate previously) are being source can then recreate a noisy estimate of p by averaging
returned. The result is many false slowdowns due to timing over a number of successive C's. This is the scheme we
out. Notice that this effect is in fact stabilizing but that is suggest to turn the rate control system into an (almost) linear
makes accurate analysis very difficult. control system.
Some analysis of this representative algorithm can be Source algorithm. In the interval between time (n-l)A and
performed if this timing out problem is assumed away by only nA accumulate as C I the number of RM's received with C=l
letting the source adjust at fixed time intervals. A fixed and as COthe number o i RM's received with C=O. Let
interval adjustment mechanism in the spirit of the ATM Forum
PRCA algorithm is
(4)
At nA , compute Ri(nA)as
where COis the number of C=O RM cells received in time
interval A, Ri(nA) = y R i ( ( n - - l ) A ) + (l-pi((n-l)A))p (5)
C I is the number of C=l RM cells received in time
interval A, -Pi( ( n - 1 ) A ) a
a is the multiplicative decrease factor, and is the = YRi((n-1)A) - ( a + P ) P i ( ( n - W ) +P
additive increase factor. Notice that this equation for the rate adjustment has an
A system very similar to this is analyzed in [8]. Even with effect very similar to that of Eq. (3) but it has been modified to
the timing out problem removed, the system contains two non- be linear in the control parameter pi. There is still an
linearities which cause it to exhibit steady-state oscillations
exponential decrease in rate which can be overcome by an
similar to those demonstrated in Fig. 1. A typical cycle in the
additive increase when there is little congestion, i.e.,when p i is
oscillation is described in [8] where it is made apparent that the near zero.
cycles are fundamentally caused by the threshold non-linearity
Switch Algorithm. The queue length is still given by (1).
in (2). The switch computes the feedback parameter p as the output of
In summary, the non-linearities in the algorithm of (1)-(3) a linear time invariant operator working on q. The loop
create a control system that results in large limit cycles. The
contains a summer amd another low frequency pole at y. The
binary control variable C does not anticipate changes in the fundamentals of control theory indicate that a simple controller
queue. By the time C is used to indicate congestion the rates that feeds back a term proportional to the queue size and
are large and growing. The congestion indication causes the another term indicating the change in the queue size is
rates to begin to decrease but the queue continues to grow until appropriate for a good, stable system response. Such a
the sum of the rates falls below the outgoing bandwidth. The controller is standard in the control theory literature [7]. It is
cycle is reversed on the downside. The two sources are referred to as a proportional-derivative (PD) or a lead network
synchronized in their oscillation since the nonlinear mapping controller. This controller can be expressed as
of the single queue is driving them simultaneously in the same
direction. The situation becomes worse when delay is added to
the feedback.
1091
produce better performance. The remaining non-linearity model by representing the sum of the two sources as a doubling
provides a safety net against any instability in the linear region of one source.
as any locally unstable trajectories are trapped in a stable limit R ( n A ) = 2R, (nA) (9)
cycle.
A slightly larger model with each source represented
separately may easily be substituted for more complex
situations.
Equations (I), (5)-(7), and (9) provide a model with which
the control system can be designed and analyzed. A block
diagram of the model appears in Fig. 3.
0 200 400 600 800
4
cz 0.5
PI
0 _II
1092
the actual congestion control system were run to verify
From (5)
performance. The results of a simulation are in given in Fig. 4.
The rates of the two sources are displayed in Fig 4a, where it is
From (6) q = p/b (12) seen that the rates converge to near their steady-state values.
The queue is well behaved as in steady-state it moves slightly
From ( l l ) , the parameter P/(a+p)must be chosen larger around its steady-state value. The presence of the noise which
than (l-y)B/(a+p) to allow a positive steady-state p . From (5), enters the system in communicating p to the sources prevents a
smaller y removes the effects of the initial rates more quickly complete quiescent steady-state. Notice, however, that the
and has the effect of forcing the two sources toward the same queue is kept to an (order of magnitude smaller than the non-
rate more effectively. We chose a=O and ~ 0 . 9 initially.
9 To linear simulation of Fig. 1 and that the oscillations are
keep the queue size small (less than IOO), (12) was used to drastically reduced.
guide the choice of b as b=0.01. Based on the expected steady-
state rates of the sources, we chose our sampling time to be
~ l = 9 * 1 0 secs.
- ~ This allows each source to see on the average
5 RM cells per sampling period. Increasing A changes the
frequency scale of the system and has effects similar to those
produced by lowering the bandwidth.
Control theory tells us that the bandwidth and phase margin
are determined by a transfer function called the control loop
gain. A larger loop gain means a larger bandwidth. The
control loop gain is given by Fig 4a. The ratl:s of the sources
2 ( a+ p) A ( a + b ) z-’( 1 - “z-’)
~ i , “ “ ’ ” ” ” l ’ ’
a+b
G(s) = (13)
( 1 - yz-l) ( 1 - z-’>
The parameters a and p are left to set the phase margin, the
bandwidth and the steady-state probability p. Choosing
a=0.0685 and p=2.95*103 creates an adequate phase margin of
45 degrees, a bandwidth of 500 rad/sec and a steady-state
Fig 4b. The size of the queue.
p=0.4. The steady-state q is 40.
Other quantities can be derived using the theory. The Fig. 4 Simulation of the probabilistic system with
linearized system can remain stable for round trip delays up to ~ 0 . 9 9a=0.0685,
, b=0.01, a=O,and P=2.95*103.
1.5 msecs. Larger delays could be handled by either lowering
the loop gain or increasing A. If the actual delay is greater than To demonstrate ithe trade-offs that are achievable using
that specified, the system will behave much as the original non- linear control theory the system was redesigned with the goal
linear system. of reducing the effect of the noise from the communication of
Linear system theory provides the means to predict the p . To achieve this ,goal we must reduce the bandwidth and
effect the noise sources will have on the steady state values. accept the accompanying slowing of the transient response.
Given the transfer function, H(dw),between a noise source and The important point is that because the system can be analyzed
a parameter of interest, then the variance in the parameter is we know the precisie nature of the trade-offs involved. To
related to the variance of the white noise source by decrease the bandwidth, the loop gain of (13) is lowered by
decreasing P. The parameter a must be increased to protect the
phase margin. Finally, in order to keep the steady state p in
(12) at p=0.4, the value of y must be increased making the rates
of the two sources converge more sluggishly. We set
We will call this scale factor the covariance response of the ~ 0 . 9 9 9 8 a=0.4,
, b=O.Ol, a=O, and P=59. The bandwidth of
transfer function. For the model parameters above, the the resulting system is now 50 radJsec with a 60 degree phase
covariance response from the probability noise, nito the queue margin resulting in robustness to delays in the loop up to 19
length, q is 840 and the covariance response from the queue msecs. The variance of the queue is now predicted to be 6.3
noise, ny to the queue length, q is 0.25. The variances of niand with a standard deviation of 2.5 cells. The simulation was run
nq are 0.05 and ,1875 respectively. Thus, the variance of the starting the rates rieax their steady-state values to avoid
queue is expected to be 40 and the standard deviation is 6.3. excessive simulation through the longer transient. The
This means that in the steady state the queue should usually simulation results appear in Fig. 5. The most noticeable
stay within +I- 6.3 cells of its steady state value. difference is the much reduced effect of the noise on the rates
As long as the variables remain in the linearized region, the and the queue as ]predicted from the smaller closed-loop
entire response can be determined analytically. Simulations of bandwidth.
1093
[ 5 ] Siu, K. and H. Tzeng, “Intelligent Congestion Control for
ABR Service in ATM Networks,” Computer Communication
Review, Vol. 24, No. 5 pp. 81-106, October. 1995.
[6] Barnhart, A.W., “Example Switch Algorithm for Section
5.4 of TM 5.4 of TM Spec.,” ATM Forud95-0195, February
10, 1995.
[7]Rohrs, C.E., J.L. Melsa, and D.G. Schultz, Linear Control
Systems, McGraw-Hill. 1993.
[8] Yin, N.and M.G. Hluchyj, “On Closed-Loop Rate Control
Fig 5a. The rates of the sources. for ATM Cell Relay Networks,” Proceedings, IEEE Infocom
’94,pp. 99-108. June 1994.
V. CONCLUSIONS
REFERENCES
1094