Routing: Collection Tree Protocol. Original slides by Omprakash Gnawal

Similar documents
Collection Tree Protocol

Collection Tree Protocol

Collection Tree Protocol

Collection Tree Protocol

Collection Tree Protocol. A look into datapath validation and adaptive beaconing. Speaker: Martin Lanter

Routing for IoT and Sensor Systems

A CTP: An Efficient, Robust, and Reliable Collection Tree Protocol for Wireless Sensor Networks

CTP: An Efficient, Robust, and Reliable Collection Tree Protocol for Wireless Sensor Networks

Wireless Sensor Networks

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

A Performance Comparison of Multi-Hop Wireless Ad Hoc Network Routing Protocols. Broch et al Presented by Brian Card

Lecture 13: Routing in multihop wireless networks. Mythili Vutukuru CS 653 Spring 2014 March 3, Monday

Mobile and Wireless Compu2ng CITS4419 Week 9 & 10: Holes in WSNs

Protocolli di routing per reti di sensori Sistemi Wireless, a.a. 2013/2014

ECE 598HH: Special Topics in Wireless Networks and Mobile Systems

CE693: Adv. Computer Networking

RCRT:Rate-Controlled Reliable Transport Protocol for Wireless Sensor Networks

Design of Link and Routing Protocols for Cache-and- Forward Networks. Shweta Jain, Ayesha Saleem, Hongbo Liu, Yanyong Zhang, Dipankar Raychaudhuri

Routing in Delay Tolerant Networks (2)

CHAPTER 7 SIMULATION OBSERVATIONS

Link Estimation and Tree Routing

15-441: Computer Networking. Wireless Networking

CS 268: Computer Networking. Taking Advantage of Broadcast

Wireless Sensornetworks Concepts, Protocols and Applications. Chapter 5b. Link Layer Control

Lecture 20: Link Layer

Mobile Communications. Ad-hoc and Mesh Networks

Unicast Routing in Mobile Ad Hoc Networks. Dr. Ashikur Rahman CSE 6811: Wireless Ad hoc Networks

UCS-805 MOBILE COMPUTING Jan-May,2011 TOPIC 8. ALAK ROY. Assistant Professor Dept. of CSE NIT Agartala.

Multi-Hop ARQ 林咨銘 2006/8/24.

Routing. 4. Mar INF-3190: Switching and Routing

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

Data Link Control Protocols

Final Exam: Mobile Networking (Part II of the course Réseaux et mobilité )

Networking Link Layer

The Network Layer and Routers

Wireless Sensor Networks

Routing, Routers, Switching Fabrics

CMPE 257: Wireless and Mobile Networking

Wireless Sensor Networks

Computer Networks. Sándor Laki ELTE-Ericsson Communication Networks Laboratory

Routing in packet-switching networks

Wireless Internet Routing. Learning from Deployments Link Metrics

Arvind Krishnamurthy Fall 2003

Wireless Networking & Mobile Computing

MAC Protocols for WSNs Internet of Things (ex Reti Avanzate), a.a. 2015/2016

ETSF05/ETSF10 Internet Protocols. Routing on the Internet

Lecture 7: Flow Control"

CS551 Ad-hoc Routing

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

Ad hoc and Sensor Networks Chapter 6: Link layer protocols. Holger Karl

Effects of Sensor Nodes Mobility on Routing Energy Consumption Level and Performance of Wireless Sensor Networks

ADB: An Efficient Multihop Broadcast Protocol Based on Asynchronous Duty-Cycling in Wireless Sensor Networks

SENSOR-MAC CASE STUDY

Delay Tolerant Networks

A Spatio-temporal Access Network for Area Event Monitoring p.1

TCP Congestion Control

Mobility and Density Aware AODV Protocol Extension for Mobile Adhoc Networks-MADA-AODV

A Performance Comparison of Multi-Hop Wireless Ad Hoc Network Routing Protocols

Design and Performance Evaluation of a New Spatial Reuse FireWire Protocol. Master s thesis defense by Vijay Chandramohan

XORs in the Air: Practical Wireless Network Coding

Routing in Ad Hoc Wireless Networks PROF. MICHAEL TSAI / DR. KATE LIN 2014/05/14

William Stallings Data and Computer Communications. Chapter 10 Packet Switching

Routing in Switched Data Networks

Mobile Ad-Hoc Networks & Routing Algorithms

Study of RPL DODAG Version Attacks

Visibility: A New Metric For Protocol Design

Performance Comparison of Two On-demand Routing Protocols for Ad-hoc Networks based on Random Way Point Mobility Model

CHAPTER 3 EFFECTIVE ADMISSION CONTROL MECHANISM IN WIRELESS MESH NETWORKS

CSCI Spring Final Exam Solution

Fairness Example: high priority for nearby stations Optimality Efficiency overhead

Module 1. Introduction. Version 2, CSE IIT, Kharagpur

Basics (cont.) Characteristics of data communication technologies OSI-Model

Networks. Distributed Systems. Philipp Kupferschmied. Universität Karlsruhe, System Architecture Group. May 6th, 2009

Queuing Disciplines. Order of Packet Transmission and Dropping. Laboratory. Objective. Overview

Routing Protocols in MANETs

CSCD 330 Network Programming

Lecture 5: Flow Control. CSE 123: Computer Networks Alex C. Snoeren

3. Evaluation of Selected Tree and Mesh based Routing Protocols

The Effects of Asymmetry on TCP Performance

Wireless TCP Performance Issues

Ad Hoc Networks: Introduction

Toward a Reliable Data Transport Architecture for Optical Burst-Switched Networks

CSE 123: Computer Networks Alex C. Snoeren. HW 1 due NOW!

PIE in the Sky : Online Passive Interference Estimation for Enterprise WLANs

Data gathering using mobile agents for reducing traffic in dense mobile wireless sensor networks

Geographic Routing in Simulation: GPSR

Etiquette protocol for Ultra Low Power Operation in Sensor Networks

Network Architecture

AODV-PA: AODV with Path Accumulation

Expected Path Bandwidth Based Efficient Routing Mechanism in Wireless Mesh Network

This Lecture. BUS Computer Facilities Network Management. Switching Network. Simple Switching Network

Layer 3: Network Layer. 9. Mar INF-3190: Switching and Routing

Overview. TCP & router queuing Computer Networking. TCP details. Workloads. TCP Performance. TCP Performance. Lecture 10 TCP & Routers

Network Routing. Packet Routing, Routing Algorithms, Routers, Router Architecture

Ad Hoc Networks: Issues and Routing

DYNAMIC DATA ROUTING IN MANET USING POSITION BASED OPPORTUNISTIC ROUTING PROTOCOL

Wireless and WiFi. Daniel Zappala. CS 460 Computer Networking Brigham Young University

Towards a Robust Protocol Stack for Diverse Wireless Networks Arun Venkataramani

Wireless and Mobile Networks Reading: Sections 2.8 and 4.2.5

ITTC A Geographical Routing Protocol for Highly-Dynamic Aeronautical Networks

Transcription:

Routing: Collection Tree Protocol Original slides by Omprakash Gnawal

Collection Anycast route to the sink(s) collects data from the network to a small number of sinks network primitive for other protocols A distance vector protocol Why focus on a few sinks? distance vector vs link state 2

Common Architecture Control Plane Data Plane Router Link Estimator Fwd Table Application Forwarder Link Layer 3

Wireless Link Dynamics 5 4

Wireless Link Dynamics 0.9 1s 5 4

Control and Data Rate Mismatch Can lead to poor performance Control Plane Data Plane 1 beacon/30s 10 pkt/s Link Layer 5

Control and Data Rate Mismatch Can lead to poor performance Control Plane Data Plane 1 beacon/s 0 pkt/s Link Layer 5

CTP Noe Control Plane Router Data Plane Application Link Estimator Forwarder Link Layer 6

CTP Noe Control Plane Router Data Plane Application Link Estimator Forwarder Link Layer 6

CTP Noe s Approach Enable control and data plane interaction Two mechanisms for efficient and agile topology maintenance datapath validation adaptive beaconing Control Plane Data Plane 7

Outline Control plane datapath validation adaptive beacons Data plane queuing transmit time cache Evaluation Conclusion 8

Data path validation

Datapath validation Use data packets to validate the topology inconsistencies loops Receiver checks for consistency on each hop transmitter s cost is in the header Same time-scale as data packets validate only when necessary 10

Routing Loops Cost does not decrease C 3.2 B 4.6 D 5.8 6.3 A 11

Routing Loops Cost does not decrease X C 3.2 B 4.6 D 5.8 6.3 A 11

Routing Loops Cost does not decrease X C 8.1 B 4.6 D 5.8 6.3 A 11

Routing Loops Cost does not decrease X C 8.1 B 4.6 D 5.8 6.3 A 11

Routing Consistency Next hop should be closer to the destination Maintain this consistency criteria on a path ni ni+1 nk Inconsistency due to stale state 12

Detecting Routing Loops Datapath validation cost in the packet receiver checks Inconsistency larger cost than on the packet On Inconsistency don t drop the packets signal the control plane C 3.2 B 4.6 6.3 D 5.8 6.3 A 13

Detecting Routing Loops Datapath validation cost in the packet receiver checks Inconsistency larger cost than on the packet On Inconsistency C 3.2 don t drop the packets signal the control plane 6.3 B 4.6 D 5.8 6.3 A 13

Detecting Routing Loops Datapath validation cost in the packet receiver checks Inconsistency larger cost than on the packet On Inconsistency C 3.2 don t drop the packets signal the control plane 4.6 < 6.3? 6.3 B 4.6 D 5.8 6.3 A 13

Detecting Routing Loops Datapath validation cost in the packet receiver checks Inconsistency larger cost than on the packet On Inconsistency don t drop the packets signal the control plane C 3.2 B 4.6 D A 5.8 6.3 13

Detecting Routing Loops Datapath validation cost in the packet receiver checks Inconsistency larger cost than on the packet On Inconsistency C 3.2 don t drop the packets signal the control plane 4.6 B 4.6 D 5.8 6.3 A 13

Detecting Routing Loops Datapath validation cost in the packet receiver checks Inconsistency larger cost than on the packet On Inconsistency don t drop the packets signal the control plane C 4.6 3.2 B 4.6 D 5.8 6.3 A 13

Detecting Routing Loops Datapath validation cost in the packet receiver checks Inconsistency larger cost than on the packet On Inconsistency don t drop the packets signal the control plane C 3.2 < 4.6? 4.6 3.2 B 4.6 D 5.8 6.3 A 13

Detecting Routing Loops Datapath validation cost in the packet receiver checks Inconsistency larger cost than on the packet On Inconsistency don t drop the packets signal the control plane C 3.2 B 4.6 D A 5.8 6.3 13

Detecting Routing Loops Datapath validation cost in the packet receiver checks Inconsistency larger cost than on the packet On Inconsistency don t drop the packets signal the control plane X C 3.2 B 4.6 D 5.8 6.3 A 13

Detecting Routing Loops Datapath validation cost in the packet receiver checks Inconsistency larger cost than on the packet On Inconsistency don t drop the packets signal the control plane X C 8.1 B 4.6 D 5.8 6.3 A 13

Detecting Routing Loops Datapath validation cost in the packet receiver checks Inconsistency larger cost than on the packet On Inconsistency don t drop the packets signal the control plane X C 8.1 B 4.6 D 5.8 6.3 A 13

Detecting Routing Loops Datapath validation cost in the packet receiver checks Inconsistency larger cost than on the packet On Inconsistency don t drop the packets signal the control plane 8.1 X C 8.1 B 4.6 D 5.8 6.3 A 13

Detecting Routing Loops Datapath validation cost in the packet receiver checks Inconsistency larger cost than on the packet On Inconsistency don t drop the packets signal the control plane X C 8.1 B 4.6 8.1 D 5.8 6.3 A 13

Detecting Routing Loops Datapath validation cost in the packet receiver checks Inconsistency larger cost than on the packet On Inconsistency don t drop the packets signal the control plane X C 8.1 B 4.6 5.8 < 8.1? 8.1 D 5.8 6.3 A 13

Detecting Routing Loops Datapath validation cost in the packet receiver checks Inconsistency larger cost than on the packet On Inconsistency don t drop the packets signal the control plane X C 8.1 B 4.6 D 5.8 6.3 A 13

Detecting Routing Loops Datapath validation cost in the packet receiver checks Inconsistency larger cost than on the packet On Inconsistency don t drop the packets signal the control plane X C 8.1 B 4.6 5.8 D 5.8 6.3 A 13

Detecting Routing Loops Datapath validation cost in the packet receiver checks Inconsistency larger cost than on the packet On Inconsistency don t drop the packets signal the control plane X C 8.1 B 5.8 4.6 D 5.8 6.3 A 13

Detecting Routing Loops Datapath validation cost in the packet receiver checks Inconsistency larger cost than on the packet On Inconsistency don t drop the packets signal the control plane X C 8.1 B 4.6<5.8? 5.8 4.6 D 5.8 6.3 A 13

Detecting Routing Loops Datapath validation cost in the packet receiver checks Inconsistency larger cost than on the packet On Inconsistency don t drop the packets signal the control plane X C 8.1 B 4.6 D 5.8 6.3 A 13

Detecting Routing Loops Datapath validation cost in the packet receiver checks Inconsistency larger cost than on the packet On Inconsistency don t drop the packets signal the control plane X C 8.1 B 4.6 4.6 D 5.8 6.3 A 13

Detecting Routing Loops Datapath validation cost in the packet receiver checks Inconsistency larger cost than on the packet On Inconsistency don t drop the packets signal the control plane X 4.6 C 8.1 B 4.6 D 5.8 6.3 A 13

Detecting Routing Loops Datapath validation cost in the packet receiver checks Inconsistency larger cost than on the packet On Inconsistency don t drop the packets signal the control plane 8.1 < 4.6? X 4.6 C 8.1 B 4.6 D 5.8 6.3 A 13

Routing Consistency

How Fast to Send Beacons? Using a fixed rate beacon interval Can be too fast Can be too slow Agility-efficiency tradeoff Agile+Efficient possible? 15

Routing as Consistency Routing as a consistency problem costs along a path must be consistent Use consistency protocol in routing leverage research on consistency protocols trickle 16

Trickle Detecting inconsistency code propagation: version number mismatch does not work for routing: use path consistency Control propagation rate start with a small interval double the interval up to some max reset to the small interval when inconsistent 17

Control Traffic Timing Extend Trickle to time routing beacons Reset the interval ETX(receiver) >= ETX(sender) significant decrease in gradient [found better link] Pull bit - no valid route TX 18

Adaptive Beacon Timing Tutornet Infrequent beacons in the long run 19

Adaptive Beacon Timing ~ 8 min Tutornet Infrequent beacons in the long run 19

Adaptive Beacon Timing ~ 8 min Tutornet Infrequent beacons in the long run 19

Adaptive vs Periodic Beacons Tutornet Time (mins) Less overhead compared to 30s-periodic 20

Adaptive vs Periodic Beacons 1.87 beacon/s 0.65 beacon/s Tutornet Time (mins) Less overhead compared to 30s-periodic 20

Node Discovery A new node introduced Path established in < 1s Tutornet Time (mins) Efficient and agile at the same time 21

Data Plane

Data plane Goals: efficient, robust, and reliable forwarding Mechanisms per client queueing hybrid send queue transmit timer transmit cache 23

Data plane mechanisms Queueing discipline Per-client queueing [top-level] each client may have one outstanding packet achieves better fairness than a shared queue Hybrid send queue [lower-level] contains both route-through and locally-generated traffic duplicate packets are dropped [i.e., not inserted in the queue] Transmission Cache for each transmitted packet insert (src, seq, THL) determine if a packet is duplicate 24

Transmit Timer Self-interference between packets may be a problem DATA A B C D ACK A B C D DATA DATA A B C D Increased likelihood of collisions 25

Transmit Timer Rate control: delay the transmission of packets the transmission of consecutive packets is randomized between (1.5, 2.5) packet times Is this good enough? 26

Evaluation

Experiments 12 testbeds 20-310 nodes 7 hardware platforms 4 radio technologies 6 link layers Variations in hardware, software, RF environment, and topology 28

Evaluation Goals Reliable? Packets delivered to the sink Efficient? TX required per packet delivery Robust? Performance with disruption 29

CTP Noe Trees Kansei Twist Mirage 30

Reliable, Efficient, and Robust Testbed Delivery Ratio Wymanpark 0.9999 Vinelab 0.9999 Tutornet 0.9999 NetEye 0.9999 Kansei 0.9998 Mirage-MicaZ 0.9998 Quanto 0.9995 Blaze 0.9990 Twist-Tmote 0.9929 Mirage-Mica2dot 0.9895 Twist-eyesIFXv2 0.9836 Motelab 0.9607 31

Reliable, Efficient, and Robust Testbed Delivery Ratio Wymanpark 0.9999 Vinelab 0.9999 Tutornet 0.9999 NetEye 0.9999 Kansei 0.9998 Mirage-MicaZ 0.9998 Quanto 0.9995 Blaze 0.9990 Twist-Tmote 0.9929 Mirage-Mica2dot 0.9895 Twist-eyesIFXv2 0.9836 Motelab 0.9607 Retransmit 31

Reliable, Efficient, and Robust Testbed Delivery Ratio Wymanpark 0.9999 Vinelab 0.9999 Tutornet 0.9999 NetEye 0.9999 Kansei 0.9998 Mirage-MicaZ 0.9998 Quanto 0.9995 Blaze 0.9990 Twist-Tmote 0.9929 Mirage-Mica2dot 0.9895 False Twist-eyesIFXv2 0.9836 ack Motelab 0.9607 Retransmit 31

Reliable, Efficient, and Robust Testbed Delivery Ratio Wymanpark 0.9999 Vinelab 0.9999 Tutornet 0.9999 NetEye 0.9999 Kansei 0.9998 Mirage-MicaZ 0.9998 Quanto 0.9995 Blaze 0.9990 Twist-Tmote 0.9929 Mirage-Mica2dot 0.9895 Twist-eyesIFXv2 0.9836 Motelab 0.9607 High end-to-end delivery ratio (but not on all the testbeds!) False ack Retransmit 31

Reliable, Efficient, and Robust 1 Delivery Ratio 0.925 0.85 0.775 Max Medium Min 0.7 0 4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100 104 108 112 116 120 124 128 132134 Time Tutornet 28 32

Reliable, Efficient, and Robust 1 Delivery Ratio 0.925 0.85 0.775 Max Medium Min 0.7 0 4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100 104 108 112 116 120 124 128 132134 Time Tutornet High delivery ratio across time (short experiments can be misleading!) 28 32

Reliable, Efficient, and Robust Control Cost Data Cost Delivery cost per packet Tutornet 5 3.75 2.5 1.25 0 MultiHopLQI CTP 29 33

Reliable, Efficient, and Robust Control Cost Data Cost Delivery cost per packet 5 3.75 2.5 1.25 0 MultiHopLQI CTP Tutornet Low data and control cost 29 33

Reliable, Efficient, and Robust 0.028 0.066 Motelab, 1pkt/5min Link Layer 30 34

Reliable, Efficient, and Robust 0.028 0.066 Motelab, 1pkt/5min Link Layer Low duty-cycle with low-power MACs 30 34

Reliable, Efficient, and Robust 10 out of 56 nodes removed at t=60 mins Tutornet Time (mins) 31 35

Reliable, Efficient, and Robust 10 out of 56 nodes removed at t=60 mins Tutornet Time (mins) No disruption in packet delivery 31 35

Reliable, Efficient, and Robust Routing Beacons Tutornet 32 36

Reliable, Efficient, and Robust Routing Beacons ~ 5 min Tutornet 32 36

Reliable, Efficient, and Robust Routing Beacons ~ 5 min Tutornet Delivery Ratio > 0.99 32 36

Reliable, Efficient, and Robust Routing Beacons ~ 5 min Tutornet Delivery Ratio > 0.99 High delivery ratio despite serious network-wide disruption (most loss due to reboot while buffering packet) 32 36

CTP Noe Performance Summary Reliability Delivery ratio > 90% in all cases Efficiency Low cost and 5% duty cycle Robustness Functional despite network disruptions 37

Conclusion Hard networks good protocols Tutornet & Motelab Wireless routing benefits from data and control plane interaction Lessons applicable to distance vector routing Datapath validation & adaptive beaconing Data trace from all the testbeds available at http://sing.stanford.edu/gnawali/ctp/ 38

Prior Work Control Plane ETX, MT, MultiHopLQI, EAR, LOF, AODV, DSR, BGP, RIP, OSPF, Babel Data Plane Flush, RMST, CODA, Fusion, IFRC, RCRT Link Layer 4 39