TRANSMISSION CONTROL PROTOCOL

Similar documents
TRANSMISSION CONTROL PROTOCOL

TCP over Wireless PROF. MICHAEL TSAI 2016/6/3

CMPE 257: Wireless and Mobile Networking

Chapter 13 TRANSPORT. Mobile Computing Winter 2005 / Overview. TCP Overview. TCP slow-start. Motivation Simple analysis Various TCP mechanisms

Impact of transmission errors on TCP performance. Outline. Random Errors

Outline 9.2. TCP for 2.5G/3G wireless

CIS 632 / EEC 687 Mobile Computing

Wireless TCP. TCP mechanism. Wireless Internet: TCP in Wireless. Wireless TCP: transport layer

Mobile Transport Layer

Mobile Communications Chapter 9: Mobile Transport Layer

CSE 4215/5431: Mobile Communications Winter Suprakash Datta

Advanced Computer Networks. Wireless TCP

Improving Reliable Transport and Handoff Performance in Cellular Wireless Networks

ECS-087: Mobile Computing

Mobile Communications Chapter 9: Mobile Transport Layer

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. October 30, 2018

TCP OVER AD HOC NETWORK

Mobile IP and Mobile Transport Protocols

CSCI Topics: Internet Programming Fall 2008

ICE 1332/0715 Mobile Computing (Summer, 2008)

Wireless TCP Performance Issues

Transport Layer PREPARED BY AHMED ABDEL-RAOUF

TCP over wireless links

TCP Congestion Control

TCP Congestion Control

TCP congestion control:

Congestion Control in TCP

Mobile Transport Layer

Transmission Control Protocol. ITS 413 Internet Technologies and Applications

EE122 MIDTERM EXAM: Scott Shenker, Ion Stoica

Computer Networking Introduction

Mid Term Exam Results

CS 268: Wireless Transport Protocols. Kevin Lai Feb 13, 2002

Supporting mobility only on lower layers up to the network layer is not

Mobile & Wireless Networking. Lecture 10: Mobile Transport Layer & Ad Hoc Networks. [Schiller, Section 8.3 & Section 9] [Reader, Part 8]

Transport layer issues

Problem 7. Problem 8. Problem 9

TCP PERFORMANCE FOR FUTURE IP-BASED WIRELESS NETWORKS

CSCI Topics: Internet Programming Fall 2008

Chapter 3 outline. 3.5 Connection-oriented transport: TCP. 3.6 Principles of congestion control 3.7 TCP congestion control

Lecture 15: Transport Layer Congestion Control

Chapter 3 Transport Layer

OPNET M-TCP model. Modupe Omueti

Chapter III: Transport Layer

Wireless Challenges : Computer Networking. Overview. Routing to Mobile Nodes. Lecture 25: Wireless Networking

PERFORMANCE ANALYSIS OF SNOOP TCP WITH FREEZING AGENT OVER CDMA2000 NETWORKS

A Comparison of Mechanisms for Improving TCP Performance over Wireless Links

Advanced Computer Networks

Chapter 3 Review Questions

Advanced Computer Networks

CS321: Computer Networks Congestion Control in TCP

TCP Congestion Control

Congestions and Control Mechanisms in Wired and Wireless Networks

Wireless Challenges : Computer Networking. Overview. Routing to Mobile Nodes. Lecture 24: Mobile and Wireless

Fast Retransmit. Problem: coarsegrain. timeouts lead to idle periods Fast retransmit: use duplicate ACKs to trigger retransmission

image 3.8 KB Figure 1.6: Example Web Page

TCP Congestion Control in Wired and Wireless networks

cs/ee 143 Communication Networks

Transport Protocols and TCP

CS 421: COMPUTER NETWORKS SPRING FINAL May 24, minutes. Name: Student No: TOT

Overview. TCP congestion control Computer Networking. TCP modern loss recovery. TCP modeling. TCP Congestion Control AIMD

TCP over Wireless. Protocols and Networks Hadassah College Spring 2018 Wireless Dr. Martin Land 1

Transport layer. UDP: User Datagram Protocol [RFC 768] Review principles: Instantiation in the Internet UDP TCP

Transport layer. Review principles: Instantiation in the Internet UDP TCP. Reliable data transfer Flow control Congestion control

CS519: Computer Networks. Lecture 5, Part 4: Mar 29, 2004 Transport: TCP congestion control

CSCD 330 Network Programming Winter 2015

Congestion Control 3/16/09

CS Transport. Outline. Window Flow Control. Window Flow Control

Outline Computer Networking. TCP slow start. TCP modeling. TCP details AIMD. Congestion Avoidance. Lecture 18 TCP Performance Peter Steenkiste

Congestion Control. Principles of Congestion Control. Network assisted congestion. Asynchronous Transfer Mode. Computer Networks 10/23/2013

Chapter 3 Transport Layer

Congestion Control. Principles of Congestion Control. Network-assisted Congestion Control: ATM. Congestion Control. Computer Networks 10/21/2009

CSC 4900 Computer Networks: TCP

Chapter 3 Transport Layer

Page 1. Outline : Wireless Networks Lecture 16: Wireless and the Internet. Internet Architecture Assumptions. Mobility. Link Heterogeneity

Chapter 12 Network Protocols

The Transport Layer Congestion control in TCP

CSE/EE 461. TCP congestion control. Last Lecture. This Lecture. Focus How should senders pace themselves to avoid stressing the network?

TCP for Wireless Networks

Chapter 09 Network Protocols

ISSN: Index Terms Wireless networks, non - congestion events, packet reordering, spurious timeouts, reduce retransmissions.

8. TCP Congestion Control

Outline. CS5984 Mobile Computing

TCP Congestion Control

ECE 610: Homework 4 Problems are taken from Kurose and Ross.

CS 43: Computer Networks. 19: TCP Flow and Congestion Control October 31, Nov 2, 2018

Q23-5 In a network, the size of the receive window is 1 packet. Which of the follow-ing protocols is being used by the network?

CE693: Adv. Computer Networking

Lecture 15: TCP over wireless networks. Mythili Vutukuru CS 653 Spring 2014 March 13, Thursday

Improving Performance of Transmission Control Protocol for Mobile Networks

Mobile Transport Layer Lesson 10 Timeout Freezing, Selective Retransmission, Transaction Oriented TCP and Explicit Notification Methods

TCP Congestion Control 65KB W

Transport Protocols and TCP: Review

Computer Communication Networks Midterm Review

Good Ideas So Far Computer Networking. Outline. Sequence Numbers (reminder) TCP flow control. Congestion sources and collapse

Direct Link Communication I: Basic Techniques. Data Transmission. ignore carrier frequency, coding etc.

Performance Evaluation of TCP Westwood. Summary

TCP Congestion Control in Wired and Wireless Networks

Wireless Heterogeneity. EEC173B/ECS152C, Spring 09. Data Transport Over Wireless. Wireless Performance. Reliable Data Transport over Wireless Networks

CS3600 SYSTEMS AND NETWORKS

Transcription:

COMP 635: WIRELESS NETWORKS TRANSMISSION CONTROL PROTOCOL Jasleen Kaur Fall 2015 1 Impact of Wireless on Protocol Layers Application layer Transport layer Network layer Data layer Physical layer service location new/adaptive s multimedia congestion/flow control quality of service addressing, routing device location hand-over authentication media access/control multiplexing encryption modulation interference attenuation frequency 2 1

Outline TCP Congestion Control Ø Issues in wireless s Link-layer approaches Ø Reliability through retransmissions Splitting Ø Proxy-based solutions Snooping Ø TCP-aware layers Making TCP smarter TCP-unaware approaches 3 TCP Congestion Control Goal: Ø Maintain transfer rate at the maximum that all involved resources can handle (max-min fairness) Approach: Ø Ramp up sending rate till congestion detected Rapid ramp up initially (Slow-Start) Cautious ramp-up subsequently (Congestion Avoidance) Ø If congestion, reduce sending rate and resume ramp-up Mechanisms: maintain congestion-window (Cwin) Ø Increasing Cwin: Slow Start, Congestion Avoidance Ø Decreasing Cwin: Retransmission Timeouts, Fast Retransmit/Recovery 4 2

Congestion Avoidance Source Destination Additive Increase: Ø Increment cwin by 1 MSS per RTT Multiplicative Decrease: Ø Shrink cwin by at least 50% on packet loss KB 70 60 50 40 30 20 10 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 Time (seconds) 10.0 5 Slow Start Behavior Source Destination Goal: Ø Hastening up initial bandwidth discovery For every new ACK received: Ø Increase exponentially (not linearly), when cwin < SSThresh Double the number of packets-in-transit every RTT After recovery from timeout: SSThresh = cwin/2 cwin = 1 6 3

Fast Retransmit/Recovery (FR/R) Fast Retransmit: Ø Goal: Triggering retransmissions sooner than timeouts Ø Exploit: Receivers send ACKs (when data received) even if they are duplicates of earlier ACKs Ø Heuristic: Use receipt of 3 duplicate ACKs as indicator that next segment was lost Packet 1 Packet 2 Packet 3 Packet 4 Packet 5 Packet 6 Retransmit packet 3 Sender Receiver ACK 1 ACK 2 ACK 2 ACK 2 ACK 2 ACK 6 Fast Recovery: Ø Decrease cwin to SSThresh after fast retransmit 7 AIMD Why is increase additive and decrease multiplicative? Ø Willingness to reduce congestion window greater than willingness to increase it Ø Necessary condition for stability Ø Consequences of having too large a window are worse than having too small a window 8 4

Challenge in Wireless Networks TCP congestion-detection mechanisms assume: Ø A packet loss is indicative of congestion Ø Hence, source needs to regulate flow by reducing Cwin Assumption closely true for wired s (BER ~10-6 ) But with wireless, Ø Losses due to: Errors (due to fading, fluctuations) Mobility (user changes ) Ø Need not reduce CW in response Ø But, TCP is e2e à CANNOT see the Thus, TCP cannot classify the cause of loss à CHALLENGE Dilemma: End-to-end interpretation of -local metric 9 The Problem TCP connection lossy Wireline wireless 10 5

Impact of Misclassification Sequence number (bytes) 2.0E+06 1.5E+06 1.0E+06 5.0E+05 Best possible TCP with no errors (1.30 Mbps) TCP Reno (280 Kbps) 0.0E+00 0 10 20 30 40 50 60 Time (s) 2 MB wide- area TCP transfer over 2 Mbps WaveLAN 11 SPLIT CONNECTION APPROACHES No Changes To Wired Internet 12 6

1 TCP = ½ TCP + ½ (TCP or XXX) Per-TCP connection state TCP connection TCP connection rxmt Base StaKon wireless 13 Splitting Approaches Indirect TCP [Baker97] Ø Fixed host (FH) to base station (BS) uses TCP Ø BS to mobile host (MH) uses another TCP connection Selective Repeat [Yavatkar94] Ø Over FH to BS: Use TCP Ø Over BS to MH: Use selective repeat on top of UDP No congestion control over wireless [Haas97] Ø Also use less headers over wireless Header compression 14 7

Indirect TCP (I-TCP) Splitting of the TCP connection (at, e.g., the foreign agent) into 2 TCP connections Ø Optimized TCP protocol for mobile hosts Ø No changes to the TCP protocol for wired-internet hosts mobile host access point (foreign agent) wired Internet wireless TCP standard TCP 15 I-TCP Socket and State Migration access point 1 socket migration and state transfer Internet mobile host access point 2 16 8

Advantages: Indirect TCP No changes to the fixed necessary Ø No changes for the hosts (TCP protocol) necessary Millions of computers use (variants of) this protocol Ø All current optimizations to TCP still work Wireless transmission errors contained Ø Do not propagate into wired Simple to control Ø Mobile TCP is used only for one hop (FA à MH) Very fast retransmission of packets is possible Ø The short delay on the mobile hop is known 17 Issues With Splitting E2E semantics totally broken Ø 2 separate connections Ø An ACK no longer means that receiver got packet Foreign agents might crash BS maintains hard state for each connection Ø What if MH disconnected from BS? Ø Huge buffer requirements at BS Ø What if BS fails? Ø Handoff between BS requires state transfer Ø Higher latency possible (buffering, forwarding) What if Data and ACK travel on different routes? Ø BS will not see the ACK at all splitting not feasible 18 9