CIS 632 / EEC 687 Mobile Computing

Similar documents
ICE 1332/0715 Mobile Computing (Summer, 2008)

ECS-087: Mobile Computing

CMPE 257: Wireless and Mobile Networking

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

Improving Reliable Transport and Handoff Performance in Cellular Wireless Networks

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

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

Mobile Transport Layer

TRANSMISSION CONTROL PROTOCOL

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

Outline 9.2. TCP for 2.5G/3G wireless

CSE 4215/5431: Mobile Communications Winter Suprakash Datta

TRANSMISSION CONTROL PROTOCOL

Mobile Communications Chapter 9: Mobile Transport Layer

Mobile Communications Chapter 9: Mobile Transport Layer

Advanced Computer Networks. Wireless TCP

Contents. CIS 632 / EEC 687 Mobile Computing. TCP in Fixed Networks. Prof. Chansu Yu

Mobile IP and Mobile Transport Protocols

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

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

Transport layer issues

TCP over wireless links

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

Improving reliable transport and handoff performance in cellular wireless networks 3

Mobile Transport Layer

Wireless TCP Performance Issues

Telecommunication Services Engineering Lab. Roch H. Glitho

SIMPLE MODEL FOR TRANSMISSION CONTROL PROTOCOL (TCP) Irma Aslanishvili, Tariel Khvedelidze

TCP OVER AD HOC NETWORK

Improving Reliable Transport and Handoff Performance in Cellular Wireless Networks 1

Chapter 12 Network Protocols

Investigations on TCP Behavior during Handoff

DualRTT: Enhancing TCP Performance During Delay Spikes

Improving Performance of Transmission Control Protocol for Mobile Networks

CMPE150 Midterm Solutions

Congestion control in TCP

Improving TCP End to End Performance in Wireless LANs with Snoop Protocol

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

Chapter 09 Network Protocols

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

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

Transport Protocols and TCP: Review

Problem 7. Problem 8. Problem 9

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

TCP over ad hoc networks

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

Augmented Split-TCP over Wireless LANs

A Comparison of Mechanisms for Improving TCP Performance over Wireless Links

Lecture 16: Wireless Networks

The effect of Mobile IP handoffs on the performance of TCP

PERFORMANCE ANALYSIS OF SNOOP TCP WITH FREEZING AGENT OVER CDMA2000 NETWORKS

Delay Performance of the New Explicit Loss Notification TCP Technique for Wireless Networks

Improving of TCP Performance Evaluation in Mobile Ad Hoc Networks

Agenda. What are we looking at? Introduction. Aim of the project. IP Routing

Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross-Layer Information Awareness

Improving TCP Performance over Wireless Links with Periodic Disconnection CMPT 885-3: SPECIAL TOPICS: HIGH-PERFORMANCE NETWORKS

CE693: Adv. Computer Networking

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

Lecture 5: Flow Control. CSE 123: Computer Networks Alex C. Snoeren

A thesis submitted to the Faculty of Graduate Studies and Research. in partial fulfillment of the requirements for the degree of

OPNET M-TCP model. Modupe Omueti

Transmission Control Protocol. ITS 413 Internet Technologies and Applications

TCP PERFORMANCE FOR FUTURE IP-BASED WIRELESS NETWORKS

CMPE 150 Winter 2009

Wireless Intro : Computer Networking. Wireless Challenges. Overview. TCP on wireless links Wireless MAC Assigned reading.

Transport Protocols & TCP TCP

Examining Mobile-IP Performance in Rapidly Mobile Environments: The Case of a Commuter Train.

ATCP: Improving TCP performance over mobile wireless environments

Performance Evaluation of TCP over WLAN with the Snoop Performance Enhancing Proxy

Congestions and Control Mechanisms in Wired and Wireless Networks

IIP Wireless. Presentation Outline

The Impact of Delay Variations on TCP Performance

Chapter 6 MOBILE IP AND TCP

TCP Enhancement Using Active Network Based Proxy Transport Service

Wireless Ad Hoc and Sensor Networks (Transport Layer) Introduction : Challenge. Which transport layer protocols? Traditional TCP

Lecture 3: The Transport Layer: UDP and TCP

UNIT IV -- TRANSPORT LAYER

Mobile Routing : Computer Networking. Overview. How to Handle Mobile Nodes? Mobile IP Ad-hoc network routing Assigned reading

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

A THROUGHPUT ANALYSIS OF TCP IN ADHOC NETWORKS

Wireless networks. Wireless Network Taxonomy

TCP for Wireless Networks

Internet Networking recitation #10 TCP New Reno Vs. Reno

SWAP and TCP performance

ETSF10 Internet Protocols Transport Layer Protocols

c) With the selective repeat protocol, it is possible for the sender to receive an ACK for a packet that falls outside of its current window.

Congestion Control 3/16/09

TCP and Congestion Control (Day 1) Yoshifumi Nishida Sony Computer Science Labs, Inc. Today's Lecture

Study of Proposed Methods for Improving TCP Performance Over Wireless Links. Anshuman Sinha, Schlumberger, Austin Technology Center

AN EXPLICIT LOSS AND HANDOFF NOTIFICATION SCHEME IN TCP FOR CELLULAR MOBILE SYSTEM

Transport Protocols for Networked Games

Modified Freeze-TCP for Improved Performance in Mobile Wireless Networks

Exercises TCP/IP Networking With Solutions

Does current Internet Transport work over Wireless? Reviewing the status of IETF work in this area

Using Proxies to Enhance TCP Performance over Hybrid Fiber Coaxial Networks

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

Hierarchical Cache Design for Enhancing TCP Over Heterogeneous Networks With Wired and Wireless Links

Congestion / Flow Control in TCP

ICE 1332/0715 Mobile Computing (Summer, 2008)

A MOBILE-AWARE TRANSMISSION CONTROL PROTOCOL (TCP) FOR WIRELESS COMMUNICATIONS

Transcription:

CIS 632 / EEC 687 Mobile Computing TCP in Mobile Networks Prof. Chansu Yu Contents Physical layer issues Communication frequency Signal propagation Modulation and Demodulation Channel access issues Multiple access / Random access / Asynchronous 802.11 / Bluetooth Capacity / Energy / Fairness / Directional System issues Embedded processor Low power design Network issues Location management Mobile IP / Cellular IP MANET routing / Clustering Multicast Interoperability Network reliability (TCP) Quality of service (QoS) TCP in Mobile IP Networks TCP in Mobile Ad Hoc Networks 2 1

Wireless Mobile Transport Layer Wireless environments are characterized by long latencies and frequent interruptions Problem: TCP has been optimized for wired networks Wired Network: When a packet is lost, it s typically a sign of congestion sender should slow down Wireless Network: When a packet gets lost, it could be due to Disconnects Long latencies slower transmission rates IP tunneling while node moves to new link What can be done? By whom? 3 TCP Issues Reducing the transmission rate is often the wrong response over wireless links. The sender should know the network it is transmitting over to make the right decision TCP issues in Mobile IP networks Handoff problem High transmission error rate 4 2

Hand-off Problem Ramon Caceres, AT&T Bell Lab. Liviu Iftode, Princeton Univ. IEEE Journal on Selected Areas in Communication, 1995 (cited ~425). Hand-offs occur when a mobile host starts communicating with a new base station (in cellular wireless systems) 5 Hand-off Problem Hand-offs may result in temporary loss of route to MH with non-overlapping cells, it may take a while before the mobile host receives a beacon from the new BS While routes are being reestablished during handoff, MH and old BS may attempt to send packets to each other, resulting in loss of packets 6 3

Hand-off Problem Packet loss is mistaken as congestion Drops the transmission window size Slow start to restrict the windows growth rate Resets the retransmission timer to a backoff interval Thus, reduces the TCP throughput 7 Hand-off Problem During the long delay for a handoff to complete, a whole window worth of data may be lost After handoff is complete, acks are not received by the TCP sender Sender eventually times out, and retransmits If handoff still not complete, another timeout will occur Performance penalty Time wasted until timeout occurs Window shrunk after 8timeout 4

Mobility Scenarios 1. No handoffs 2. Overlapping Cells 3. 0-second rendezvous delay 4. 1-second rendezvous delay 9 0-second Rendezvous Delay : Beacon arrives as soon as cell boundary crossed Cell crossing + beacon arrives Handoff complete Routes updated Retransmission timeout Last timed transmit RTO=1.0 can be improved 0 0.15 0.8 sec Packet loss 10 Idle sender 5

Mobility Scenarios 1. No handoffs 2. Overlapping Cells 3. 0-second rendezvous delay 4. 1-second rendezvous delay 11 1-second Rendezvous Delay : Beacon arrives 1 second after cell boundary crossed Last timed transmit Cell crossing RTO=1.0 Timeout 1 Beacon arrives Handoff complete RTO=2.0 Retransmission timeout 2 0 0.8 1.0 1.15 2.8 sec can be improved Packet loss 12 Idle sender 6

TCP Performance (1-sec delay) 4 60 Sequence number(mbytes) 3 2 1 Window size (Kbytes) 40 20 0 10 20 30 Time(seconds) 0 10 20 30 Time(seconds) ------ cell crossing <Behavior of TCP sequence number> <Behavior of TCP congestion window> 13 TCP Performance A v e ra ge t h rou gh pu t (Kbit / s e c ) 1600 1510 1400 1100 MH switches cells every 8 seconds Throughput dropped significantly in the presence of motion Degradation in overlapping cells is due to encapsulation and forwarding delay during handoff No handoffs Ov erlapping c e l l s 0-s e c on d rendezv ous de l a y 14 1-s e c on d rendezv ous de l a y Additional degradation in cases 3 and 4 due to packet loss and idle time at sender 7

TCP in MANET G. Holland and N. H. Vaidya, ACM Mobicom, 1999 (UIUC). Connections over multiple hops are at a disadvantage compared to shorter connections, because they have to contend for wireless access at each hop 0 1 2 3 4 5 6 7 1600 1400 1200 1000 800 600 400 200 0 1 2 3 4 5 6 7 8 9 10 15 Number of hops TCP Throughtput (Kbps) TCP Throughput using 2 Mbps 802.11 MAC Why Performance Degrades? MAC Layer - IEEE 802.11 DCF Interfering range is a little more than two times of the communication range When node 2 transmits, nodes 0, 1, 3 and 4 are blocked Interfering Range Communication Range 0 1 2 3 4 5 6 7 16 8

Approaches TCP issues in Mobile IP networks Handoff problem - Fast retransmission High transmission error rate - Split connection TCP issues in MANET (not today) Impact of multiple-hop route Interplay with 802.11 MAC 17 Handoff Problem - Fast Retransmission When the packet loss is due to handoff, who can make the right decision? And which action can be taken? When MH is the TCP receiver: after handoff is complete, it sends 3 dupacks to the sender this triggers fast retransmit at the sender instead of dupacks, a special notification could also be sent When MH is the TCP sender: invoke fast retransmit after completion of handoff 18 9

0-second Rendezvous Delay Improvement using Fast Retransmit Cell crossing + Beacon arrives Handoff completes Retransmission timeout Fast retransmission RTO=1.0 Does not occur!!! Last timed transmission 0 0.2 0.8 Time(seconds) Fast retransmission after a handoff with a 0-second rendezvous delay 19 1-second Rendezvous Delay Improvement using Fast Retransmit Cell crossing Retransmission timeout 1 Beacon arrives Handoff complete Retransmission timeout 2 Last timed transmission RTO=1.0 Fast retransmission RTO=2.0 Does not occur!!! 0 0.8 1.0 1.2 2.8 Time(seconds) Handoff latency and related packet losses with a 1-second rendezvous delay 20 10

TCP Performance Improvement Av erage throughput 1600 (Kbit/s ec) 100% 1510 94% 1490 93% 1380 86% 88% 1400 69% 1100 No change in the first two cases as expected Improvement for nonoverlapping cells Some degradation still remains fast retransmit reduces congestion window No handoffs Overlapping cells 0-s econd rendezv ous delay 1-s econd rendezv ous delay Do we need to change TCP software? 21 Approaches TCP issues in Mobile IP networks Handoff problem - Fast retransmission High transmission error rate - Split connection TCP issues in MANET Impact of multiple-hop route Interplay with 802.11 MAC 22 11

High Transmission Error Rate - Split Connection Approach Ho can we address the problem of high error rate over wireless links? End-to-end TCP connection is broken into one connection on the wired part of the route and one over wireless part of the route A single TCP connection split into two TCP connections FH-MH = FH-BS + BS-MH Acks are intercepted and managed at BS FH BS MH Fixed Host Base Station 23 Mobile Host Split Connection Approach Per-TCP connection state TCP connection TCP connection application transport application transport rxmt application transport network network network link link link physical physical physical FH BS 24 wireless MH 12

Split Connection Approach: What happen if move mobile host FA 2 Internet standard TCP mobile host wireless TCP FA 1 25 Split Connection Approach: State Migration mobile host wireless TCP FA 2 standard TCP socket migration and state transfer Internet FA 1 26 13

Split Connection Approach BS terminates the standard TCP connection acting as a proxy Old BS (FA) must migrate buffered packets (already acknowledged to FH) as well as socket of the proxy to new BS The socket contains the current state of the TCP connection Sequence number, addresses, port number Last packet transmitted to MH Last packet acknowledged by MH Next expected acknowledgement and expected number of duplicated acknowledgements Round-trip time estimate of wireless link 27 Split Connection Approach: Variations Indirect TCP FH - BS connection : Standard TCP BS - MH connection : Standard TCP Selective Repeat Protocol (SRP) FH - BS connection : standard TCP BS - MH connection : selective repeat protocol on top of UDP Asymmetric transport protocol (Mobile-TCP) Low overhead protocol at wireless hosts such as header compression, simpler flow control, No congestion control Mobile-End Transport Protocol BS-MH link can use any arbitrary protocol optimized for wireless link 28 14

Split Connection Approach : Advantages BS-MH connection can be optimized independent of FH-BS connection Different flow / error control on the two connections Local recovery of errors Faster recovery due to relatively shorter RTT on wireless link Good performance achievable using appropriate BS-MH protocol Standard TCP on BS-MH performs poorly when multiple packet losses occur per window (timeouts can occur on the BS-MH connection, stalling during the timeout interval) Selective acks improve performance for such cases 29 Split Connection Approach : Disadvantages End-to-end semantics violated ack may be delivered to sender, before data delivered to the receiver 39 FH 40 40 BS 38 37 36 MH 30 15

Split Connection Approach : Disadvantages BS retains hard state BS failure can result in loss of data (unreliability) If BS fails, packet 40 will be lost Since it is ack d to sender, the sender does not buffer 40 Hand-off latency increases due to state transfer Data that has been ack d to sender, must be moved to new base station Buffer space needed at BS for each TCP connection BS buffers tend to get full, when wireless link slower (one window worth of data on wired connection could be stored at the base station, for each split connection) Extra copying of data at BS copying from FH-BS socket buffer to BS-MH socket buffer (at TCP layer) increases end-to-end latency 31 Snoop Protocol: TCP-Aware Link Layer Tries to restore the end-to-end semantics of TCP: Foreign agent is not allowed to send acknowledgements correspondent Instead, it just snoops on packets and tries to help alonghost Internet local retransmission Foreign agent mobile host end-to-end TCP connection 32 16

Snoop Protocol: TCP-Aware Link Layer TCP connection Per TCP-connection state application application application transport transport transport network link network link rxmt network link physical physical physical FH BS wireless MH 33 17