TCP START-UP BEHAVIOR UNDER THE PROPORTIONAL FAIR SCHEDULING POLICY

Similar documents
Adapting TCP Segment Size in Cellular Networks

Analytic End-to-End Estimation for the One-Way Delay and Its Variation

SIMULATION FRAMEWORK MODELING

Considering Spurious Timeout in Proxy for Improving TCP Performance in Wireless Networks

Performance of UMTS Radio Link Control

CS268: Beyond TCP Congestion Control

Improving TCP Performance over Wireless Networks using Loss Predictors

CS 344/444 Computer Network Fundamentals Final Exam Solutions Spring 2007

Chapter - 1 INTRODUCTION

TCP Congestion Control in Wired and Wireless networks

Exercises TCP/IP Networking With Solutions

Equation-Based Congestion Control for Unicast Applications. Outline. Introduction. But don t we need TCP? TFRC Goals

TRANSMISSION CONTROL PROTOCOL

CHAPTER 5. QoS RPOVISIONING THROUGH EFFECTIVE RESOURCE ALLOCATION

A Bottleneck and Target Bandwidth Estimates-Based Congestion Control Algorithm for High BDP Networks

Impact of transmission errors on TCP performance. Outline. Random Errors

Transport layer issues

INTERACTIONS BETWEEN TRANSMISSION POWER AND TCP THROUGHPUT FAIRNESS IN WIRELESS CDMA NETWORKS 1

FACULTY OF COMPUTING AND INFORMATICS

Congestion Control In the Network

CS244a: An Introduction to Computer Networks

EE122 MIDTERM EXAM: Scott Shenker, Ion Stoica

ECE 610: Homework 4 Problems are taken from Kurose and Ross.

Implementing stable TCP variants

Improving the Data Scheduling Efficiency of the IEEE (d) Mesh Network

CS644 Advanced Networks

PERFORMANCE COMPARISON OF THE DIFFERENT STREAMS IN A TCP BOTTLENECK LINK IN THE PRESENCE OF BACKGROUND TRAFFIC IN A DATA CENTER

100 Mbps. 100 Mbps S1 G1 G2. 5 ms 40 ms. 5 ms

TRANSMISSION CONTROL PROTOCOL

ECEN Final Exam Fall Instructor: Srinivas Shakkottai

The Variation in RTT of Smooth TCP

ISSN: Index Terms Wireless networks, non - congestion events, packet reordering, spurious timeouts, reduce retransmissions.

Hybrid Control and Switched Systems. Lecture #17 Hybrid Systems Modeling of Communication Networks

Performance Analysis of TCP Variants

Communication Networks

A Scheme for Enhancing TCP Fairness and Throughput in IEEE WLANs

A Routing Protocol for Utilizing Multiple Channels in Multi-Hop Wireless Networks with a Single Transceiver

ADVANCED TOPICS FOR CONGESTION CONTROL

Network Working Group. Category: Experimental February TCP Congestion Control with Appropriate Byte Counting (ABC)

ENHANCING TCP OVER SATELLITE LINKS USING CANIT ALGORITHM

TCP Westwood and Easy Red to Improve Fairness in High-speed Networks. PfHsn 2002 Berlin, 22 April 2002

Enhancing TCP Throughput over Lossy Links Using ECN-capable RED Gateways

Lower Bound for Mean Object Transfer Latency in the Narrowband IoT Environment

Assignment 7: TCP and Congestion Control Due the week of October 29/30, 2015

Virtual residential gateways: Architecture and performance

ETSN01 Exam Solutions

WB-RTO: A Window-Based Retransmission Timeout for TCP

Faculty Of Computer Sc. & Information Technology (FSKTM)

Chapter 3 outline. 3.5 Connection-oriented transport: TCP. 3.6 Principles of congestion control 3.7 TCP congestion control

RED behavior with different packet sizes

Adaptive Local Route Optimization in Hierarchical Mobile IPv6 Networks

RD-TCP: Reorder Detecting TCP

arxiv: v2 [cs.ni] 23 May 2016

CHAPTER 5 PROPAGATION DELAY

A Deficit Round Robin with Fragmentation Scheduler for Mobile WiMAX

The War Between Mice and Elephants

CS 268: Lecture 7 (Beyond TCP Congestion Control)

Polling in Bluetooth a Simplified Best Effort Case

Delay Performance of the New Explicit Loss Notification TCP Technique for Wireless Networks

End-to-End Mechanisms for QoS Support in Wireless Networks

Fall 2012: FCM 708 Bridge Foundation I

TCP Congestion Control

Communication using Multiple Wireless Interfaces

The Effects of Asymmetry on TCP Performance

6.033 Spring 2015 Lecture #11: Transport Layer Congestion Control Hari Balakrishnan Scribed by Qian Long

Fair and Efficient TCP Access in the IEEE Infrastructure Basic Service Set

An Analytical Model for Short-Lived TCP Flows in Heterogeneous Wireless Networks

2.993: Principles of Internet Computing Quiz 1. Network

Flow and Congestion Control Marcos Vieira

Congestion / Flow Control in TCP

CIS 632 / EEC 687 Mobile Computing

WB-RTO: A Window-Based Retransmission Timeout. Ioannis Psaras, Vassilis Tsaoussidis Demokritos University of Thrace, Xanthi, Greece

Department of EECS - University of California at Berkeley EECS122 - Introduction to Communication Networks - Spring 2005 Final: 5/20/2005

Performance Enhancement Of TCP For Wireless Network

Lecture 21: Congestion Control" CSE 123: Computer Networks Alex C. Snoeren

Cross-layer Analysis of Wireless TCP/ARQ Systems over Correlated Channels

Performance Model for TCP over Link Layer on Correlated Channels for Wireless Data Communication

ECE 333: Introduction to Communication Networks Fall 2001

Evaluation of a Queue Management Method for TCP Communications over Multi-hop Wireless Links

PAPER Momentary Recovery Algorithm: A New Look at the Traditional Problem of TCP

TCP. CSU CS557, Spring 2018 Instructor: Lorenzo De Carli (Slides by Christos Papadopoulos, remixed by Lorenzo De Carli)

Making TCP Robust Against Delay Spikes

A THROUGHPUT ANALYSIS OF TCP IN ADHOC NETWORKS

UbiqStor: Server and Proxy for Remote Storage of Mobile Devices

Performance of DSMA/CD in CDPD Networks

Congestion Control in Communication Networks

RCRT:Rate-Controlled Reliable Transport Protocol for Wireless Sensor Networks

THE NETWORK PERFORMANCE OVER TCP PROTOCOL USING NS2

Transmission Control Protocol (TCP)

Appendix A. Methodology

TCP Flavors Simulation Evaluations over Noisy Environment

Basics (cont.) Characteristics of data communication technologies OSI-Model

The War Between Mice and Elephants

A QoS Control Scheme for Voice and Data Services in cdma2000 System

Investigations on TCP Behavior during Handoff

Congestion Control in TCP

Analysis of TCP Latency over Wireless Links Supporting FEC/ARQ-SR for Error Recovery

A DYNAMIC RESOURCE ALLOCATION STRATEGY FOR SATELLITE COMMUNICATIONS. Eytan Modiano MIT LIDS Cambridge, MA

TCP/IP Performance ITL

A Hybrid Systems Modeling Framework for Fast and Accurate Simulation of Data Communication Networks. Motivation

Transcription:

TCP START-UP BEHAVIOR UNDER THE PROPORTIONAL FAIR SCHEDULING POLICY J. H. CHOI,J.G.CHOI, AND C. YOO Department of Computer Science and Engineering Korea University Seoul, Korea E-mail: {jhchoi, hxy}@os.korea.ac.kr KT Convergence Laboratory Seoul, Korea E-mail: jinchoi@kt.co.kr It is expected that the proportional fair (PF) scheduler will be used widely in cdma2000 1xEV-DO systems because it maximizes the sum of each user s utility, which is given by the logarithm of its average throughput. However, in terms of short-term average throughput, PF scheduler may lead to a large RTT variation. We analyze the impact of PF scheduler on TCP start-up behavior through NS-2 simulation. To show the impact of PF scheduling on TCP, we also analyze the packet transmission delay under the PF scheduling policy through mathematical model. 1. Introduction Recent advances in communication technology make appearance of the packet-based cellular systems such as cdma2000 1xEV-DO 1 and UMTS- HSDPA 2. Being mainly targeted on high-speed data applications that are tolerant of some packet delay, it is reasonable that their schedulers focus on maximizing the sum of each user s utility. A good way of achieving it is to serve the users with good channel condition first utilizing the timevarying feature of wireless channels. This approach increases the system throughput significantly. But, some users can be sacrificed since, in wireless environment, users have very different channel condition according to their location. This work is supported by grant no.r01-2004-000-10588-0 from the basic research program of the korea science and engineering foundation. 1

2 The proportional fair scheduler 3 is one of the most promising opportunistic schemes balancing system throughput and user fairness. It is very simple to implement, and also it is optimal in the sense of maximizing the sum of each user s utility that is given by the logarithm of average throughput for elastic traffic. However, it does not provide fair service in short-term scale even if it achieves the proportional fairness in long-term. In addition, owing to its reflection on channel state, the scheduler induces some variation on scheduling delay. So, PF scheduler can make a serious influence on the performance of TCP since it uses path delay or round trip time (RTT) to estimate network state. Previous researches 6 7 8 have already addressed the issue of TCP performance in cellular networks. However, to our best knowledge, it is not investigated how the opportunistic scheduler like PF one affects the behavior of TCP. In this paper, we focus on the impact of PF scheduler on TCP excluding other reasons such as handoff, packet error, and so on. This paper is organized as follows. The following section provides the description of our target system and background knowledge. In Section 3, we introduce the simulation environments and show how the TCP fairness and throughput is affected by PF scheduler. Section 4 presents our analysis for TCP start-up behavior under PF scheduler. Finally, in Section 5, we demonstrate our next plan and conclude the paper. 2. System Model and Background 2.1. System model description We consider the downlink channel of cellular networks where a BS serves N mobile terminals. The downlink is a single broadband channel shared by all users in the time division multiplexing manner a. The BS exploits the pilot signal, which is pre-defined by the protocol, in the specified position of each time slot, and every mobile measures it to obtain the channel gain. The BS receives the fed back signal from all the users to collect the current channel status. Based on the channel information, the radio frequency scheduler selects a user among the active ones to be served in the next slot. 2.2. PF scheduler Let us examine the operation of the PF scheduler. The average throughput of each user is tracked by an exponential moving average. At the beginning a The downlink structure is very similar to that of the IS-856 system.

3 of each time slot, each user feeds back the channel state (or the feasible rate) to the BS. The BS calculates the ratio of the feasible rate to the average throughput for each user, which is defined as the preference metric and is the key selection criterion. The user with the maximum preference metric will be selected for transmission at the next coming slot. This is described formally as follows. In time slot n, the feasible rate of user k is R k [n] and its moving average is denoted by R k [n]. Then, user k = argmax k ( R k[n] ) is served in time slot n, and the average throughput R k [n] of each user is updated by R k [n +1]= ( 1 1 t c ) Rk [n]+ 1 t c R k [n], k= k ( 1 1 t c ) Rk [n], k k (1) where t c is the time constant for the moving average. It is clear that the PF scheduler affects relative preference to users with good channels as opposed to absolute preference. 3. Observation and Problems We are easily able to guess that PF scheduler makes an influence on RTT variation of TCP, but the key problem is to investigate the degree of such impact. If the impact does not severely harm TCP, mere influence of RTT variation could be ignored. But if TCP misbehavior results from the variation can lead to a serious performance drop, we have to find the core condition to make the wrong action. 3.1. Simulation environments The simulation study is performed by NS-2 2.27 version, and topology is a typical cellular network shown in Fig.1. There is a link that has 2Mbps bandwidth and 100ms latency between MH (Mobile Host) and BS (Base Station). Also, a wired link has 10Mbps bandwidth and 50ms latency, and it is placed between BS and CH (Corresponding Host). The queue between MH and BS uses PF scheduler, and the other uses FIFO (First-In-First- Out) policy. 3.2. Observation: TCP startup behavior From the analysis of the simulation results, TCP s RTO mechanism generally keeps track of RTT variation well in most cases except timeouts.

4 Figure 1. Simulation topology. Specially, our observation says that timeout event often happens in slow start phase as shown in Fig.2. 4.0 3.5 RTT RTO 3.0 2.5 time (sec) 2.0 1.5 1.0 0.5 0.0 0 20 40 60 80 100 simulation time (sec) Figure 2. Initial timeout. Due to the timeout in the slow start phase, TCP sessions cannot keep fairness in short-term average throughput, and this unfairness is in a serious degree (see Fig.3) even if we allow that PF scheduler does not consider short-term traffic. A good way to look into a problem of the initial timeout is to compare the timeout case with the non-timeout case under the same condition. Fig.3 shows well the effect of the initial timeout on TCP fairness and aggregate throughput. In Fig.3(a), we can see that the sessions with

5 the initial timeout are not nearly able to use the network bandwidth (in 11 of 20 sessions, the timeout occurred), and the others aggressively use the remains so the fairness comes to harm severely. In Fig.3(b), it is observed that both the aggregate throughput and the fairness are improved by just preventing the unnecessary timeout from happening. That is, according to Jain s fairness index 4, the experiment in Fig.3(a) shows the fairness of 68.5%, and the study in Fig.3(b) shows the fairness of 86.2%. Also, in point of view of the aggregate throughput, Fig.3(b) obtains the throughput of 2296 Kbps while Fig.3(a) gets the throughput of 1998.4 Kbps. Fig.5 250 250 200 200 Throughput (Kbps) 150 100 Throughput (Kbps) 150 100 50 50 0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 Flow id Flow id (a) Without holding timeout (b) With holding timeout Figure 3. Throughput of 20 flows under PF scheduler in short-term. draws the results of the fairness and the aggregate throughput varying the number of sessions from 20 to 50. Comparing normal case with holdingtimeout case, we can see that both the fairness and the throughput shows better performance in the holding-timeout case independent of the number of flows. However, the case of Fig.3(b) also shows considerably lower fairness than that of Fig.4, in which FIFO is used in queuing policy (FIFO case got the 99.09% fairness). The performance gap of Fig.3(b) and Fig.4 could be understood as the result from the difference of the scheduling policies since we force to hold the initial timeout in Fig.3(b).

6 240 220 200 180 Throughput (Kbps) 160 140 120 100 80 60 40 20 0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 Flow id Figure 4. Throughput of 20 flows under FIFO scheduler in short-term. Fairness index (%) 90 88 86 84 82 80 78 76 74 72 70 68 66 64 62 60 58 56 TCP Reno TCP Reno without initial timeout 54 20 25 30 35 40 45 50 Number of flows Aggregate throughput (Kbps) 3200 3100 3000 2900 2800 2700 2600 2500 2400 2300 2200 2100 2000 TCP Reno TCP Reno without initial timeout 20 25 30 35 40 45 50 Number of flows (a) Fairness index (b) Aggregate throughput Figure 5. Comparisons depending on the number of flows. 4. Analysis 4.1. Condition of TCP timeout TCP retransmission timer expires when an ACK packet is not returned during RTO interval. So, we can describe the condition of the timeout occurrence as follows.

7 RT O < RT T = Q.D. + P.D., (2) where Q.D. denotes queuing delay and P.D. is propagation delay in all links. Q.D. is the sum of queuing delays in wired and wireless link. We assume that the queuing delay in the wired link is steady, and PF scheduling delay is dominant factor in Q.D.. TCP starts data transmission by setting the initial RTO to 6 seconds, and hereafter updates the RTO value, referencing the measured RTT. Because TCP begins the slow start phase sending a few segments (generally 2 segments), RTT is relatively small in the initial phase (when there is not much packets to be scheduled, usually the queuing and scheduling delay decrease). Based on this measurement, TCP usually sets RTO to MIN RTO that is 1 seconds according to RFC 2988 5 4. After this, RTT increases when the amount of data increases by TCP or other traffic. The problem is that the scheduling delay of PF scheduler leads to rapid RTT increase, which causes TCP s timer expired. Because the scheduling interval of PF scheduler is 1.667 ms, if a channel is not allocated to during n turns, 1.667 n ms is added to TCP session s RTT in the flow. Supposing that this additional time gets RTT over RTO, the sender will expire the retransmission timer. In our experiments, the timeout usually happens when RTT is over 1 second in the slow start phase. The reason of the boundary is that TCP rounds the calculation value below MIN RTO up to MIN RTO second. 4.2. Analysis of the packet transmission delay in the cellular networks Above one second RTT is not rare in the wireless networks. The wireless networks sometimes have a quite long delay because a base station may have many tasks to reduce the impact of the errors such as Forward Error Correction (FEC), interleaving, retransmission, and so on. In this section, we show an analytic model for BS delay, which is simplified with only the scheduling delay and the retransmission delay. First, we build the model with 1 user. The user has the packet size of T bytes and is able to transmit X bytes whenever the scheduling slot is allocated. For example, if T is 1500 and X is 100 in constant, the time for servicing the packet is 15 slots. But when X changes depending on the channel state, the analysis comes to be more difficult.

8 For convenience of the analysis, we assume that X has an exponential distribution with average m (actually this assumption is exactly correct when the transmission rate linearly increases in proportion as SNR (Signalto-Noise Ratio) on the Rayleigh channel). When we denote the data size that is successfully transmitted in flow i as X i, the number of slots that is required to service the packet is N(T ). N(T ) is minimum N that satisfies N i=1 X i T. Analyzing this problem as the Poisson counting process, we can see that N(T ) 1 has a Poisson distribution with both average and variance T m. We obtain the required number of slots to service a packet as above. However, owing to wireless channel error, the transmission does not always make a success even if BS successfully transmits the packet. In this model, we denote the error rate of each flow as p and assume that the error rate is independent of the transmission rate. At this time, to transmit the packet successfully in flow i, actually Y i slots are taken. Because Y i follows the discrete probability distribution with Pr(Y i = n) =p n 1 (1 p), we get p (1 p) 2. E(Y i )= 1 1 p and Var(Y i)= Actual number of slots to transmit a packet is given by S = N i=1 (T )Y i, and we can obtain its average and variance as follows. E(S) =E{N(T )}E(Y i )=( T m + 1)(1 p) 1, (3) Var(S) =E{N(T )}Var(Y i )+E 2 Y i Var{N(T )} =( T m +1)p(1 p) 2 +(1 p) 2 ( T m +1) =( T m + 1)(1 + p)(1 p) 2 (4) Let s consider the case of K users. We assume that each user has a packet to transmit, and the packet size, T, and channel state are same in every user. Also assuming that the scheduler chooses a user and, only after transmitting the user s one packet, selects another user, we analyze the packet transmission time of the last-selected user. When the transmission time of k th selected user is denoted as D k, our finding time is D = D 1 + D 2 +... + D k = K k=1 D k. By applying Central limit theorem, we approximate D to a Gaussian distribution with the average K E(D k )and the variance K Var(D k ). E(D k )=E(S) =( T m + 1)(1 p) 1, Var(D k )=Var(S) =( T m + 1)(1 + p)(1 p) 2, (5)

9 Finally D follows the Gaussian distribution with the average K( T m + 1)(1 p) 1 and the variance K( T m + 1)(1 + p)(1 p) 2. For example, when we consider the case of T =1500, m=100, K=50, and p=0.1, the packet transmission time of the last selected user is as follows b. It is necessary to keep in mind that the inter-packet interval of a user comes from the scheduling delay. Constant rate with no channel error: 750 slots. Variable rate with no channel error: 800 slots with 50% and 847 slots with 5%. Variable rate with channel error, p: 889 slots with 50% and 943 slots with 5%. In this model, the scheduler services a user s packet sequentially but real PF scheduler services several users packet little by little, depending on the channel state. Thus, every user finishes the packet transmission at similar time due to their mixed service time while the average rate of the allocated slots is so high as to have a better possibility that reduces the entire transmission time. Consequently every user has a similar finish time with the last user. 4.3. Condition of the initial timeout under PF scheduler In previous subsection, we showed the possibility that BS delay leads to TCP timeout, but above MIN RTO RTT does not always make the timeout. Although RTT comes to over 1 second, the timeout occurs only if RTO in previous turn should be 1 second which is MIN RTO. Such type of the timeout event does not happen often because several long RTTs make also RTO large (As we already mention it, TCP s RTO mechanism keeps track of the network state in most cases). That is, the condition of the initial timeout is not just long RTT but also long relative gap of consecutive RTTs. From the result, the condition of the initial timeout can be summarized as follows. RTT in previous turn has to make RTO value small enough. RTT in next turn increases sharply, and consequently it should be over the RTO value. b Note that one slot takes 1.667 ms.

10 4.4. Tendency analysis Such initial timeout happened often as the number of session increases. Fig.6(a) draws the number of the initial timeouts varying the number of sessions. As shown in Fig.6(a), we can observe that the sacrificed sessions also increase as the number of sessions increase, and as a result RTT comes to over RTO in several sessions. Also, it is observed that increasing the number of flows leads to consecutive timeout in the slow start phase even if the event does not happen frequently. 35 30 40 35 30 TCP sessions(20) TCP sessions(30) TCP sessions(40) TCP sessions(50) Number of timeout 25 20 15 Number of timeout 25 20 15 10 10 5 5 20 25 30 35 40 45 50 Number of flows 0 1 2 3 4 MIN RTO (sec) (a) Number of timeout depending on number of flows (b) MIN RTO value and the number of flows Figure 6. Tendency of the timeout number and MIN RTO value. The timeout does not occur at all TCP sessions, and it is because the slot count for each TCP session can be extremely different in PF scheduler though other delaying factors are similar in each flow. Since PF scheduler preferentially allocates the slot to good channel depending on the channel state, the allocation may be converged on the specific session from the point of view on the short-term. Also, the scheduler may almost not assign the slot to some flows during considerable period. TCP s initial timeout occurs more frequently, for minimum RTO is briefly set to 1 second. We could see that as MIN RTO increases, the number of the initial timeout in the slow start phase remarkably decreases (refer to Fig.6(b)). Both the throughput and the fairness achieve conspicuous improvement in the performance as the number of the initial timeout decreases, and we can see that in Fig.5. But we cannot say that increasing

11 MIN RTO is not best choice since TCP reacts too slowly in handling the segment loss if the value is large. In addition, it is a difficult problem to propose any specific value as a recommended MIN RTO, as the suitable value for the various network environments is different according to circumstances. However, our a clear opinion is that current TCP s MIN RTO is set too short under the PF scheduling policy, and the value had better be larger. 5. Conclusion and Future work In this paper, we analyzed the impact of PF scheduler on TCP start-up behavior. We introduced the initial timeout in the slow start phase from PF scheduling and demonstrated the cause and effect of the timeout through the simulation experiments. From the simulation results and their analysis, a conclusion is that TCP s MIN RTO is so short as to lead to non-necessary timeout under the PF scheduling policy. We do not recommend any specific MIN RTO value in this paper, and the reason is that a fitful MIN RTO is so different depending on the network environments that determining the value is a difficult problem. However, we plan to investigate the method to determine a proper MIN RTO for a variety of network environments. References 1. Qi Bi, S. Vitebsky, Performance analysis of 3G-1X EVDO high data rate system, Proc. of IEEE WCNC, March(2002). 2. M. Assaad, B. Jouaber, and D. Zeohlache, Effect of TCP on UMTS-HSDPA system performance and capacity, bf Proc. of IEEE GLOBECOM, November(2004). 3. F. Kelly, Charging and Rate Control for Elastic Traffic, European Transactions on Telecommunications, volume 8 (1997) pages 33-37. 4. R. Jain, W. Hawe, D. Chiu, A Quantitative measure of fairness and discrimination for resource allocation in Shared Computer Systems, DEC-TR-301, September(1984). 5. V. Paxson, M. Allman, Computing TCP s Retransmission Timer, RFC 2988, November(2000). 6. Khafizov, F. and M. Yavuz, Running TCP over IS-2000, Proc. of IEEE ICC, April(2002). 7. Yavuz, M. and F. Khafizov, TCP over Wireless Links with Variable Bandwidth, Proc. of IEEE VTC, September(2002). 8. H. Inamura, G. Montenegro, R. Ludwig, A. Gurtov, F. Khafizov, TCP over Second (2.5G) and Third (3G) Generation Wireless Networks, RFC 3481, February(2003).