Performance Improvement of TCP by TCP Reno and SACK ...

2 downloads 0 Views 106KB Size Report
factors affecting TCP performance by TCP Reno,. SACK and Vegas. Effective resource utilization, such as bandwidth utilization, retransmission rate and window ...
International Journal of Advanced Computer Research (ISSN (print): 2249-7277 ISSN (online): 2277-7970) Volume 2 Number 1March 2012

Performance Improvement of TCP by TCP Reno and SACK Acknowledgement Mrs. Reena Rai1 and Dr. Maneesh Shreevastava2 Depart ment of Information Tecg mology LNCT Bhopal, (M.P.) India [email protected] , imag ine26rai@g mail.co m2

Abstract

In our Paper, we will evaluate the congestion control algorith ms in Reno, Vegas and SACK TCP fro m different aspects. First, we will co mpare the performance of these algorithms: how much of the available network bandwidth does it utilize? Ho w frequently does it retransmit packets? How does it modify window size on congestion? These comparisons are based on each version TCP running separately on a congested network. The second evaluation is the fairness of sharing the network. This co mparison is taken in two categories of experiment. One is the fairness between different delay connections running the same version TCP. So me algorith ms may bias against long delay connection, such as Reno TCP and SA CK. The other experiment is carried out between different versions TCP when they compete each other on the same connection. TCP Vegas does not receive a fair share of bandwidth when competing with other TCP Reno or SACK connections. Since bias exists in both categories, how different queue algorithms may affect the fairness is also studied.

Transmission Control Protocol (TCP) is the dominating end-to-end transport layer protocol which provides secure and reliable data transfer together with some other protocols. In this review paper, we contend that existing approaches to improve TCP performance over mobile ad-hoc networks have focused only on a subset of the factors affecting TCP performance by TCP Reno, SACK and Vegas. Effective resource utilization, such as bandwidth utilization, retransmission rate and window size, is compared. for evaluate these TCP congestion control algorithms from many aspects are present and We also concern fair resource allocation from two main categories, one is fairness between different delay links, and the other is competition between different TCP congestion control algorithms.

Keywords TCP Reno, SACK and Vegas, TCP, MANETs, Wireless, routing protocol, data transmissions, destination, TCP performance, TCP’s timers.

We shall assume that packet losses due to network loss are minimal and most of the packet losses are due to buffer overflows at the router. Thus it becomes increasingly important for TCP to react to a packet loss and take action to reduce congestion. TCP ensures reliability by starting a timer whenever it sends a segment. If it does not receive an acknowledgement fro m the receiver within the „t ime-out‟ interval then it retransmits the segment. We shall start the paper by taking a brief look at each of the congestion avoidance algorith ms and noting how they differ fro m each other. In the end we shall do a head to head comparison to further bring into light the differences.

1. Introduction Early TCP implementation uses go-back-n model with cumulat ive positive acknowledgement and requires a retransmit time-out to retransmit the lost packet. These TCP did little to min imize network congestion. The operation of TCP in wireless/mobile commun ications has been an important research issue in recent years, owing to the impressive growth experienced in that area of modern telecommun ications during the past decade. Significant contributions, such as the one presented in [1], indicate that the unmodified, standardized operation of TCP is not well aligned with the peculiarities of cellu lar environ ments. Terminal movement across cell boundaries, leading to handover, is misinterpreted by common TCP imp lementations as sign of congestion within the fixed network. To handle such congestion, TCP unnecessarily slows down transmission by reducing window sizes, and performing retransmissions, if relevant need arises.

There are several forms of acknowledgement: Positi ve Acknowledgement: The receiver explicitly notifies the sender which packets, messages, or segments were received correctly which may imp licit ly inform the sender which packets were not received even though they were sent and thus may need to be retransmitted. Positive Acknowledg ment with Re -Trans mission (PAR), is a 81

International Journal of Advanced Computer Research (ISSN (print): 2249-7277 ISSN (online): 2277-7970) Volume 2 Number 1March 2012

method used by TCP to verify receipt of transmitted data. PAR operates by re-transmitting data at an established period of time until the receiving host acknowledges reception of the data.

algorith m for heterogeneous networks. Different types of adhoc routing protocols are discussed in this paper such as Ad-Hoc On-Demand Distance Vector (AODV) , Ad-Hoc On Demand Multipath Distance Vector (AOMDV),QoS Ad-Hoc On Demand Multipath Distance Vector (QAOM DV), AOMDV is the extension of AODV routing protocol. QAOMDV is QoS version of AOMDV. These routing protocols are used in wireless network which is designed to form mu ltip le routes from source to the destination and also avoid the loop format ion so that it reduces congestion in the channel. The performance of AODV, A OMDV, and QAOMDV protocols are compared and proved the new routing protocol is better than others. The NS2 simu lation result shows that improved performance of the heterogeneous network for newly proposed mu ltipath routing protocol. The QAOMDV works better than other protocols in terms of delay, bandwidth, load balance, outing overhead and packet delivery ratio have been considered by varying the traffic load in the network. Th is paper analyzes the performance of different mult i-path routing algorithms such as AODV, AOMDV and QAOM DV routing algorithms fo r wireless segment of heterogeneous network has been compared. The heterogeneous network is the combination of fixed and mobile networ k. Mult ipath routing protocols that computes multip le paths during route discovery avoids high overhead, latency and bandwidth. It is observed the performance of QAOMDV, a QoS mu ltipath routing protocol of AOMDV, is efficient than DSR, AODV, AOMDV and DSDV.

Negati ve Acknowledg ment (NACK): The receiver explicitly notifies the sender which packets, messages, or segments were received incorrectly and thus may need to be retransmitted. Selective Acknowledg ment (SACK): The receiver explicit ly lists which packets, messages, or segments in a stream are acknowledged (either negatively or positively). Positive selective acknowledg ment is an option in TCP that is useful in Satellite Internet access. Cumulati ve Acknowledg ment: The receiver acknowledges that it correctly received a packet, message, or segment in a stream which implicitly informs the sender that the previous packets were received correctly. TCP uses cumulative acknowledg ment with its TCP sliding window. Retransmission is a very simple concept: Whenever one party sends something to the other party, it retains a copy of the data it sent until the recipient has acknowledged that it received it. In a variety of circu mstances, e.g.: if no such acknowledgment is forthcoming within a reasonable time, the time-out.

Their Simulat ion results shows that the performance of QAOMDV is better than other routing protocol in wireless side and hierarchical routing is used in wired network. They proved that Multipath routing algorithm provides low delay and high throughput, better bandwidth utilizat ion and low packet loss during data transmission. Finally the Timing analysis gives the comparison between different traffic pattern and Different routing protocols are compared by Average End to End delay with pause time.

the sender discovers, often through some out of band means, that the transmission was unsuccessful. if the receiver knows that expected data has not arrived, and so notifies the sender. if the receiver knows that the data has arrived, but in a damaged condition, and indicates that to the sender, the sender simply automatically retrans mits the data.

3. Proposed Technique 2. Related Work TCP congestion control lies in Additive Increase Multiplicative Decrease (AIMD), halving the congestion window for every window containing a packet loss, and increasing the congestion window by roughly one segment per RTT otherwise. and TCP congestion control is the Retransmit Timer, including the exponential bakeoffs of the retransmit t imer when a retransmitted packet is itself dropped. The third fundamental component is the Slow-Start mechanis m for the initial probing for available bandwidth. The

In this Research Paper [2] they implemented Multipath routing algorithms for heterogeneous network. Multipath routing separates the traffic among different paths to minimize congestion in terms of multip le alternative paths through a network which can provide a variety of benefits such as minimize delay and congestion, maximize bandwidth, or imp roved security. We propose a newly improved QoS mult ipath routing 82

International Journal of Advanced Computer Research (ISSN (print): 2249-7277 ISSN (online): 2277-7970) Volume 2 Number 1March 2012

fourth TCP congestion control mechanism is ACK clocking, where the arrival of acknowledgements at the sender is used to clock out the transmission of new data.

retransmits one packet and reduces its congestion window by one half. After entering Fast Recovery and retransmit a single packet, the sender effectively waits until half of a window of 2 dup ACKs have been received, and then sends a new packet for each additional dup ACK that is received. Upon receipt of an ACK for new data, the sender exits Fast Recovery. Reno significantly imp roves upon the behavior of Tahoe TCP when a single packet is dropped from a window of data, but can suffer fro m performance problems when mu ltip le packets are dropped fro m a window of data.

The TCP variants discussed in this paper, except TCP Vegas, all adhere to this underlying framework of SlowStart, AIMD, Retransmit Timers, and ACK-clocking. None of these changes alter the fundamental underlying dynamics of TCP congestion control. Instead, these changes help to avoid unnecessary Retransmit Timeouts, correct unnecessary Fas t Retransmits and Retransmit Timeouts resulting from disordered or delayed packets, and reduce unnecessary costs (in delay and unnecessary retransmits) associated with the mechanis m of congestion notification.

TCP SACK: The SACK TCP imp lementation preserves the properties of Tahoe and Reno TCP of being robust in the presence of out-of-order packets, and uses retransmit timeouts as the recovery method of last resort. The congestion control algorithms imp lemented in SACK TCP are a conservative extension of Reno's congestion control, in that they use the same algorith ms for increasing and decreasing the congestion window, and make min imal changes to the other congestion control algorith ms. Adding SACK (Selective Acknowledgement) to TCP does not change the basic underlying congestion control algorith ms. The main difference between the SACK TCP imp lementation and the Reno TCP imp lementation is in the behavior when mu ltip le packets are dropped from one window of data. During Fast Recovery, SACK maintains a variable called pipe that represents the estimated number of packets outstanding in the path. The sender only retransmits data when estimated number of packets in the path is less than the congestion window. Use of the pipe variable decouples the decision of when to send a packet fro m the decision of which packet to send. The sender maintains a data structure that remembers acknowledg ments from previous SACK options. When the sender is allowed to send a packet, it retransmits the next packet fro m the list of packets inferred to be missing at the receiver. The SACK sender has a special handling for partial ACKs (ACKs received during Fast Recovery that advance the Acknowledgment Nu mber field of TCP header, but do not take the sender out of fast Recovery). The sender decrements pipe by two rather than one for partial A CKs, the SACK sender never recovers more slowly than a Slow-Start. Detailed description of SACK TCP can be found in [6].

TCP congestion control : Main algorithms Slow start Congestion Avoidance Fast Retransmit Fast Recovery TCP SA CK (Selective Acknowledgement) TCP Tahoe: The Tahoe TCP imp lementation added a number of new algorith ms and refinements to earlier TCP implementations. The new algorith ms include Slow Start, Congestion Avoidance, and Fast Retransmit [3]. The refinements include a modification to the round -trip time estimator used to set retransmission timeout values. The Fast Retransmit algorith m is of special interest because it is modified in subsequent vers ions of TCP. With Fast Retransmit , after receiving a small nu mber of duplicate acknowledg ments for the same TCP segment (dup ACKs), the data sender infers that a packet has been lost and retransmits the packet without waiting for a retransmission timer to expire, lead ing to higher channel utilizat ion and connection throughput [4]. TCP Reno: The new algorithm prevents the communication channel fro m going empty after Fast Retransmit, thereby avoiding the need to Slow-Start to re-fill it after a single packet loss. The Reno TCP implementation retained the enhancements incorporated into Tahoe TCP but modified the Fast Retransmit operation to include Fast Recovery [5]. Fast Recovery operates by assuming each dup ACK received represents a single packet having left the pipe. Thus, during Fast Recovery the TCP sender is able to make intelligent estimates of the amount of outstanding data. A TCP sender enters fast Recovery after receiv ing an initial threshold of dup ACKs. Once the threshold of dup ACKs is received, the sender

TCP Vegas: The idea is that when the network is not congested, the actual flo w rate will be close to the expected flow rate. Otherwise, the actual flow rate will be s maller than the expected flow rate. TCP Vegas adopts a more sophisticated bandwidth estimation scheme. It uses the difference between expected and actual flow rates to estimate the available bandwidth in the network. TCP 83

International Journal of Advanced Computer Research (ISSN (print): 2249-7277 ISSN (online): 2277-7970) Volume 2 Number 1March 2012

Vegas, using this difference in flow rates, estimates the congestion level in the network and updates the window size accordingly. This difference in the flow rates can be easily translated into the difference between the window size and the number of acknowledged packets during the round trip time, using the equation TCP Vegas tries to keep at least α packet but no more than β packets in the queues.

Vegas or two SACK TCP agents, respectively. Results of X=1ms (the same propagation delay as comparison baseline) and X=23ms (the RTT of longer delay connection is 8 times of the shorter one) will be collected to show the fairness between different delay connections.

S3 S1

The reason behind this is that TCP Vegas attempts to detect and utilize the extra bandwidth whenever it becomes available without congesting the network. This mechanis m is fundamentally different fro m that used by TCP Reno. TCP Reno always updates its window size to guarantee full utilization of available bandwidth, leading to constant packet losses, whereas TCP Vegas does not cause any oscillat ion in window size once it converges to an equilibriu m point [7]. Ou r paper is focused on Reno, SACK and Vegas TCP since Tahoe is replaced by Reno in most of today‟s applications. Congestion Window Size Variat ion

10 Mbps 10 Mbps 1 ms

R1

R2

1.5 Mbps 10 Mbps S2

10 Mbps S4

Fig 1. Topology Network

One main difference in congestion control algorith ms of TCP SA CK and TCP Reno is how they deal with more than one packet loss in one congestion window. We try simu lating the case when four packets are dropped in one congestion window to see the window size variation. i hope when congestion window of TCP Reno drops to 0 and slow-start and more than one packet are dropped in one window. Congestion window of TCP Vegas oscillates when more packets are dropped, but never goes back fro m slow-start. TCP SA CK maintains the same window size as the value after the first packet drop and returns to a higher window size than both Reno and Vegas. The algorithm of TCP SA CK performs better in the case of more than one packet is dropped in one window.

5. Conclusion In this research paper, we propose to improve the performance of TCP Reno, TCP Vegas and TCP SACK fro m many aspects. of the both TCP Vegas and TCP SACK make some performance improvements to TCP Reno. TCP Vegas achieves higher throughput than Reno and SACK for large loss rate. TCP SA CK is better when more than one packet is dropped in one window. TCP Vegas causes much fewer packets retransmissions than TCP Reno and SACK. We also suggest a change in Vegas algorith m to make Vegas more aggressive in the competition. This may be worthy of further investigation. The efforts in analysis of queuing algorith ms effects lie in the gateway side of the network. There are many suggestions of modification that lie on the host side to improve the fairness.

4. Performance Evaluation Justify the Behavi or on Long Del ay connecti ons: To justify the observation in [7] that TCP Reno is biased against the connections with longer delays. The reason for this behavior is as follo ws. While a source does not detect any congestion, it continues to increase its window size by one during one round trip time (RTT). Obviously, connections with a shorter delay can update their window sizes faster than those with longer delays, and thus capture higher bandwidths. To our understanding, TCP SACK does not change this window increasing mechanism, so we expect the same unfair behavior with TCP SACK. We try to designing the simulat ion scenarios as follows. The network topology is shown in Topology fig 1. S1 and S2 will be set to be the same TCP agents, such as two Reno, two

Reference

84

[1]

R. Caceres, and Iftode. “Improving the performace of reliable transport protocals in mobile computing Environments”, IEEE JSAC, Vol 13, No 5, June 1995.

[2]

S.Santhi, G.Sudha Sadasivam, "Performance Evaluation of Different Routing Protocols to M inimize Congestion in Heterogeneous Network", IEEEInternational Conference on Recent Trends in Information Technology, PP 336-341, 2011

[3]

V. Jacobson, Congestion avoidance and control, ACM SIGCOMM Computer Communication Review, v.18 n.4, p.314-329, August 1988.

International Journal of Advanced Computer Research (ISSN (print): 2249-7277 ISSN (online): 2277-7970) Volume 2 Number 1March 2012

[4]

Kevin Fall, Sally Floyd, Simulation-based comparisons of Tahoe, Reno and SACK TCP, ACM SIGCOMM Computer Communication Review, v.26 n.3, p.5-21, July 1996.

[5]

V. Jacobson. “M odified TCP Congestion Avoidance Algorithm”, Technical report, 30 Apr. 1990

[6]

Kevin Fall, Sally Floyd, Simulation-based comparisons of Tahoe, Reno and SACK TCP, ACM SIGCOMM Computer Communication Review, v.26 n.3, p.5-21,

[7]

Jeonghoon M o, Richard J. La, Venkat Anantharam, and Jean Walrand, Analysis and Comparison of TCP Reno and Vegas.

Reena rai was born in korba dist. Korba,(Chhattisgarh) India on 26th September 1984. She received his Bachelor Of Engineering Degree in Information Technology with first division and M-Tech in Informat ion Technology. Her research interests include Computing Techniques, Security System , Robotics and Environmental with knowledge and skills for g rowth and development of Nation.

85

Suggest Documents