Mobile Computing/ Mobile Networks



Similar documents
TCP over Multi-hop Wireless Networks * Overview of Transmission Control Protocol / Internet Protocol (TCP/IP) Internet Protocol (IP)

TCP for Wireless Networks

TCP in Wireless Mobile Networks

Mobile Communications Chapter 9: Mobile Transport Layer

TCP and Wireless Networks Classical Approaches Optimizations TCP for 2.5G/3G Systems. Lehrstuhl für Informatik 4 Kommunikation und verteilte Systeme

Lecture Objectives. Lecture 07 Mobile Networks: TCP in Wireless Networks. Agenda. TCP Flow Control. Flow Control Can Limit Throughput (1)

TCP over Wireless Networks

TCP in Wireless Networks

Transport layer issues in ad hoc wireless networks Dmitrij Lagutin,

CS6956: Wireless and Mobile Networks Lecture Notes: 2/11/2015. IEEE Wireless Local Area Networks (WLANs)

Student, Haryana Engineering College, Haryana, India 2 H.O.D (CSE), Haryana Engineering College, Haryana, India

How To Write A Transport Layer Protocol For Wireless Networks

An enhanced TCP mechanism Fast-TCP in IP networks with wireless links

Forced Low latency Handoff in Mobile Cellular Data Networks

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

Computer Networks. Chapter 5 Transport Protocols

Analysis of QoS parameters of VOIP calls over Wireless Local Area Networks

TCP Westwood for Wireless

AN IMPROVED SNOOP FOR TCP RENO AND TCP SACK IN WIRED-CUM- WIRELESS NETWORKS

TCP/IP In Cellular Networks

TRANSPORT LAYER AND SECURITY PROTOCOLS FOR AD HOC WIRELESS NETWORKS

TCP PACKET CONTROL FOR WIRELESS NETWORKS

Congestions and Control Mechanisms n Wired and Wireless Networks

SJBIT, Bangalore, KARNATAKA

TCP Over Wireless Network. Jinhua Zhu Jie Xu

Simulation-Based Comparisons of Solutions for TCP Packet Reordering in Wireless Network

A Survey: High Speed TCP Variants in Wireless Networks

CS268 Exam Solutions. 1) End-to-End (20 pts)

Access Control: Firewalls (1)

A Transport Protocol for Multimedia Wireless Sensor Networks

A Survey on Improving TCP Performance over Wireless Networks

A Seamless Handover Mechanism for IEEE e Broadband Wireless Access

A Comparison of TCP Performance over Three Routing Protocols for Mobile Ad Hoc Networks

Research of TCP ssthresh Dynamical Adjustment Algorithm Based on Available Bandwidth in Mixed Networks

Per-Flow Queuing Allot's Approach to Bandwidth Management

The Problem with TCP. Overcoming TCP s Drawbacks

Transport layer protocols for ad hoc networks

An Improved TCP Congestion Control Algorithm for Wireless Networks

Transport Layer Protocols

MOBILITY AND MOBILE NETWORK OPTIMIZATION

Behavior Analysis of TCP Traffic in Mobile Ad Hoc Network using Reactive Routing Protocols

Performance Evaluation of AODV, OLSR Routing Protocol in VOIP Over Ad Hoc

High Performance VPN Solutions Over Satellite Networks

Protocols and Architecture. Protocol Architecture.

EINDHOVEN UNIVERSITY OF TECHNOLOGY Department of Mathematics and Computer Science

1. The subnet must prevent additional packets from entering the congested region until those already present can be processed.

A Survey on Congestion Control Mechanisms for Performance Improvement of TCP

Stop And Wait. ACK received; transmit frame 2 CS 455 3

Improving TCP/IP Performance over Wireless Networks 1

Lecture 7 Multiple Access Protocols and Wireless

Reliable Adaptive Lightweight Multicast Protocol

Frequently Asked Questions

Improving the Performance of TCP Using Window Adjustment Procedure and Bandwidth Estimation

TCP/IP Networking for Wireless Systems. Integrated Communication Systems Group Ilmenau University of Technology

A study of Skype over IEEE networks: voice quality and bandwidth usage

Adaptive DCF of MAC for VoIP services using IEEE networks

Lecture 15: Congestion Control. CSE 123: Computer Networks Stefan Savage

CSMA/CA. Information Networks p. 1

Strategies. Addressing and Routing

Attenuation (amplitude of the wave loses strength thereby the signal power) Refraction Reflection Shadowing Scattering Diffraction

Supporting VoIP in IEEE Distributed WLANs

Improved Digital Media Delivery with Telestream HyperLaunch

Lecture 17: Wireless Networking"

Final for ECE374 05/06/13 Solution!!

Protocols. Packets. What's in an IP packet

A Study on TCP Performance over Mobile Ad Hoc Networks

An Experimental Study of Throughput for UDP and VoIP Traffic in IEEE b Networks

Overview : Computer Networking. Components of Integrated Services. Service Interfaces RSVP. Differentiated services

Computer Networks. Wireless and Mobile Networks. László Böszörményi Computer Networks Mobile - 1

ICOM : Computer Networks Chapter 6: The Transport Layer. By Dr Yi Qian Department of Electronic and Computer Engineering Fall 2006 UPRM

DSR: The Dynamic Source Routing Protocol for Multi-Hop Wireless Ad Hoc Networks

Names & Addresses. Names & Addresses. Hop-by-Hop Packet Forwarding. Longest-Prefix-Match Forwarding. Longest-Prefix-Match Forwarding

CS263: Wireless Communications and Sensor Networks

The Quality of Internet Service: AT&T s Global IP Network Performance Measurements

Wireless Networks. Reading: Sec5on 2.8. COS 461: Computer Networks Spring Mike Freedman

High-Level Data Link Control

A Passive Method for Estimating End-to-End TCP Packet Loss

Seamless Congestion Control over Wired and Wireless IEEE Networks

Outline. TCP connection setup/data transfer Computer Networking. TCP Reliability. Congestion sources and collapse. Congestion control basics

Advanced Computer Networks Project 2: File Transfer Application

Performance Evaluation for Mobility Management Protocols in Cellular IP and Hawaii Mobile Networks

SELECTIVE ACTIVE SCANNING FOR FAST HANDOFF IN WLAN USING SENSOR NETWORKS

Analysis of TCP Performance Over Asymmetric Wireless Links

VPN over Satellite A comparison of approaches by Richard McKinney and Russell Lambert

COMP 3331/9331: Computer Networks and Applications

Index. Common Packet Channel (CPCH) 25 Compression 265, , 288 header compression 284

Congestion Control Review Computer Networking. Resource Management Approaches. Traffic and Resource Management. What is congestion control?

First Midterm for ECE374 03/24/11 Solution!!

Visualizations and Correlations in Troubleshooting

Improving Throughput Performance of the IEEE MAC Layer Using Congestion Control Methods

Wireless LAN advantages. Wireless LAN. Wireless LAN disadvantages. Wireless LAN disadvantages WLAN:

Transcription:

Mobile Computing/ Mobile Networks 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 can be improved 0 0.8 1.0 1.15 2.8 sec Packet loss 12 Idle sender 6

01234 Sequence number(mbytes) S Window size (Kbytes) 20 40 60 W 0 Time(seconds) 10 20 30 10 20 30 TCP Performance (1-sec delay) Time(seconds) ------ cell crossing <Behavior of TCP sequence number> <Behavior of TCP congestion window> 13 Average throughput (Kbit/sec) 1600 1510 1400 TCP Performance 1100 No handoffsoverlapping cells rendezvous 0-second delay rendezvous 1-second delay 14 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 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

Average throughput 1600 1510 1490 1380 (Kbit/sec)100% No handoffsoverlapping cells rendezvous 0-second delay rendezvous 1-second delay TCP Performance Improvement 94% 93% 88% 86% 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 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 FH TCP connection BS is broken into MH 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 Fixed Host Base Station Mobile Host 23 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 39 37 End-to-end semantics violated ack may be delivered to sender, before data delivered to the receiver 40 40 38 36 FH BS 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