More wireless: Sensor networks and TCP on mobile hosts

Similar documents
Improving Reliable Transport and Handoff Performance in Cellular Wireless Networks

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

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

Information Brokerage

Advanced Computer Networks. Wireless TCP

ECS-087: Mobile Computing

Christos Papadopoulos

Improving Reliable Transport and Handoff Performance in Cellular Wireless Networks 1

TRANSMISSION CONTROL PROTOCOL

TCP over wireless links

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

TRANSMISSION CONTROL PROTOCOL

Mobile Transport Layer

TCP PERFORMANCE FOR FUTURE IP-BASED WIRELESS NETWORKS

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

CE693: Adv. Computer Networking

The Internet vs. Sensor Nets

Wireless and Mobile Networks Reading: Sections 2.8 and 4.2.5

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

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

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

CIS 632 / EEC 687 Mobile Computing

CS551 Ad-hoc Routing

Outline 9.2. TCP for 2.5G/3G wireless

Improving reliable transport and handoff performance in cellular wireless networks 3

CSE 4215/5431: Mobile Communications Winter Suprakash Datta

Lecture 15 Networking Fundamentals. Today s Plan

CMPE 257: Wireless and Mobile Networking

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

Wireless TCP Performance Issues

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

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

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

ARPA Mobile Information Systems Applications Workshop December 7-8, Mobile Networking

Mobile Communications Chapter 9: Mobile Transport Layer

TCP OVER AD HOC NETWORK

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

TCP in Asymmetric Environments

WSN Routing Protocols

SWAP and TCP performance

UNIT IV -- TRANSPORT LAYER

Chapter 12 Network Protocols

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

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

Lecture 8 Wireless Sensor Networks: Overview

Outline. CS5984 Mobile Computing. Wireless Access Networks model 1/3. Wireless Access Network and Mobile IP. Dr. Ayman Abdel-Hamid

15-441: Computer Networking

ROUTING ALGORITHMS Part 1: Data centric and hierarchical protocols

A Comparison of Mechanisms for Improving TCP Performance over Wireless Links

Outline. CS5984 Mobile Computing. Dr. Ayman Abdel-Hamid, CS5984. Wireless Sensor Networks 1/2. Wireless Sensor Networks 2/2

CMPE 257: Wireless and Mobile Networking

Chapter 09 Network Protocols

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

Daedalus/GloMop Architectural Walkthrough

PERFORMANCE ANALYSIS OF SNOOP TCP WITH FREEZING AGENT OVER CDMA2000 NETWORKS

15-441: Computer Networking. Lecture 24: Ad-Hoc Wireless Networks

Contents. Overview Multicast = Send to a group of hosts. Overview. Overview. Implementation Issues. Motivation: ISPs charge by bandwidth

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

6.033 Lecture 12 3/16/09. Last time: network layer -- how to deliver a packet across a network of multiple links

Input ports, switching fabric, output ports Switching via memory, bus, crossbar Queueing, head-of-line blocking

15-441: Computer Networking. Wireless Networking

LECTURE 9. Ad hoc Networks and Routing

CS5984 Mobile Computing

Wireless Networking & Mobile Computing

Mobile IP and Mobile Transport Protocols

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

ROUTING ALGORITHMS Part 2: Data centric and hierarchical protocols

Lecture 16: Wireless Networks

Wireless Sensor Networks

Telecommunication Services Engineering Lab. Roch H. Glitho

CS557: Queue Management

IIP Wireless. Presentation Outline

What is Multicasting? Multicasting Fundamentals. Unicast Transmission. Agenda. L70 - Multicasting Fundamentals. L70 - Multicasting Fundamentals

CSE 123b Communications Software

Quick announcements. CSE 123b Communications Software. Today s issues. Last class. The Mobility Problem. Problems. Spring 2004

CMPE 150 Winter 2009

CS 126 Lecture S5: Networking

CS 126 Lecture S5: Networking

Introduction to computer networking

An Implementation of Cross Layer Approach to Improve TCP Performance in MANET

Investigations on TCP Behavior during Handoff

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

Geographic Routing in Simulation: GPSR

Cache and Forward Architecture

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

Communications Software. CSE 123b. CSE 123b. Spring Lecture 10: Mobile Networking. Stefan Savage

Quick announcement. CSE 123b Communications Software. Last class. Today s issues. The Mobility Problem. Problems. Spring 2003

Multicast EECS 122: Lecture 16

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

CSE 123A Computer Netwrking

TCP Congestion Control

DELAYED RESPONSE PROTOCOLS FOR HIGH-DELAY WIRELESS NETWORKS. A Thesis NAUZAD ERACH SADRY

ICE 1332/0715 Mobile Computing (Summer, 2008)

Lecture 20: Link Layer

Fig. 2: Architecture of sensor node

Congestions and Control Mechanisms in Wired and Wireless Networks

Improving Performance of Transmission Control Protocol for Mobile Networks

Computer Networking. Reliable Transport. Reliable Transport. Principles of reliable data transfer. Reliable data transfer. Elements of Procedure

Transcription:

More wireless: Sensor networks and TCP on mobile hosts CSU CS557, Spring 2018 Instructor: Lorenzo De Carli (Slides by Christos Papadopoulos, remixed by Lorenzo De Carli)

Outline Routing in sensor networks directed diffusion - Intanagonwiwat00a Improving Reliable Transport and Handoff Performance in Cellular Networks - Balakrishnan95

Routing in Sensor Networks Directed Diffusion

Remote Sensing remote approach few, large, expensive sensors are far from phenomena they use complex algorithms to factor out noise e.g. satellite-based sensing, radio telescopes problem: SNR decreases rapidly with distance noise limits performance (resolution)

Sensor Arrays LARGE DATA Centralized approach some, cheap(?), dumb sensors - paced close to phenomena collected data is sent to smart, expensive central node(s) for processing Problem: data is continuous time series bandwidth requirements may be high may not be able to use wireless difficult to deploy

Future Wireless Sensor Networks small event Distributed approach Many small, smart, cheap sensors close to phenomena Nodes have limited processing capability Why wireless? Deployment is trivial Enables large numbers of nodes Dense sensing

Future Wireless Sensor Networks small event Challenges For ease of deployment, must also be battery operated Energy management now becomes an important issue Energy cost of communication outweighs other costs in the system Energy required to transmit 1 bit 10m is same as energy for 1000 processor operations How do we overcome this? Process data within the network

Directed Diffusion Users express interest in data (becoming sink) specified by attributes, not IP address Sink sends out interests by default: flooded through network could use attributes for help (geography) could use cached old routes

Directed Diffusion - II Sources reply to interests with data first, send exploratory ( low rate ) data flooded on return paths Sink reinforces a path sets up reinforced path non-exploratory ( high rate ) data only follows reinforced paths

Interest Propagation Initial interest specifies low data rate as exploratory The desired data rate will be achieved by reinforcement After receiving an interest, the node creates state and resends to a subset of its neighbors Flood the interest Direct interest or limit scope using GPS info (if available) Direct interest using route history

Exploratory Data Propagation and Gradient Establishment sensor s first data is exploratory (low-rate data) sent throughout network, establishing gradients map attributes to next hop at each node in network nodes have multiple gradients

Reinforcement sink reinforces some path to get high rate or nonexploratory data each hop propagates reinforcement back to sources which link to reinforce? default: lowest latency alternatives: maximum remaining energy, greedy tree, or node with new events

Negative Reinforcement Should detect and prune unnecessary paths E.g., paths that send duplicate info Negative reinforcement implicit negative reinforcement (just let gradient time out) explicit negative reinforcement

Naming and attributes IP has node address and ports and DNS and URLs needs resource discovery humans use search engines embedded systems use something like Jini (AKA Apache River) directed diffusion uses attribute-based naming sinks subscribe to sensor EQ acoustic; target IS lions; lat GT 100; lat LT 101; long GT 43; long LT 44 sensors publish sensor IS acoustic; target EQ *; lat IS 100.5; long IS 43.05

Filters sink F F F F F F: watch for sensor data type lion and aggregate it filter suppresses duplicate data F F F source additional source F Support app-specific, in-network processing duplicate suppression aggregation collaborative signal processing caching, etc. Mechanism: assume filters are pre-deployed in net match on attributes filter can take any action (send new msgs, suppress messages, etc.)

Differences from Traditional Networking Neighbor-to-neighbor communication (not end-to-end) Localized algorithms no globally unique IDs no explicit global information (routing tables) Data and queries are named independently from their producers In-network processing Application-specific net-wide attributes (like sensor type or latitude/longitude) app-specific data aggregation

Energy Scaling [Intanagonwiwat00a, figure 4a] Good performance even as number of nodes grows Diffusion uses less energy than omniscient multicast ( optimal ) how? duplicate suppression (can t do it in IP) in-network aggregation

Energy Scaling - II So there are really two core ideas to this work: 1.Networking/routing stack specialized for sensor data 2.In network processing/aggregation enabled by network stack #1 produces energy savings by optimizing paths; #2 produces energy savings by performing data aggregation in the network Note that in principle one could implement #2 on top of a traditional IP stack - but would require more effort (no native support for interests, etc.)

In-Network Processing Duplicate suppression is critical to diffusion Shows the importance of appspecific in-net processing [Intanagonwiwat00a, figure 6b]

What have we learned about sensor networks? looking at sensor networks 100s of embedded, unattended, small devices multi-hop communication coordinate communication between sensors and users data-centric communication not end-to-end in-network processing (ex. aggregation) uses application-specific routing (mixes routing layer and application) uses attribute-based names, rather than addresses

Critique Discussion Really, a radically new networking architecture motivated by a new technology Articulates the rationale behind this architecture well In-network processing Routing scheme is complex and difficult to to analyze

Improving Reliable Transport and Handoff Performance in Cellular Networks Hari Balakrishnan, Srinivasan Seshan, Randy Katz; WINET 1(4), December 1995

Problem: TCP Loss Handling in Wireless TCP assumes loss implies congestion TCP s reaction: reduce sending rate Wireless adds losses due to corruption, collision, handoff desired reaction: retransmit lost packets quickly Approach: let base-station help out

Problem #1: TCP losses Fixed Host (FH) Base Station (BS) Mobile Host (MH) Wired link Wireless link Fixed host interprets losses as sign of congestion - unnecessary congestion control! Wireless channel experience losses due to fading, interference, etc.

Problem #2: Handoffs During an handoff, a mobile node moves between different base stations As packets are rerouted, losses and delays may be introduced TCP dislikes both Base Station #1 Base Station #2 Mobile Host (MH) Mobile Host (MH)

Key Ideas Deals with TCP in mobile environments packet loss (corruption) handoff (changing from one base station to another) Snoop to deal with non-congestion-related losses base stations cache TCP segments and quickly retransmit Efficient procedure for low-latency handoff cache TCP segments at nearby base-stations to allow rapid handoff

Alternatives Make TCP distinguish congestion vs. other kinds of loss good idea: done with ECN but done after this work and not widely deployed even today requires changes to FH and MH Split-connection TCP: use one TCP connection BS, another to MH but requires changes to FH, BS, MH Link-layer retx good idea, but must be careful to avoid interactions between linklayer and TCP Also, what about apps that do not care about losses?

Constraints Incremental deployment Solution should not require modifications to fixed hosts If possible, avoid modifying mobile hosts Preserve TCP end-to-end semantics ACK of a packet means it s at the receiver, not the base station

Snoop Overview FH-to-MH: Base Station (BS) snoops passing traffic (data/acks); quickly retx s data FH data Fixed Host (FH) sends data to MH no change to FH code acks BS MH Mobile Host (MH) receives data, sends ACKs as usual MH-to-FH: FH acks data BS MH BS adds SACK support (even if FH doesn t support it)

FH-to-MH Snoop Data Processing Packet in sequence Add to cache and pass on Out of sequence, cached Greater than last acked: pass on Else: generate ACK to fixed host (why not just drop)? Out of sequence, not cached Lost or delayed out-of-order Pass on, and keep information to process dupacks

Snoop ACK Processing New ACK Pass on to FH Clean up cache Duplicate ACK If data not in cache, or sender retransmitted, pass on to FH If in cache, respond immediately Suppress other dupacks

Handoff Support: inspired by mobile IP

Handoff Support General approach: extend mobile IP to multicast pkts to several FA s (base stations, BSes) MH informs BS when it s changing BSes are pre-loaded w/ data, can run snoop and quickly repair losses

Performance - snoop

Performance - handoff 1.4e+07 1.2e+07 Sequence number 1e+07 8e+06 6e+06 4e+06 2e+06 0 0 10 20 30 40 50 60 70 80 90 Time (seconds) Figure 9. Sequence numbers for transfer to mobile host over channel with handoffs every 10 seconds. beacon arrives disable old BS msg sent enable new BS msg sent last pkt from old BS first pkt from new BS 5-25 ms 2-10 ms 0-40 ms Time (ms) 3-20 ms Figure 10. Timing of handoff events

Observations Nice aspects of Snoop: minimal changes to improve performance good backwards compatibility Soft State design preserves TCP semantics implementation