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

Similar documents
The Effects of Asymmetry on TCP Performance

CMPE 257: Wireless and Mobile Networking

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

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

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

ECS-087: Mobile Computing

TCP in Asymmetric Environments

CIS 632 / EEC 687 Mobile Computing

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

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

TCP OVER AD HOC NETWORK

CE693: Adv. Computer Networking

Improving Reliable Transport and Handoff Performance in Cellular Wireless Networks

TCP over wireless links

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

Wireless TCP Performance Issues

Mobile Transport Layer

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

Mobile Communications Chapter 9: Mobile Transport Layer

Mobile Communications Chapter 9: Mobile Transport Layer

Advanced Computer Networks. Wireless TCP

Outline 9.2. TCP for 2.5G/3G wireless

CSE 4215/5431: Mobile Communications Winter Suprakash Datta

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

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

TRANSMISSION CONTROL PROTOCOL

TRANSMISSION CONTROL PROTOCOL

CS268: Beyond TCP Congestion Control

ICE 1332/0715 Mobile Computing (Summer, 2008)

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

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

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

Transport layer issues

A Comparison of Mechanisms for Improving TCP Performance over Wireless Links

Chapter 12 Network Protocols

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

Transmission Control Protocol. ITS 413 Internet Technologies and Applications

Improving Reliable Transport and Handoff Performance in Cellular Wireless Networks 1

UNIT IV -- TRANSPORT LAYER

Approaches of Wireless TCP Enhancement and A New Proposal Based on Congestion Coherence

Addressing the Challenges of Web Data Transport

TCP PERFORMANCE FOR FUTURE IP-BASED WIRELESS NETWORKS

CS 5520/ECE 5590NA: Network Architecture I Spring Lecture 13: UDP and TCP

Page 1. Review: Internet Protocol Stack. Transport Layer Services. Design Issue EEC173B/ECS152C. Review: TCP

Recap. TCP connection setup/teardown Sliding window, flow control Retransmission timeouts Fairness, max-min fairness AIMD achieves max-min fairness

PERFORMANCE ANALYSIS OF SNOOP TCP WITH FREEZING AGENT OVER CDMA2000 NETWORKS

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

TCP Congestion Control

TCP congestion control:

Page 1. Review: Internet Protocol Stack. Transport Layer Services EEC173B/ECS152C. Review: TCP. Transport Layer: Connectionless Service

Understanding TCP Parallelization. Qiang Fu. TCP Performance Issues TCP Enhancements TCP Parallelization (research areas of interest)

ADVANCED COMPUTER NETWORKS

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

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

Evaluation of a Queue Management Method for TCP Communications over Multi-hop Wireless Links

Improving reliable transport and handoff performance in cellular wireless networks 3

Chapter 09 Network Protocols

6.033 Computer System Engineering

Differentiating Congestion vs. Random Loss: A Method for Improving TCP Performance over Wireless Links

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

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

IIP Wireless. Presentation Outline

image 3.8 KB Figure 1.6: Example Web Page

On Inter-layer Assumptions

Congestions and Control Mechanisms in Wired and Wireless Networks

Congestion Control 3/16/09

Multiple unconnected networks

Lecture 4: Congestion Control

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

THE increasing popularity of wireless networks indicates

Issues related to TCP performance in heterogeneous networks

Communications Software. CSE 123b. CSE 123b. Spring Lecture 3: Reliable Communications. Stefan Savage. Some slides couresty David Wetherall

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

Computer Communication Networks Midterm Review

6.033 Spring 2015 Lecture #11: Transport Layer Congestion Control Hari Balakrishnan Scribed by Qian Long

Investigating the Use of Synchronized Clocks in TCP Congestion Control

Transport Layer (Congestion Control)

Congestion control in TCP

CSE/EE 461 Lecture 16 TCP Congestion Control. TCP Congestion Control

Congestion Control. Daniel Zappala. CS 460 Computer Networking Brigham Young University

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

More wireless: Sensor networks and TCP on mobile hosts

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

Congestion. Can t sustain input rate > output rate Issues: - Avoid congestion - Control congestion - Prioritize who gets limited resources

Congestion Collapse in the 1980s

Investigations on TCP Behavior during Handoff

Transport Protocols and TCP: Review

Cross-layer TCP Performance Analysis in IEEE Vehicular Environments

under grant CNS This work was supported in part by the National Science Foundation (NSF)

Flow and Congestion Control Marcos Vieira

CS321: Computer Networks Congestion Control in TCP

Hybrid Control and Switched Systems. Lecture #17 Hybrid Systems Modeling of Communication Networks

8. TCP Congestion Control

Communication Networks

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

TCP Performance. EE 122: Intro to Communication Networks. Fall 2006 (MW 4-5:30 in Donner 155) Vern Paxson TAs: Dilip Antony Joseph and Sukun Kim

Chapter III: Transport Layer

Exercises TCP/IP Networking With Solutions

CS 457 Multimedia Applications. Fall 2014

CSCI Topics: Internet Programming Fall 2008

Transcription:

EEC73B/ECSC, Spring 9 Reliable Data over Wireless s Problems with TCP Snoop Protocol Metricom Ricochet Wireless Heterogeneity Lucent WaveLAN Regional-Area Metro-Area Cellular Digital IBM Infrared Packet Data (CDPD) Campus-Area Packet Radio * Acknowledgment: Slides from Prof. Hari Balakrishnan & Prof. Badri Nath In-Building Wireless Performance Data Over Wireless Technology IBM Infrared Lucent WaveLAN Metricom Ricochet Hybrid wireless cable Rated Bandwidth Typical TCP Throughput Mbps -8 Kbps Mbps Kbps-. Mbps Kbps -3 Kbps Mbps.-3. Mbps Packet loss in wireless networks may be due to Bit errors Handoffs Congestion (rarely) Reordering (rarely, except in mobile ad hoc networks) Goal: To bridge the gap between perceived and rated performance

Poor Interaction with TCP TCP assumes loss is due to congestion or reordering Wireless loss is not due to congestion TCP cannot distinguish between link loss and congestion loss => result in lower throughput Cumulative ACK not good with bursty losses Missing data detected one segment at a time Duplicate ACKs take a while to cause retransmission TCP Reno may suffer coarse time-out -> slow start! TCP New Reno still only retransmit one packet per RTT Non-congestion loss indicated by DUP ACKs Fast retransmit & recovery (congestion window is halved) Non-congestion loss indicated by timeout Enter slow start (Start from CongWin = ) Other Problems in Wireless s (#) Burst errors due to poor signal strength or mobility (handoff) More than one packet lost in TCP window (#) Asymmetric effects Bandwidth asymmetry & latency variability (#3) Low channel bandwidth (#4) Delay is often very high RTT quite long (tunneling, satellite) True in telephone networks providing data services that deploy fixed gateways (non-optimal routes) Challenge #: Wireless Bit-Errors Performance Degradation Internet Loss Congestion 3 Burst losses lead to coarse-grained timeouts Loss ==> Congestion Sequence number (bytes).e+.e+.e+.e+ Best possible TCP with no errors (.3 Mbps) TCP Reno (8 Kbps) Result: Low throughput.e+ 3 4 Time (s) MB wide-area TCP transfer over Mbps Lucent WaveLAN

Approaches Level Retransmission Question: how to reconcile between the two in an end-to-end transport mechanism? layer enhancement (FEC, retransmission) [LR99] R. Ludwig and B. Rathony, " Layer Enhancements for TCP/IP over GSM," IEEE Proc. Infocom, pp. 4-4, 999. Layer [BB9] A. Bakre and B. R. Badrinath, I-TCP: Indirect TCP for mobile hosts, Proc. th International Conference on Distributed Computing Systems, Vancouver, Canada, June 99, pp. 3-43. TCP-aware -layer aware [BSK9] Snoop protocol Explicit Loss Notification Schemes Application TCP connection Application Retransmit (ARQ/FEC) Wireless Application Level Retransmission: Issues -level Solution How many times to retransmit at the link layer before giving up? How much time is required for a link layer retransmission? Only beneficial if TCP timeout large enough to tolerate additional delays due to link level retransmission What triggers link level retransmission? Adverse interaction with transport layer Timer interaction Interaction with fast retransmit Large variation in RTT Application FH Fixed Application BS Per connection State Application MH Wireless

I-TCP Split end-to-end connection into two independent flows One connection for the wired part, and another for the wireless part Wireless part of the TCP can be optimized for wireless Different flow/error control Local recovery of errors: faster recovery due to shorter RTT on wireless link On wireless, loss -> try harder On fixed, loss -> backoff I-TCP Disadvantages End-to-end semantics violated ACK may be delivered to sender before data delivered to receiver Base station (BS) retains hard state; its failure can result in loss of data (unreliability) BS retains per-connection state -> not scalable Buffered packets at BS must be transferred to new BS Buffer space needed Hand-off latency increases due to state transfer Extra copying of data at BS Snoop [BSK9]: TCP-aware, -aware Snoop Protocol Application TCP connection Application Retransmit Application Uses the same idea of local recovery as I-TCP Shield TCP sender from wireless vagaries Eliminate adverse interactions between protocol layers Congestion control only when congestion occurs Preserve current TCP/IP service model Maintain end-to-end semantics FH BS MH Fixed Wireless Fixed to mobile: transport-aware link protocol Mobile to fixed: link-aware transport protocol

Snoop Features Snoop monitors every packet that passes through Buffers packets from FH to MH as yet unacknowledged Packets flushed when an ACK is received When DUP ACK is received, retransmit from buffer Hide wireless loss from sender Suppress DUP ACKs => prevent fast retransmit can still timeout Snoop state is soft state at base station, instead of hard state Handoff -> new snoop state is built at new BS Loss of soft state affects performance, but not correctness FH Snoop 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 4 3 Snoop agent Snoop Agent 4 3 FH FH

4 3 4 3 FH 3 4 3 4 3 Base Station 4 3 ack Retransmit from cache at higher priority Duplicate ACK ack ack ack 4 3

4 3 Clean cache on new ACK ack Suppress Duplicate Acks ack 4 3 ack ack 4 3 9 8 7 ack ack 4 3 ack ack 7 4 3 ack 7 Active soft state agent at base station -aware reliable link protocol Preserves end-to-end semantics

Snoop Protocol: MH to FH 3 Caching and retransmission will not work Losses occur before packet reaches BS Losses should not be hidden Receiver Snoop Protocol: MH to FH Solution #: Negative ACKs (NACKs) NACK from BS to MH on wireless loss Solution #: Explicit Loss Notifications (ELN) In-band message to TCP sender General solution framework Snoop Protocol: MH to FH Snoop Protocol: MH to FH Receiver 3 Receiver

Snoop Protocol: MH to FH Add to list of holes after checking for congestion 4 3 Snoop Protocol: MH to FH 4 ack Receiver Receiver ack ack ack 3 Duplicate ACKs Snoop Protocol: MH to FH Snoop Protocol: MH to FH ack ELN marking ack ELN information on duplicate ACKs ack ack Receiver ack 4 3 Retransmit on dup ACK + ELN No congestion control now ack ack ack ELN information on duplicate ACKs ack ack Receiver 4 3

Snoop Protocol: MH to FH End-to-End Enhancements Clean holes on new ACK ack 7 Receiver 4 3 -aware transport decouples congestion control from loss recovery. Technique generalizes nicely to wireless transit links Selective ACKs ack [sack ] ack [sack,4] Decouple congestion control from loss recovery Explicit Loss Notification (ELN) Burst losses Selective ACKs (SACKs) [FF9,KM9,MMFR9,B9] Snoop protocol: no changes to fixed hosts on the Internet 4 Sequence number (bytes).e+.e+.e+.e+.e+ Snoop Performance Improvement Best possible TCP (.3 Mbps) Snoop (. Mbps) TCP Reno (8 Kbps) 3 4 Time (s) MB wide-area TCP transfer over Mbps Lucent WaveLAN Throughput (Mbps). Performance: FH to MH.4 Snoop+SACK. Snoop Typical error rates SPLIT-SACK.8 TCP SACK SPLIT. TCP Reno.4 Snoop+SACK and Snoop perform best. Connection splitting not essential TCP SACK performance disappointing /Bit-error Rate ( error every x Kbits) MB local-area TCP transfer over Mbps Lucent WaveLAN

# of downloads in s 3 Real-World Web Performance Snoop performance improvement: 3X-X over Reno & SACK Empirical wireless error model from real traces of Reinas wireless network, UC Santa Cruz Empirical Web workload model from real traces Summary: Wireless Bit-Errors Problem: Wireless corruption mistaken for congestion Solution: Snoop Protocol General lessons Lightweight soft-state agent in network infrastructure Fully conforms to the IP service model Automatic instantiation and cleanup Cross-layer protocol design & optimizations conn. conns. 3 conns. 4 conns. P-HTTP conn. conns. 3 conns. 4 conns. P-HTTP Reno 7 8 9 SACK 79 3 77 7 98 Snoop 849 97 33 8 3 Reno SACK Snoop -aware link (Snoop agent at BS) -aware transport (ELN) Snoop Protocol: Disadvantages layer at base station needs to be TCP-aware Not useful if TCP headers are encrypted (IPsec) Cannot be used if TCP data and TCP ACKs traverse different paths Both do not go through the same base station, e.g., satellite links Other Problems in Wireless s (#) Burst errors due to poor signal strength or mobility (handoff) More than one packet lost in TCP window (#) Asymmetric effects Bandwidth asymmetry & latency variability (#3) Low channel bandwidth, low throughput (#4) Delay is often very high RTT quite long (tunneling, satellite) True in telephone networks providing data services that deploy fixed gateways (non-optimal routes)

Challenge #: 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 Server The Character of Asymmetry Forward ACK The network and traffic characteristics in one direction significantly affect performance in the other Bandwidth: - times more in the forward direction Latency: Variability due to MAC protocol interactions Packet loss: Higher loss- or error-rate in one direction Client Bandwidth Asymmetry Problems Data Data ACK Server. Acks arrive slowly (large buffer). Acks are dropped (small buffer) 3. Acks are queued behind data packets Forward Bottleneck Data 9 3 4 7 4 7 3 Data Data Ack flow Data 8 Client Fixed Host FH Internet Latency Asymmetry: Packet Radio s GW Ethernet Radios ER ER ER Half-duplex radios Synchronization before communication RTS CTS Poletop Radios MH Modem PR

Fixed Host FH Internet Packet Radio s GW Ethernet Radios ER ER ER Data Ack No response Poletop Radios RTS Problem: Large and variable communication latency MH Modem PR Exponential backoff Sequence Number (bytes) Problem: Large Round-Trip Time Variations Example: Metricom Ricochet Wireless 3 Sequence Number trace Fast retransmissions Timeouts 4 8 Time (sec) RTT Estimate (msec) 4 3 RTT Estimate 3 7 9 3 7 9 Sample number Mean rtt =.4s, std deviation =.s long timeout! Long idle periods after multiple losses (~ Kbps) In contrast, UDP throughput = -4 Kbps ACK flow affects data latency Solutions Problems arise because of imperfections in the ACK feedback Reduce frequency of acks ACK Filtering (AF) ACK Congestion Control (ACC) Handle infrequent acks Adaptation (SA) ACK Reconstruction (AR) Server ACK Filtering (AF) Forward 3 7 9 Purge all redundant, cumulative ACKs from constrained reverse queue 3 Used in conjunction with sender adaptation or ACK reconstruction Client General solution approach for asymmetric situations

ACK Congestion Control (ACC) Data Data Data Forward Data 9 Adaptation (SA) Infrequent ACKs cause slow window growth tends to be bursty Forward 8 Server Delack factor = 4 8 Client Server 9 Client Adaptive extension of TCP delayed ACKs based on congestion feedback from router or sender. cwnd += 8 cwnd += 8/cwnd Increment window by amount of data ack d. 9... Regulation: pace packets out at rate estimated by cwnd/srtt This reduces burstiness ACK Reconstruction (AR) Forward Bandwidth Asymmetry Performance TCP transfers in the forward direction alone Maximum window size KB; no losses on forward path Server 9 3 3 7 3 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 Client Throughput (Mbps) 8 4 Reno ACC AF AF+AR pkt C/ pkt pkt C/ pkt Header compression helps Large reverse channel buffer hurts for Reno and ACC Fairness greatly improves using AF and ACC for multiple transfers

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. implementation Soon-to-be Internet RFC Multihop Wireless Simulations Server Mbps ms ER Kbps, ms to 3 wireless hops on path Radio turnaround time = 3- ms Radio queue size = packets Exponential backoff in multiples of ms slots Client Performance: Single Transfer AF reduces chances that peer radio is busy MAC backoffs less frequent Round-trip std deviation reduces from. s to. s Throughput (Kbps) 4 3 hop hops 3 hops Reno Reno+ACC Reno+AF AF: -3% throughput improvement compared to Reno Performance: Concurrent Transfers Metrics: utilization and fairness Simultaneous connections over -hop network Performance more predictable and consistent with AF Unpredictable performance caused by long timeouts Jain's fairness index.8..4. 4 8 Number of connections AF Reno AF: % improvement in fairness over Reno

Combining Technologies Wireless transmitter Mbps, ms Web data Internet server Internet Requests & acks Hybrid PoP Client ER Wireless cable forward channel with packet radio reverse channel Workload: Multiple concurrent Web-like transfers Issues: both bandwidth and latency asymmetries Main result: Ack filtering tremendously improves scaling behavior (average completion time vs. # of concurrent transactions)