15-744: Computer Networking L-18 Mobile Transport and Applications.

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/IP Performance Over Wireless Networks Authors: Hari Balakrishnan, Srinivasan Seshan, Elan Amir and Randy H. Katz Presented by Sampoorani.
A feedback–based scheme for improving TCP performance in Ad Hoc Wireless Networks Group : Manish Mehta Aditya Barve.
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.
Hui Zhang, Fall Computer Networking TCP Enhancements.
CMPE 257 Spring CMPE 257: Wireless and Mobile Networking Spring 2005 E2E Protocols (point-to-point)
Performance Improvement of TCP in Wireless Cellular Network Based on Acknowledgement Control Osaka University Masahiro Miyoshi, Masashi Sugano, Masayuki.
Improving TCP/IP Performance Over Wireless Networks Authors: Hari Balakrishnan, Srinivasan Seshan, Elan Amir and Randy H. Katz Jerome Mitchell Resilient.
CMPE 257: Wireless and Mobile Networking
15-441: Computer Networking Lecture 24: Mobile and Wireless Networking.
Internet Networking Spring 2003 Tutorial 12 Limited Transmit RFC 3042 Long Thin Networks RFC 2757.
Three Challenges to Reliable Data Transport over Heterogeneous Wireless Networks Hari Balakrishnan Daedalus Group Department of Electrical Engineering.
Open Issues on TCP for Mobile Computing Ibrahim Matta Computer Science, Boston University Vassilis Tsaoussidis Computer Science, Northeastern University.
15-744: Computer Networking L-8 Wireless. L -8; © Srinivasan Seshan, Mobile Routing Mobile IP Ad-hoc network routing TCP on wireless links.
CS 268: Wireless Transport Protocols Kevin Lai Feb 13, 2002.
CS 552 Wireless TCP slides by B. Nath. Wireless TCP Packet loss in wireless networks may be due to –Bit errors –Handoffs –Congestion (rarely) –Reordering.
15-441: Computer Networking Lecture 19: Wireless, Ad-Hoc Networks As usual: thanks to Dave and Srini.
Transport Protocols for Wireless Networks CMPE Spring 2001 Marcelo M. de Carvalho.
TCP in Heterogeneous Network Md. Ehtesamul Haque # P.
15-441: Computer Networking Lecture 21: Wireless Networking.
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.
Chapter 6 SACK-TCP, TCP Extensions, Wireless TCP Professor Rick Han University of Colorado at Boulder
Wireless TCP February 22, 2002 © 2002 Yongguang Zhang CS 395T - Mobile Computing and Wireless Networks Department of Computer SciencesTHE UNIVERSITY OF.
L-5 Wireless 1. 2 Wireless Challenges Force us to rethink many assumptions Need to share airwaves rather than wire  Don’t know what hosts are involved.
CIS 725 Wireless networks. Low bandwidth High error rates.
CS640: Introduction to Computer Networks Aditya Akella Lecture 22 - Wireless Networking.
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.
Adaptive Transmission Protocols for the Future Internet Hari Balakrishnan MIT Lab for Computer Science
CS640: Introduction to Computer Networks Aditya Akella Lecture 22 - Wireless Networking.
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.
Lecture 11 Mobile Networks: TCP in Wireless Networks Wireless and Mobile Systems Design.
15-744: Computer Networking L-9 Wireless Acknowledgments: Lecture slides are from the graduate level Computer Networks course thought by Srinivasan Seshan.
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)
Reliable Data Transport over Heterogeneous Wireless Networks Hari Balakrishnan MIT Lab for Computer Science.
Transport over Wireless Networks Myungchul Kim
15-441: Computer Networking Lecture 23: Wireless Networking Copyright ©, Carnegie Mellon University.
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.
Wireless TCP. References r Hari Balakrishnan, Venkat Padmanabhan, Srinivasan Seshan and Randy H. Katz, " A Comparison of Mechanisms for Improving TCP.
Lecture 9 – More TCP & Congestion Control
TCP-Cognizant Adaptive Forward Error Correction in Wireless Networks
15-441: Computer Networking Lecture 23: Mobile and Wireless Networking.
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 6 TCP/IP Performance over Wireless Networks.
Improving TCP Performance over Wireless Networks
Challenges to Reliable Data Transport Over Heterogeneous Wireless Networks.
CS640: Introduction to Computer Networks Aditya Akella Lecture 15 TCP – III Reliability and Implementation Issues.
15-441: Computer Networking Lecture 24: Wireless Networking Copyright ©, Carnegie Mellon University.
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 Διδάσκων: Βασίλειος Σύρης Τμήμα: Πληροφορικής.
Computer Networking Lecture 18 – TCP over Wireless.
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 3 outline 3.1 transport-layer services
Wireless Transport.
TCP - Part II Relates to Lab 5. This is an extended module that covers TCP flow control, congestion control, and error control in TCP.
Hari Balakrishnan Daedalus Group
IT351: Mobile & Wireless Computing
TCP for Wireless Networks
Transport Layer: Congestion Control
Impact of transmission errors on TCP performance
Presentation transcript:

15-744: Computer Networking L-18 Mobile Transport and Applications

L -18; © Srinivasan Seshan, Mobile Issues Transport Applications Assigned reading [FGBA95] Adapting to Network and Client Variability via On-Demand Dynamic Distillation [BPSK97] A Comparison of Mechanism for Improving TCP Performance over Wireless Links

L -18; © Srinivasan Seshan, Wireless Challenges Force us to rethink many assumptions Need to share airwaves rather than wire Don’t know what hosts are involved Host may not be using same link technology Mobility Other characteristics of wireless Noisy  lots of losses Slow Interaction of multiple transmitters at receiver Collisions, capture, interference Multipath interference

L -18; © Srinivasan Seshan, Overview TCP Over Noisy Links Adapting Applications to Slow Links

L -18; © Srinivasan Seshan, TCP Problems Over Noisy Links Wireless links are inherently error-prone Fades, interference, attenuation Errors often happen in bursts TCP cannot distinguish between corruption and congestion TCP unnecessarily reduces window, resulting in low throughput and high latency Burst losses often result in timeouts Sender retransmission is the only option Inefficient use of bandwidth

L -18; © Srinivasan Seshan, Constraints & Requirements Incremental deployment Solution should not require modifications to fixed hosts If possible, avoid modifying mobile hosts Probably more data to mobile than from mobile Attempt to solve this first

L -18; © Srinivasan Seshan, Challenge #1: Wireless Bit-Errors Router Computer 2Computer Loss  Congestion Burst losses lead to coarse-grained timeouts Result: Low throughput Loss  Congestion Wireless

L -18; © Srinivasan Seshan, 2001 Performance Degradation Time (s) Sequence number (bytes) TCP Reno (280 Kbps) Best possible TCP with no errors (1.30 Mbps) 2 MB wide-area TCP transfer over 2 Mbps Lucent WaveLAN

L -18; © Srinivasan Seshan, Proposed Solutions End-to-end protocols Selective ACKs, Explicit loss notification Split-connection protocols Separate connections for wired path and wireless hop Reliable link-layer protocols Error-correcting codes Local retransmission

L -18; © Srinivasan Seshan, Approach Styles (End-to-End) Improve TCP implementations Not incrementally deployable Improve loss recovery (SACK, NewReno) Help it identify congestion (ELN, ECN) ACKs include flag indicating wireless loss Trick TCP into doing right thing  E.g. send extra dupacks What is SMART? DUPACK includes sequence of data packet that triggered it Wired linkWireless link

L -18; © Srinivasan Seshan, Approach Styles (Split Connection) Split connections Wireless connection need not be TCP Hard state at base station Complicates mobility Vulnerable to failures Violates end-to-end semantics Wired linkWireless link

L -18; © Srinivasan Seshan, 2001 Split-Connection Congestion Window Wired connection does not shrink congestion window But wireless connection times out often, causing sender to stall

L -18; © Srinivasan Seshan, Approach Styles (Link Layer) More aggressive local rexmit than TCP Bandwidth not wasted on wired links Adverse interactions with transport layer Timer interactions Interactions with fast retransmissions Large end-to-end round-trip time variation FEC does not work well with burst losses Wired linkWireless link ARQ/FEC

L -18; © Srinivasan Seshan, Hybrid Approach: Snoop Protocol Shield TCP sender from wireless vagaries Eliminate adverse interactions between protocol layers Congestion control only when congestion occurs The End-to-End Argument [SRC84] Preserve TCP/IP service model: end-to-end semantics Is connection splitting fundamentally important? Eliminate non-TCP protocol messages Is link-layer messaging fundamentally important? Fixed to mobile: transport-aware link protocol Mobile to fixed: link-aware transport protocol

L -18; © Srinivasan Seshan, Snoop Overview Modify base station to cache un-acked TCP packets … and perform local retransmissions Key ideas No transport level code in base station When node moves to different base station, state eventually recreated there

L -18; © Srinivasan Seshan, 2001 Snoop Protocol: CH to MH Correspondent Host Mobile Host Base Station Snoop agent: active interposition agent Snoops on TCP segments and ACKs Detects losses by duplicate ACKs and timers Suppresses duplicate ACKs from FH sender Snoop Agent

L -18; © Srinivasan Seshan, 2001 Snoop Protocol: CH to MH Correspondent Host Mobile Host Base Station Transfer of file from CH to MH Current window = 6 packets Snoop Agent

L -18; © Srinivasan Seshan, 2001 Snoop Protocol: CH to MH Correspondent Host Mobile Host Base Station Transfer begins Snoop Agent

L -18; © Srinivasan Seshan, 2001 Snoop Protocol: CH to MH Correspondent Host Mobile Host Base Station Snoop agent caches segments that pass by Snoop Agent

L -18; © Srinivasan Seshan, 2001 Snoop Protocol: CH to MH Correspondent Host Mobile Host Base Station Packet 1 is Lost Snoop Agent 23 1 Lost Packets 1

L -18; © Srinivasan Seshan, 2001 Snoop Protocol: CH to MH Correspondent Host Mobile Host Base Station Packet 1 is Lost Duplicate ACKs generated Snoop Agent 2 3 Lost Packets 1 4 ack 0

L -18; © Srinivasan Seshan, 2001 Snoop Protocol: CH to MH Correspondent Host Mobile Host Base Station Packet 1 is Lost Duplicate ACKs generated Packet 1 retransmitted from cache at higher priority Snoop Agent 2 3 Lost Packets 1 4 ack

L -18; © Srinivasan Seshan, 2001 Snoop Protocol: CH to MH Correspondent Host Mobile Host Base Station Duplicate ACKs suppressed Snoop Agent ack ack 0 X

L -18; © Srinivasan Seshan, 2001 Snoop Protocol: CH to MH Correspondent Host Mobile Host Base Station 56 Clean cache on new ACK Snoop Agent ack ack 4

L -18; © Srinivasan Seshan, 2001 Snoop Protocol: CH to MH Correspondent Host Mobile Host Base Station 6 Clean cache on new ACK Snoop Agent ack ack 5 ack 4

L -18; © Srinivasan Seshan, 2001 Snoop Protocol: CH to MH Correspondent Host Mobile Host Base Station Active soft state agent at base station Transport-aware reliable link protocol Preserves end-to-end semantics Snoop Agent ack ack 5

L -18; © Srinivasan Seshan, Snoop Data Processing Yes Packet arrives New pkt? No 1. Forward pkt 2. Reset local rexmit counter In-sequence? Yes 1. Cache packet 2. Forward to mobile 1. Mark as cong. loss 2. Forward pkt Congestion loss Common case Sender retransmission No

L -18; © Srinivasan Seshan, Snoop ACK Processing No Dup ack? No New ack? Yes 1. Free buffers 2. Update RTT estimate Yes Discard > threshold No Discard Retransmit Yes lost packet 3. Propagate ack to sender Common case Spurious ack Next pkt lost Later dup acks for lost packet Ack arrives (from mobile host)

L -18; © Srinivasan Seshan, 2001 Best possible TCP (1.30 Mbps) Snoop Performance Improvement Time (s) Sequence number (bytes) Snoop (1.11 Mbps) TCP Reno (280 Kbps) 2 MB wide-area TCP transfer over 2 Mbps Lucent WaveLAN

L -18; © Srinivasan Seshan, 2001 Benefits of TCP-Awareness 30-35% improvement for Snoop: LL congestion window is small (but no coarse timeouts occur) Connection bandwidth-delay product = 25 KB Suppressing duplicate acknowledgments and TCP-awareness leads to better utilization of link bandwidth and performance Time (sec) Congestion Window (bytes) LL (no duplicate ack suppression) Snoop

L -18; © Srinivasan Seshan, Performance: FH to MH 1/Bit-error Rate (1 error every x Kbits) Throughput (Mbps) Typical error rates 2 MB local-area TCP transfer over 2 Mbps Lucent WaveLAN Snoop+SACK and Snoop perform best Connection splitting not essential TCP SACK performance disappointing TCP Reno SPLIT TCP SACK SPLIT-SACK Snoop Snoop+SACK

L -18; © Srinivasan Seshan, Other Issues What about mobility? What about mobile-to-fixed communication?

L -18; © Srinivasan Seshan, Handling Mobility Correspondent Host Base Station Mobile Host Base Station Router Send packets to multiple base stations

L -18; © Srinivasan Seshan, Handling Mobility Correspondent Host Base Station Mobile Host Base Station Router Resend missed packets from Snoop cache on handoff

L -18; © Srinivasan Seshan, 2001 Snoop Protocol: MH to CH Mobile Host Correspondent Host Base Station 0 2 Caching and retransmission will not work Losses occur before packet reaches BS Congestion losses should not be hidden Solution: Explicit Loss Notifications (ELN) In-band message to TCP sender

L -18; © Srinivasan Seshan, 2001 Snoop Protocol: MH to CH Mobile Host Base Station MH begins transfer to CH Correspondent Host

L -18; © Srinivasan Seshan, 2001 Snoop Protocol: MH to CH Mobile Host Base Station Packet 1 lost on wireless link Correspondent Host

L -18; © Srinivasan Seshan, 2001 Snoop Protocol: MH to CH Mobile Host Receiver Base Station Add 1 to list of holes after checking for congestion 4 3 Lost Packets 1 1 ack 0

L -18; © Srinivasan Seshan, 2001 Snoop Protocol: MH to CH Mobile Host Base Station Duplicate ACKs sent 4 3 Lost Packets 1 1 ack 0 Correspondent Host

L -18; © Srinivasan Seshan, 2001 Snoop Protocol: MH to CH Mobile Host Base Station ELN information added to duplicate ACKs 4 3 Lost Packets 1 1 ack 0 ack 0 ELN ack 0 Correspondent Host

L -18; © Srinivasan Seshan, 2001 Snoop Protocol: MH to CH Mobile Host Base Station ELN information on duplicate ACKs Retransmit on Packet 1 on dup ACK + ELN No congestion control now 4 3 Lost Packets ack 0 ELN ack 0 Correspondent Host

L -18; © Srinivasan Seshan, 2001 Snoop Protocol: MH to CH Mobile Host Receiver Base Station Clean holes on new ACK Link-aware transport decouples congestion control from loss recovery Technique generalizes nicely to wireless transit links 4 3 ack 6 1

L -18; © Srinivasan Seshan, Overview TCP Over Noisy Links Adapting Applications to Slow Links

L -18; © Srinivasan Seshan, Adapting Applications Applications make key assumptions Hardware variation E.g. how big is screen? Software variation E.g. is there a postscript decoder? Network variation E.g. how fast is the network? Reason why we are discussing in this class Basic idea – distillation Transcode object to meet needs of mobile host

L -18; © Srinivasan Seshan, Transcoding Example Generate reduced quality variant of Web page at proxy Must predict how much size reduction will result from transcoding How long to transcode? Send appropriate reduced-size variant Target response time?

L -18; © Srinivasan Seshan, Source Adaptation Can also just have source provide different versions Common solution today No waiting for transcoding Full version not sent across network Can’t handle fine grain adaptation

L -18; © Srinivasan Seshan, Next Lecture: Active Networks Active networks Active services Assigned reading [W99] Active network vision and reality: lessons from a capsule-based system [AMK98] An Active Service Framework and its Application to Real Time Multimedia Transcoding