Wireless TCP. References r Hari Balakrishnan, Venkat Padmanabhan, Srinivasan Seshan and Randy H. Katz, " A Comparison of Mechanisms for Improving TCP.

Slides:



Advertisements
Similar presentations
A Comparison of Mechanisms for Improving TCP Performance over Wireless Links Published In IEEE/ACM TRANSACTIONS ON NETWORKING, VOL.5 NO.6,DECEMBER 1997.
Advertisements

1 Improving TCP/IP Performance Over Wireless Networks Authors: Hari Balakrishnan, Srinivasan Seshan, Elan Amir and Randy H. Katz Presented by Sampoorani.
A feedback–based scheme for improving TCP performance in Ad Hoc Wireless Networks Group : Manish Mehta Aditya Barve.
1 Improving TCP Performance over Mobile Networks HALA ELAARAG Stetson University Speaker : Aron ACM Computing Surveys 2002.
1 Transport Protocols & TCP CSE 3213 Fall April 2015.
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 2 TCP/IP Fundamentals.
Transmission Control Protocol (TCP)
Hui Zhang, Fall Computer Networking TCP Enhancements.
Transport Layer – TCP (Part1) Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross- Layer Information Awareness Xin Yu Department Of Computer Science New York University,
Performance Improvement of TCP in Wireless Cellular Network Based on Acknowledgement Control Osaka University Masahiro Miyoshi, Masashi Sugano, Masayuki.
Improving TCP/IP Performance Over Wireless Networks Authors: Hari Balakrishnan, Srinivasan Seshan, Elan Amir and Randy H. Katz Jerome Mitchell Resilient.
6/3/ Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross-Layer Information Awareness CS495 – Spring 2005 Northwestern University.
CMPE 257: Wireless and Mobile Networking
Internet Networking Spring 2003 Tutorial 12 Limited Transmit RFC 3042 Long Thin Networks RFC 2757.
CS 268: Wireless Transport Protocols Kevin Lai Feb 13, 2002.
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.
Reliable Transport Layers in Wireless Networks Mark Perillo Electrical and Computer Engineering.
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)
1 A Comparison of Mechanisms for Improving TCP Performance over Wireless Links Course : CS898T Instructor : Dr.Chang - Swapna Sunkara.
EE 4272Spring, 2003 Chapter 17 Transport Protocols Connection-Oriented Transport Protocol  Reliable Network Service: Design Issues  Unreliable Network.
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
Link-Level Flow and Error Control
Process-to-Process Delivery:
Lect3..ppt - 09/12/04 CIS 4100 Systems Performance and Evaluation Lecture 3 by Zornitza Genova Prodanoff.
1 Transport Layer Computer Networks. 2 Where are we?
CIS 725 Wireless networks. Low bandwidth High error rates.
Spring 2000Nitin BahadurAdvanced Computer Networks A Comparison of Mechanisms for Improving TCP Performance over Wireless Links By: Hari B., Venkata P.
Qian Zhang Department of Computer Science HKUST Advanced Topics in Next- Generation Wireless Networks Transport Protocols in Ad hoc Networks.
Improving TCP Performance over Mobile Networks Zahra Imanimehr Rahele Salari.
1 Chapter 16 Protocols and Protocol Layering. 2 Protocol  Agreement about communication  Specifies  Format of messages (syntax)  Meaning of messages.
TCP PERFORMANCE OVER AD HOC NETWORKS Presented by Vishwanee Raghoonundun Assisted by Maheshwarnath Behary MSc Computer Networks Middlesex University.
Wireless TCP Prasun Dewan Department of Computer Science University of North Carolina
1 Impact of transmission errors on TCP performance (Nitin Vaidya)
26-TCP Dr. John P. Abraham Professor UTPA. TCP  Transmission control protocol, another transport layer protocol.  Reliable delivery  Tcp must compensate.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 2.5 Internetworking Chapter 25 (Transport Protocols, UDP and TCP, Protocol Port Numbers)
Copyright 2002, S.D. Personick. All Rights Reserved.1 Telecommunications Networking II Topic 20 Transmission Control Protocol (TCP) Ref: Tanenbaum pp:
Networked & Distributed Systems TCP/IP Transport Layer Protocols UDP and TCP University of Glamorgan.
Transport Layer Moving Segments. Transport Layer Protocols Provide a logical communication link between processes running on different hosts as if directly.
Chapter 12 Transmission Control Protocol (TCP)
1 TCP: Reliable Transport Service. 2 Transmission Control Protocol (TCP) Major transport protocol used in Internet Heavily used Completely reliable transfer.
COP 4930 Computer Network Projects Summer C 2004 Prof. Roy B. Levow Lecture 3.
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.
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.
15-744: Computer Networking L-18 Mobile Transport and Applications.
1 CS 4396 Computer Networks Lab TCP – Part II. 2 Flow Control Congestion Control Retransmission Timeout TCP:
Review of key networking techniques: –Reliable communication over unreliable channels –Error detection and correction –Medium access control –routing –Congestion.
TCP OVER ADHOC NETWORK. TCP Basics TCP (Transmission Control Protocol) was designed to provide reliable end-to-end delivery of data over unreliable networks.
MOBILE TCP.
Ασύρματες και Κινητές Επικοινωνίες Ενότητα # 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.
1 Computer Communication & Networks Lecture 23 & 24 Transport Layer: UDP and TCP Waleed Ejaz
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
Computer Networking Lecture 16 – Reliable Transport.
Ch 3. Transport Layer Myungchul Kim
TCP over Wireless PROF. MICHAEL TSAI 2016/6/3. TCP Congestion Control (TCP Tahoe) Only ACK correctly received packets Congestion Window Size: Maximum.
TCP Selective Acknowledgement Options
Introduction of Transport Protocols
Transport Layer Unit 5.
TCP - Part II Relates to Lab 5. This is an extended module that covers TCP flow control, congestion control, and error control in TCP.
Process-to-Process Delivery:
Process-to-Process Delivery: UDP, TCP
Error Checking continued
Impact of transmission errors on TCP performance
Presentation transcript:

Wireless TCP

References r Hari Balakrishnan, Venkat Padmanabhan, Srinivasan Seshan and Randy H. Katz, " A Comparison of Mechanisms for Improving TCP Performance over Wireless Links, " IEEE/ACM Transactions on Networking, December 1997.A Comparison of Mechanisms for Improving TCP Performance over Wireless Links

Network protocol stack r application: supporting network applications m FTP, SMTP, STTP r transport: host-host data transfer m TCP, UDP r network: routing of datagrams from source to destination m IP, routing protocols r link: data transfer between neighboring network elements m PPP, Ethernet r physical: bits “on the wire” application transport network link physical

Problem r TCP layered on top of IP r IP interface provided to TCP is independent of physical layer m Implementation dependent on physical layer m Wireless just another physical Layer r Problem?

Tuning problem r Working correctly not an issue r Working efficiently is more of a problem r On wire links losses (normally) due to congestion r On wireless losses can be due to m Unreliable physical medium m Intermittent connectivity m Handoff losses Can be reduced –With old base station buffering messages –With adjacent base stations joining a multicast group and buffering messages »Reduces delay r TCP/IP policies for wired links will mistake wireless losses and delays for router congestion

Traditional TCP Loss Detection r Timeout m average round trip time + 4*mean deviation r Duplicate acks from receiver m Ack indicates cumulative sequence number of next expected message m If message m i gets lost then acks of subsequent messages will have sequence # i

TCP/IP Response to Losses r Assume losses due to congestion r Drops transmission window size m Window size determines how many packets can be sent before waiting for ack m TCP Tahoe: Reduces window size to one m TCP Reno: Reduces window size by half m Both use slow start up (increase window size linearly) when window sizes are to be increased. r If losses due to unreliable physical layer then there may be a needless reduction of throughput

TCP/IP Response to Losses r TCP’s response to losses results in a reduction in the load on intermediate links. r In networks with wireless networks, not all loss is due to congestion. r Communication over wireless links are often characterized by sporadic high bit- error rates and intermittent connectivity due to handoffs. r There are suggested TCP enhancements (described on the next two slides).

Selective Acknowledgement r Selective acknowledgements (SACKs) were added as an option to TCP. r Each acknowledgement should contain information about up to 3 non-contiguous blocks of data that have been received successfully by the receiver. r Each block of data is described by its starting and ending sequence number.

SMART r Use acknowledgements that contain the cumulative acknowledgement and the sequence number of the packet that caused the receiver to generate the acknowledgement. r This implicitly acknowledges the packet that caused the most recent acknowledgement.

What is Needed? r Distinguish between congestion and other losses r Do not reduce window in response to non- congestion losses

Issues r Where in the path from sender to receiver to solve problem? r How to distinguish between the two reasons for losses?

Issues

Possible Adaptations r Where in the path from sender to receiver to solve problem? m End-to-end Sender and receiver together addresses problem They address congestion loss They should also address medium loss m Link layer addresses problem Problem occurred in the link and thus should be solved there. m Split connection One TCP connection from wired end to base, another from base to wireless end Problem solved locally But solved at TCP layer (more semantics)

E2E: Explicit Loss Notification (ELN) r This is an end-to-end approach r Adds an Explicit Loss Notification (ELN) option to TCP acknowledgements. r Upon receiving this information with duplicate acknowledgements, the sender may perform retransmissions without invoking the associated congestion-control procedures. r When packet dropped over wireless m Subsequent acknowledgements indicate non- congestion related loss occurred

E2E: Explicit Loss Notification (ELN) r How loss detected in Wireless LAN m If corrupted packet Receiver detects CRC errors Passes to transport layer m If entire packet (meaning link headers are lost) is lost Base station observes duplicate acks Attaches ELN to them r What if wireless link is sending? m Congestion vs. loss not easy to detect.

Other E2E schemes r Adding SACKS or SMART acknowledgements to the basic TCP algorithm allows the sender to handle multiple losses more efficiently. r However, the sender still assumes that losses are a result of congestion.

Problem with End-to-End r Un-necessary duplicate acknowledgements sent all the way to source r Un-necessary retransmissions from source to destination r Does not address wireless sender r The last two schemes are not addressing the problem; rather they are trying to make TCP more efficient.

Link Level r Handle the problem at the link level, that is where the loss occurred. Local retransmission instead of end-to-end retransmission r Link-level timer much smaller (~20ms) r TCP timers larger (multiples of 500 ms) m Depends on end-to-end delay r Take advantage of the smaller link-level timer; it can be used to retransmit several times before the TCP timer goes off.

Link Level r Potential problems: m “Incompatible” timers cause retransmission by both parties. m Unless the packet loss rate is high (more than about 10%), competing retransmissions by the link and transport layers often lead to significant performance degradation. m When packets are lost, link-layer protocols do not attempt in-order delivery across the link. Packets may reach TCP receiver out-of-order. This causes unnecessary invocations of the retransmission mechanism due to out-of-order delivery messages.

Link Layer r Potential Solution m The link level protocol should be TCP aware. m A packet loss is detected by the arrival of a small number of duplicate acknowledgements (TCP) from the receiver or by a local timeout. m It shields the sender from duplicate acknowledgements caused by wireless losses. m Suppresses duplicate acknowledgements.

Link Level r A more sophisticated link-layer protocol uses selective retransmissions to improve performance by using SMART acknowledgements. m Sender retransmits a packet when it receives a SMART acknowledgement only if the same packet was not retransmitted within the last round-trip time. m If no further SMART acknowledgements arrive, the sender falls back to the coarse timeout mechanism to recover from the loss.

Split Connection Algorithm r Break a single TCP connection from wired end to wireless end into m TCP connection from wired end to base station m TCP connection from base station to wireless end r The TCP sender of the second, wireless connection performs all the retransmissions in response to wireless losses. r End-to-end out of order delivery does not occur r Sender never gets duplicate acks r Two TCP stacks encountered m Sharing of pointers between stacks at base station helps

Split Connection Algorithm r End to end semantics violated m Sender can get ack before receiver gets message r Buffer space at base station bounded m Does not acknowledge wired end when this happens.

Results of Experiments r Studies imply that link level protocols that are TCP aware provide better performance than a link level protocols that are not TCP aware. r TCP-aware link-layer protocols with selective acknowledgements had the best performance. r The split-connection approach shields sender from wireless loss but sender often stalls due to timeouts on the wireless connection resulting in poor end-to-end throughput. r Adding a SMART-based selective acknowledgement mechanism for split-connection approaches yields good throughput but not quite as good as for TCP-aware link-layers.

Results of Experiments r The SMART-based selective acknowledgement scheme added to regular TCP is effective in the presence of lossy links, especially when losses occur in bursts. r E2E schemes are not as effective as local techniques; however significant gains can be achieved without any extensive support from intermediate nodes.