Beruflich Dokumente
Kultur Dokumente
Short Paper
ABSTRACT
This paper presents a framework for TCP congestion control, called “Bandwidth-
based TCP”, which differs from most TCP algorithms by using the bandwidth estima-
tion as the congestion measure to control the window size increment. It tries to predict
the equilibrium point of window size then make the congestion window approach this
point in a round-trip-time. First of all, an overview of TCP and AQM is introduced.
Then, the stability of the mechanisms is also investigated via linearization. Finally,
through the simulations, the performance of the proposed scheme is shown to be better
than TCP-Vegas under homogeneous and heterogeneous environments.
Vegas considers that the current state is good enough When a system is controlled, some common de-
to stay in, therefore freezes the window size. sign flows are usually used to analyze it. One con-
structs a model, finds out the equilibrium points, and
III. PROBLEM FORMULATION tries to approach the points or spaces. Using such a
design flow to deal with the TCP problem is tough
TCP-Vegas has shown its benefits over TCP-Reno. work as long as the number of users in the network
However, some problems inherently exist in TCP- keeps changing. With respect to a sender, there is no
Vegas that prevent it from being the most popular TCP way to know how many users are sharing the link.
protocol. In TCP-Vegas, the increment of window Hence, one can not compute the exact equilibrium
size is one of 3 alternatives, 1, 0, and -1. When ap- points of window size and queue length. In other
plying this protocol to different network scenarios, words, since the sender never knows how many users
only three fixed increments are not sufficient to make are in the network, one is also unable to adjust the
the window size get a steady-state value efficiently window size in a logical way to approach the equi-
all the time, i.e., in different situations, using this kind librium point, which dynamically varies its value.
of strategy may cause too conservative or too aggressive In this section, a new TCP version called “Band-
behavior. The objective in this paper is to design a width-based TCP” is proposed for tackling the prob-
TCP protocol that can achieve the following two goals: lem identified above. By this mechanism, the sender
can estimate the available bandwidth first and subse-
1. Improve the convergence efficiency. Once a TCP quently predict the equilibrium state of congestion
algorithm is designed, no doubt the mechanism can window under this situation. Compared to TCP-
be written as a state space form. By means of these Vegas, the slow-start phase is slightly modified while
state equations, the equilibrium point of each state using a whole new adjustment manner for window
variable is found afterwards. Note that the equi- size in the congestion avoidance phase. This approach
librium point of window size implies that no mat- includes the following three key features:
ter how the state trajectory changes in the transient
state, the window size still converges to a point 1. Modified Slow-Start,
or a space at last. Therefore, the first objective of 2. Bandwidth Estimation, and
this paper is to lower or reduce unnecessary varia- 3. Bandwidth-based adjustment of window size.
tions in window size as much as possible, by al-
lowing more flexible behavior than TCP-Vegas, such Figure 3 illustrates the bandwidth estimation
that the increment of window size could depend method. If the bandwidth of a router is B (packets/
492 Journal of the Chinese Institute of Engineers, Vol. 33, No. 3 (2010)
sec), the router will send out packets to the destina- Slow-start
tion every 1/B seconds. Suppose there is no loss W_init ← 1;
ε _init ← 2;
during the transmission process, then the acknowl- for each ack
edging rate must be B as well. Therefore, once an if (RTT==RTTmin) then
acknowledgment is received, the sender records the W ← W+1;
current time and calculates the ACK interval by sub- ε ←ε ;
else
tracting the same value gotten in the previous period. enter Congestion Avoidance
Computing the reciprocal, the bottleneck bandwidth end if
estimation is accomplished.
If the router fairly processes the incoming pack- Congestion Avoidance
for each ack
ets from different senders, the ACK interval received estimate the bandwidth B
by a sender should become N times longer, where N if (!drop_flag) then
is the number of senders, and the estimated bandwidth ε = ε *2^(0.5-queueing delay);
{
B(k) is equivalent to B/N consequently. else
ε ← ε +1;
When the sender enters the congestion avoid- W ← (ε +B* RTTmin -W)/W;
ance phase, it executes a steady-state prediction ac- end if
cording to the bandwidth information introduced in
Fast Retransmit
the above section. We first decompose the round-
if (dup_ACKs) then
trip-time as retransmit the lost packet
W ← W/2;
q(k) ε ← ε /2;
r(k) = T p + 1 + , (1)
B B enter Congestion Avoidance
end if
where T p is the fixed propagation delay, q(k) is the
queen length at slot k, B is the bandwidth of a router Fig. 4 The algorithm of the bandwidth-based TCP
and B1 is the processing delay. To clarify the idea,
the adjustment action is divided into three steps. (α + β)/2 – q(k) (4)
= r(k) + .
B(k)
1. Calculate the queuing delay. Refer to the RTT
equation above, subtract RTTmin from the mea- At last, the equilibrium point of window size is pre-
sured RTT to get the queuing delay, i.e. dicted as
2. Estimate the queue size. Since the source can not After a series of estimations, the sender lets the
get exact queue information from the router, it uses congestion window adjust linearly to the prediction
the above equation to estimate the current queue value w * in an RTT and then repeats these three steps
{
8 Mb/1 ms 8 Mb/1 ms State variation of 1 sender BW-based TCP/REM with buffer = 100
0.8 Mb/5 ms 100
w (pkt)
S1 D1 window
Buf = 100(pkt) 50
R1 R2
0
Fig. 5 A one sender configuration 0 5 10 15 20 25 30
100
q (pkt)
queue
50
3. The router processes the incoming packet fairly. 0
Thus the sender measures its available bandwidth 0 5 10 15 20 25 30
Epsilon (pkt)
100
precisely and it can be equivalent to B/N. epsilon
50
Now, the state equation of window size w(k) of band-
width-based TCP is shown as follows: 0
0 5 10 15 20 25 30
100
w(k + 1) = ε(k) + B(k)r min – 1 p(k)w 2(k) (6) 50
p
p
2
{ 0
Replacing B(k) with B/N, the difference equation is re- 0 5 10 15 20 25 30
written and therefore solves the equilibrium problem Time (s)
Fig. 6 State variation versus time in Bandwidth-based TCP
w(k + 1) – w(k) = 0 ,
⇒ 1 p *w *2 + w * – (ε * + B(k)r min) 60
Window size comparison
2
Modified BW-based
= 1 p *w *2 + w * – (ε * + B (T p + 1 )) = 0 , 50
2 N B
BT p + 1
⇒ 1 p *w *2 + w * – (ε * + ) = 0. (7) 40
2 N
w(k) (pkt)
1 w *2 + w * – (ε * + BTp + 1 ) = 0 ,
20 Vegas (20, 30)
ε* N
BTp + 1 2
⇒ ε *3 – (w * – )ε * – w *2 = 0 , 10
N Vegas (1, 3)
Buf 2 BW-based (1, 3)
⇒ ε *3 – ε * – w *2 = 0 . (8) 0
2N 0 5 10 15 20 25 30
The analysis of the stability of the proposed al- Time (s)
gorithm can be proved by linearization of the state Fig. 7 Window size comparison between the bandwidth-based
transfer function matrix A and then A can be proved TCP and Vegas
as a Hurwitz. The complete analysis of bandwidth-
based TCP is omitted here. Whereas the defects of is used with the settings that both the sender-router
TCP-Vegas have been identified, the proposed algo- and router-receiver are 8 Mbps with 1-ms propaga-
rithms which try to rectify these problems are pre- tion delay, and the bottleneck router-router uses a 100-
sented in this section. Next, the simulations under packet buffer space with 800 Kbps and 5-ms delay.
different network scenarios are demonstrated to show To demonstrate the analytical result, Fig. 6 shows the
the performance comparisons. trajectories of all the state variables defined in Sec-
tion IV, viz. w, q, ε , and p. For each row in Fig. 6,
V. SIMULATION RESULTS the x-axis shows the time in seconds, and the y-axis
shows the window size in packets (1 kbits/packet) except
After presenting the design in Section IV, simu- the bottom row, where the y-axis shows the marking
lations via NS-2 (The Network Simulator – Version probability of state p instead, where p is the mapping
2) are demonstrated in this section under a heteroge- from price to marking probability. Fig. 6 shows the
neous environment as below, where three perfor- closed relation between p and queue. Since there is
mance indexes are given as the criteria to judge the only one user occupying the link, the sender itself
quality of a TCP protocol. can predict the equilibrium points by precisely mea-
First, an observation on the time response of pro- suring the bandwidth without error.
posed bandwidth-based TCP is taken. A simple one- Under the same environment, Fig. 7 shows a
connection configuration, which is shown in Fig. 5, window size comparison among TCP-Vegas (algorithm
494 Journal of the Chinese Institute of Engineers, Vol. 33, No. 3 (2010)
in Fig. 2), the bandwidth-based TCP (algorithm in Fig. N the number of senders
4), and the previous version of bandwidth-based TCP q the queen length
without adaptive modification included (Eqs. 1-4), r round-trip-time
where the x-axis shows the time in seconds, the y- Tp the fixed propagation delay
axis shows the window size in packets, response of w window size
the bandwidth-based TCP, and the line with annota-
tion T( α , β ) denotes the time response of a TCP pro- REFERENCES
tocol T with two thresholds ( α , β ). Even though
every algorithm can reach a steady state in this simple Brakmo, L. S., and Peterson, L. L., 1995, “TCP Vegas:
case, the selection of ( α , β ) deeply influences the End to End Congestion Avoidance on a Global
equilibrium of window size in both the previous ver- Internet,” IEEE Journal on Selected Areas in Com-
sion and TCP-Vegas. However, the proposed band- munications, Vol. 13, No. 8, pp. 1465-1480.
width-based TCP excludes this uncertainty. Chen, J. R., Chen, Y. C., and Lee, C. L., 2000, “TCP
The one-sender configuration is given to show Vegas-A: Improving the Performance of TCP
the key behavior of the proposed algorithm. From Vegas,” Computer Communications, Vol. 23, No.
this, the benefit of bandwidth-based TCP can be seen– 16, pp. 1537-1547.
adjusting the congestion window independent of the Floyd, S., and Jacobson, V., 1993, “Random Early
external threshold settings. Furthermore, the window Detection Gateways for Congestion avoidance,”
size is larger than the other two. IEEE /ACM Transactions on Networking, Vol. 1,
No. 4, pp. 397-413.
VI. CONCLUSIONS Gerla, M., Sanadidi, M. Y., Wang, Ren, Zanella, A.,
Casetti, C., and Mascolo, S., 2001, “TCP West-
In this paper, the bandwidth-based approach in wood: congestion window control using band-
TCP congestion control is proposed. It has three features: width estimation,” IEEE GLOBECOM ’01, Vol.
modified slow-start, bandwidth estimation, and band- 3, pp. 1698-1702.
width-based adjustment. In brief, it predicts an equi- Hollot, C. V., Misra, V., Towsley, D., and Gong,
librium point of window size then approximates it based W. B., 2001, “On Designing Improved Control-
on the measured bandwidth in every round-trip-time. lers for AQM Routers Supporting TCP Flows,”
Through the simulations, the proposed scheme is shown in Proceedings of IEEE INFOCOM, Vol. 3, pp.
to have better performance than Vegas under a ho- 1726-1734, Alaska, USA.
mogeneous and a heterogeneous environment. Hollot, C. V., and Chait, Y., 2001, “Nonlinear Stabil-
Although the bandwidth-based system is superior ity Analysis for a Class of TCP/AQM Networks,”
to TCP-Vegas according to some analysis and simula- in Proceedings of IEEE CDC, Vol. 3, pp. 2309-
tion results, there are still some problems to be solved. 2314, Orlando, FL, USA.
The key issue is the steady-state behavior. For the sake Jacobson, V., 1988, “Congestion Avoidance and
of competing with TCP-Reno, which has better perfor- Control,” in Proceedings of ACM SIGCOMM, pp.
mance in window size, the bandwidth-based TCP makes 314-329, Stanford, CA, USA.
the expected queue size grow as does TCP-Reno’s be- Jacobson, V., 1990, “Berkeley TCP Evolution from 4.
havior such that window size behavior is similar, i.e., it 3-Tahoe to 4.3-TCP-Reno,” Proceedings of the 18th
fluctuates within a certain range. This violates the con- Internet Engineering Task Force, Vancouver, BC,
cept of TCP-Vegas– to stop increasing window size in Canada.
advance, and this problem will be tackled in the future. Low, S. H., Paganini, F., and Doyle, J. C., 2002,
“Internet Congestion Control,” IEEE Control Sys-
ACKNOWLEDGMENTS tems Magazine, Vol. 22, No. 1, pp. 28-43.
Moar, A., and Mansour, Y., 2003, “AdaVegas: Adap-
This research was supported in part by the Min- tive Control for TCP Vegas,” Proceedings of the
istry of Education, and the National Science Council, IEEE GLOBECOM’03, Vol. 7, pp. 3647-3651.
Taiwan, ROC, under the grants: 98-2218-E-002-008, Srijith, K. N., Jacob, L., and Ananda, A. L., 2005,
98-2221-E-002-160-MY3, 99-2623-E-002-007-D. “An End-to-End Flow Control Approach Based
The authors would like to thank the anonymous ref- on Round Trip Time,” Computer Communica-
erees whose careful reviews and detailed comments tions, Vol. 28, No. 4, pp. 429-440.
helped to improve the readability of this paper.
Manuscript Received: Mar. 18, 2008
NOMENCLATURE Revision Received: Oct. 25, 2009
and Accepted: Nov. 25, 2009
B bandwidth of a router (packets/sec)