mowalrand.pdf

12
556 IEEE/ACM TRANSACTIONS ON NETWORKING, VOL. 8, NO. 5, OCTOBER 2000 Fair End-to-End Window-Based Congestion Control Jeonghoon Mo and Jean Walrand  , F ellow , IEEE  Abstract—In this paper, we demonstrate the existence of fair end-to-end window-based congestion control protocols for packet- switc hed netwo rks with fir st come– first serv ed rou ters. Our defini- tion of fairness generalizes proportional fairness and includes ar- bitrarily close approximations of max–min fairness. The protocols use only information that is available to end hosts and are designed to converge reasonably fast. Our study is based on a multiclass fluid model of the network. The convergenc e of the protocols is proved using a Lyapun ov func- tion. The technical challenge is in the practical implementation of the protocols.  Index T erms—Bandwidth sharing, congestion control, fairness, TCP, window. I. INTRODUCTION W E STUDY the existence of fair end-to-end congestion control schemes. More precisely, the question is that of the existence of congestion control protocols that converge to a fair equilibrium without the help of the internal network nodes, or routers. Using such a protocol, end-nodes, or hosts, monitor their connections. By so doing, the hosts get implicit feedback from the network such as round-trip delays and throughput but no explicit signals from the network routers. The hosts imple- ment a windo w conge stion contr ol mech anis m. Suchend-to-end control schemes do not need any network configuration and therefore could be implemented in the Internet without modi- fying the existing routers or the IP protocol. The Internet con ges tio n con trol is imp lement ed in end-t o-e nd protocols. The motivation for such protocols is that they place the complex functions in the hosts and not inside the network. Consequently, only the hosts that want to implement different complex functions need to have their software upgraded. An- other justification, which is more difficult to make precise, is that by keeping the network simple it can scale more easily. TCP is the most widely used end-to-end protocol in the In- ternet. When using TCP [ 12], a source host adjusts its windows size, the maximum amount of outstanding packets it can send to the network, to avoid overloading routers in the network and the destination host. Many researchers have observed that, when using TCP, con- nections with a long round-trip time that go through many bot- tlenecks have a smaller transmission rate than the other con- nections [4], [6], [22]. To improve fairness, Floyd and Jacobson Manuscript received November 10, 1998; revised January 19, 1999 and Oc- tob er 4, 199 9; approvedby IEEE/A CM TRANSACTIONSON NETWORKING Editor S. Floyd. This work was supported in part by a grant from the National Science Foundation. J. Mo is with AT&T Labs, Middletown, NJ 07748 USA (e-mail: jhmo@ att.com). J. Walrand is with the University of California, Berkeley, CA 94704 USA. Publisher Item Identifier S 1063-6692(00)09125-1. [5] proposed a “constant rate adjustment” algorithm and Han- derson  et al.  [9] simulated a variation of this scheme. How- ever , choosing the parameters of such algorithms is still an open problem. Thu s, alt hou gh end -to-en d pro toc ols such as tho se im- ple men ted in TCP are ver y des ira ble for exten sib ili ty and scalabil ity reas ons, they are unfa ir . Rough ly , a fair scheme is one that does not penalize some users arbitrarily. Accord- ingly, the question that arises naturally is the existence of fair end-to-end congestion protocols. In an early paper, Jaffe [ 14] shows that power, defined as , cannot be optimized in a dis- tributed manner. Chiu and Jain [3] s ho w t hat in a netw ork wit h users tha t share a uni que bot tle nec k nod e, a li nea r inc rea se and mul ti pli ca- tive decrease algorithm converges to an efficient and fair equi- librium. Most current implementations of TCP window-based control use a linear increase and multiplicative decrease of the window size, as suggested in [ 12]. However, these implemen- tations control the size of their window and not their transmis- sion rate. Moreover, simple examples show that the algorithm does not converge to an efficient and fair equilibrium in net- works with multiple bottleneck nodes. Shenker [28] considers a limited class of protocols and ar- gues that “no aggregate feedback control is guaranteed fair.” This statement suggests that end-to-end control cannot guar- antee conver gence to a fair equilibrium. Unfortunat ely , the class of protocols that he considers excludes many implementable end-to-end protocols. Jain and Charny refers to [ 28] to justify the necessity of switch-based control for fairness [ 15], [2]. Recently , Kelly et al . [18] prop osed proportional fairness and exhibited an aggregate feedback algorithm that conver ges to the point. In their scheme, each user is implementing a linear in- crease and multiplicative decrease of its rate based on an ad- ditive feedback from the routers the connection goes through. This protocol requires that the routers can signal the difference between their load and their capacity. In our protocol, each host controls its window size not its rate, based on the total delay. Our protocol can be viewed as a refinement of TCP congestion control algorithms. Le Boudec  et al.  [10], [21] studied the exact form of fair- ness founded by the linear increase, multiplicative decrease al- gorithms. Massoulie and Roberts have done interesting work on bandwidth sharing which is similar to ours [ 23]. They proposed fixed window algorithms to achieve fairness. In this paper, we revisit the fundamental question of the ex- istence of fair end-to-end protocols and we provide a positive answe r by cons truc ting expl icit ly such prot ocols. The rest of the paper is organized as follows. In Section II, we present a multi- class fluid model for window-based control and theoretical re- 1063–6692/00$10.00 © 2000 IEEE

Upload: farnaz2647334

Post on 14-Apr-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

7/27/2019 MoWalrand.pdf

http://slidepdf.com/reader/full/mowalrandpdf 1/12

556 IEEE/ACM TRANSACTIONS ON NETWORKING, VOL. 8, NO. 5, OCTOBER 2000

Fair End-to-End Window-Based Congestion ControlJeonghoon Mo and Jean Walrand , Fellow, IEEE 

 Abstract—In this paper, we demonstrate the existence of fairend-to-end window-based congestion control protocols for packet-switched networks with first come–first served routers. Our defini-tion of fairness generalizes proportional fairness and includes ar-bitrarily close approximations of max–min fairness. The protocolsuse only information that is available to end hosts and are designedto converge reasonably fast.

Our study is based on a multiclass fluid model of the network.The convergence of the protocols is proved using a Lyapunov func-tion. The technical challenge is in the practical implementation of the protocols.

 Index Terms—Bandwidth sharing, congestion control, fairness,TCP, window.

I. INTRODUCTION

WE STUDY the existence of fair end-to-end congestion

control schemes. More precisely, the question is that of 

the existence of congestion control protocols that converge to a

fair equilibrium without the help of the internal network nodes,

or routers. Using such a protocol, end-nodes, or hosts, monitor

their connections. By so doing, the hosts get implicit feedback 

from the network such as round-trip delays and throughput but

no explicit signals from the network routers. The hosts imple-

ment a window congestion control mechanism. Such end-to-end

control schemes do not need any network configuration and

therefore could be implemented in the Internet without modi-

fying the existing routers or the IP protocol.

The Internet congestion control is implemented in end-to-end

protocols. The motivation for such protocols is that they place

the complex functions in the hosts and not inside the network.

Consequently, only the hosts that want to implement different

complex functions need to have their software upgraded. An-

other justification, which is more difficult to make precise, is

that by keeping the network simple it can scale more easily.

TCP is the most widely used end-to-end protocol in the In-

ternet. When using TCP [12], a source host adjusts its windows

size, the maximum amount of outstanding packets it can send

to the network, to avoid overloading routers in the network and

the destination host.

Many researchers have observed that, when using TCP, con-nections with a long round-trip time that go through many bot-

tlenecks have a smaller transmission rate than the other con-

nections [4], [6], [22]. To improve fairness, Floyd and Jacobson

Manuscript received November 10, 1998; revised January 19, 1999 and Oc-tober 4, 1999; approvedby IEEE/ACM TRANSACTIONSON NETWORKING EditorS. Floyd. This work was supported in part by a grant from the National ScienceFoundation.

J. Mo is with AT&T Labs, Middletown, NJ 07748 USA (e-mail: [email protected]).

J. Walrand is with the University of California, Berkeley, CA 94704 USA.Publisher Item Identifier S 1063-6692(00)09125-1.

[5] proposed a “constant rate adjustment” algorithm and Han-

derson et al. [9] simulated a variation of this scheme. How-

ever, choosing the parameters of such algorithms is still an open

problem.Thus, although end-to-end protocols such as those im-

plemented in TCP are very desirable for extensibility and

scalability reasons, they are unfair. Roughly, a fair scheme

is one that does not penalize some users arbitrarily. Accord-

ingly, the question that arises naturally is the existence of fair

end-to-end congestion protocols.

In an early paper, Jaffe [14] shows that power, defined as

, cannot be optimized in a dis-

tributed manner.

Chiu and Jain [3] show that in a network with users thatshare a unique bottleneck node, a linear increase and multiplica-

tive decrease algorithm converges to an efficient and fair equi-

librium. Most current implementations of TCP window-based

control use a linear increase and multiplicative decrease of the

window size, as suggested in [12]. However, these implemen-

tations control the size of their window and not their transmis-

sion rate. Moreover, simple examples show that the algorithm

does not converge to an efficient and fair equilibrium in net-

works with multiple bottleneck nodes.

Shenker [28] considers a limited class of protocols and ar-

gues that “no aggregate feedback control is guaranteed fair.”

This statement suggests that end-to-end control cannot guar-

antee convergence to a fair equilibrium. Unfortunately, the classof protocols that he considers excludes many implementable

end-to-end protocols. Jain and Charny refers to [28] to justify

the necessity of switch-based control for fairness [15], [2].

Recently, Kelly et al. [18] proposed proportional fairness and

exhibited an aggregate feedback algorithm that converges to the

point. In their scheme, each user is implementing a linear in-

crease and multiplicative decrease of its rate based on an ad-

ditive feedback from the routers the connection goes through.

This protocol requires that the routers can signal the difference

between their load and their capacity. In our protocol, each host

controls its window size not its rate, based on the total delay.

Our protocol can be viewed as a refinement of TCP congestion

control algorithms.Le Boudec et al. [10], [21] studied the exact form of fair-

ness founded by the linear increase, multiplicative decrease al-

gorithms. Massoulie and Roberts have done interesting work on

bandwidth sharing which is similar to ours [23]. They proposed

fixed window algorithms to achieve fairness.

In this paper, we revisit the fundamental question of the ex-

istence of fair end-to-end protocols and we provide a positive

answer by constructing explicitly such protocols. The rest of the

paper is organized as follows. In Section II, we present a multi-

class fluid model for window-based control and theoretical re-

1063–6692/00$10.00 © 2000 IEEE

7/27/2019 MoWalrand.pdf

http://slidepdf.com/reader/full/mowalrandpdf 2/12

7/27/2019 MoWalrand.pdf

http://slidepdf.com/reader/full/mowalrandpdf 3/12

7/27/2019 MoWalrand.pdf

http://slidepdf.com/reader/full/mowalrandpdf 5/12

7/27/2019 MoWalrand.pdf

http://slidepdf.com/reader/full/mowalrandpdf 6/12

7/27/2019 MoWalrand.pdf

http://slidepdf.com/reader/full/mowalrandpdf 7/12

7/27/2019 MoWalrand.pdf

http://slidepdf.com/reader/full/mowalrandpdf 8/12

7/27/2019 MoWalrand.pdf

http://slidepdf.com/reader/full/mowalrandpdf 9/12

564 IEEE/ACM TRANSACTIONS ON NETWORKING, VOL. 8, NO. 5, OCTOBER 2000

TABLE ITHROUGHPUT OF 5 CONNECTION

TABLE IITHROUGHPUT DIFFERENTIATION WITH DIFFERENT TARGETS

Fig. 4. Plot of window and packets with p  =  2, 6, 10, 14, and 18.

propagation delays to show that our algorithm does not suffer

from round-trip delay bias.

 B. Fairness

We ran simulations for five connections with of two

packets for 100 s. The packet size is 1 KB. We measure the

throughput achieved by those five connections. Table I shows

the results. The second and third columns show the throughputs

of connections when -fair algorithms and TCP-Renos

are used respectively. It can be observed that our algorithm

achieves fairer throughput without regard to the delay while the

throughput of TCP-Reno varies more.

We use a different value of for each connection. Table II

shows the throughput of each connections with 2, 6, 10,

14, and 18 packets for 60 s.The buffer size is of the router is 100 packets and the

propagation delay of each connection is now set to 3 ms.

The left-hand side of Fig. 4 plots the window size over time

of the five connections. The bottom line corresponds to the con-

nection with target equal to 2 and the top line to that with target

equal to 18. Note that a bigger target results in a bigger window

size.

The right-hand side of Fig. 4 and Table II show that the

throughput of connection is almost proportional to . The

second column in Table II is the number of packets acknowl-

edged for the five connections during the last 50 s. We omit

the first 10 s to remove the effect of the slow start. Comparing

the third column with the fourth shows that throughput is

almost proportional to the target. This simulations shows that

by controlling the target backlog ( ), we can control the

throughput of each connection.

VI. CONCLUSION

In this paper, we have addressed the fundamental question

of the existence of fair end-to-end window-based congestion

control. We have shown the existence of window-based fair

end-to-end congestion control using a multiclass closed fluid

model. We showed that the flow rate vector is a well-defined

function of the window-size vector and characterized this func-

tion. We generalized the proportional fairness and related the

fairness to the optimization problem. Our definition of fairness

addresses the compromise between user fairness and resource

utilization. With the help of an optimization problem, we have

related window sizes and the fair rates. We have developed an

algorithm which converges to the fair rates and proved its con-

vergence using a Lyapunov function.

Our algorithm uses the propagation delay , measured delay, and window size . Unfortunately, the end user cannot

know the exact value of propagation delay. Furthermore, the

value of propagation delay could change in the case of rerouting

in packet-switched networks. TCP-Vegas uses the minimum of 

delays observed so far as an estimated propagation delay. TCP-

Vegas fails to adapt to the route change when the changed route

is longer than original route. Refer to La et al. [26], [19] for this

problem. Theimpact of feedback delays on the convergence will

be also be topic of further studies.

APPENDIX AUNIQUENESS OF THE RATE VECTOR

Theorem 2: Given , the flow rate vector satis-

fying (1)–(4) is unique. We use two lemmas in the proof of the

Theorem 2. The first one is a partial result of Rosen [27] and the

second is Farkas’ lemma (see, e.g., [24]).

 Lemma 5: Let be a vector of real-valued

functions defined on . If the Jacobian matrix exists

and is either positive definite for all or negative definite

for all , then there is at most one such that

holds.

Proof: Assume there are two distinct points and

such that for . Let

for . Since is the Jacobian of , we have

Hence

Multiplying both sides by gives

7/27/2019 MoWalrand.pdf

http://slidepdf.com/reader/full/mowalrandpdf 10/12

7/27/2019 MoWalrand.pdf

http://slidepdf.com/reader/full/mowalrandpdf 11/12

7/27/2019 MoWalrand.pdf

http://slidepdf.com/reader/full/mowalrandpdf 12/12

MO AND WALRAND: FAIR END-TO-END WINDOW-BASED CONGESTION CONTROL 567

Now, (45) implies that . Hence

(48)

Plugging (48) into (46) gives (41).

ACKNOWLEDGMENT

The authors would like to thank J.-Y. Le Boudec for his

helpful criticism and give credit to him for the proof of 

Lemma 3. The authors also express their gratitude to R. La

for helping to complete the work. Finally, they thank S. Floyd,

S. Low, and the anonymous reviewers for their comments to

improve the paper.

REFERENCES

[1] D. Bertsekas and R. Gallager, Data Networks. Englewood Cliffs, NJ:Prentice-Hall, 1992.

[2] A. Charny, “An algorithm for rate allocation in a packet-switching net-work with feedback,” Master’s thesis, Mass. Inst. Technol., Cambridge,MA, 1994.

[3] D. Chiu and R. Jain, “Analysis of the increase and decrease algorithmsfor congestion avoidance in computer networks,” Comput. Networks

 ISDN Syst., vol. 17, pp. 1–14, 1989.[4] S. Floyd and V. Jacobson, “Connection with multiple congested

gateways in packet-switched networks, Part 1: One-way traffic,” ACM 

Comput. Commun. Rev., vol. 21, no. 5, pp. 30–47, Aug. 1991.[5] , “On traffic phase effects in packet switched gateways,” Internet-

working: Res. and Experience, vol. 3, no. 3, pp. 115–156, Sept. 1993.[6] , “Random early detection gateways for congestion avoidance,”

 IEEE/ACM Trans. Networking, vol. 1, pp. 397–413, Aug. 1993.[7] S. McCanne, S. Floyd, and K. Fall. (1997) ns–LBNL Network Sim-

ulator. Lawrence Berkeley National Laboratory Networking Group,Berkeley, CA. [Online]. Available: http://www-nrg.ee.lbl.gov/ns/ 

[8] E. Hahne, “Round-robin scheduling for max–min fairness in data net-work,” IEEE J. Select. Areas Commun., vol. 9, pp. 1024–39, Sept. 1991.

[9] T. Henderson, E. Sahouria, S. McCanne, and R. Katz, “Improving fair-ness of TCP congestionavoidance,” in Globecom’98 , Sydney, Australia,

pp. 539–544.[10] P. Hurley, J.-Y. Le Boudec, andP.Thiran,“A note onthe fairness of addi-

tive increase and multiplicative decrease,” in Proc. ITC-16 , Edinburgh,Scotland, June 1999, pp. 467–478.

[11] V. Istratescu, Fixed Point Theory. Dordrecht, Holland: Reidel, 1981.[12] V. Jacobson, “Congestion avoidance and control,” Comput. Commun.n

 Rev., vol. 18, no. 4, pp. 314–29, Aug. 1988.[13] J. M. Jaffe, “Bottleneck flow control,” IEEE Trans. Commun., vol.

COM-29, July 1981.[14] , “Flow control power is nondecentralizable,” IEEE Trans.

Commun., vol. COM-29, pp. 1301–1306, Sept. 1981.[15] R. Jain,“Myths about congestionmanagement in high-speed networks,”

 Internetworking: Res. and Experience, vol. 3, pp. 101–113, 1992.[16] , “Congestion control and traffic management in ATM networks:

Recent advances and a survey,” Comput. Networks ISDN Syst., vol. 28,no. 13, pp. 1723–38, Oct. 1996.

[17] F. Kelly, “Charging and rate control for elastic traffic,” Eur. Trans.

Telecommun., vol. 8, pp. 33–37, Jan./Feb. 1997.

[18] F. Kelly, A. Maulloo, and D. Tan, “Rate control for communication net-works: Shadow price proportional fairness and stability,” J. Oper. Res.

Soc., vol. 49, pp. 237–252, 1998.[19] R. J. La, J. Walrand, and V. Anantharam. (1998, July) Issues in TCP

vegas. [Online]. Available: http://www.path.berkeley.edu/~hyongla[20] D. Luenberger, Introduction to Dynamic System. New York, NY:

Wiley, 1979.[21] C. Boutremans, M. Vojnovic, and J. Y. Le Boudec, “Global fairness

of additive-increase and multiplicative-decrease with heterogeneous

round-trip times,” in IEEE Infocom’00, Tel Aviv, Israel, Mar. 2000, pp.1303–1312.[22] A. Mankin, “Randomdropcongestion control,” in Proc. SIGCOMM’90,

Philadelphia, PA, Sept. 1990, pp. 1–7.[23] L. Massoulie and J. Roberts, “Bandwidth sharing: Objectives and al-

gorithms,” in IEEE Infocom’99, vol. 3, New York, NY, Mar. 1999, pp.1395–1403.

[24] M. Avriel, Nonlinear Programming. Englewood Cliffs, NJ: Prentice-Hall, 1976.

[25] A. Mayer, Y. Ofek, and M. Yung, “Approximating max–min fair ratesvia distributed local scheduling with partial information,” in IEEE In-

 focom’96 , San Francisco, CA, USA, Mar. 1996, pp. 926–936.[26] J. Mo, R. J. La, J. Walrand, and V. Anantharam, “Analysis and compar-

ison of Reno and Vegas,” in IEEE Infocom‘99, vol. 3, New York, NY,Mar. 1999, [Online]. Available: http://www.path.berkeley.edu/~jhmo,pp. 1556–1563.

[27] J. B. Rosen, “Existence and uniqueness of equilibrium points for

concaveN 

-person games,” Econometrica, vol. 33, no. 3, pp. 520–534,1965.[28] S. Shenker, “A theoretical analysis of feedback flow control,” in ACM 

SIGCOM’90, Philadelphia, PA, Sept. 24–27, 1990, pp. 156–165.

Jeonghoon Mo received the B.S. and M.S. degreesfrom Seoul National University, Seoul, Korea. He re-ceived the M.S. and Ph.D. degrees from the Univer-sity of California, Berkeley.

Currently, he is a Senior Technical Staff Memberwith AT&T Labs, Middletown, NJ. His researchinterests include communication networks, queueingtheory, Internet protocols, and quality-of-serviceissues.

Jean Walrand (S’71–M’80–SM’90–F’93) is aProfessor in the Department of Electrical Engi-neering and Computer Sciences at the Universityof California, Berkeley. His research interestsinclude stochastic processes, queueing theory,communication networks, and control systems. He isthe author of An Introduction to Queueing Networks(Prentice Hall, 1988), Communication Networks: AFirst Course (McGraw-Hill, 1998), and co-authorof  High-Performance Communication Networks(Morgan Kaufmann, 2000).

Dr. Walrand is a recipient of the Lanchester Prize from the Operations Re-search Society of America and of the S. Rice Prize from the Communication

Society of IEEE.