ECE 695 Sp 2006 Jim Catt TCP Functions TCP is a connection oriented protocol Primary functions  TCP sets up and maintains end-to-end connection between.

Slides:



Advertisements
Similar presentations
1 Improving TCP Performance over Mobile Networks HALA ELAARAG Stetson University Speaker : Aron ACM Computing Surveys 2002.
Advertisements

Improving TCP over Wireless by Selectively Protecting Packet Transmissions Carla F. Chiasserini Michele Garetto Michela Meo Dipartimento di Elettronica.
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 2 TCP/IP Fundamentals.
Fundamentals of Computer Networks ECE 478/578 Lecture #20: Transmission Control Protocol Instructor: Loukas Lazos Dept of Electrical and Computer Engineering.
A study of Cross layer work of University of Trento folk A ResiliNet Group Presentation Sarvesh Kumar Varatharajan.
Flickner, Eric J Kanury, Sree Ramya Lee, Soohee
EEC-484/584 Computer Networks Lecture 12 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
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.
Open Issues on TCP for Mobile Computing Ibrahim Matta Computer Science, Boston University Vassilis Tsaoussidis Computer Science, Northeastern University.
CS 268: Wireless Transport Protocols Kevin Lai Feb 13, 2002.
Transport Protocols for Wireless Networks CMPE Spring 2001 Marcelo M. de Carvalho.
Computer Networks Transport Layer. Topics F Introduction  F Connection Issues F TCP.
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 K. Salah Module 6.1: TCP Flow and Congestion Control Connection establishment & Termination Flow Control Congestion Control QoS.
TCP. Learning objectives Reliable Transport in TCP TCP flow and Congestion Control.
1 A Comparison of Mechanisms for Improving TCP Performance over Wireless Links Course : CS898T Instructor : Dr.Chang - Swapna Sunkara.
2: Application Layer 1 1DT066 Distributed Information System Chapter 3 Transport Layer.
Gursharan Singh Tatla Transport Layer 16-May
TCP: flow and congestion control. Flow Control Flow Control is a technique for speed-matching of transmitter and receiver. Flow control ensures that a.
1 Transport Layer Computer Networks. 2 Where are we?
CIS 725 Wireless networks. Low bandwidth High error rates.
CS640: Introduction to Computer Networks Aditya Akella Lecture 22 - Wireless Networking.
1 Semester 2 Module 10 Intermediate TCP/IP Yuda college of business James Chen
Qian Zhang Department of Computer Science HKUST Advanced Topics in Next- Generation Wireless Networks Transport Protocols in Ad hoc Networks.
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.
Prof. Dr.-Ing. Jochen Schiller, SS029.1 Mobile Communications Chapter 9: Mobile Transport Layer  Motivation  TCP-mechanisms.
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)
TCP : Transmission Control Protocol Computer Network System Sirak Kaewjamnong.
26-TCP Dr. John P. Abraham Professor UTPA. TCP  Transmission control protocol, another transport layer protocol.  Reliable delivery  Tcp must compensate.
SMUCSE 4344 transport layer. SMUCSE 4344 transport layer end-to-end protocols –transport code runs only on endpoint hosts encapsulates network communications.
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.
Transport over Wireless Networks Myungchul Kim
Wireless TCP. References r Hari Balakrishnan, Venkat Padmanabhan, Srinivasan Seshan and Randy H. Katz, " A Comparison of Mechanisms for Improving TCP.
TCP-Cognizant Adaptive Forward Error Correction in Wireless Networks
Improving TCP Performance over Wireless Networks
Computer Networking Lecture 18 – More TCP & Congestion Control.
1 CS 4396 Computer Networks Lab TCP – Part II. 2 Flow Control Congestion Control Retransmission Timeout TCP:
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 Διδάσκων: Βασίλειος Σύρης Τμήμα: Πληροφορικής.
ECE 4110 – Internetwork Programming
Transport Protocols.
Data Link Layer Flow and Error Control. Flow Control Flow Control Flow Control Specifies the amount of data can be transmitted by sender before receiving.
4343 X2 – The Transport Layer Tanenbaum Ch.6.
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.
DATA LINK CONTROL. DATA LINK LAYER RESPONSIBILTIES  FRAMING  ERROR CONTROL  FLOW CONTROL.
Ch 3. Transport Layer Myungchul Kim
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.
TCP over Wireless PROF. MICHAEL TSAI 2016/6/3. TCP Congestion Control (TCP Tahoe) Only ACK correctly received packets Congestion Window Size: Maximum.
Chapter 9: Transport Layer
Instructor Materials Chapter 9: Transport Layer
UNIT-V Transport Layer protocols for Ad Hoc Wireless Networks
PART 5 Transport Layer Computer Networks.
Ad-hoc Transport Layer Protocol (ATCP)
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.
CSE 4340/5349 Mobile Systems Engineering
TCP for Wireless Networks
Impact of transmission errors on TCP performance
Presentation transcript:

ECE 695 Sp 2006 Jim Catt TCP Functions TCP is a connection oriented protocol Primary functions  TCP sets up and maintains end-to-end connection between two hosts Setup and teardown of connection are distinct phases A connection is defined by the quadruplet of IP addresses and port numbers of both hosts  Ensures reliable delivery of packets Selective Repeat ARQ protocol Positive ACK of packets Sequence numbers Error detection  Enforces flow control Sliding window flow control  Receiver advertises size of window (max number of packets that can be sent by sender without ACK)  Prevents buffer overflow at receiver  Applies Congestion control Traditional TCP assumes losses are due to congestion, not errors 3-phase process  Slow start (exponential increase in number of packets sent)  Congestion avoidance (linear increase in number of packets sent)  Time out (adjust threMGold, return to slow start)

ECE 695 Sp 2006 Jim Catt Factors that influence TCP performance Wired environment  Sender and receiver have static IP addresses (at least for the duration of the session)  No handoffs  While packet routes may vary, routing nodes form a fixed network, i.e., they do not drop into and out of the network and they maintain a fixed topology relative to one another facilitates the use of routing tables the number of potential routes, though possibly large, forms a fixed set RTT variance is lower.  Channel conditions tend to be relatively stable (no fading, Doppler, multi-path)  Packet loss is primarily due to congestion, not channel conditions

ECE 695 Sp 2006 Jim Catt Factors that influence TCP performance Wireless environment  Sender and receiver may both be mobile during the session, and traverse “domain” boundaries several times, requiring handoffs. Traditional static IP addresses don’t work very well – connections could be lost and re-establiMGed many times IP addressing is handled in mobile IP and can be transparent to TCP layer  Since mobile nodes (MNs) may associate with different APs during a session, routing becomes more challenging core network topology may be relatively static as in wired case, but MN’s attachment to the core network is dynamic routing tables relative to the MNs involved in the session grow stale more quickly RTT variance is higher, packet latency is higher  Channel conditions tend to be relatively less stable -- fading, Doppler, multi-path and handoffs frequently cause packet loss PHY and link layers in wireless have been adapted to mitigate these factors, but, cannot completely overcome them  Due to latency and packet loss, congestion control mechanisms may be triggered which cause needless reduction in throughput if traditional TCP is utilized in wireless.

ECE 695 Sp 2006 Jim Catt Mobile TCP Strategies Utilize the link layer to detect and correct errors  Hides errors from TCP, avoids triggering inappropriate responses Snoop TCP, TCP-Unaware Link Layer Split TCP connections into distinct connections  Treats wired and wireless connections differently to accommodate different characteristics Indirect TCP, Mobile TCP Re-engineer TCP to accommodate wireless  Add features or explicitly modify behavior of protocol in response to certain events. Handle loss events that are not due to congestion differently Anticipate loss event due to handoffs, proactively manage these  Modify protocol to improve efficiency Improves bandwidth utilization and lowers probability of packet loss  Explicit Loss Notice, WTCP, TCP SACK, T/TCP

ECE 695 Sp 2006 Jim Catt Link Layer Strategies Snoop TCP  Buffer data as close as possible to MN to minimize re- transmit  Requires BS link layer to “snoop” (look into) TCP packets  BS (AP) buffers packets Packets are removed from buffer on ACK  Missing ACK or DUPACK causes retransmit of packet(s) from BS buffer  BS does not initiate ACKs, but may initiate NACKs if gap in sequence number is detected

ECE 695 Sp 2006 Jim Catt Link Layer Strategies TCP-Unaware Link Layer  Similar to Snoop TCP, but BS link layer is unaffected  Link level ACKs are used to trigger re-transmission of packets  MN uses delayed DUPACKs Performance is sensitive to delay value

ECE 695 Sp 2006 Jim Catt Split Connection Strategies Indirect TCP (ITCP)  Splits single TCP connection into two connections MS-to-BS (AP) (wireless) BS-to–CN (wired)  BS-to-CN connection can used conventional wired TCP  MS-to-BS connection uses customized TCP for wireless  BS (AP) acts as proxy for MN Buffers packets destined for MN and sends ACKs to CN.  Handoffs may require buffered packets to be forwarded to new AP  Buffer at BS (AP) may overflow in cases of extended loss of connection between it and the MN

ECE 695 Sp 2006 Jim Catt Split Connection Strategies Mobile TCP (M-TCP)  TCP connection is split at a mobile-gateway (MG) Part of the fixed network. May be an AP or controller for multiple APs  TCP for the wireless segment is modified Uses an asymmetric protocol that reduces the overhead at the MN  The MN to MG segment is basically a single hop – efficiencies can be obtained from this context Addressing can be simplified (use CID instead of full TCP addr block) Sequence numbers based on packets, not bytes No need for sliding window (no place for packets to circulate) No timers on MN side Congestion control is eliminated – Only Flow control is used, based mainly on bit flags  Because a single MG may be managing multiple APs (and hence, even more MNs), buffer requirements and complexity are increased. e.g., MG must maintain a state machine for each MN

ECE 695 Sp 2006 Jim Catt Mobile-TCP Protocol Stack Source: Z. Haas., P. Agrawal, “ Mobile-TCP: An Asymmetric Transport Protocol Design for Mobile Systems”, IEEE, 2000.

ECE 695 Sp 2006 Jim Catt Re-engineered TCP Strategies Explicit Loss Notification (ELN)  The main idea is to distinguish between types of packet losses, i.e., congestion losses vs other types, and treat them differently Losses due to issues such as handoffs shouldn’t require the same correction mechanisms as losses due to congestion  Approach: use MAC layer to distinguish between types of losses  If MAC detects that loss isn’t due to congestion, then the TCP layer in the MN sends an ELN This tells the sender that only retransmission of lost packets is required, NOT a reduction in the congestion window.

ECE 695 Sp 2006 Jim Catt Re-engineered TCP Strategies WTCP  Major re-engineering of TCP  Idea: add adaptive management functions that acknowledge the inherent differences between wired and wireless channels, then monitor channel conditions (use metrics) and adapt operations to current conditions rate-based transmission inter-packet separation metric packet loss detection mechanisms bandwidth estimation separate congestion control and reliability mechanisms (e.g. different sequence numbers)

ECE 695 Sp 2006 Jim Catt Re-engineered TCP Strategies TCP SACK (Selective ACK)(1996)  An adaptive scheme that employs the idea that selective retransmission is more efficient than non-adaptive schemes such as Go-back-N. Normally, receiver only ACKs latest packet received in order.  This forces the sender to “go-back-N” packets and re-transmit the entire block after a timeout expires on the remainder of the packets.  This is wasteful if only some of the packets in the block (window) were lost.  When an out-of-order segment arrives at the receiver, a selective ACK is sent The sender only re-transmits the non-ACKed packets  Transmitter maintains a metric related to number of packets “in flight”. As long as this metric is less than the congestion window size, the (NACK) segments can be re-transmitted  Requires both sender and receiver to maintain additional information about packets sent and received.

ECE 695 Sp 2006 Jim Catt Re-engineered TCP Strategies Transaction-Oriented TCP (1994)  Introduced as an experimental extension to TCP  Goal is to avoid overhead associated with setup and tear-down transactions Combine reliability of TCP with the simplicity and speed of UDP  Combine setup, tear-down and data transfer into a single transaction More efficient – fewer packets and less time required for the connection  Originally, not envisioned as a wireless solution – targeted to improve speed of existing wired network transactions Doesn’t solve the problem of maintaining continuity between handoffs in the mobile case, i.e., doesn’t address packet loss in such cases.

ECE 695 Sp 2006 Jim Catt Transaction Diagrams Traditional TCP 3-way handshake to establish a connection. No data has transferred at this point. T-TCP transaction that combines connection setup with data transfer Source: