Hari Balakrishnan Daedalus Group

Slides:



Advertisements
Similar presentations
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science TCP over Wireless Networks CS 653, Fall 2010.
Advertisements

A Comparison of Mechanisms for Improving TCP Performance over Wireless Links Published In IEEE/ACM TRANSACTIONS ON NETWORKING, VOL.5 NO.6,DECEMBER 1997.
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.
A study of Cross layer work of University of Trento folk A ResiliNet Group Presentation Sarvesh Kumar Varatharajan.
Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross- Layer Information Awareness Xin Yu Department Of Computer Science New York University,
Congestion Control Created by M Bateman, A Ruddle & C Allison As part of the TCP View project.
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.
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 10 TCP/IP Performance over Asymmetric Networks.
Quality of Service Issues in Multi-Service Wireless Internet Links George Xylomenos and George C. Polyzos Department of Informatics Athens University of.
CMPE 257: Wireless and Mobile 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.
CS 268: Wireless Transport Protocols Kevin Lai Feb 13, 2002.
Transport Protocols for Wireless Networks CMPE Spring 2001 Marcelo M. de Carvalho.
TCP in Heterogeneous Network Md. Ehtesamul Haque # P.
Reliable Transport Layers in Wireless Networks Mark Perillo Electrical and Computer Engineering.
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.
Wireless TCP February 22, 2002 © 2002 Yongguang Zhang CS 395T - Mobile Computing and Wireless Networks Department of Computer SciencesTHE UNIVERSITY OF.
How to get good TCP performance over asymmetric networks Hari Balakrishnan MIT Lab for Computer Science With:
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
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.
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)
Obile etworking M-TCP : TCP for Mobile Cellular Networks Kevin Brown and Suresh Singh Department of Computer Science Univ. of South Carolina.
Reliable Data Transport over Heterogeneous Wireless Networks Hari Balakrishnan MIT Lab for Computer Science.
Transport over Wireless Networks Myungchul Kim
The Future of Transport Hari Balakrishnan LCS and EECS Massachusetts Institute of Technology
Wireless TCP. References r Hari Balakrishnan, Venkat Padmanabhan, Srinivasan Seshan and Randy H. Katz, " A Comparison of Mechanisms for Improving TCP.
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.
15-744: Computer Networking L-18 Mobile Transport and Applications.
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 Διδάσκων: Βασίλειος Σύρης Τμήμα: Πληροφορικής.
Transmission Control Protocol (TCP) TCP Flow Control and Congestion Control CS 60008: Internet Architecture and Protocols Department of CSE, IIT Kharagpur.
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.
Satellite TCP Lecture 19 04/10/02.
Introduction to Congestion Control
Projects & Wireless Transport
UNIT-V Transport Layer protocols for Ad Hoc Wireless Networks
TCP Vegas: New Techniques for Congestion Detection and Avoidance
Wireless Transport.
Transport Protocols over Circuits/VCs
Ad-hoc Transport Layer Protocol (ATCP)
CS268: Beyond TCP Congestion Control
The Future of Transport
So far, On the networking side, we looked at mechanisms to links hosts using direct linked networks and then forming a network of these networks. We introduced.
IT351: Mobile & Wireless Computing
TCP in Wireless Ad-hoc Networks
Jiyong Park Seoul National University, Korea
Mobile Communications Chapter 9: Mobile Transport Layer
TCP for Wireless Networks
Review of Internet Protocols Transport Layer
Impact of transmission errors on TCP performance
Presentation transcript:

Three Challenges to Reliable Data Transport over Heterogeneous Wireless Networks Hari Balakrishnan Daedalus Group Department of Electrical Engineering and Computer Science University of California at Berkeley http://daedalus.cs.berkeley.edu http://www.cs.berkeley.edu/~hari

Protocol Design for the Internet Internet invariants Heterogeneity Large scale Adaptation is crucial Protocols Applications Importance of incremental deployment To design and implement adaptive protocols and applications for the Internet

Goal: To make wireless devices first-class Internet citizens Motivation Rapid growth Cellular phones Sources: Ericsson, Inc. Matthew Gray, MIT # of units/hosts (millions) Internet hosts Year But wireless data is floundering... Enormous heterogeneity Poor performance Goal: To make wireless devices first-class Internet citizens

Wireless Heterogeneity Cellular Digital Packet Data (CDPD) Metricom Ricochet Lucent WaveLAN IBM Infrared In-Building Campus-Area Packet Radio Metro-Area Regional-Area

Goal: To bridge the gap between perceived and rated performance Wireless Performance Goal: To bridge the gap between perceived and rated performance

Methodology Implement best solutions on real networks Evaluate performance Deploy real networks Measure performance Identify and analyze problems Simulation (UCB/LBNL/VINT ns network simulator with several enhancements) Design solutions Evaluate solutions in simulation

Structure TCP Background Challenge #1: wireless bit-errors Solution: Berkeley Snoop Protocol Challenge #2: asymmetry and latency variation Solution: TCP mods + link-level schemes Challenge #3: low channel bandwidths Solution: Enhanced TCP loss recovery Conclusions

Internet Service Model Router A best-effort network: losses & reordering can occur Need reliable data transport protocols Web, file transfer, remote terminal, e-mail,... Functions Efficient loss recovery Robust congestion and flow control

Transmission Control Protocol (TCP) 6 7 5 4 3 2 1 4 2 3 Cumulative Acknowledgments (ACK) Internet standard for reliable transport 95% of all bytes, 90% of all packets (Thompson, et al.) Flexible protocol framework New algorithms within this protocol framework Incremental deployment of modifications

TCP Overview 1. Loss recovery 2. Congestion control [Jacobson88] 7 8 6 10 9 5 4 3 1 1 1 lost 2 1 1 Timeouts based on mean round-trip time (RTT) and deviation Fast retransmissions based on duplicate ACKs 2. Congestion control [Jacobson88] Window-based algorithm to determine sustainable rate Upon congestion, reduce window “ACK clocking” sends data smoothly

Wireless Transport: The Three Challenges Preponderance of wireless bit-errors Corruption vs. congestion losses Asymmetric effects Bandwidth asymmetry Latency variability Low channel bandwidths Small windows

Challenge #1: Wireless Bit-Errors Internet Router Loss  Congestion 2 3 1 Loss ==> Congestion Burst losses lead to coarse-grained timeouts Result: Low throughput [CI95]

Performance Degradation Best possible TCP with no errors (1.30 Mbps) TCP Reno (280 Kbps) Sequence number (bytes) Time (s) 2 MB wide-area TCP transfer over 2 Mbps Lucent WaveLAN

Conventional Approaches End-to-end Conventional Approaches Wired connection Wireless connection Split connections [YB94,BB95] Wireless connection need not be TCP Link-layer protocols [LC83] Base Station Adverse interactions with transport layer Timer interactions [DCY93] Interactions with fast retransmissions Large end-to-end round-trip time variation ARQ/FEC Hard state at base station Complicates mobility Vulnerable to failures Violates end-to-end semantics

Our Solution: Berkeley 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

Snoop Protocol: FH to MH 4 3 2 1 Snoop agent 6 5 Base Station 1 FH Sender Snoop agent: active interposition agent Snoops on TCP segments and ACKs Detects losses by duplicate ACKs and timers Suppresses duplicate ACKs from FH sender Cross-layer protocol design: snoop agent state is soft Mobile Host

Snoop Protocol: FH to MH Snoop Agent 1 Base Station FH Sender Mobile Host

Snoop Protocol: FH to MH 5 4 1 3 2 Base Station FH Sender Mobile Host

Snoop Protocol: FH to MH 4 3 2 1 6 5 Base Station 1 FH Sender Mobile Host

Snoop Protocol: FH to MH 6 4 3 2 1 5 Base Station 3 Sender 2 2 1 Mobile Host

Snoop Protocol: FH to MH 5 4 3 2 1 6 Base Station 4 3 Sender 2 Duplicate ACK ack 0 Mobile Host 1

Snoop Protocol: FH to MH 6 5 4 3 2 1 6 Base Station 5 1 Retransmit from cache at higher priority Sender ack 0 4 3 2 ack 0 ack 0 Mobile Host 1

Snoop Protocol: FH to MH 5 6 4 3 2 1 Base Station 5 Sender ack 0 Suppress Duplicate Acks 1 4 3 2 ack 4 Mobile Host 1

Snoop Protocol: FH to MH 5 6 Clean cache on new ACK Base Station 6 Sender ack 4 5 1 4 3 2 ack 5

Snoop Protocol: FH to MH 6 Base Station Sender ack 4 ack 5 6 1 5 4 3 2 ack 6 Mobile Host

Snoop Protocol: FH to MH 7 9 8 Base Station Sender ack 5 ack 6 6 1 5 4 3 2 Active soft state agent at base station Transport-aware reliable link protocol Preserves end-to-end semantics Mobile Host

Snoop Protocol: MH to FH Base Station 3 2 1 2 Receiver Caching and retransmission will not work Losses occur before packet reaches BS Congestion losses should not be hidden Sender Solution: Explicit Loss Notifications (ELN) In-band message to TCP sender General solution framework

Snoop Protocol: MH to FH 1 Receiver Base Station Sender

Snoop Protocol: MH to FH 3 2 1 2 Receiver Base Station Sender

Snoop Protocol: MH to FH Add 1 to list of holes after checking for congestion 1 2 5 3 4 Receiver ack 0 Base Station Sender 1

Snoop Protocol: MH to FH 6 1 5 4 Receiver ack 0 ack 0 Base Station 3 2 ack 0 Duplicate ACKs Sender 1

Snoop Protocol: MH to FH ELN marking 1 6 Receiver ack 0 ack 0 ack 0 Base Station 5 4 ack 0 3 2 ELN information on duplicate ACKs ack 0 Sender 1

Snoop Protocol: MH to FH 1 Retransmit on dup ACK + ELN No congestion control now 1 Receiver ack 0 ack 0 ack 0 Base Station 6 5 4 ack 0 3 2 ELN information on duplicate ACKs Sender ack 0 1

Snoop Protocol: MH to FH Clean holes on new ACK Receiver ack 6 Base Station 1 6 5 4 3 2 Sender Link-aware transport decouples congestion control from loss recovery Technique generalizes nicely to wireless transit links

End-to-End Enhancements ack 0 [sack 2] ack 0 [sack 2,4] Selective ACKs 2 4 End-to-End Enhancements ELN to decouple congestion from loss recovery Selective ACKS (SACK) for burst losses [FF96,KM96,MMFR96,B96] Snoop protocol: no changes to fixed hosts on the Internet

Snoop Performance Improvement Best possible TCP (1.30 Mbps) Snoop (1.11 Mbps) TCP Reno (280 Kbps) Sequence number (bytes) Time (s) Time (s) 2 MB wide-area TCP transfer over 2 Mbps Lucent WaveLAN

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

Real-World Web Performance # of downloads in 1000 s Empirical wireless error model from real traces of Reinas wireless network, UC Santa Cruz Snoop performance improvement: 3X-6X over Reno & SACK Empirical Web workload model from real traces [Mah97]

Benefits of TCP-Awareness Snoop 20000 30000 40000 50000 60000 10000 Congestion Window (bytes) LL (no duplicate ack suppression) 10 20 30 40 50 60 70 80 Time (sec) 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

Snoop Protocol Status BSD/OS implementation Integrated with Daedalus handoff software [SBK97] Version 1 released 1996; Version 2 in beta Daily production use at Berkeley and UC Santa Cruz Several hundred downloads Ports to Linux, FreeBSD, NetBSD Papers: MOBICOM 95, SIGCOMM 96, Trans. on Networking (Dec. 97)

Summary: Wireless Bit-Errors Problem: wireless corruption mistaken for congestion Solution: Berkeley Snoop Protocol General lessons Lightweight soft-state agent in network infrastructure Guided by the End-to-End Argument Fully conforms to the IP service model Cross-layer protocol design & optimizations Transport Network Link Physical Link-aware transport (ELN) Transport-aware link (Snoop agent at BS)

Challenge #2: Asymmetric Effects Asymmetric access technologies ADSL, (wireless) cable modems, DBS, etc. Low-bandwidth ACK channel [LM97, KVR98] Packet radio networks Metricom’s Ricochet, CDPD, etc. Adverse interactions between data and ACK flow Problem: Imperfect ACK feedback degrades TCP performance

The Character of Asymmetry Router Forward Server ACK Client Router The network and traffic characteristics in one direction significantly affect performance in the other Bandwidth: 10-1000 times more in the forward direction Latency: Variability due to MAC protocol interactions Packet loss: Higher loss- or error-rate in one direction

Latency Asymmetry: Packet Radio Networks Fixed Host RTS Ethernet Radios FH PT PT CTS Mobile Host ER MH PT Internet GW ER PT Modem PR PT PT PT ER Poletop Radios Half-duplex radios Synchronization before communication

Problem: Large and variable communication latency Packet Radio Networks Fixed Host Data Data Ethernet Radios FH PT PT Ack Mobile Host ER No response RTS MH PT Internet GW ER PT Modem PR PT Exponential backoff PT PT ER Poletop Radios Problem: Large and variable communication latency

Problem: Large Round-Trip Time Variations Example: Metricom Ricochet Wireless Network Fast retransmissions Timeouts Mean rtt = 2.45s, std deviation = 1.5s  long timeout! Long idle periods after multiple losses (~ 20 Kbps) In contrast, UDP throughput = 50-64 Kbps ACK flow affects data latency

General solution approach for asymmetric situations Solutions Problems arise because of imperfections in the ACK feedback Reduce frequency of acks ACK Filtering (AF) ACK Congestion Control (ACC) Handle infrequent acks Sender Adaptation (SA) ACK Reconstruction (AR) General solution approach for asymmetric situations

ACK Filtering (AF) Forward Router Router Server Client 1 3 5 5 7 7 9 11 13 Purge all redundant, cumulative ACKs from constrained reverse queue Used in conjunction with sender adaptation or ACK reconstruction

Sender Adaptation (SA) Infrequent ACKs cause slow window growth Sender tends to be bursty Forward Router Client Server 1 9 15 1. cwnd += 8 cwnd += 8/cwnd Increment window by amount of data ack’d 2. 19 20 21 22 . . . Regulation: pace packets out at rate estimated by cwnd/srtt This reduces burstiness

ACK Reconstruction (AR) Forward Client 1 1 9 Server 11 13 3 5 7 3 5 5 7 7 9 ACK reconstructor ACK filter Regenerates ACKs at other end of reverse channel Shields sender from large gaps in ack sequence AR rate determined by input ACK rate target ACK spacing

Performance: Single Transfer AF reduces chances that peer radio is busy MAC backoffs less frequent Round-trip std deviation reduces from 1.5 s to 0.6 s Throughput (Kbps) AF: 20-35% throughput improvement compared to Reno

Performance: Concurrent Transfers Metrics: utilization and fairness [Jain90] Simultaneous connections over 2-hop network Performance more predictable and consistent with AF Unpredictable performance caused by long timeouts AF: 25% improvement in fairness over Reno

Summary: Asymmetric Effects General definition of asymmetry Problem: ACK channel impacts TCP performance Classification of types of asymmetry Bandwidth asymmetry due to technologies Latency asymmetry due to MAC interactions General solutions: Two-pronged approach Reduce frequency of ACKs (AF, ACC) Handle infrequent ACKs (SA, AR) Status BSD/OS 3.0 implementation Papers: MOBICOM 97, ACM Mobile Networks 98

Summary Three fundamental challenges to efficient reliable data transport over wireless networks Wireless bit-errors: Berkeley Snoop protocol (local recovery + ELN) Asymmetric effects: Two-pronged approach with end-to-end and link schemes (AF, ACC, SA, AR) Low channel bandwidths: Enhanced TCP loss recovery Lessons for protocol design Cross-layer protocol optimizations: Snoop, ELN, AF Soft-state network agents: Snoop, AR Data-driven loss recovery: Snoop, Enhanced TCP loss recovery