Wireless TCP Prasun Dewan Department of Computer Science University of North Carolina

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 Performance over Mobile Networks HALA ELAARAG Stetson University Speaker : Aron ACM Computing Surveys 2002.
Improving TCP over Wireless by Selectively Protecting Packet Transmissions Carla F. Chiasserini Michele Garetto Michela Meo Dipartimento di Elettronica.
Principles of Congestion Control Chapter 3.6 Computer Networking: A top-down approach.
1 Transport Protocols & TCP CSE 3213 Fall April 2015.
Computer Networks Transport Layer. Topics F Introduction (6.1)  F Connection Issues ( ) F TCP (6.4)
Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross- Layer Information Awareness Xin Yu Department Of Computer Science New York University,
Congestion Control Created by M Bateman, A Ruddle & C Allison As part of the TCP View project.
TCP Congestion Control Dina Katabi & Sam Madden nms.csail.mit.edu/~dina 6.033, Spring 2014.
Performance Improvement of TCP in Wireless Cellular Network Based on Acknowledgement Control Osaka University Masahiro Miyoshi, Masashi Sugano, Masayuki.
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.
Internet Networking Spring 2003 Tutorial 12 Limited Transmit RFC 3042 Long Thin Networks RFC 2757.
Transport Layer3-1 Congestion Control. Transport Layer3-2 Principles of Congestion Control Congestion: r informally: “too many sources sending too much.
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.
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
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.
Principles of Congestion Control Congestion: informally: “too many sources sending too much data too fast for network to handle” different from flow control!
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:
TCP1 Transmission Control Protocol (TCP). TCP2 Outline Transmission Control Protocol.
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)
COP 4930 Computer Network Projects Summer C 2004 Prof. Roy B. Levow Lecture 3.
Wireless TCP. References r Hari Balakrishnan, Venkat Padmanabhan, Srinivasan Seshan and Randy H. Katz, " A Comparison of Mechanisms for Improving TCP.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
TCP: Transmission Control Protocol Part II : Protocol Mechanisms Computer Network System Sirak Kaewjamnong Semester 1st, 2004.
1 CS 4396 Computer Networks Lab TCP – Part II. 2 Flow Control Congestion Control Retransmission Timeout TCP:
Chapter 16 Protocols and Layering. Network Communication Protocol an agreement that specifies the format and meaning of messages computers exchange Network.
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 Διδάσκων: Βασίλειος Σύρης Τμήμα: Πληροφορικής.
Networks, Part 2 March 7, Networks End to End Layer  Build upon unreliable Network Layer  As needed, compensate for latency, ordering, data.
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.
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
DATA LINK CONTROL. DATA LINK LAYER RESPONSIBILTIES  FRAMING  ERROR CONTROL  FLOW CONTROL.
Computer Networking Lecture 16 – Reliable Transport.
Ch 3. Transport Layer Myungchul Kim
1 ICCCN 2003 Modelling TCP Reno with Spurious Timeouts in Wireless Mobile Environments Shaojian Fu School of Computer Science University of Oklahoma.
TCP over Wireless PROF. MICHAEL TSAI 2016/6/3. TCP Congestion Control (TCP Tahoe) Only ACK correctly received packets Congestion Window Size: Maximum.
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.
Internet Networking recitation #9
Process-to-Process Delivery, TCP and UDP protocols
Chapter 6: Transport Layer (Part I)
Introduction of Transport Protocols
Congestion Control, Internet transport protocols: udp
Transport Layer Unit 5.
CS4470 Computer Networking Protocols
Internet Networking recitation #10
Computer Networks Protocols
Error Checking continued
Impact of transmission errors on TCP performance
Presentation transcript:

Wireless TCP Prasun Dewan Department of Computer Science University of North Carolina

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

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

4 TCP/IP Response to Losses n Assume losses due to congestion n Drops (halves) transmission window size u Window size determines how many packets can be sent before waiting for ack u Determines throughput n If losses due to unreliable physical layer needless reduction of throughput

5 Solution n Distinguish between congestion and other losses n Do not reduce window in response to non congestion losses

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

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

8 End-to-end n How to distinguish between the two reasons for losses?

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

10 Explicit Loss Notification n When packet dropped over wireless u Subsequent acks indicate loss occurred n How loss detected in Wireless LAN u If corrupted packet F Receiver detects CRC errors F Passes to transport layer u If entire packet is lost F Base station observes duplicate acks F Attaches ELN to them n What if wireless link is sending? u Congestion vs. loss

11 Problem with End to End n Un-necessary duplicate acks sent all the way to source n Un-necessary retransmissions from source to destination n Does not address wireless sender

12 Link Level n Handle the problem at the link level,that is where the loss occurred. n Local retransmission instead of end to end retransmission n Link-level timer much smaller (~20ms) n TCP timers larger (multiples of 500 ms) u Depends on end to end delay n Several possibilities u Window of size 1 u Larger window F Cumulative acks F SMART scheme Cumulative ack mentions sequence # of received packet Previous packets presumed to be lost rather than reordered

13 Link Level Problems n Both end to end and link level retransmissions are working n “Incompatible” timers cause retransmission by both parties u Unless > 10% loss retransmissions occur u End to end timeout should not occur n Link-level does not try to deliver in order n Duplicate retransmissions can reach receiver because of out of order delivery n If messages in order, dup acks and end to end retransmissions do not occur, unlike end to end n Can add TCP awareness to link level so dup acks do not occur n Layering broken

14 Split Connection Algorithm n Break a single TCP connection from wired end to wireless end into u TCP connection from wired end to base station u TCP connection from base station to wireless end F SMART scheme better than RENO since sender does not wait for timeout or duplicate acks F Out of order messages do not occur on single link n End to end out of order delivery does not occur n Sender never gets duplicate acks n Two TCP stacks encountered u Sharing of pointers between stacks at base station helps n End to end semantics violated u Sender can get ack before receiver gets message n Buffer space at base station bounded u Does not ack wired end when this happens? n Original TCP sender can stall n Link level with TCP awareness best