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.

Slides:



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

Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross- Layer Information Awareness Xin Yu Department Of Computer Science New York University,
CS 408 Computer Networks Congestion Control (from Chapter 05)
Improving TCP Performance over MANETs by Exploiting Cross-Layer Information Awareness Xin Yu NYU Presented by: David Choffnes.
CSE University of Washington Multipath Routing Protocols in AdHoc Networks.
TCP in Wireless Ad Hoc Networks
6/3/ Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross-Layer Information Awareness CS495 – Spring 2005 Northwestern University.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #4 Mobile Ad-Hoc Networks AODV Routing.
1 Routing in Mobile Ad Hoc Networks most slides taken with permission from presentation of Nitin H. Vaidya University of Illinois at Urbana-Champaign.
CS 257: Wireless Networks and Mobile Computing Srikanth Krishnamurthy
1 Internet Networking Spring 2003 Tutorial 11 Explicit Congestion Notification (RFC 3168)
1 ATP: A Reliable Transport Protocol for Ad-hoc Networks Sundaresan, Anantharam, Hseih, Sivakumar.
Transport Protocols for Wireless Networks CMPE Spring 2001 Marcelo M. de Carvalho.
CS 257: Wireless Networks and Mobile Computing Srikanth Krishnamurthy Friday: 2:10 p.m.. to 5:00 p.m. Office hrs: M 4-5 p.m.
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
Copyright: UC Riverside Alleviating the effects of mobility on TCP Performance Signal Strength based Link Management Fabius Klemm *, Srikanth Krishnamurthy.
Sep 12, 2002Wireless Networking Seminar1 Does IEEE Work Well in Multi-hop Wireless Network? Author: Shugong Xu, Tarek Saadawi City University of.
Ad Hoc Wireless Routing COS 461: Computer Networks
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.
10/1/2015 9:14 PM1 TCP in Mobile Ad-hoc Networks ─ Split TCP CSE 6590.
1 Spring Semester 2009, Dept. of Computer Science, Technion Internet Networking recitation #3 Mobile Ad-Hoc Networks AODV Routing.
Mobile Routing protocols MANET
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.
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.
1 Impact of transmission errors on TCP performance (Nitin Vaidya)
Cache Management of Dynamic Source Routing for Fault Tolerance in Mobile Ad Hoc Networks.
Dynamic Source Routing (DSR) Sandeep Gupta M.Tech - WCC.
Load-Balancing Routing in Multichannel Hybrid Wireless Networks With Single Network Interface So, J.; Vaidya, N. H.; Vehicular Technology, IEEE Transactions.
DSR: Introduction Reference: D. B. Johnson, D. A. Maltz, Y.-C. Hu, and J. G. Jetcheva, “The Dynamic Source Routing Protocol for Mobile Ad Hoc Networks,”
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.
TCP on Wireless Ad Hoc Networks CS 218 Oct 22, 2003 TCP overview Ad hoc TCP : mobility, route failures and timeout TCP and MAC interaction study TCP fairness.
Outline Wireless introduction Wireless cellular (GSM, CDMA, UMTS) Wireless LANs, MAC layer Wireless Ad hoc networks – routing: proactive routing, on-demand.
Transport Protocols for Wireless Ad Hoc Networks 1.
An Energy Efficient MAC Protocol for Wireless LANs, E.-S. Jung and N.H. Vaidya, INFOCOM 2002, June 2002 吳豐州.
TCP OVER ADHOC NETWORK. TCP Basics TCP (Transmission Control Protocol) was designed to provide reliable end-to-end delivery of data over unreliable networks.
Improving Fault Tolerance in AODV Matthew J. Miller Jungmin So.
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).
Performance Comparison of Ad Hoc Network Routing Protocols Presented by Venkata Suresh Tamminiedi Computer Science Department Georgia State University.
VADD: Vehicle-Assisted Data Delivery in Vehicular Ad Hoc Networks Zhao, J.; Cao, G. IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY, 鄭宇辰
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.
Ad-hoc Networks.
UNIT-V Transport Layer protocols for Ad Hoc Wireless Networks
Mobicom ‘99 Per Johansson, Tony Larsson, Nicklas Hedman
TCP and MAC interplay in Wireless Ad Hoc Networks
Ad-hoc Transport Layer Protocol (ATCP)
Mobile and Wireless Networking
TCP in Mobile Ad-hoc Networks
TCP in Wireless Ad-hoc Networks
Congestion Control (from Chapter 05)
Tema 6.- Redes inalámbricas Ad Hoc. TCP
Congestion Control (from Chapter 05)
TCP for Wireless Networks
Distributed Systems CS
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Impact of transmission errors on TCP performance
Distributed Systems CS
Presentation transcript:

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 that the TCP/IP suite of protocols be applicable to the ad hoc domain. Much research on routing – IP layer. What are the problems with TCP ?

Problems with TCP TCP attributes packet losses to congestion. What does it do when it perceives a packet loss ? It goes back to the Slow Start Phase and restarts with one packet. This would result in a degradation of TCP throughput. Notice that packet losses could be due to fading/mobility. Why due to mobility ?

Packet Losses due to Mobility When nodes move, links tend to break, and get formed again. When the SIR is below certain threshold, the MAC layer concludes that the link is broken. This would create an interrupt at the routing layer. Now, the routing protocol has to deduce the new location of the destination. Until it finds the new route, what happens to TCP ? It keeps reducing the transmission window and trying to retransmit.

This leads to Unnecessary retransmissions when there is no link Beginning at slow start when the link comes up again. What if the destination cannot be found at all ? ICMP may be used to detect link failures etc. (Notice at the IP layer) SNMP could be used for fault management. But these are slow.. if links fail often, but you know that recovery is possible, then aborting the connection each time may not be the right thing to do.

Reference G.Holland and N. Vaidya “Analysis of TCP Performance over Mobile Ad Hoc Networks”, in Proceedings of Mobicom Simulated the performance of TCP over ad hoc networks and they report their findings. Interesting observations are made.

Effects of Mobility Patterns One would expect that the higher the mobility i.e., the faster the nodes, the more the degradation in throughput. However, Vaidya and Holland found that this was not true in all cases. Relative velocity counts – not absolute. Scenario dependent – although the general trend exists. In summary, some mobility patterns yield high throughput while others yield low throughput.

Effects of Routing Protocols The performance also depends upon the routing protocol which is at the IP layer. Presence of stale routes caused a major degradation in TCP performance. Notice, this in turn depends upon the rate at which routing tables are updated (if at all). ARP failures – a node assumes that another node is a neighbor – but now that node has moved away. Asymmetry in routes (as in DSR which we will discuss later) causes ACKs to get lost – degradation due to reverse path as opposed to forward path.

DSR In Holland/Vaidya paper, the authors looked at a particular routing protocol DSR (Dynamic Source Routing). This is an on-demand routing scheme (we will see it soon). The source searches for a route. Once the route is found, it is cached by the intermediate nodes and the source for sometime. If the route breaks, a new search is initiated.

Specific Problems Identified The authors noted that caching created stale routes. Not only this, when a source searched for a new route, some of the nodes in between reported stale routes – resulted in TCP backing off since stale routes lead nowhere. But there is a trade-off between caching and not caching – if nothing is cached frequent route queries can cause congestion. How do we determine what is the optimal purge time for caches.

One conclusion that they draw is that if TCP has to work well, underlying routing has to be done efficiently. Second conclusion is that the degradation is scenario dependent – speed etc. do not allow one to make a generalized conclusion.

Using Explicit Feedback The Idea is similar to the use of explicit notifications is not new – ECN or Explicit Congestion Notification in the Internet to inform source about congestion. A similar scheme can be thought of which can provide the source about an explicit notification about the failure of a link. This message may be called ELFN or Explicit Link Failure Notification. Upon receiving this message, a TCP source can infer that packet losses are due to link failures rather than congestion,and therefore act differently.

How can we implement ELFN ? Simplest way : ICMP message to indicate that host is unreachable. Second possibility : Piggyback this to TCP on the Route Failure Message. When the TCP layer at the source receives this message it disables the congestion control mechanisms. What does it need to do ?

Two main questions are:  What does TCP do in response to the ELFN notice ?  How does TCP know when the route is restored ?

TCP response to an ELFN message Enter a mode called the standby mode. Disable the retransmission timers. In this mode a packet is sent at periodic intervals to probe whether the route has been established. If an ACK is received, it leaves the stand-by mode and restores its retransmission timers, and continues as normal. Another possibility is to generate an explicit route restored notification – but how ?

Vaidya and Holland found that the ELFN message improved performance for all scenarios. Their observations were as follows:  The performance change was sensitive to probe interval. If the interval was too large, not much improvement. If it was too small it leads to congestion and further degradation in throughput.  The performance change could depend both on the value of the congestion window and Retransmission time-out chosen after the route restoration.

References on ELFN K. Chandran et al, “A feedback based scheme for improving TCP performance in ad-hoc wireless networks”, in Proceedigns of International Conference on Distributed Computing Systems, K.Chandran et al, ““A feedback based scheme for improving TCP performance in ad-hoc wireless networks”, in IEEE Personal Communications Magazine, February 2001.

Other problems TCP has in Ad Hoc Networks. Provides an unfair advantage to connections that are longer (in terms of hop count) over shorter ones. Does not function well when used in conjunction with the MAC protocol defined in the IEEE standard.

Unfair advantage to longer connections The longer the connection in terms of number of hops the more likely are the link failures due to mobility. Thus, longer connections are more likely to suffer from degraded throughput. Shorter connections will have an unfair advantage : improved throughput due to the ability to transmit more packets.

Revisiting the Capture Effect A B C D We have two TCP connections: from A  B and from C  D. They are in the vicinity of each other. Due to the exponential back-off scheme, one of these connections could gain an unfair advantage in channel access. If both the connections generate heavy loads, then the connection that began first will dominate the channel. If one of the connections is heavily loaded, while the other is lightly loaded, the heavily loaded connection dominates the channel. Can we alleviate this problem ?