Packet Loss Burstiness: Measurements and Implications for Distributed Applications

Packet Loss Burstiness: Measurements and Implications for Distributed Applications

Packet Loss Burstiness: Measurements and Implications for Distributed Applications David X. Wei1,PeiCao2,StevenH.Low1 1Division of Engineering and Applied Science 2Department of Computer Science California Institute of Technology Stanford University Pasadena, CA 91125 USA Stanford, CA 94305 USA {weixl,slow}@cs.caltech.edu [email protected] Abstract sources. The most commonly used control protocol for re- liable data transmission is Transmission Control Protocol Many modern massively distributed systems deploy thou- (TCP) [18], with a variety of congestion control algorithms sands of nodes to cooperate on a computation task. Net- (Reno [5], NewReno [11], etc.), and implementations (e.g. work congestions occur in these systems. Most applications TCP Pacing [16, 14]). The most commonly used control rely on congestion control protocols such as TCP to protect protocol for unreliable data transmission is TCP Friendly the systems from congestion collapse. Most TCP conges- Rate Control (TFRC) [10]. These algorithms all use packet tion control algorithms use packet loss as signal to detect loss as the congestion signal. In designs of these protocols, congestion. it is assumed that the packet loss process provides signals In this paper, we study the packet loss process in sub- that can be detected by every flow sharing the network and round-trip-time (sub-RTT) timescale and its impact on the hence the protocols can achieve fair share of the network loss-based congestion control algorithms. Our study sug- resource and, at the same time, avoid congestion collapse. gests that the packet loss in sub-RTT timescale is very bursty. This burstiness leads to two effects. First, the sub- RTT burstiness in packet loss process leads to complicated However, our preliminary study shows that the packet interactions between different loss-based algorithms. Sec- loss process is very bursty in sub-RTT timescale. Such ond, the sub-RTT burstiness in packet loss process makes sub-RTT burstiness leads to different efficiencies of loss the latency of data transfers under TCP hard to predict. detection in different protocols. More specifically, the Our results suggest that the design of a distributed sys- window-based protocols, which also have sub-RTT bursti- tem has to seriously consider the nature of packet loss pro- ness in their data transmission processes, tend to underes- cess and carefully select the congestion control algorithms timate the packet loss rates. This leads to unfairly large best suited for the distributed computation environments. network resource utilization for the window-based proto- cols when they share the network with rate-based protocols such as TFRC and TCP-Pacing. Also, the sub-RTT bursti- 1 Introduction ness in packet loss process and in window-based protocols’ data transmission processes lead to a poor predictability of Many modern massively distributed systems deploy TCP’s performance. These results are based on detailed thousands of nodes to cooperate on a computation task. measurements of packet loss processes in simulation, em- Huge amount of data is transferred by the underlying net- ulation and the Internet. work. Often, the network becomes a bottleneck for these data transfers and congestions occur. Network congestion requires distributed system design- Based on these results, we suggest that the design of a ers to deploy transfer control protocols that can prevent con- distributed system needs to seriously consider the effects gestion collapse and achieve fair share of the network re- of sub-RTT burstiness in packet loss process and select the appropriate congestion control algorithms and implementa- 1-4244-0910-1/07/$20.00 c 2007 IEEE. tions for the specific application environment. Noise: 50 flows, avg rate: 10% of c UDP UDP 2 Related work Two way exponential on-off traffic 1Gbps UDP 1Gbps UDP bottleneck link: Router Router There are two areas of related work to this paper: the in- TCP capacity: c=100Mbps TCP Receiver 1Gbps Sender teraction among different loss-based protocols and the mea- 1Gbps surement of packet loss processes. TCP TCP flows TCP Receiver Flow number: 2, 4, 8, 16 or 32 Sender In the area of interaction among different loss-based pro- tocols, there are several studies on the friendliness between Figure 1. Setup of NS-2 simulations and Dum- a pair of specific loss-based congestion control algorithms. mynet Emulations. c: capacity of the bottle- For example, Aggarwal, Savage and Anderson observe that neck router TCP Pacing usually loses to TCP NewReno in competi- tion [4]. Rhee and Xu point out that TFRC can have lower throughput than TCP NewReno when they share the same bottlenecks [19]. These studies focus on a specific pair of 3.1 Measurements algorithms. Our study addresses the underlying source for these complicated interactions between different loss-based We measure the timing of each packet loss in three differ- algorithms. Tang et al. discuss the interaction among differ- ent environments: simulation network, emulation network ent protocols with different congestion signals in the con- and the Internet. gestion window control level [21]. Our study focuses on For each loss trace, we calculate the time interval be- the relation between sub-RTT level burstiness in packet loss tween each two consecutive lost packets and analyze the process and the interactions of different loss-based conges- packet loss process by plotting the probability density func- tion control algorithms. tion (PDF) of the loss intervals. The resolution of the PDF In the area of packet loss measurement, Paxson has an (bin-size) is 0.02 RTT. We compare the PDF of the packet extensive study on the Internet packet loss patterns [17]. His loss processes to the corresponding Poisson process with study uses TCP traces to reproduce loss events and study the same average arrival rate. We observe that the packet the timing and distribution of packet loss in different Inter- loss process is much more bursty than the Poisson process. net paths. The study points out that packet loss is bursty We conduct measurements in three environments: NS- in large time scales. However, since TCP traffic itself is 2 simulation, Dummynet emulation and PlanetLab. NS- very bursty in sub-RTT timescale, the measurement results 2 simulation is used to simulate a single ideal bottleneck from TCP traces are not able to differentiate the burstiness shared by extremely heterogeneous sources. Dummynet is of TCP packets from the burstiness of packet loss in sub- used to emulate a single non-ideal bottleneck (with noise in RTT timescale. In our approach, we use Constant Bit Rate packet processing time) shared by heterogeneous sources. (CBR) traffic to measure the Internet loss patterns. With PlanetLab is used to measure the realist situations in the In- our measurement, it is convincing that packet loss process ternet. is bursty in sub-RTT level as our methodology excludes the For NS-2 simulation, we use a dumbbell topology with TCP burstiness in our measurement setup. Borella et al. use a set of senders and a set of receivers sharing a bottleneck, User Datagram Protocol (UDP) packets to measure packet as shown in Figure 1. The receivers and senders are con- loss along one path [6]. The study focuses in the loss pattern nected to the bottleneck with access links. The latencies and its impact to VoIP traffic. In our study, we use Planet- of the access links are randomly distributed from 2ms to Lab nodes to measure more than 500 paths in the Internet. 200ms. We simulate with different buffer sizes, from 1/8 of the bandwidth-delay-product (BDP) to 2 times of the BDP. We record traces from the simulated routers for each event 3 Observations: Sub-RTT Level Burstiness in which a packet is dropped. in Packet Loss Processes Our Dummynet emulation follows the same topology setup as our NS-2 simulations. However, the traffic pat- tern consists of only 4 different latencies: 2ms, 10ms, 50ms and 200ms.1 To collect the timing of each packet loss, we We study sub-RTT level burstiness in packet loss pro- instrument the Dummynet router to record the time when cesses in three different environments: simulation network each packet is dropped. The clock resolution in the Dum- (via NS-2 [3]), emulation network (via Dummynet [20]) and mynet machine (FreeBSD operating system) is 1ms. Hence the Internet (via PlanetLab [2]). all Dummynet records have a resolution of 1ms. From these three measurement sources, we find signifi- cant burstiness in sub-RTT time scales. 1This limitation is due to the ability of the emulation testbed. 2 We also run measurement over the Internet with the fa- cilities of PlanetLab. We select 26 sites from PlanetLab. The experiment sites are listed in Table 1. The sites are ge- ographically located in different states in the United States and also in different continents. Among them, 6 are in Cali- fornia, 11 are in other parts of United States, 3 are in Canada and the rest are in Asia, Europe and Southern America. The complete graph formed by these 26 sites has 650 directional edges. Each edge corresponds to a path. The RTTs of these Node Location paths have a range from 2ms to more than 200ms between planetlab2.cs.ucla.edu Los Angeles, CA each other.2 planetlab2.postel.org Marina Del Rey, From October 2006 to December 2006, we periodically CA initiate constant bit rate (CBR) flows between two randomly planet2.cs.ucsb.edu Santa Barbara, picked sites. For each experiment, two runs of measure- CA ments are conducted: One with a packet size of 48 bytes planetlab11.millennium.berkeley.edu Berkeley, CA and the other with a packet size of 400 bytes. We com- planetlab1.nycm.internet2.planet- Marina del pare these two results and validate the measurement only if lab.org Rey,CA the two traces exhibit similar loss patterns.

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