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

Size: px
Start display at page:

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

Transcription

1 ISSN: A New TCP Algorithm to reduce the number of retransmissions in Wireless Networks A Beulah, R Nita Marie Ann Assistant Professsor, SSN College of Engineering, Chennai PG Scholar, SSN College of Engineering, Chennai Abstract As wireless network has high bit error rate, it is prone to frequent retransmissions due to the presence of packet reordering, spurious timeouts and random packet losses. This paper identifies the reason for packet loss, if it is due to congestion or non-congestion reason and reduces the number of retransmissions, which enhances the performance of TCP. Retransmission is unnecessary even when 3 duplicate ACK are received by the sender and if it is due to packet reordering. When the network is not congested, retransmission of the packet is delayed to verify whether packet reordering has occurred. Also, if spurious timeout is detected retransmission is not necessary. Index Terms Wireless networks, non - congestion events, packet reordering, spurious timeouts, reduce retransmissions. I. INTRODUCTION TCP is a connection-oriented full duplex reliable protocol of the transport layer. TCP protocol is designed and tuned to perform well on wired network. In wired network, whenever a packet is lost, it is assumed to be due to network congestion and TCP calls the appropriate congestion control algorithm. Whereas in wireless network an indication of packet loss can be due to network congestion or non-congestion reasons such as packet reordering, spurious timeouts, spurious retransmits and so on. Therefore, in a wireless link, when packet loss is intimated, TCP calls the congestion control algorithm assuming network congestion which degrades TCP throughput. A. TCP in Wired Environment There are 4 standard congestion control algorithms in TCP. They are: 1. Slow Start 2. Congestion Avoidance 3. Fast Retransmit 4. Fast Recovery. Initially, the congestion window (cwnd) is set to 1 MSS (Maximum Segment Size). In the slow start phase, TCP increases the cwnd exponentially each time an acknowledgement (ACK) is received. When the slow start threshold (ssthresh) is reached TCP enters into Congestion Avoidance phase. In the congestion avoidance phase, cwnd increases linearly. When a packet is lost, the receiver sends a duplicate acknowledgement (DUPACK) to the sender. In the event of receipt of 3 DUPACKs, the sender assumes packet is lost due to network congestion and retransmits the packet. After retransmission, TCP enters into Fast Recovery phase. Fast recovery algorithm governs the transmission of the new data until a non-duplicate ACK arrives. In the event of occurrence of timeout TCP again enters into the slow start phase. B. TCP in Wireless Environment The above explained congestion control algorithms perform poorly in wireless environment. Therefore, some modifications should be performed to make them work effectively for wireless environment. When the sender receives 3 DUPACKs, the sender is made to check if the DUPACKs are marked by CW(Congestion Warning) enabled router. If so, then, packet loss is due to network congestion and cwnd is reduced followed by Fast Retransmit and Fast recovery phases. Otherwise, TCP retrans mits the lost packet and enters into fast recovery phases without any reduction of cwnd. The proposed system eliminates the drawbacks of using TCP in wireless medium. II. RELATED WORK There are several transport schemes for differentiating packet loss to improve the performance of TCP over wireless networks. TCP NCE [3, 1] differentiates congestion from non- 1

2 congestion losses by computing the queue length of the bottleneck link. If the queue length is greater than a threshold value then, congestion is reported. Otherwise the packet loss is because of some noncongestion event. The formula to compute queue length (Ql) is, Ql B(RTT now RTT min) RTT now is the current round-trip time when the sender receives an ACK. RTT min is the minimum RTT observed by the TCP sender B is the bandwidth of the bottleneck link. If packet loss is due to non-congestion event, then packet reordering is checked. But TCP-NCE does not verify if RTO is spurious. of cwnd exponentially each time it receives an ACK up to slow start threshold (ssthresh) is reached, after which it enter the congestion avoidance phase. In the congestion avoidance phase, the cwnd increases linearly. Whenever packet is lost receiver sends duplicate acknowledgements (DUPACKs) back to the sender. When the sender receives 3 DUPACKs it analyses if the indication of packet loss is due to network congestion or not. If the network is congested then, TCP moves to normal fast retransmit and fast recovery phases. If the network is not congested then the sender checks whether packet reordering is present or not. If timeout happens condition for spurious timeout is checked. In both the above cases if packet reordering or spurious timeout happens then retransmission of lost packet is not performed. This improves the efficiency of TCP in wireless network. F-RTO, Forward RTO Recovery algorithm [6] is used to detect spurious RTO's. After RTO expires, the sender retransmits one outstanding packet and then monitors the first incoming ACK. If the ACK advances the congestion window (cwnd) the sender will transmit two new packets. Again, if the second ACK advances cwnd, then the sender assumes that the RTO is spurious. TCP NRT [4, 2] uses modified ECN mechanism to differentiate congestion RTO from non-congestion RTO. In modified ECN, the router is configured with only 2 parameters: minimum threshold ($min^th$) and maximum threshold ($max^th$). When a packet arrives at the router, ECN calculates the average queue length (AQL) and if it is below $min^th$, the router will not mark the packets. If the AQL exceeds $max^th$ then the packets are marked. Whenever the RTO expires, the sender checks whether the last received ACK prior to the RTO is marked. If so, the sender considers that there is congestion in the network. Otherwise the sender assumes that the RTO is due to some other noncongestion event such as random loss and spurious timeout. TCP NRT detects spurious timeout but fails to check packet reordering. The proposed scheme checks for both packet reordering and spurious timeouts in wireless networks and thereby improves the performance of TCP. III.PROPOS ED SYS TEM The architecture of the proposed system is as shown in Fig. 1. After connection is established between the sender and the receiver TCP enters the slow start phase. In the slow start phase TCP increases the size Fig.1 Architecture Diagram C. Differentiation of Congestion from Non- Congestion Losses To differentiate congestion from non-congestion losses TCP Jersey [5] is used. Congestion Warning (CW) scheme is implemented for the drop tail router queue. Whenever the average queue length exceeds a certain threshold then, mark the incoming packets by setting their CE bit in the IP header. If TCP Jersey observes that the incoming DUPACKs are marked then it declares that packet loss is due to network congestion and proceeds with normal New Reno Fast Retransmit and Fast Recovery phases. If the DUPACKs are not marked then the sender assumes that the indication of packet loss is due to some noncongestion event. Wireless networks are prone to frequent retransmissions due to non-congestion events such as packet reordering and spurious timeouts. We propose a novel method to detect packet reordering and spurious timeouts in wireless scenario. If (3 DUPACKs and CW = 0) // Non-Congestion Event explicit_retransmit () 2

3 fast_recovery () If (3 DUPACKs and CW = 1) // Congestion Event rate_control () explicit_retransmit () fast_recovery () Algorithm 1: Algorithm to differentiate congestion from non-congestion losses When CW = 1, the sender is intimated that the received ACK packet is marked to denote network congestion. explicit_retrans mit () procedure is exactly similar to TCP fast_retransmit () except that it allows window adjustment to be done by rate_control() procedure. The rate_control() procedure estimates the rate at which cwnd and ssthresh has to be reduced in the event of occurrence of congestion. Sudden decrease of cwnd by half in the case of normal TCP underutilizes the available network bandwidth. The formula for bandwidth estimation is as follows: Fig. 1 Packet Reordering The flow chart to detect packet reordering is shown in Fig. 3. R n RTT R t t n n n 1 1 Ln RTT R n is the estimated bandwidth when the n th ACK arrives at time t n R n-1 is the estimated bandwidth when the n-1 th ACK arrives at time t n-1 L n is the size of data that the n th ACK acknowledges. Round Trip Time (RTT) is the TCP estimation of the end-to-end RTT delay at time t n D. Detection of packet reordering Packet Reordering is the default network behavior in which the relative order of packets is altered when transported in the network. Packet reordering occurs when a packet arrives at the receiver after one or more packets that had left the source later have already arrived. Fig. 2. diagrammatically explains the concept of packet reordering. The sender sends 5 packets in the order P1, P2, P3, P4 and P5. But P1 reaches the destination after P2, P3, P4 and P5 are received. In this case, P1 is the reordered packet and the reorder length is 4. The receiver anticipates the arrival of packet P1 and sends DUPACKs to the sender. When the sender receives 3 DUPACKs it retransmits P1 but the receiver had already received P1 a little later due to packet reordering. Fig. 3 Detection of Packet Reordering To detect the occurrence of packet reordering delay-thresh is computed using the below formula: delay _ thresh _ Pack LSent Pack LAck 3 Pack LSent is the last sent packet from the source Pack LAck is the last acknowledged packet from the receiver. When the sender receives add-dupacks in addition to the first three, it is checked if it exceeds delay-thresh value. If so, then, the sender confirms packet loss due to transmission error. Otherwise, packet reordering is detected and the sender waits for normal acknowledgement to occur. Algorithm 2 states the steps involved in the detection of packet reordering. If (3 DUPACKs and CW = 1) Calculate delay_thresh_ Send new packet Enter fast recovery If (add-dupacks) 3

4 If (add-dupacks >= delay_thresh_) Retransmit lost packet Send new packets until normal ACK is reached Algorithm 2: Algorithm to detect packet reordering E. Detection of Spurious Timeouts Spurious timeouts are fake timeouts that are caused due to sudden increase in RTT of packets that is predominant in wireless environment. In wireless network, sudden route changes, poor connectivity between communicating nodes and network congestion cause spurious timeouts. Flow chart to detect spurious timeouts is as shown in Fig. 4. Retransmit lost packet cwnd = current value Wait for normal ACK Go to slow start phase \newline cwnd = 1 Algorithm 3: Algorithm to detect spurious timeouts IV. SIMULATION AND RES ULT NS-2 simulator is used to evaluate the performance of the above proposed scheme. A hybrid network topology is constructed as shown in Fig. 5. The wired network consists of 2 nodes, a router and a base station. Fig. 2 Hybrid network topology Fig. 4 Detection of spurious timeouts On expiration of RTO, the sender checks for network congestion. If there is no congestion in the network, the RTO is triggered due to some noncongestion event. As a result, the sender keeps track of the next expected acknowledgement in Exp_Ack. The sender now sends a new packet and then receives an acknowledgement for the same. If the newly received ACK is greater than Exp_Ack, then, RTO is spurious. Algorithm 3 explains the steps to differentiate spurious RTO s from random packet losses. If (RTO) If (last_ack_ is not marked) Store Ex_Ack_ Send new packet If Ack > Exp_Ack_ ) The data transmission rate between the wired node and the router is 2 Mbps. The data transmission rate between the router and the base station is 50 Kbps. 5 static wireless nodes are defined. The packet size is 1000 bytes and window limit is set to 5. CWDT (Congestion Warning Drop Tail Queue) is defined between router and the base station with queue limit 5 and queue weight 1.0.ECN is enabled. Uniform error model is used to generate packet loss. For routing, DSDV protocol is used. Number of retransmitted packets is the main performance metric used to evaluate the performance of the modified TCP. Fig. 3 No. of retrans missions 4

5 Fig. 6 shows the graph for the number of retransmitted packets for the modified TCP and the original TCP. From the plot, it is observed that the number of retransmitted packets is reduced for modified TCP. V. CONCLUS ION In this paper, TCP algorithm is altered so that it can detect packet reordering. Hence unnecessary retransmissions in wireless network is reduced which thereby improves the efficiency of TCP. This paper can be extended for future work to inc lude detection of packet reordering in the event of occurrence of timeout. REFERENCES [1] Prasanthi. S and Meejeong Lee, An Efficient TCP Algorithm for Differentiating Random Packet Losses from Spurious Retransmission Timeouts in Multi-hop Wireless Networks, 14th International Conference on High Performance Computing and Communications, [2] Prasanthi. S, Sang-Hwa Chung and Won-Suk KimAn, Enhanced TCP Scheme for Distinguishing Non-Congestion Losses from Packet Reordering over Wireless Mesh Networks, IEEE International Conference on High Performance Computing and Communications, [3] Prasanthi Sreekumari and Sang-Hwa Chung, TCP NCE: A unified solution for noncongestion events to improve the performance of TCP over wireless network, Eurasip Journal on Wireless Communication and Networking, [4] Prasanthi Sreekumari and Meejeong Lee, TCP NRT: A new TCP algorithm for differentiating non-congestion retransmission timeouts over multihop wireless networks, Eurasip Journal on Wireless Communication and Networking, [5] K. Xu, Y. Tian, and N. Ansari, TCP-Jersey for Wireless IP Communications, IEEE Journal on Selected Areas in Communications, Vol. 22, No. 4, pp , May [6] R. Ludwig et.al., Forward RTO-recovery (FRTO): an enhanced recovery algorithm for TCP retrans missions timeout, ACM SIGCOMM Computer Communication Review 33,2 (2003). 5

Prasanthi Sreekumari, 1 Sang-Hwa Chung, 2 Meejeong Lee, 1 and Won-Suk Kim Introduction

Prasanthi Sreekumari, 1 Sang-Hwa Chung, 2 Meejeong Lee, 1 and Won-Suk Kim Introduction International Journal of Distributed Sensor Networks Volume 213, Article ID 59252, 16 pages http://dx.doi.org/1.1155/213/59252 Research Article : Detection of Fast Retransmission Losses Using TCP Timestamp

More information

EE122 MIDTERM EXAM: Scott Shenker, Ion Stoica

EE122 MIDTERM EXAM: Scott Shenker, Ion Stoica EE MITERM EXM: 00-0- Scott Shenker, Ion Stoica Last name Student I First name Login: ee- Please circle the last two letters of your login. a b c d e f g h i j k l m n o p q r s t u v w x y z a b c d e

More information

DualRTT: Enhancing TCP Performance During Delay Spikes

DualRTT: Enhancing TCP Performance During Delay Spikes DualRTT: Enhancing TCP Performance During Delay Spikes Ph.D. School of Computer Science University of Oklahoma. Email: atiq@ieee.org Web: www.cs.ou.edu/~atiq Presentation at Tohoku University, Sendai,

More information

ENRICHMENT OF SACK TCP PERFORMANCE BY DELAYING FAST RECOVERY Mr. R. D. Mehta 1, Dr. C. H. Vithalani 2, Dr. N. N. Jani 3

ENRICHMENT OF SACK TCP PERFORMANCE BY DELAYING FAST RECOVERY Mr. R. D. Mehta 1, Dr. C. H. Vithalani 2, Dr. N. N. Jani 3 Research Article ENRICHMENT OF SACK TCP PERFORMANCE BY DELAYING FAST RECOVERY Mr. R. D. Mehta 1, Dr. C. H. Vithalani 2, Dr. N. N. Jani 3 Address for Correspondence 1 Asst. Professor, Department of Electronics

More information

CS321: Computer Networks Congestion Control in TCP

CS321: Computer Networks Congestion Control in TCP CS321: Computer Networks Congestion Control in TCP Dr. Manas Khatua Assistant Professor Dept. of CSE IIT Jodhpur E-mail: manaskhatua@iitj.ac.in Causes and Cost of Congestion Scenario-1: Two Senders, a

More information

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

Enhancing TCP Throughput over Lossy Links Using ECN-Capable Capable RED Gateways Enhancing TCP Throughput over Lossy Links Using ECN-Capable Capable RED Gateways Haowei Bai Honeywell Aerospace Mohammed Atiquzzaman School of Computer Science University of Oklahoma 1 Outline Introduction

More information

Improving the Robustness of TCP to Non-Congestion Events

Improving the Robustness of TCP to Non-Congestion Events Improving the Robustness of TCP to Non-Congestion Events Presented by : Sally Floyd floyd@acm.org For the Authors: Sumitha Bhandarkar A. L. Narasimha Reddy {sumitha,reddy}@ee.tamu.edu Problem Statement

More information

CS519: Computer Networks. Lecture 5, Part 4: Mar 29, 2004 Transport: TCP congestion control

CS519: Computer Networks. Lecture 5, Part 4: Mar 29, 2004 Transport: TCP congestion control : Computer Networks Lecture 5, Part 4: Mar 29, 2004 Transport: TCP congestion control TCP performance We ve seen how TCP the protocol works Sequencing, receive window, connection setup and teardown And

More information

ROBUST TCP: AN IMPROVEMENT ON TCP PROTOCOL

ROBUST TCP: AN IMPROVEMENT ON TCP PROTOCOL ROBUST TCP: AN IMPROVEMENT ON TCP PROTOCOL SEIFEDDINE KADRY 1, ISSA KAMAR 1, ALI KALAKECH 2, MOHAMAD SMAILI 1 1 Lebanese University - Faculty of Science, Lebanon 1 Lebanese University - Faculty of Business,

More information

8. TCP Congestion Control

8. TCP Congestion Control 8. TCP Congestion Control 1 TCP Congestion Control Slow-start increase Multiplicative decrease Congestion avoidance Measurement of variation Exponential timer backoff 2002 Yanghee Choi 2 Congestion Control

More information

Transport Layer PREPARED BY AHMED ABDEL-RAOUF

Transport Layer PREPARED BY AHMED ABDEL-RAOUF Transport Layer PREPARED BY AHMED ABDEL-RAOUF TCP Flow Control TCP Flow Control 32 bits source port # dest port # head len sequence number acknowledgement number not used U A P R S F checksum Receive window

More information

Computer Networking Introduction

Computer Networking Introduction Computer Networking Introduction Halgurd S. Maghdid Software Engineering Department Koya University-Koya, Kurdistan-Iraq Lecture No.11 Chapter 3 outline 3.1 transport-layer services 3.2 multiplexing and

More information

TCP Congestion Control

TCP Congestion Control TCP Congestion Control What is Congestion The number of packets transmitted on the network is greater than the capacity of the network Causes router buffers (finite size) to fill up packets start getting

More information

TCP Congestion Control

TCP Congestion Control What is Congestion TCP Congestion Control The number of packets transmitted on the network is greater than the capacity of the network Causes router buffers (finite size) to fill up packets start getting

More information

RED behavior with different packet sizes

RED behavior with different packet sizes RED behavior with different packet sizes Stefaan De Cnodder, Omar Elloumi *, Kenny Pauwels Traffic and Routing Technologies project Alcatel Corporate Research Center, Francis Wellesplein, 1-18 Antwerp,

More information

CMPE 257: Wireless and Mobile Networking

CMPE 257: Wireless and Mobile Networking CMPE 257: Wireless and Mobile Networking Katia Obraczka Computer Engineering UCSC Baskin Engineering Lecture 10 CMPE 257 Spring'15 1 Student Presentations Schedule May 21: Sam and Anuj May 26: Larissa

More information

RD-TCP: Reorder Detecting TCP

RD-TCP: Reorder Detecting TCP RD-TCP: Reorder Detecting TCP Arjuna Sathiaseelan and Tomasz Radzik Department of Computer Science, King s College London, Strand, London WC2R 2LS {arjuna,radzik}@dcs.kcl.ac.uk Abstract. Numerous studies

More information

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

Impact of transmission errors on TCP performance. Outline. Random Errors Impact of transmission errors on TCP performance 1 Outline Impact of transmission errors on TCP performance Approaches to improve TCP performance Classification Discussion of selected approaches 2 Random

More information

Transmission Control Protocol. ITS 413 Internet Technologies and Applications

Transmission Control Protocol. ITS 413 Internet Technologies and Applications Transmission Control Protocol ITS 413 Internet Technologies and Applications Contents Overview of TCP (Review) TCP and Congestion Control The Causes of Congestion Approaches to Congestion Control TCP Congestion

More information

Chapter III. congestion situation in Highspeed Networks

Chapter III. congestion situation in Highspeed Networks Chapter III Proposed model for improving the congestion situation in Highspeed Networks TCP has been the most used transport protocol for the Internet for over two decades. The scale of the Internet and

More information

IJSRD - International Journal for Scientific Research & Development Vol. 2, Issue 03, 2014 ISSN (online):

IJSRD - International Journal for Scientific Research & Development Vol. 2, Issue 03, 2014 ISSN (online): IJSRD - International Journal for Scientific Research & Development Vol. 2, Issue 03, 2014 ISSN (online): 2321-0613 Performance Evaluation of TCP in the Presence of in Heterogeneous Networks by using Network

More information

Cross-layer TCP Performance Analysis in IEEE Vehicular Environments

Cross-layer TCP Performance Analysis in IEEE Vehicular Environments 24 Telfor Journal, Vol. 6, No. 1, 214. Cross-layer TCP Performance Analysis in IEEE 82.11 Vehicular Environments Toni Janevski, Senior Member, IEEE, and Ivan Petrov 1 Abstract In this paper we provide

More information

image 3.8 KB Figure 1.6: Example Web Page

image 3.8 KB Figure 1.6: Example Web Page image. KB image 1 KB Figure 1.: Example Web Page and is buffered at a router, it must wait for all previously queued packets to be transmitted first. The longer the queue (i.e., the more packets in the

More information

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

Considering Spurious Timeout in Proxy for Improving TCP Performance in Wireless Networks Considering Spurious Timeout in Proxy for Improving TCP Performance in Wireless Networks YuChul Kim Telecommunication R&D Center, Samsung Electronics,Co., Ltd yuchul.kim@samsung.com DongHo Cho Communication

More information

Chapter III: Transport Layer

Chapter III: Transport Layer Chapter III: Transport Layer UG3 Computer Communications & Networks (COMN) Mahesh Marina mahesh@ed.ac.uk Slides thanks to Myungjin Lee and copyright of Kurose and Ross Principles of congestion control

More information

F-RTO: An Enhanced Recovery Algorithm for TCP Retransmission Timeouts

F-RTO: An Enhanced Recovery Algorithm for TCP Retransmission Timeouts F-RTO: An Enhanced Recovery Algorithm for TCP Retransmission Timeouts Pasi Sarolahti Nokia Research Center pasi.sarolahti@nokia.com Markku Kojo, Kimmo Raatikainen University of Helsinki Department of Computer

More information

TCP over Wireless. Protocols and Networks Hadassah College Spring 2018 Wireless Dr. Martin Land 1

TCP over Wireless. Protocols and Networks Hadassah College Spring 2018 Wireless Dr. Martin Land 1 TCP over Wireless Protocols and Networks Hadassah College Spring 218 Wireless Dr. Martin Land 1 Classic TCP-Reno Ideal operation in-flight segments = cwnd (send cwnd without stopping) Cumulative ACK for

More information

TCP Congestion Control in Wired and Wireless networks

TCP Congestion Control in Wired and Wireless networks TCP Congestion Control in Wired and Wireless networks Mohamadreza Najiminaini (mna28@cs.sfu.ca) Term Project ENSC 835 Spring 2008 Supervised by Dr. Ljiljana Trajkovic School of Engineering and Science

More information

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

PERFORMANCE COMPARISON OF THE DIFFERENT STREAMS IN A TCP BOTTLENECK LINK IN THE PRESENCE OF BACKGROUND TRAFFIC IN A DATA CENTER PERFORMANCE COMPARISON OF THE DIFFERENT STREAMS IN A TCP BOTTLENECK LINK IN THE PRESENCE OF BACKGROUND TRAFFIC IN A DATA CENTER Vilma Tomço, 1 Aleksandër Xhuvani 2 Abstract: The purpose of this work is

More information

TCP congestion control:

TCP congestion control: TCP congestion control: Probing for usable bandwidth: Ideally: transmit as fast as possible (cwnd as large as possible) without loss Increase cwnd until loss (congestion) Loss: decrease cwnd, then begin

More information

Advanced Computer Networks

Advanced Computer Networks Advanced Computer Networks Congestion control in TCP Prof. Andrzej Duda duda@imag.fr http://duda.imag.fr 1 Contents Principles TCP congestion control states Slow Start Congestion Avoidance Fast Recovery

More information

Internet Protocols Fall Lecture 16 TCP Flavors, RED, ECN Andreas Terzis

Internet Protocols Fall Lecture 16 TCP Flavors, RED, ECN Andreas Terzis Internet Protocols Fall 2006 Lecture 16 TCP Flavors, RED, ECN Andreas Terzis Outline TCP congestion control Quick Review TCP flavors Impact of losses Cheating Router-based support RED ECN CS 349/Fall06

More information

Problem 7. Problem 8. Problem 9

Problem 7. Problem 8. Problem 9 Problem 7 To best answer this question, consider why we needed sequence numbers in the first place. We saw that the sender needs sequence numbers so that the receiver can tell if a data packet is a duplicate

More information

Networked Systems and Services, Fall 2018 Chapter 3

Networked Systems and Services, Fall 2018 Chapter 3 Networked Systems and Services, Fall 2018 Chapter 3 Jussi Kangasharju Markku Kojo Lea Kutvonen 4. Transport Layer Reliability with TCP Transmission Control Protocol (TCP) RFC 793 + more than hundred other

More information

Networked Systems and Services, Fall 2017 Reliability with TCP

Networked Systems and Services, Fall 2017 Reliability with TCP Networked Systems and Services, Fall 2017 Reliability with TCP Jussi Kangasharju Markku Kojo Lea Kutvonen 4. Transmission Control Protocol (TCP) RFC 793 + more than hundred other RFCs TCP Loss Recovery

More information

Overview. TCP congestion control Computer Networking. TCP modern loss recovery. TCP modeling. TCP Congestion Control AIMD

Overview. TCP congestion control Computer Networking. TCP modern loss recovery. TCP modeling. TCP Congestion Control AIMD Overview 15-441 Computer Networking Lecture 9 More TCP & Congestion Control TCP congestion control TCP modern loss recovery TCP modeling Lecture 9: 09-25-2002 2 TCP Congestion Control Changes to TCP motivated

More information

Dynamic Deferred Acknowledgment Mechanism for Improving the Performance of TCP in Multi-Hop Wireless Networks

Dynamic Deferred Acknowledgment Mechanism for Improving the Performance of TCP in Multi-Hop Wireless Networks Dynamic Deferred Acknowledgment Mechanism for Improving the Performance of TCP in Multi-Hop Wireless Networks Dodda Sunitha Dr.A.Nagaraju Dr. G.Narsimha Assistant Professor of IT Dept. Central University

More information

Congestion / Flow Control in TCP

Congestion / Flow Control in TCP Congestion and Flow Control in 1 Flow Control and Congestion Control Flow control Sender avoids overflow of receiver buffer Congestion control All senders avoid overflow of intermediate network buffers

More information

UNIT IV -- TRANSPORT LAYER

UNIT IV -- TRANSPORT LAYER UNIT IV -- TRANSPORT LAYER TABLE OF CONTENTS 4.1. Transport layer. 02 4.2. Reliable delivery service. 03 4.3. Congestion control. 05 4.4. Connection establishment.. 07 4.5. Flow control 09 4.6. Transmission

More information

TCP over Wireless PROF. MICHAEL TSAI 2016/6/3

TCP over Wireless PROF. MICHAEL TSAI 2016/6/3 TCP over Wireless PROF. MICHAEL TSAI 2016/6/3 2 TCP Congestion Control (TCP Tahoe) Only ACK correctly received packets Congestion Window Size: Maximum number of bytes that can be sent without receiving

More information

A THROUGHPUT ANALYSIS OF TCP IN ADHOC NETWORKS

A THROUGHPUT ANALYSIS OF TCP IN ADHOC NETWORKS A THROUGHPUT ANALYSIS OF TCP IN ADHOC NETWORKS S.P.Valli 1,K.M.Mehata 2 1 vallisp@yahoo.com Department of Computer Science and Engineering B.S.Abdur Rahman University,Chennai. 2 kmmehata@bsauniv.ac.in

More information

Chapter 6. What happens at the Transport Layer? Services provided Transport protocols UDP TCP Flow control Congestion control

Chapter 6. What happens at the Transport Layer? Services provided Transport protocols UDP TCP Flow control Congestion control Chapter 6 What happens at the Transport Layer? Services provided Transport protocols UDP TCP Flow control Congestion control OSI Model Hybrid Model Software outside the operating system Software inside

More information

Improving Reliable Transport and Handoff Performance in Cellular Wireless Networks

Improving Reliable Transport and Handoff Performance in Cellular Wireless Networks Improving Reliable Transport and Handoff Performance in Cellular Wireless Networks H. Balakrishnan, S. Seshan, and R. H. Katz ACM Wireless Networks Vol. 1, No. 4, pp. 469-482 Dec. 1995 P. 1 Introduction

More information

TCP Congestion Control 65KB W

TCP Congestion Control 65KB W TCP Congestion Control 65KB W TO 3DA 3DA TO 0.5 0.5 0.5 0.5 3 3 1 SS SS CA SS CA TCP s Congestion Window Maintenance TCP maintains a congestion window (cwnd), based on packets Sender s window is limited

More information

Fast Retransmit. Problem: coarsegrain. timeouts lead to idle periods Fast retransmit: use duplicate ACKs to trigger retransmission

Fast Retransmit. Problem: coarsegrain. timeouts lead to idle periods Fast retransmit: use duplicate ACKs to trigger retransmission Fast Retransmit Problem: coarsegrain TCP timeouts lead to idle periods Fast retransmit: use duplicate ACKs to trigger retransmission Packet 1 Packet 2 Packet 3 Packet 4 Packet 5 Packet 6 Sender Receiver

More information

Transport layer. UDP: User Datagram Protocol [RFC 768] Review principles: Instantiation in the Internet UDP TCP

Transport layer. UDP: User Datagram Protocol [RFC 768] Review principles: Instantiation in the Internet UDP TCP Transport layer Review principles: Reliable data transfer Flow control Congestion control Instantiation in the Internet UDP TCP 1 UDP: User Datagram Protocol [RFC 768] No frills, bare bones Internet transport

More information

Transport layer. Review principles: Instantiation in the Internet UDP TCP. Reliable data transfer Flow control Congestion control

Transport layer. Review principles: Instantiation in the Internet UDP TCP. Reliable data transfer Flow control Congestion control Transport layer Review principles: Reliable data transfer Flow control Congestion control Instantiation in the Internet UDP TCP 1 UDP: User Datagram Protocol [RFC 768] No frills, bare bones Internet transport

More information

Advanced Computer Networks

Advanced Computer Networks Advanced Computer Networks Congestion control in TCP Contents Principles TCP congestion control states Congestion Fast Recovery TCP friendly applications Prof. Andrzej Duda duda@imag.fr http://duda.imag.fr

More information

Chapter 3 Transport Layer

Chapter 3 Transport Layer Chapter 3 Transport Layer 1 Chapter 3 outline 3.1 Transport-layer services 3.2 Multiplexing and demultiplexing 3.3 Connectionless transport: UDP 3.4 Principles of reliable data transfer 3.5 Connection-oriented

More information

Outline Computer Networking. TCP slow start. TCP modeling. TCP details AIMD. Congestion Avoidance. Lecture 18 TCP Performance Peter Steenkiste

Outline Computer Networking. TCP slow start. TCP modeling. TCP details AIMD. Congestion Avoidance. Lecture 18 TCP Performance Peter Steenkiste Outline 15-441 Computer Networking Lecture 18 TCP Performance Peter Steenkiste Fall 2010 www.cs.cmu.edu/~prs/15-441-f10 TCP congestion avoidance TCP slow start TCP modeling TCP details 2 AIMD Distributed,

More information

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

TCP Westwood and Easy Red to Improve Fairness in High-speed Networks. PfHsn 2002 Berlin, 22 April 2002 TCP Westwood and Easy Red to Improve Fairness in High-speed Networks L. A. Grieco, S. Mascolo Dipartimento di Elettrotecnica ed Elettronica Politecnico di Bari, Italy PfHsn 2002 Berlin, 22 April 2002 Outline

More information

Lecture 15: TCP over wireless networks. Mythili Vutukuru CS 653 Spring 2014 March 13, Thursday

Lecture 15: TCP over wireless networks. Mythili Vutukuru CS 653 Spring 2014 March 13, Thursday Lecture 15: TCP over wireless networks Mythili Vutukuru CS 653 Spring 2014 March 13, Thursday TCP - recap Transport layer TCP is the dominant protocol TCP provides in-order reliable byte stream abstraction

More information

TRANSMISSION CONTROL PROTOCOL

TRANSMISSION CONTROL PROTOCOL COMP 635: WIRELESS NETWORKS TRANSMISSION CONTROL PROTOCOL Jasleen Kaur Fall 2015 1 Impact of Wireless on Protocol Layers Application layer Transport layer Network layer Data layer Physical layer service

More information

Performance Evaluation of TCP Westwood. Summary

Performance Evaluation of TCP Westwood. Summary Summary This project looks at a fairly new Transmission Control Protocol flavour, TCP Westwood and aims to investigate how this flavour of TCP differs from other flavours of the protocol, especially TCP

More information

Transport Protocols and TCP: Review

Transport Protocols and TCP: Review Transport Protocols and TCP: Review CSE 6590 Fall 2010 Department of Computer Science & Engineering York University 1 19 September 2010 1 Connection Establishment and Termination 2 2 1 Connection Establishment

More information

Communication Networks

Communication Networks Communication Networks Spring 2018 Laurent Vanbever nsg.ee.ethz.ch ETH Zürich (D-ITET) April 30 2018 Materials inspired from Scott Shenker & Jennifer Rexford Last week on Communication Networks We started

More information

TCP based Receiver Assistant Congestion Control

TCP based Receiver Assistant Congestion Control International Conference on Multidisciplinary Research & Practice P a g e 219 TCP based Receiver Assistant Congestion Control Hardik K. Molia Master of Computer Engineering, Department of Computer Engineering

More information

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2014

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2014 1 Congestion Control In The Internet Part 2: How it is implemented in TCP JY Le Boudec 2014 Contents 1. Congestion control in TCP 2. The fairness of TCP 3. The loss throughput formula 4. Explicit Congestion

More information

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

Chapter 3 outline. 3.5 Connection-oriented transport: TCP. 3.6 Principles of congestion control 3.7 TCP congestion control Chapter 3 outline 3.1 Transport-layer services 3.2 Multiplexing and demultiplexing 3.3 Connectionless transport: UDP 3.4 Principles of reliable data transfer 3.5 Connection-oriented transport: TCP segment

More information

Internet Networking recitation #10 TCP New Reno Vs. Reno

Internet Networking recitation #10 TCP New Reno Vs. Reno recitation #0 TCP New Reno Vs. Reno Spring Semester 200, Dept. of Computer Science, Technion 2 Introduction Packet Loss Management TCP Reno (RFC 258) can manage a loss of at most one packet from a single

More information

Investigations On Making TCP Robust Against Spurious. Retransmissions

Investigations On Making TCP Robust Against Spurious. Retransmissions Investigations On Making TCP Robust Against Spurious Retransmissions Zhu Ying Jie School of Computing National University of Singapore 3 Science Drive 2, Singapore 117543 Investigations On Making TCP Robust

More information

Chapter 24. Transport-Layer Protocols

Chapter 24. Transport-Layer Protocols Chapter 24. Transport-Layer Protocols 23.1 Introduction 23.2 User Datagram Protocol 23.3 Transmission Control Protocol 23.4 SCTP Computer Networks 24-1 Position of Transport-Layer Protocols UDP is an unreliable

More information

Basic Reliable Transport Protocols

Basic Reliable Transport Protocols Basic Reliable Transport Protocols Do not be alarmed by the length of this guide. There are a lot of pictures. You ve seen in lecture that most of the networks we re dealing with are best-effort : they

More information

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2014

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2014 1 Congestion Control In The Internet Part 2: How it is implemented in TCP JY Le Boudec 2014 Contents 1. Congestion control in TCP 2. The fairness of TCP 3. The loss throughput formula 4. Explicit Congestion

More information

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

TCP. CSU CS557, Spring 2018 Instructor: Lorenzo De Carli (Slides by Christos Papadopoulos, remixed by Lorenzo De Carli) TCP CSU CS557, Spring 2018 Instructor: Lorenzo De Carli (Slides by Christos Papadopoulos, remixed by Lorenzo De Carli) 1 Sources Fall and Stevens, TCP/IP Illustrated Vol. 1, 2nd edition Congestion Avoidance

More information

Impact of False RTT on the Efficiency of TCP-NJ in WLAN

Impact of False RTT on the Efficiency of TCP-NJ in WLAN Impact of False RTT on the Efficiency of TCP-NJ in WLAN Utsav K Gandhi 1, Purvang alal 1 epartment Of Electronics And Communication, harmsinh esai University, India. epartment Of Electronics And Communication,

More information

THE NETWORK PERFORMANCE OVER TCP PROTOCOL USING NS2

THE NETWORK PERFORMANCE OVER TCP PROTOCOL USING NS2 THE NETWORK PERFORMANCE OVER TCP PROTOCOL USING NS2 Ammar Abdulateef Hadi, Raed A. Alsaqour and Syaimak Abdul Shukor School of Computer Science, Faculty of Information Science and Technology, University

More information

Veno-A: Adaptive Congestion Control Approach for Hybrid Network

Veno-A: Adaptive Congestion Control Approach for Hybrid Network Volume 120 No. 6 2018, 447-458 ISSN: 1314-3395 (on-line version) url: http://www.acadpubl.eu/hub/ http://www.acadpubl.eu/hub/ Veno-A: Adaptive Congestion Control Approach for Hybrid Network Sanjesh S.

More information

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2015

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2015 1 Congestion Control In The Internet Part 2: How it is implemented in TCP JY Le Boudec 2015 Contents 1. Congestion control in TCP 2. The fairness of TCP 3. The loss throughput formula 4. Explicit Congestion

More information

CS268: Beyond TCP Congestion Control

CS268: Beyond TCP Congestion Control TCP Problems CS68: Beyond TCP Congestion Control Ion Stoica February 9, 004 When TCP congestion control was originally designed in 1988: - Key applications: FTP, E-mail - Maximum link bandwidth: 10Mb/s

More information

Wireless TCP Performance Issues

Wireless TCP Performance Issues Wireless TCP Performance Issues Issues, transport layer protocols Set up and maintain end-to-end connections Reliable end-to-end delivery of data Flow control Congestion control Udp? Assume TCP for the

More information

Selective-TCP for Wired/Wireless Networks

Selective-TCP for Wired/Wireless Networks Selective-TCP for Wired/Wireless Networks Rajashree Paul rpaul2@cs.sfu.ca Communication Networks Laboratory Roadmap Motivation Background and related work Selective-TCP overview implementation Simulation

More information

Fuzzy based Tuning Congestion Window for Improving End-to-End Congestion Control Protocols

Fuzzy based Tuning Congestion Window for Improving End-to-End Congestion Control Protocols Fuzzy based Tuning Congestion Window for Improving End-to-End Congestion Control Protocols Tharwat Ibrahim Department of Computer Systems Faculty of Computer and Information, Benha University Gamal Attiya

More information

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

Hybrid Control and Switched Systems. Lecture #17 Hybrid Systems Modeling of Communication Networks Hybrid Control and Switched Systems Lecture #17 Hybrid Systems Modeling of Communication Networks João P. Hespanha University of California at Santa Barbara Motivation Why model network traffic? to validate

More information

Outline. CS5984 Mobile Computing

Outline. CS5984 Mobile Computing CS5984 Mobile Computing Dr. Ayman Abdel-Hamid Computer Science Department Virginia Tech Outline Review Transmission Control Protocol (TCP) Based on Behrouz Forouzan, Data Communications and Networking,

More information

Improving TCP Performance in Wireless Networks by Detection and Avoidance of Spurious Retransmission Timeouts

Improving TCP Performance in Wireless Networks by Detection and Avoidance of Spurious Retransmission Timeouts JOURNAL OF INFORMATION SCIENCE AND ENGINEERING 31, 711-726 (2015) Improving TCP Performance in Wireless Networks by Detection and Avoidance of Spurious Retransmission Timeouts S. SATHYA PRIYA 1 AND K.

More information

DEPLOYMENT OF FAIR SHARE AND SMART START TECHNIQUE FOR OPTIMAL USE OF AVAILABLE CAPACITY IN TCP CONGESTION CONTROL

DEPLOYMENT OF FAIR SHARE AND SMART START TECHNIQUE FOR OPTIMAL USE OF AVAILABLE CAPACITY IN TCP CONGESTION CONTROL 32 International Journal on, Vol.3, No.1, January 2009 Information Sciences and Computing DEPLOYMENT OF FAIR SHARE AND SMART START TECHNIQUE FOR OPTIMAL USE OF AVAILABLE CAPACITY IN TCP CONGESTION CONTROL

More information

An Issue in NewReno After Fast Recovery. Yoshifumi Nishida

An Issue in NewReno After Fast Recovery. Yoshifumi Nishida An Issue in NewReno After Fast Recovery Yoshifumi Nishida nishida@dyyno.com RFC3782 Definition Definition of Fast Retransmit and Fast Recovery Algorithm (Step 5 of fast retransmit fast recovery) When a

More information

Transmission Control Protocol (TCP)

Transmission Control Protocol (TCP) TETCOS Transmission Control Protocol (TCP) Comparison of TCP Congestion Control Algorithms using NetSim @2017 Tetcos. This document is protected by copyright, all rights reserved Table of Contents 1. Abstract....

More information

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

ECE 610: Homework 4 Problems are taken from Kurose and Ross. ECE 610: Homework 4 Problems are taken from Kurose and Ross. Problem 1: Host A and B are communicating over a TCP connection, and Host B has already received from A all bytes up through byte 248. Suppose

More information

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

Enhancing TCP Throughput over Lossy Links Using ECN-capable RED Gateways Enhancing TCP Throughput over Lossy Links Using ECN-capable RED Gateways Haowei Bai AES Technology Centers of Excellence Honeywell Aerospace 3660 Technology Drive, Minneapolis, MN 5548 E-mail: haowei.bai@honeywell.com

More information

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. October 30, 2018

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. October 30, 2018 CMSC 417 Computer Networks Prof. Ashok K Agrawala 2018 Ashok Agrawala October 30, 2018 Message, Segment, Packet, and Frame host host HTTP HTTP message HTTP TCP TCP segment TCP router router IP IP packet

More information

TCP Congestion Control

TCP Congestion Control TCP Congestion Control Lecture material taken from Computer Networks A Systems Approach, Third Ed.,Peterson and Davie, Morgan Kaufmann, 2003. Computer Networks: TCP Congestion Control 1 TCP Congestion

More information

Transport layer issues

Transport layer issues Transport layer issues Dmitrij Lagutin, dlagutin@cc.hut.fi T-79.5401 Special Course in Mobility Management: Ad hoc networks, 28.3.2007 Contents Issues in designing a transport layer protocol for ad hoc

More information

cs/ee 143 Communication Networks

cs/ee 143 Communication Networks cs/ee 143 Communication Networks Chapter 4 Transport Text: Walrand & Parakh, 2010 Steven Low CMS, EE, Caltech Recap: Internet overview Some basic mechanisms n Packet switching n Addressing n Routing o

More information

Flow and Congestion Control Marcos Vieira

Flow and Congestion Control Marcos Vieira Flow and Congestion Control 2014 Marcos Vieira Flow Control Part of TCP specification (even before 1988) Goal: not send more data than the receiver can handle Sliding window protocol Receiver uses window

More information

Improving TCP Performance over Wireless Networks using Loss Predictors

Improving TCP Performance over Wireless Networks using Loss Predictors Improving TCP Performance over Wireless Networks using Loss Predictors Fabio Martignon Dipartimento Elettronica e Informazione Politecnico di Milano P.zza L. Da Vinci 32, 20133 Milano Email: martignon@elet.polimi.it

More information

Principles of congestion control

Principles of congestion control Principles of congestion control Congestion: Informally: too many sources sending too much data too fast for network to handle Different from flow control! Manifestations: Lost packets (buffer overflow

More information

Performance Enhancement Of TCP For Wireless Network

Performance Enhancement Of TCP For Wireless Network P a g e 32 Vol. 10 Issue 12 (Ver. 1.0) October 2010 Global Journal of Computer Science and Technology Performance Enhancement Of TCP For Wireless Network 1 Pranab Kumar Dhar, 2 Mohammad Ibrahim Khan, 3

More information

Bandwidth Allocation & TCP

Bandwidth Allocation & TCP Bandwidth Allocation & TCP The Transport Layer Focus Application Presentation How do we share bandwidth? Session Topics Transport Network Congestion control & fairness Data Link TCP Additive Increase/Multiplicative

More information

ATCP: Improving TCP performance over mobile wireless environments

ATCP: Improving TCP performance over mobile wireless environments : Improving TCP performance over mobile wireless environments Ajay Kr Singh Dept of Computer Science & Engg IIT Bombay aksingh@cse.iitb.ac.in Sridhar Iyer School of Information Technology IIT Bombay sri@it.iitb.ac.in

More information

CC-SCTP: Chunk Checksum of SCTP for Enhancement of Throughput in Wireless Network Environments

CC-SCTP: Chunk Checksum of SCTP for Enhancement of Throughput in Wireless Network Environments CC-SCTP: Chunk Checksum of SCTP for Enhancement of Throughput in Wireless Network Environments Stream Control Transmission Protocol (SCTP) uses the 32-bit checksum in the common header, by which a corrupted

More information

RD-TCP: Reorder Detecting TCP

RD-TCP: Reorder Detecting TCP 1 : Reorder Detecting TCP Arjuna Sathiaseelan Tomasz Radzik Department of Computer Science, King s College London, Strand, London WC2R2LS, United Kingdom Tel: +44 2 7848 2841 Email: {arjuna,radzik}@dcs.kcl.ac.uk

More information

Congestion Control in TCP

Congestion Control in TCP Congestion Control in TCP Outline Overview of RENO TCP Reacting to Congestion SS/AIMD example CS 640 1 TCP Congestion Control The idea of TCP congestion control is for each source to determine how much

More information

Lecture 15: Transport Layer Congestion Control

Lecture 15: Transport Layer Congestion Control Lecture 15: Transport Layer Congestion Control COMP 332, Spring 2018 Victoria Manfredi Acknowledgements: materials adapted from Computer Networking: A Top Down Approach 7 th edition: 1996-2016, J.F Kurose

More information

King Fahd University of Petroleum & Minerals

King Fahd University of Petroleum & Minerals King Fahd University of Petroleum & Minerals Department of Computer Engineering COE 541 Local and Metropolitan Area Networks Term 091 Project Progress Report # 3[Final] TCP/IP window and slow-start study

More information

Performance Analysis of TCP Variants

Performance Analysis of TCP Variants 102 Performance Analysis of TCP Variants Abhishek Sawarkar Northeastern University, MA 02115 Himanshu Saraswat PES MCOE,Pune-411005 Abstract The widely used TCP protocol was developed to provide reliable

More information

Explicit Congestion Notification for Error Discrimination

Explicit Congestion Notification for Error Discrimination Explicit Congestion Notification for Error Discrimination A practical approach to Improve TCP performance over wireless networks M. A. Alnuem, J. E. Mellor, R. J. Fretwell Mobile Computing, Networks and

More information

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

Chapter 3 outline. 3.5 Connection-oriented transport: TCP. 3.6 Principles of congestion control 3.7 TCP congestion control Chapter 3 outline 3.1 Transport-layer services 3.2 Multiplexing and demultiplexing 3.3 Connectionless transport: UDP 3.4 Principles of reliable data transfer 3.5 Connection-oriented transport: TCP segment

More information

Transport Protocols & TCP TCP

Transport Protocols & TCP TCP Transport Protocols & TCP CSE 3213 Fall 2007 13 November 2007 1 TCP Services Flow control Connection establishment and termination Congestion control 2 1 TCP Services Transmission Control Protocol (RFC

More information