The Adverse Impact of the TCP Congestion-Control Mechanism In

The Adverse Impact of the TCP Congestion-Control Mechanism In

Proceedings of the 2000 International Conference on Parallel Processing (ICPP 2000). The Adverse Impact of the TCP Congestion-Control Mechanism in Heterogenous Computing Systems ¡£¢ ¤ Wu-chun Feng and Peerapol Tinnakornsrisuphap [email protected], [email protected] ¡ Research & Development in Advanced Network Technology (RADIANT) Computing, Information, and Communications Division Los Alamos National Laboratory Los Alamos, NM 87545 ¤ Department of Electrical & Computer Engineering University of Wisconsin-Madison Madison, WI 53706 Abstract scales, the aggregate traffic pattern remains bursty, regard- less of the time granularity. Additional studies have con- Via experimental study, we illustrate how TCP modu- cluded that the heavy-tailed distributions of file size, packet lates application traffic in such a way as to adversely af- interarrival, and transfer duration fundamentally contribute fect network performance in a heterogeneous computing to the self-similar nature of aggregate network traffic [16]. system. Even when aggregate application traffic smooths The problems with the above research are three-fold. out as more applications’ traffic are multiplexed, TCP in- First, the knowledge that self-similar traffic is bursty at duces burstiness into the aggregate traffic load, and thus coarse-grained time scales provides little insight into the hurts network performance. This burstiness is particularly network’s ability to achieve an expected QoS through the bad in TCP Reno, and even worse when RED gateways are Internet’s use of traditional statistical-multiplexing tech- employed. Based on the results of this experimental study, niques because the effectiveness of such techniques man- we then develop a stochastic model for TCP Reno to demon- ifests itself at the granularity of milliseconds, not tens or strate how the burstiness in TCP Reno can be modeled. hundreds of seconds [5]. Second, although current models Keywords: TCP, heterogeneous computing, high- of network traffic may apply to existing file-size distribu- performance networking, network traffic characterization. tions and traffic-arrival patterns, these models will not gen- eralize as new applications and services are introduced to the Next-Generation Internet [15]. Third, and most impor- tantly, the proofs of the relationship between heavy-tailed 1 Introduction distributions and self-similar traffic in [16, 7] ignore the in- volvement of the TCP congestion-control mechanism. The ability to characterize the behavior of the resulting A recent study [3] by Feng et al. addresses the above aggregate network traffic can provide insight into how traf- problems by focusing on TCP in a homogeneous parallel- fic should be scheduled to make efficient use of the net- computing environment (or cluster computer), where ev- work, and yet still deliver expected quality-of-service (QoS) ery computing node runs the same implementation of TCP. to end users. These issues are of fundamental importance in Feng et al. show that all flavors of TCP induce burstiness, widely-distributed, heterogeneous computational grids such and hence may contribute to the self-similar nature of ag- as the Earth System Grid [2]. gregate traffic. However, the study does not examine the ef- Recent studies in network traffic characterization have fects that different TCP implementations have on each other concluded that network traffic is self-similar in nature [9, in a heterogeneous parallel-computing system. 14]. That is, when traffic is aggregated over varying time Mo et al. [10] argue that in a heterogeneous network- ¥ ing environment that TCP Reno steals bandwidth from TCP This work was supported by the U.S. Dept. of Energy through Los Alamos National Laboratory contract W-7405-ENG-36. This paper is LA- Vegas while keeping its packet loss low as well; hence pro- UR 00-2554. viding a disincentive for researchers in high-performance computing to switch from Reno to Vegas. In fact, while the there is not enough bandwidth available to send at , and Linux 2.1 kernel had TCP Vegas as its reliable communi- therefore, any increase in the size of the congestion win- cation protocol, the Linux 2.2 kernel has reverted back to dow will result in packets filling up the buffer space at the TCP Reno based on studies such as [10]. Contrary to [10], bottleneck gateway. TCP Vegas attempts to detect this phe- we demonstrate that TCP Reno performs worse than TCP nomenon and avoid congestion at the bottleneck gateway Vegas in a heterogeneous computing environment. by adjusting the congestion-window size, and hence, reduce as necessary to adapt to the available bandwidth. 2 Background To adjust the window size appropriately, Vegas defines ! two threshold values, and , for the congestion-avoidance phase, and a third threshold value, " , for the transition be- TCP is a connection-oriented service that guarantees re- tween the slow-start phase and congestion-avoidance phase. liable, in-order delivery of data. Its flow-control mechanism Conceptually, $#&% implies that Vegas tries to keep at ensures that a sender does not overrun the buffer at the re- least one packet from each stream queued in gateway while ceiver, and its congestion-control mechanism tries to pre- !'#)( keeps at most three packets from each stream. vent too much data from being injected into the network. ¢*5 ,§¤-. ,//467 While the size of the flow-control window is static, the size If *+ ,§¤-. ,//0#1324 , then when , of the congestion window evolves over time, according to Vegas increases the congestion window linearly during the the status of the network. next RTT. When *+ ,§¤-. ,//98&! , Vegas decreases the window linearly during the next RTT. And when ;: " 2.1 TCP Congestion Control ¢*5 ,§¤-. ,//<:=! , the window remains unchanged. The parameter can be viewed as the “initial” ! when Vegas en- ters its congestion-avoidance phase. Currently, the most widely-used TCP implementation is To enhance the performance of TCP, Floyd and Jacobson TCP Reno [6]. Its congestion control mechanism has two proposed the use of random early detection (RED) gate- phases: slow start and congestion avoidance. In slow start, ways [4] to detect incipient congestion. To accomplish the congestion window grows exponentially until a timeout this detection, RED gateways maintain an exponentially- occurs, which implies that a packet has been lost. At this weighted, moving average of the queue length. As long as point, a ¢¡¤£¦¥¨§ © ¡¤£ § ©¡ ( ) value is set to the the average queue length stays below the minimum thresh- halved window size; TCP Reno resets the congestion win- old ( >? @£AB ), all packets are queued, and thus, no packets are dow size to one and re-enters the slow-start phase, increas- dropped. When the average queue length exceeds >? @£CAB , ing the congestion window exponentially up to . When packets are dropped with some calculated probability D . is reached, TCP Reno enters its congestion-avoidance And when the average queue length exceeds a maximum phase in which the congestion window is increased by “one AB threshold ( >E*+F ), all arriving packets are dropped. packet” every time the sender successfully transmits a win- dow’s worth of packets across the network. When a packet is lost during congestion avoidance, TCP Reno takes the 2.2 TCP Probability & Statistics same actions as when a packet is lost during slow start. To enhance performance, Reno also implements fast- Rather than use the Hurst parameter from self-similar retransmit and fast-recovery mechanisms for both the slow- modeling as is done in many studies of network traf- start and congestion-avoidance phases. Rather than timing fic [9, 12, 13, 14, 16], we use the coefficient of variation ¡JH KH out while waiting for the acknowledgment (ACK) of a lost ( GIH ) because it better reflects the predictability of incom- packet, if the sender receives three duplicate ACKs (indi- ing traffic at finer time granularities, and consequently, the cating that some packet was lost but later packets were re- effectiveness of statistical multiplexing over the Internet. ¡JH KLH ceived), the sender immediately retransmits the lost packet The G H is the ratio of the standard deviation to the mean (fast retransmit). Since later packets were received, the net- of the observed number of packets arriving at a gateway in ¡JH KLH work congestion is assumed to be less severe than if all each round-trip propagation delay. The G H gives a nor- packets were lost, and the sender only halves its conges- malized value for the “spread” of a distribution and allows tion window and re-enters the congestion-avoidance phase for the comparison of “spreads” over a varying number of ¡JH KLH (fast recovery) without going through the slow start again. communication streams. If the G H is small, the amount TCP Vegas [1] introduces a new congestion-control of traffic coming into the gateway in each RTT will concen- mechanism that tries to prevent congestion rather than react trate mostly around the mean, and therefore will yield better to the it after it has occurred. The basic idea is as follows: performance via statistical multiplexing. When the congestion window increases in size, the expected By the Central Limit Theorem, the sum of independent sending rate ( ) increases as well. However, if the actual variables results in a random variable with less burstiness, G H ¡JH KLH sending rate ( ) stays roughly the same, this implies that or equivalently, a smaller . However, even if traffic ¡JH KLH sources are independent, TCP introduces dependency be- traffic, and compare it to the measured G H of the aggre- tween the sources, and the traffic does not smooth out as gate TCP modulated traffic as it arrives at the gateway. The ¡JH KLH more sources are aggregated, i.e., G H is large [3]. parameters used in the simulation are shown in Table 1. Clients 3 Experimental Study 1 µ c τ The goal of this study is to understand the dynamics of c how TCP modulates application-generated traffic in a het- 2 Gateway/Router Server erogenous computing system.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    8 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us