TCP OVER ADHOC NETWORK. TCP Basics TCP (Transmission Control Protocol) was designed to provide reliable end-to-end delivery of data over unreliable networks.

Slides:



Advertisements
Similar presentations
TCP Variants.
Advertisements

A feedback–based scheme for improving TCP performance in Ad Hoc Wireless Networks Group : Manish Mehta Aditya Barve.
1 Transport Protocols & TCP CSE 3213 Fall April 2015.
1 TCP Congestion Control. 2 TCP Segment Structure source port # dest port # 32 bits application data (variable length) sequence number acknowledgement.
TCP: Transmission Control Protocol Overview Connection set-up and termination Interactive Bulk transfer Timers Improvements.
Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross- Layer Information Awareness Xin Yu Department Of Computer Science New York University,
1 TCP CSE May TCP Services Flow control Connection establishment and termination Congestion control 2.
School of Information Technologies TCP Congestion Control NETS3303/3603 Week 9.
CMPE 257: Wireless and Mobile Networking
Transport Layer 3-1 Fast Retransmit r time-out period often relatively long: m long delay before resending lost packet r detect lost segments via duplicate.
Transport Layer3-1 Congestion Control. Transport Layer3-2 Principles of Congestion Control Congestion: r informally: “too many sources sending too much.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Week 9 TCP9-1 Week 9 TCP 3 outline r 3.5 Connection-oriented transport: TCP m segment structure m reliable data transfer m flow control m connection management.
EEC-484/584 Computer Networks Lecture 14 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
Transport Protocols for Wireless Networks CMPE Spring 2001 Marcelo M. de Carvalho.
TCP in Heterogeneous Network Md. Ehtesamul Haque # P.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Transport Protocols Slide 1 Transport Protocols.
TCP performance in Wireless Networks Ehsan Hamadani July 2004.
CMPE 257 Spring CMPE 257: Wireless and Mobile Networking Spring 2005 E2E Protocols (point-to-point)
Ch 3. Transport Layer Myungchul Kim
TCP: flow and congestion control. Flow Control Flow Control is a technique for speed-matching of transmitter and receiver. Flow control ensures that a.
Lect3..ppt - 09/12/04 CIS 4100 Systems Performance and Evaluation Lecture 3 by Zornitza Genova Prodanoff.
CIS 725 Wireless networks. Low bandwidth High error rates.
Transport Layer Issue in Wireless Ad Hoc and Sensor Network
3: Transport Layer3b-1 Principles of Congestion Control Congestion: r informally: “too many sources sending too much data too fast for network to handle”
Transport Layer 4 2: Transport Layer 4.
Transport Layer3-1 Chapter 3 outline r 3.1 Transport-layer services r 3.2 Multiplexing and demultiplexing r 3.3 Connectionless transport: UDP r 3.4 Principles.
Qian Zhang Department of Computer Science HKUST Advanced Topics in Next- Generation Wireless Networks Transport Protocols in Ad hoc Networks.
CS – 647: Advanced Topics in Wireless Networks
Background of Ad hoc Wireless Networks Student Presentations Wireless Communication Technology and Research Ad hoc Routing and Mobile IP and Mobility Wireless.
TCP PERFORMANCE OVER AD HOC NETWORKS Presented by Vishwanee Raghoonundun Assisted by Maheshwarnath Behary MSc Computer Networks Middlesex University.
Principles of Congestion Control Congestion: informally: “too many sources sending too much data too fast for network to handle” different from flow control!
1 Transport Protocols (continued) Relates to Lab 5. UDP and TCP.
TCP Lecture 13 November 13, TCP Background Transmission Control Protocol (TCP) TCP provides much of the functionality that IP lacks: reliable service.
1 TCP: Reliable Transport Service. 2 Transmission Control Protocol (TCP) Major transport protocol used in Internet Heavily used Completely reliable transfer.
HighSpeed TCP for High Bandwidth-Delay Product Networks Raj Kettimuthu.
Transport Layer 3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April 2009.
1 TCP - Part II Relates to Lab 5. This is an extended module that covers TCP data transport, and flow control, congestion control, and error control in.
Chapter 24 Transport Control Protocol (TCP) Layer 4 protocol Responsible for reliable end-to-end transmission Provides illusion of reliable network to.
Transport layer protocols The objectives of a transport layer protocol include the setting up of an end-to-end connection, end-to- end delivery of data.
Transport Layer 3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March
1 Transport Layer Lecture 10 Imran Ahmed University of Management & Technology.
1 CS 4396 Computer Networks Lab TCP – Part II. 2 Flow Control Congestion Control Retransmission Timeout TCP:
Transport Layer3-1 Chapter 3 outline r 3.1 Transport-layer services r 3.2 Multiplexing and demultiplexing r 3.3 Connectionless transport: UDP r 3.4 Principles.
Transport Protocols for Wireless Ad Hoc Networks 1.
1 Computer Networks Congestion Avoidance. 2 Recall TCP Sliding Window Operation.
Internet Networking recitation #11
ECE 4110 – Internetwork Programming
TCP Congestion Control 컴퓨터공학과 인공지능 연구실 서 영우. TCP congestion control2 Contents 1. Introduction 2. Slow-start 3. Congestion avoidance 4. Fast retransmit.
Fall 2004FSU CIS 5930 Internet Protocols1 TCP – Data Exchange Reading: Section 24.4.
Transport Layer3-1 Chapter 3 outline r 3.1 Transport-layer services r 3.2 Multiplexing and demultiplexing r 3.3 Connectionless transport: UDP r 3.4 Principles.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Congestion Control 0.
IT 424 Networks2 IT 424 Networks2 Ack.: Slides are adapted from the slides of the book: “Computer Networking” – J. Kurose, K. Ross Chapter 3: Transport.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Transmission Control Protocol (TCP) TCP Flow Control and Congestion Control CS 60008: Internet Architecture and Protocols Department of CSE, IIT Kharagpur.
CSEN 404 Transport Layer II Amr El Mougy Lamia AlBadrawy.
1 Ad-hoc Transport Layer Protocol (ATCP) EECS 4215.
TCP over Wireless PROF. MICHAEL TSAI 2016/6/3. TCP Congestion Control (TCP Tahoe) Only ACK correctly received packets Congestion Window Size: Maximum.
DMET 602: Networks and Media Lab
Fast Retransmit For sliding windows flow control we waited for a timer to expire before beginning retransmission of a packet TCP uses an additional mechanism.
TCP - Part II Relates to Lab 5. This is an extended module that covers TCP flow control, congestion control, and error control in TCP.
Chapter 3 outline 3.1 transport-layer services
Introduction to Networks
COMP 431 Internet Services & Protocols
Ad-hoc Transport Layer Protocol (ATCP)
TCP - Part II Relates to Lab 5. This is an extended module that covers TCP flow control, congestion control, and error control in TCP.
Transport Layer: Congestion Control
TCP flow and congestion control
Impact of transmission errors on TCP performance
Presentation transcript:

TCP OVER ADHOC NETWORK

TCP Basics TCP (Transmission Control Protocol) was designed to provide reliable end-to-end delivery of data over unreliable networks. In Theory, TCP should be independent of the technology of the underlying infrastructure In practice, it does matter because most TCP deployments have been carefully designed based on assumptions that are specific to wired networks. Ignoring the properties of wireless transmission can lead to TCP implementations with poor performance.

5-3 TCP Basics Byte Stream Delivery Connection-Oriented: Two communicating TCP entities (the sender and the receiver) must first agree upon the willingness to communicate Full-Duplex: TCP almost always operates in full-duplex mode, – TCP exhibit asymmetric behavior only during connection start and close sequences (i.e., data transfer in the forward direction but not in the reverse, or vice versa)

5-4 Reliable TCP Guarantees A number of mechanisms help provide the guarantees: – Checksums: To detect errors with either the TCP header or data – Duplicate data detection: Discard duplicate copies of data that has already been received – Retransmissions: For lost and damaged data Due to lack of positive acknowledgements Timeout period calls for a retransmission – Sequencing : To deliver the byte stream data to an application in order – Timers: Various static and dynamic timers used for deciding when to retransmit – Window: For flow control in the form of a data transmission window size

5-5 Conventional TCP: Tahoe, Reno, New-Reno Sending rate is controlled by – Congestion window (cwnd): limits the # of packets in flight – Slow-start threshold (ssthresh): when CA start Loss detection – 3 duplicate ACKs (faster, more efficient) – Retransmission timer expires (slower, less efficient) Overview of congestion control mechanisms – Slow-start phase: cwnd start from 1 and increase exponentially – Congestion avoidance (CA): increase linearly – Fast retransmit and fast recovery: Trigger by 3 duplicate ACKs Overview Slow-start Congestion avoidance Overview of TCP Concepts

5-6 TCP Basics Slow-start Congestion avoidance

5-7 Congestion Control Slow Start (SS): A mechanism to control the transmission rate) – When TCP connection starts (Initial Value): CWND =1, – congestion window increases by one segment for each acknowledgement returned Congestion Avoidance(CA): Used to reduce the transmission rate – When Slow Start drops one or more packets due to congestion Fast Retransmit: Sender receiving triple duplicate ACKs – Immediate transmission of missing packet without waiting for the Retransmission Timeout to expire Fast Recovery: In SS or CA when sender receiving triple duplicate ACKs  Sender only enters Congestion Avoidance mode

5-8 1.Mobility – Route stability and availability 2.High bit error rate – Packets can be lost due to “noise” 3.Unpredictability/Variability – Difficult to estimate time-out, RTT, bandwidth 4.Contention: packets compete for airtime – Intra-flow and inter-flow contentions 5.Long connections have poor performance – More than 4 hops thruput drops dramatically Overview What is Different in MANETs?

TCP and network cross layer proposals TCP Feedback is a feedback based approach to handle route failures in MANETs. This approach allows the TCP sender to distinguish between losses due to routes failure and those due to network congestion. When routing agent of a node detects the disruption of a route, it explicitly sends a Route Failure Notification (RFN) packet to the source. On receiving the RFN, the source goes into a snooze state. TCP sender in snooze state will stop sending packets, and will freeze all its variables, such as timers and congestion window size.

The TCP sender remains in this snooze state until it is notified of the restoration of the route through Route Re-establishment Notification (RRN) packet On receiving the RRN, the TCP sender will leave the snooze state and will resume transmission based on the previous sender window and timeout values. To avoid blocking scenario in the snooze state, the TCP sender, on receiving RFN, triggers a route failure timer. When this timer expires the congestion control algorithm is invoked normally.

TCP-BuS TCP Buffering capability and Sequence information uses the network feedback in order to detect route failure events and to take convenient reaction to this event. The novel scheme is the introduction of buffering capability in mobile nodes. The following enhancements are proposed: Explicit notification Extending timeout values

Selective retransmission request Avoiding unnecessary requests for fast retransmission: Reliable retransmission of control message Explicit notification: –Two control messages 1.ERDN 2.ERSN

Extending timeout values: During the route reconstruction (RRC) phase, packets along the path from the source to the PN are buffered. To avoid timeout events during the RRC phase, the retransmission timer value for buffered packets is doubled.

Selective retransmission request: As the retransmission timer value is doubled, the lost packet along the path from the source to the PN are not retransmitted until the adjusted retransmission timer expires. To overcome this, an indication is made to the source so that it can retransmit these lost packet selectively.

Avoiding unnecessary requests for fast retransmission: The destination node should continue to send ACK packets containing expected sequence number until the expected insequence packets arrive at the destination. Reliable retransmission of control message: The reliable transmission is done by overhearing the channel after transmitting the control messages. If a node has sent a control message but did not overhear this message relayed during a timeout, it will conclude that the control message is lost and it will retransmit this message.