Unit III Topic 20-22 Transport Layer Protocol for Ad Hoc Wireless Networks Department of Computer Science and Engineering Kalasalingam University 1 CSE.

Slides:



Advertisements
Similar presentations
A feedback–based scheme for improving TCP performance in Ad Hoc Wireless Networks Group : Manish Mehta Aditya Barve.
Advertisements

1 Improving TCP Performance over Mobile Networks HALA ELAARAG Stetson University Speaker : Aron ACM Computing Surveys 2002.
Introduction 1 Lecture 13 Transport Layer (Transmission Control Protocol) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer.
CCNA – Network Fundamentals
Transmission Control Protocol (TCP)
Transport Layer – TCP (Part1) Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
Chapter 7 – Transport Layer Protocols
Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross- Layer Information Awareness Xin Yu Department Of Computer Science New York University,
Improving TCP Performance over MANETs by Exploiting Cross-Layer Information Awareness Xin Yu NYU Presented by: David Choffnes.
EEC-484/584 Computer Networks Lecture 12 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
6/3/ Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross-Layer Information Awareness CS495 – Spring 2005 Northwestern University.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
Internet Networking Spring 2003 Tutorial 12 Limited Transmit RFC 3042 Long Thin Networks RFC 2757.
EEC-484/584 Computer Networks Lecture 12 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
TCP over ad hoc networks Ad Hoc Networks will have to be interfaced with the Internet. As such backward compatibility is a big issue. One might expect.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Transport Protocols Slide 1 Transport Protocols.
Reliable Transport Layers in Wireless Networks Mark Perillo Electrical and Computer Engineering.
TCP performance in Wireless Networks Ehsan Hamadani July 2004.
Error Checking continued. Network Layers in Action Each layer in the OSI Model will add header information that pertains to that specific protocol. On.
Gursharan Singh Tatla Transport Layer 16-May
Process-to-Process Delivery:
Lect3..ppt - 09/12/04 CIS 4100 Systems Performance and Evaluation Lecture 3 by Zornitza Genova Prodanoff.
1 Chapter Internetworking Part 4 (Transport Protocols, UDP and TCP, Protocol Port Numbers)
1 Transport Layer Computer Networks. 2 Where are we?
CIS 725 Wireless networks. Low bandwidth High error rates.
Transport Layer Issue in Wireless Ad Hoc and Sensor Network
Qian Zhang Department of Computer Science HKUST Advanced Topics in Next- Generation Wireless Networks Transport Protocols in Ad hoc Networks.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
10/1/2015 9:14 PM1 TCP in Mobile Ad-hoc Networks ─ Split TCP CSE 6590.
Introduction to Networks CS587x Lecture 1 Department of Computer Science Iowa State University.
Mobile Communications: Mobile Transport Layer Mobile Communications Chapter 10: Mobile Transport Layer  Motivation  TCP-mechanisms  Indirect TCP  Snooping.
Asstt. Professor Adeel Akram.  Motivation  TCP mechanisms  Indirect TCP  Snooping TCP  Mobile TCP  Fast retransmit/recovery  Transmission freezing.
Improving TCP Performance over Mobile Networks Zahra Imanimehr Rahele Salari.
TCP PERFORMANCE OVER AD HOC NETWORKS Presented by Vishwanee Raghoonundun Assisted by Maheshwarnath Behary MSc Computer Networks Middlesex University.
1 Transport Layer for Mobile Ad Hoc Networks (MANETs) Cyrus Minwalla Maan Musleh COSC 6590.
Wireless TCP Prasun Dewan Department of Computer Science University of North Carolina
University of the Western Cape Chapter 12: The Transport Layer.
Transport Layer Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 2.5 Internetworking Chapter 25 (Transport Protocols, UDP and TCP, Protocol Port Numbers)
The Transmission Control Protocol (TCP) Application Services (Telnet, FTP, , WWW) Reliable Stream Transport (TCP) Connectionless Packet Delivery.
Computer Networks with Internet Technology William Stallings
HighSpeed TCP for High Bandwidth-Delay Product Networks Raj Kettimuthu.
Wireless TCP. References r Hari Balakrishnan, Venkat Padmanabhan, Srinivasan Seshan and Randy H. Katz, " A Comparison of Mechanisms for Improving TCP.
1 University of Berne Institute of Computer Science and Applied Mathematics – IAM/RVS An overview on TCP in Wireless Ad hoc Networks Ruy de Oliveira March.
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.
Improving TCP Performance over Wireless Networks
Transport Protocols for Wireless Ad Hoc Networks 1.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Protocols and Architecture Slide 1 Use of Standard Protocols.
a/b/g Networks Routing Herbert Rubens Slides taken from UIUC Wireless Networking Group.
TCP OVER ADHOC NETWORK. TCP Basics TCP (Transmission Control Protocol) was designed to provide reliable end-to-end delivery of data over unreliable networks.
Ασύρματες και Κινητές Επικοινωνίες Ενότητα # 11: Mobile Transport Layer Διδάσκων: Βασίλειος Σύρης Τμήμα: Πληροφορικής.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
2005/12/14 1 Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross-Layer Information Awareness Xin Yu Department of Computer Science.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
1 Ad-hoc Transport Layer Protocol (ATCP) EECS 4215.
Mobile Transport Layer  Motivation  TCP-mechanisms  Indirect TCP  Snooping TCP  Mobile TCP  Fast retransmit/recovery  Transmission freezing  Selective.
1 Chapter 24 Internetworking Part 4 (Transport Protocols, UDP and TCP, Protocol Port Numbers)
Ad-hoc Networks.
UNIT-V Transport Layer protocols for Ad Hoc Wireless Networks
Ad-hoc Transport Layer Protocol (ATCP)
Subject Name: Adhoc Networks Subject Code: 10CS841
Transport Layer Unit 5.
Transport Layer Our goals:
TCP in Mobile Ad-hoc Networks
TCP in Wireless Ad-hoc Networks
TCP for Wireless Networks
Computer Networks Protocols
Impact of transmission errors on TCP performance
Presentation transcript:

Unit III Topic Transport Layer Protocol for Ad Hoc Wireless Networks Department of Computer Science and Engineering Kalasalingam University 1 CSE 6007 Mobile Ad Hoc Wireless Networks

Outline 2 Introduction Topic 20 : Introduction, Issues, Design Goals, Classification of Transport Layer Solutions oIntroduction, Issues in Designing A Transport Layer Protocol for Ad Hoc Wireless Networks, Design Goals of a Transport Layer Protocol for Ad Hoc Wireless Networks, Classification of Transport Layer Solutions Topic 21 : TCP over Ad Hoc Wireless Networks oTraditional TCP, Why does TCP Not Perform well in Ad Hoc Wireless Networks, Feedback based TCP, TCP with explicit Link Failure Notification, TCP-Bus, Ad Hoc TCP, Split TCP, Comparison of TCP Solutions for Ad Hoc Wireless Networks Topic 22 : Other Transport Layer Protocols for Ad Hoc Wireless Networks oApplication Controlled Transport Protocol, Ad Hoc Transport Protocol

3 Transport Layer Transport Layer is the fourth layer of OSI reference model. It provided transparent transfer of data between end system using the service of the network layer. Two main protocols are Transmission Control Protocol (TCP) User Datagram Protocol (UDP)

4 TCP vs. UDP TCP Connection oriented service Provides end-to-end reliable communication Congestion control Connection management Flow control Wireless ad hoc and wireless sensor network UDP Is very simple connectionless protocol Does not guarantee reliability and correctness of the sequence of the packet IPTV, streaming media, VoIP, and online games

5 TCP vs. UDP

6

7 Introduction The objectives of a transport layer protocol include setting up of: End-to-end connection End-to-end delivery of data packets Flow control Congestion control Transport layer protocols User datagram protocol (UDP): unreliable and connection-less transport layer protocols Transmission control protocol (TCP): reliable, byte-stream-based, and connection-oriented transport layer protocols These traditional wired transport layer protocols are not suitable for ad hoc wireless networks.

8 Issues Issues while designing a transport layer protocol for ad hoc wireless networks: Induced traffic refers to the traffic at any given link due to the relay traffic through neighboring links. Induced throughput unfairness refers to the throughput unfairness at the transport layer due to the throughput/delay unfairness existing at the lower layers such as the network and MAC layers. Separation of congestion control, reliability, and flow control could improve the performance of the transport layer. Power and bandwidth constraints affects the performance of a transport layer protocol. Misinterpretation of congestion occurs in ad hoc wireless networks. Completely decoupled transport layer needs to adapt to the changing network environment. Dynamic topology affects the performance of a transport layer.

9 Design Goal The protocol should maximize the throughput per connection. It should provide throughout fairness across contending flows. It should minimize connection setup and connection maintenance overheads. The protocol should have mechanisms for congestion control and flow control in the network. It should be able to provide both reliable and unreliable connections. The protocol should be able to adapt to the dynamics of the network. One of the important resources must be used efficiently. The protocol should be aware of resource constraints. The protocol should make use of information from the lower layer. It should have a well-defined cross-layer interaction framework. The protocol should maintain end-to-end semantics.

10 Classification of Transport Layer Solutions Transport Layer Solutions for Ad Hoc Wireless Networks Split Approach Other transport layer approach End-to-end approach Split- TCP ACTP ATP TCP-ELFN TCP-F TCP-Bus ATCP TCP over ad hoc wireless networks

11 TCP over Ad Hoc Wireless Networks TCP taking 90% of the traffic is predominant in the Internet. Focuses on TCP extension in ad hoc wireless networks. Transport protocol should be independent of the network layer technology, e.g., no matter fiber or radio is used But TCP is optimized for wired network  Congestion control TCP assumes timeout is due to congestion Wireless links are not reliable, packet loss may be as high as 20% In wired network, packet loss is due to congestion  slow down In wireless network, due to wireless links  try harder

12

13 Why does TCP not perform well in Ad Hoc Wireless Networks Misinterpretation of packet loss Frequent path breaks Effect of path length Misinterpretation of congestion window Asymmetric link behavior Uni-directional path: TCP ACK requires RTS-CTS-Data-ACK exchange Multipath routing Network partitioning and remerging The use of sliding-window-based transmission

14

15

16

17 TCP Over Ad Hoc Wireless Network Feedback-based TCP (TCP Feedback – TCP-F) Requires the support of a reliable link layer and a routing protocol that can provide feedback to the TCP sender about the path breaks. The routing protocol is expected to repair the broken path within a reasonable time period. Advantages: Simple, permits the TCP congestion control mechanism to respond to congestion Disadvantages: If a route to the sender is not available at the failure point (FP), then additional control packets may need to be generated for routing the route failure notification (RFN) packet. Requires modification to the existing TCP. The congestion window after a new route is obtained may not reflect the achievable transmission rate acceptable to the network and the TCP-F receiver.

18

19 TCP-F N S BD G A F E D C RFN Failed Point New Route

20 TCP-F S B D AC Failed Point RFN Snoozing State C RRN

21 TCP Over Ad Hoc Wireless Network TCP with explicit link failure notification (TCP-ELFN) Handle explicit link failure notification Use TCP probe packets for detecting the route reestablishment. The ELFN is originated by the node detecting a path break upon detection of a link failure to the TCP sender. Advantages: improves the TCP performance by decoupling the path break information from the congestion information by the use of ELFN. Less dependent on the routing protocol and requires only link failure notification Disadvantages When the network is partitioned, the path failure may last longer The congestion window after a new route is obtained may not reflect the achievable transmission rate acceptable to the network and TCP receiver.

22/41 TCP ELFN Explicit Link Failure Notification (ELFN) The objective : To provide the TCP sender with information about link and route failures TCP sender can avoid responding to the failures as if congestion occurred DSR’s route failure message is modified A payload similar to the “host unreachable” ICMP message The sender and receiver’s addresses and ports and seq number SABCD R TCP data DSR ROUTE ERROR + ELFN Probing message

23/41 TCP ELFN Sender reaction When a TCP sender receives an ELFN, It disables its retransmission timers and enters a “standby” mode While on standby, A packet is sent at periodic intervals to probe the network to see if a route has been established If an acknowledgment is received, Then it leaves standby mode

24 TCP Over Ad Hoc Wireless Network TCP with buffering capability and sequence information (TCP-BuS) Use feedback information from an intermediate node on detection of a path break. Use localized query (LQ) and REPLY to find a partial path Upon detection of a path break, an upstream intermediate node originates an explicit route disconnection notification (ERDN) message. Advantages Performance improvement and avoidance of fast retransmission Use on-demand routing protocol Disadvantages Increased dependency on the routing protocol and the buffering at the intermediate nodes The failure of intermediate nodes may lead to loss of packets. The dependency of TCP-BuS on the routing protocol many degrade its performance.

25

26 TCP Over Ad Hoc Wireless Network Ad Hoc TCP (ATCP) uses a network layer feedback mechanism to make the TCP sender aware of the status of the network path Based on the feedback information received from the intermediate nodes, the TCP sender changes its state to the persist state, congestion control state, or the retransmit state. When an intermediate node finds that the network is partitioned, then the TCP sender state is changed to the persist state. The ATCP layer makes use of the explicit congestion notification (ECN) for maintenance for the states. Advantages Maintain the end-to-end semantics of TCP Compatible with traditional TCP Provides a feasible and efficient solution to improve throughput of TCP Disadvantages The dependency on the network layer protocol to detect the route changes and partitions The addition of a thin ATCP layer to the TCP/IP protocol changes the interface functions currently being used.

27

28 Split-TCP in Solution Topology

29 Motivation for Split-TCP Issues addressed by Split-TCP: Throughput degradation with increasing path length Channel capture effect (802.11) Mobility issues with regular TCP

30 Channel Capture Effect Definition: “The most data-intense connection dominates the multiple- access wireless channel” [1] Higher SNR Early start Example: 2 simultaneous heavy-load TCP flows located close to each other.

31 How does Split-TCP work? Connection between sender and receiver broken into segments A proxy controls each segment Regular TCP is used within segments Global end-to-end connection with periodic ACKs (for multiple packets)

32 Split-TCP Segmentation

33 Split-TCP in a MANET: Proxy Functionality Proxies: Intercept and buffer TCP packets Transmit packet, wait for LACK Send local ACK (LACK) to previous proxy Packets cleared upon reception of LACK Increase fairness by maintaining equal connection length

34 Split-TCP in a MANET (2) Steps: Node 1 initiates TCP session Nodes 4 and 13 are chosen as proxies on-demand Upon trx, 4 buffers packets If a packet lost at 15, request made to 13 to retransmit 1 unaware of link failure at 15

35 Split-TCP in a MANET (3) Sender is unaware of transient link failure. Congestion window not reduced. Packet retransmissions only incorporate part of a path  bandwidth usage is reduced. Channel capture effect is alleviated (see next slide).

36 TCP Over Ad Hoc Wireless Network Split-TCP Advantages Improved throughput Improved throughput fairness Lessened impact of mobility Disadvantages It requires modifications to TCP protocol. The end-to-end connection handling of traditional TCP is violated. The failure of proxy nodes can lead to throughput degradation.

37

OTHER TRANSPORT LAYER PROTOCOLS FOR AD HOC WIRELESS NETWORKS The performance of a transport layer protocol can be enhanced if it takes into account the nature of the network environment in which it is applied. Discusses the transport layer protocols that were designed specifically for ad hoc wireless networks. Even though interworking with TCP is very important, there exist several application scenarios such as military communication where a radically new transport layer protocol can be used. 38

Application Controlled Transport Protocol Application controlled transport protocol (ACTP) is a light- weight transport layer protocol. It is not an extension to TCP. ACTP assigns the responsibility of ensuring reliability to the application layer. It is more like UDP with feedback of delivery and state maintenance. ACTP stands in between TCP and UDP where TCP experiences low performance with high reliability and UDP provides better performance with high packet loss in ad hoc wireless networks 39

Application Controlled Transport Protocol The key design philosophy of ACTP is to leave the provisioning of reliability to the application layer and provide a simple feedback information about the delivery status of packets to the application layer. ACTP supports the priority of packets to be delivered, but it is the responsibility of the lower layers to actually provide a differentiated service based on this priority. 40

Application Controlled Transport Protocol 41

Application Controlled Transport Protocol Each API function call to send a packet [SendTo()] contains the additional information required for ACTP such as the maximum delay the packet can tolerate (delay), the message number of the packet, and the priority of the packet. The message number is assigned by the application layer, and it need not to be in sequence. The priority level is assigned for every packet by the application. It can be varied across packets in the same flow with increasing numbers referring to higher priority packets. The non-zero value in the message number field implicitly conveys that the application layer expects a delivery status information about the packet to be sent. 42

Application Controlled Transport Protocol This delivery status is maintained at the ACTP layer, and is available to the application layer for verification through another API function IsACKed. The delivery status returned by IsACKed function call can reflect (i) a successful delivery of the packet (ACK received), (b) a possible loss of the packet (no ACK received and the deadline has expired), (iii) remaining time for the packet (no ACK received but the deadline has not expired), and (iv) no state information exists at the ACTP layer regarding the message under consideration. A zero in the delay field refers to the highest priority packet, which requires immediate transmission with minimum possible delay. Any other value in the delay field refers to the delay that the message can experience. 43

Application Controlled Transport Protocol Advantages and Disadvantages One of the most important advantages of ACTP is that it provides the freedom of choosing the required reliability level to the application layer. Since ACTP is a light-weight transport layer protocol, it is scalable for large networks. Throughput is not affected by path breaks as much as in TCP as there is no congestion window for manipulation as part of the path break recovery. One disadvantage of ACTP is that it is not compatible with TCP. Use of ACTP in a very large ad hoc wireless network can lead to heavy congestion in the network as it does not have any congestion control mechanism. 44

Ad Hoc Transport Protocol Ad hoc transport protocol (ATP) is specifically designed for ad hoc wireless networks and is not a variant of TCP. The major aspects by which ATP defers from TCP are (i) coordination among multiple layers, (ii) rate based transmissions, (iii) decoupling congestion control and reliability, and (iv) assisted congestion control. Similar to other TCP variants proposed for ad hoc wireless networks, ATP uses services from network and MAC layers for improving its performance. ATP uses information from lower layers for (i) estimation of the initial transmission rate, (ii) detection, avoidance, and control of congestion, and (iii) detection of path breaks. 45

Ad Hoc Transport Protocol Unlike TCP, ATP utilizes a timer-based transmission, where the transmission rate is decided by the granularity of the timer which is dependent on the congestion in the network. The congestion control mechanism is decoupled from the reliability and flow control mechanisms. The network congestion information is obtained from the intermediate nodes, whereas the flow control and reliability information are obtained from the ATP receiver. The intermediate nodes attach the congestion information to every ATP packet and the ATP receiver collates it before including it in the next ACK packet. 46

Ad Hoc Transport Protocol Intermediate nodes attach the current delay information to every ATP data packet if the already existing value is smaller than the current delay. The ATP receiver collects this delay information and the weighted average value is attached in the periodic ACK (ATP uses SACK mechanism, hence ACK refers to SACK) packet sent back to the ATP sender. During a connection startup process or when ATP recovers from a path break, the transmission rate to be used is determined by a process called quick start. During the quick start process, the ATP sender propagates a probe packet to which the intermediate nodes attach the transmission rate (in the form of current delay), which is received by the ATP receiver, and an ACK is sent back to the ATP sender 47

Ad Hoc Transport Protocol The ATP sender starts using the newly obtained transmission rate by setting the data transmission timers. During a connection startup, the connection request and the ACK packets are used as probe packets in order to reduce control overhead. The receiver performs a weighted average of the delay/transmission rate information for every incoming packet to obtain the transmission rate for an ATP flow and this value is included in the subsequent SACK packet it sends. 48

Ad Hoc Transport Protocol ATP has three phases, namely, increase, decrease, and maintain The current transmission rate is updated to the new transmission rate if the new transmission rate is lower than the current transmission rate. In the maintain phase, if the new transmission rate is higher than the current transmission rate, but less than the above mentioned threshold, then the current transmission rate is maintained without any change. 49

Ad Hoc Transport Protocol If an ATP sender has not received any ACK packets for two consecutive feedback periods, it undergoes a multiplicative decrease of the transmission rate. When a path break occurs, the network layer detects it and originates an ELFN packet toward the ATP sender. The ATP sender freezes the sender state and goes to the connection initiation phase. In this phase also, the ATP sender periodically originates probe packets to know the status of the path. With a successful probe, the sender begins data transmission again. 50

Ad Hoc Transport Protocol Advantages and Disadvantages The major advantages of ATP include improved performance, decoupling of the congestion control and reliability mechanisms, and avoidance of congestion window fluctuations. The major disadvantage of ATP is the lack of interoperability with TCP. As TCP is a widely used transport layer protocol, interoperability with TCP servers and clients in the Internet is important in many applications. 51

Summary 52 Introduction Topic 20 : Introduction, Issues, Design Goals, Classification of Transport Layer Solutions oIntroduction, Issues in Designing A Transport Layer Protocol for Ad Hoc Wireless Networks, Design Goals of a Transport Layer Protocol for Ad Hoc Wireless Networks, Classification of Transport Layer Solutions Topic 21 : TCP over Ad Hoc Wireless Networks oTraditional TCP, Why does TCP Not Perform well in Ad Hoc Wireless Networks, Feedback based TCP, TCP with explicit Link Failure Notification, TCP-Bus, Ad Hoc TCP, Split TCP, Comparison of TCP Solutions for Ad Hoc Wireless Networks Topic 22 : Other Transport Layer Protocols for Ad Hoc Wireless Networks oApplication Controlled Transport Protocol, Ad Hoc Transport Protocol

Unit III Topic Transport Layer Protocol for Ad Hoc Wireless Networks Department of Computer Science and Engineering Kalasalingam University 53 CSE 6007 Mobile Ad Hoc Wireless Networks