Wireless Internet Routing. Learning from Deployments Link Metrics

Similar documents
Wireless Mesh Networks

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

Link Estimation and Tree Routing

Routing in Wireless Mesh Networks. Feb. 22, 2006

Typical rooftop view

Outdoor Wi Fi Mesh Routing Protocol. Akshata Danivasa Alphonse Hansel Anthony Mani Pandian Vikas Iyer Vinesh Pallen

Christos Papadopoulos

A Cross-Layer Perspective of Routing. Taming the Underlying Challenges of Reliable Routing in Sensor Networks. Underlying Connectivity in Reality

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

High-Throughput Multicast Routing Metrics in Wireless Mesh Networks

15-441: Computer Networking. Wireless Networking

Architecture and Evaluation of an Unplanned b Mesh Network

A Survey on Path Weight Based routing Over Wireless Mesh Networks

Appendix B. Standards-Track TCP Evaluation

A new routing metric for wireless mesh networks

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

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

3. Evaluation of Selected Tree and Mesh based Routing Protocols

CS 268: Computer Networking. Taking Advantage of Broadcast

Accurate Assessment of Link Loss Rate in Wireless Mesh Networks

Expected Path Bandwidth Based Efficient Routing Mechanism in Wireless Mesh Network

Geographic and Diversity Routing in Mesh Networks

The Importance of Being Opportunistic

CHAPTER 3 EFFECTIVE ADMISSION CONTROL MECHANISM IN WIRELESS MESH NETWORKS

Packet-Level Diversity From Theory to Practice: An based Experimental Investigation

CS 268: Computer Networking

CE693: Adv. Computer Networking

Reminder: Datalink Functions Computer Networking. Datalink Architectures

CHAPTER 7 SIMULATION OBSERVATIONS

Interference avoidance in wireless multi-hop networks 1

Wireless TCP Performance Issues

A Measurement Study of Multiplicative Overhead Effects in Wireless Networks

Network Initialization in Low-Power Wireless Networks: A Comprehensive Study

Chapter 7 CONCLUSION

Wireless MACs: MACAW/802.11

Fast, Efficient, and Robust Multicast in Wireless Mesh Networks

Measurement and Analysis of Real-World Mesh Networks

Supporting Service Differentiation for Real-Time and Best-Effort Traffic in Stateless Wireless Ad-Hoc Networks (SWAN)

A High-Throughput Path Metric for Multi-Hop Wireless Routing

Lecture 7: Flow Control"

An On-demand Routing Technique for Cognitive Radio Ad Hoc Network Puneeth Kumar T P Student of M.Tech (CSE) Acharya Institute of Technology, Bangalore

Lecture 7: Sliding Windows. CSE 123: Computer Networks Geoff Voelker (guest lecture)

Performance Evaluation of Modified IEEE MAC for Multi-Channel Multi-Hop Ad Hoc Network *

CS268: Beyond TCP Congestion Control

Networking Link Layer

WSN Routing Protocols

Routing Protocols in MANETs

Reliable Transport I: Concepts and TCP Protocol

Design and Evaluation of a new MAC Protocol for Long- Distance Mesh Networks by Bhaskaran Raman & Kameswari Chebrolu ACM Mobicom 2005

CS 229 Final Report: Location Based Adaptive Routing Protocol(LBAR) using Reinforcement Learning

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

Wireless in the Real World : Computer Networking. Wireless Challenges. Overview

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

Wireless Networks (CSC-7602) Lecture 8 (22 Oct. 2007) Seung-Jong Park (Jay) Fair Queueing

Routing protocols in WSN

Wireless Sensor Networks

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

A Routing Protocol for Utilizing Multiple Channels in Multi-Hop Wireless Networks with a Single Transceiver

Wireless Sensor Networks

6. Node Disjoint Split Multipath Protocol for Unified. Multicasting through Announcements (NDSM-PUMA)

An on-demand routing protocol for multi-hop multi-radio multi-channel cognitive radio networks

Geographical routing 1

Comparison of Routing Metrics for Static Multi-Hop Wireless Networks

MAC protocols. Lecturer: Dmitri A. Moltchanov

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

High-throughput multicast routing metrics in wireless mesh networks

Draft Notes 1 : Scaling in Ad hoc Routing Protocols

Performance Modeling

Experimental Evaluation of Large Scale WiFi Multicast Rate Control

Outline. Lecture 16: Wireless Networking. Physical Layer (Layer 1) Ethernet: Wireless is Different. Attenuation Over Space

Wireless Sensor Networks, energy efficiency and path recovery

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

Lecture 16: Wireless Networking

II. Principles of Computer Communications Network and Transport Layer

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

Outline. Multi-Channel Reliability and Spectrum Usage in Real Homes Empirical Studies for Home-Area Sensor Networks. Smart Grid

Reliable Transport I: Concepts and TCP Protocol

Routing over Low Power and Lossy Networks

A Multi-radio Mesh Network Architecture

CS5984 Mobile Computing

Nikolaos Peppas and Damla Turgut School of EECS University of Central Florida Orlando, Florida

L3: SampleRate (Chapter 3)

OSI Layer OSI Name Units Implementation Description 7 Application Data PCs Network services such as file, print,

Fairness Example: high priority for nearby stations Optimality Efficiency overhead

Making Friends with Broadcast. Administrivia

QoS Based Congestion Control Algorithm for Video Traffic in Wireless Mesh Network

Context: ExScal (

Wireless Sensor Networks

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

ROUTING ALGORITHMS Part 2: Data centric and hierarchical protocols

HIAM: Hidden Node and Interference Aware Routing Metric for Multi-channel Multi-radio Mesh Networks

CHAPTER 4 CROSS LAYER INTERACTION

TCP challenges in multi-hop wireless networks. Why multi-hop?

ENERGY-AWARE FOR DH-AODV ROUTING PROTOCOL IN WIRELESS MESH NETWORK

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

Delay Tolerant Networks

Implementation of Near Optimal Algorithm for Integrated Cellular and Ad-Hoc Multicast (ICAM)

Measurement Driven Admission Control on Wireless Backhaul Networks

CHAPTER 5 PROPAGATION DELAY

Lecture 16: Wireless Networks

Transcription:

Wireless Internet Routing Learning from Deployments Link Metrics 1

Learning From Deployments Early worked focused traditional routing issues o Control plane: topology management, neighbor discovery o Data plane: forwarding, avoiding loops And then people started deploying research networks o MIT Roofnet o Microsoft research 2

What is Routing (Again) Control Plane: Topology discovery o Neighborhood discovery Route discovery and maintenance o Fault recovery Data Plane: Forwarding 3

What is Routing (Again) Topology: o Nodes and links Route discovery: o How to find routes? o How to choose between different routes available? Links and route metrics 4

Link and Route Metrics Link Quality: A sends 100 packets to B. Since B received all 100, link quality = 100%. Route Quality: Since A-B is 100% and B-C is 50%, Quality(A-B-C) = Q(A-B)*Q(B-C) = 50%. Comments? B Link Quality = 100% 50% A C 51% 51% D 5

Components of a Routing Metric Link Metric: Assign a weight to each link Path Metric: Combine metrics of links on path 6

Outline Need for new link/routing metrics Challenges in design of wireless link and routing metrics o Wireless interference o Asymmetric links o Different data rates and packet sizes o Channel diversity o Temporal variability o Link quality estimation over time 7

Hop Count Link Metric One possibility is to assign each link a metric of 1 (hop-count based routing) Problems: o Maximizes the distance traveled by each hop o Low signal strength -> high loss ratio o May uses a higher TxPower -> interference o Different links have different qualities B C A F D E 8

Performance of Hop Count From the RoofNet network 9

Motivation for a Better Metric 10

Can we Use the SNR? One RoofNet Link Over 24 Hours Cannot use Prism S/N ratio to predict link quality 11

Hop Count: Good or Bad Metric? Intuition from wired networks is wrong o Links share spectrum o Capacity penalty for more hops Throughput = 1 Throughput = 1/2 Throughput = 1/3 What should we optimize? o Per-route throughput, network capacity, power? 12

Route Metric B Delivery ratio = 100% 50% A C 51% 51% Bottleneck throughput: End-to-end delivery ratio: D A-B-C = 50% A-D-C = 51% A-B-C = 50% A-D-C = 51%*51%=26% 13

Actual Throughput B Delivery ratio = 100% 50% A C 51% 51% D Actual throughput: A-B-C : ABBABBABB = 33% A-D-C : AADDAADD = 25% 14

Metric: Expected Xmn Count (ETX) Minimize total transmissions per packet (ETX, Expected Transmission Count ) Link throughput 1/ Link ETX Delivery Ratio 100% 50% Link ETX 1 2 Throughput 100% 50% 33% 3 33% 15

Capturing Bi-directionality of a Link Assuming link-layer acknowledgments (e.g.: 802.11) and retransmissions: o P(TX success) = P(Data success) x P(ACK success) A Data ACK B Bi-directional Link Quality = p forward 1 p reverse De Couto et al, Woo et al 16

Route ETX Route ETX = Sum of link ETXs Route ETX 1 2 2 3 5 Throughput 100% 50% 50% 33% 20% 17

ETX Comments Advantages: o Better estimate of link quality and interference than hop count. Problems: o ETX assumes that all radios run at same bit rate and all packets are of same size. o 802.11b rates: {1, 2, 5.5, 11} Mbps o ETX is a worst case measure and assumes that no spatial reuse is possible. 18

Metric: Expected Transmission Time(ETT) Link loss rate = p Expected number of transmissions ETX Packet size = S, Link bandwidth = B Each transmission lasts for S/B 1 - S ETT * ETX B Lower ETT implies better link 1 p 19

ETT: Illustration 11 Mbps 5% loss Source 18 Mbps 50% 10% loss Destination 1000 Byte Packet ETT : 0.77 ms ETT : 0.89 0.40ms 20

Path Metric using ETT Add ETTs of all links on the path Use the sum as path metric SETT = Sum of ETTs of links on path (Lower SETT implies better path) 21

SETT does not favor channel diversity 6 Mbps No Loss 6 Mbps No Loss Source 1.33ms 1.33ms Mesh Router 1.33ms 1.33ms Destination 6 Mbps No Loss 6 Mbps No Loss Path Throughput SETT Red-Blue 6 Mbps 2.66 ms Red-Red 3 Mbps 2.66 ms 22

How Can You Get Diversity Use multi-radio and/or multi-channel setup 802.11b: o 20 MHz channel, 5 MHz spacing o 11 channels o 3 orthogonal 802.11a o 20 MHz channels, 20 MHz spacing o Around 20 orthogonal channels 23

Capturing Channel Diversity Group links on a path according to channel o Links on same channel interfere Add ETTs of links in each group Find the group with largest sum. o This is the bottleneck group o Too many links, or links with high ETT ( poor quality links) Use this largest sum as the path metric o Lower value implies better path Bottleneck Group ETT (BG-ETT) 24

BG-ETT Example 6 Mbps 6 Mbps 6 Mbps 6 Mbps 1.33 ms 1.33 ms 1.33 ms 1.33 ms Path Throughput Blue Sum Red Sum BG-ETT All Red 1.5 Mbps 0 5.33 ms 5.33 ms 1 Blue 2 Mbps 1.33 ms 4 ms 4 ms Red-Blue 3 Mbps 2.66 ms 2.66 ms 2.66 ms BG-ETT favors high-throughput, channel-diverse paths. 25

BG-ETT does not favor short paths S 6 Mbps 6 Mbps 6 Mbps D 1.33 ms 1.33 ms 1.33 ms S 6 Mbps 6 Mbps 6 Mbps 2 Mbps D 1.33 ms 1.33 ms 1.33 ms 4 ms Path Throughput Blue Sum Red Sum BG-ETT 3-Hop 2 Mbps 0 4 ms 4 ms 4-Hop 2 Mbps 4 ms 4 ms 4 ms 26

WCETT: Weighted Cumulative ETT SETT favors short paths BG-ETT favors channel diverse paths Weighted Cumulative ETT (WCETT) WCETT = (1-β) * SETT + β * BG-ETT β is a tunable parameter Higher value: More preference to channel diversity Lower value: More preference to shorter paths 27

Example of WCETT 28

Link Metric: Straw Men Discard links with loss rate above a threshold? o Risks disconnecting nodes! Product of link delivery ratios as probability of end-to-end delivery? o Ignores inter-hop interference: prefers 2-hop route with 0% loss over 1-hop with 10% loss, when latter is nearly double the throughput Throughput of highest-loss link on path? o Also ignores inter-hop interference 29

ETX: Expected Transmissions Link ETX: predicted number of transmissions Path ETX: sum of link ETX values on path Calculate link ETX using forward and reverse delivery ratios To avoid retry, data packet and ACK must succeed Does path ETX allow overlapping transmissions ETX = 1 / (d f x dalong r ) a path? o d f = forward delivery ratio (data packet) Does path ETX offer equal accuracy for paths o d r = reverse of all lengths? delivery ratio (ACK packet) 30

ETX: Measuring Loss Rates Periodically send broadcast probe packets of fixed size All nodes know sending rate of probes All nodes compute loss rate based on how many arrive per measurement interval Nodes enclose loss measurements in their probes (B tells A loss from A B) 31

ETT: Expected Transmission Time ACKs always sent at 1 Mbps Data packets typically 1500 bytes Nodes send 1500-byte broadcast probes at every bit rate b (delivery ratio: d f,b ) Nodes send 60-byte (min size) broadcast probes at 1 Mbps (delivery ratio: d r ) At each bit-rate b, ETX b = 1 / (d f,b x d r ) For packet of length S, ETT b = (S/b) x ETX Link ETT = min b (ETT b ) 32

ETT: Assumptions Path throughput t given by: o where t i = throughput of hop I Underestimates throughput for long paths o Distant nodes can send simultaneously Overestimates throughput for paths with heavy selfcollisions 33

Impact of Interference Interference reduces throughput Throughput of a path is lower if many links are on the same channel o Path metric should be worse for non-diverse paths Assumption: All links that are on the same channel interfere with one another o Pessimistic for long paths 34

Capturing Temporal Variability How to distinguish between links with random errors vs links with bursty errors? Temporal Properties of Low Power Wireless Links: Modeling and Implications on Multi-Hop Routing, Cerpa et a. 2005l 35

RNP: Required Number of Packets Consider the following packet traces ( : success, : failure) Tx Rx time RNP = ( 2 1 2 1 2 1 2 1 2 1 ) / 10 = 1.5 Tx Rx time RNP = ( 1 1 1 1 6 5 4 3 2 1 ) / 10 = 2.5 10 pkts Tx, 5 pkts Rx; RR=5/10=0.5; 1/RR=2.0; RNP=1.5 10 pkts Tx, 5 pkts Rx; RR=5/10=0.5; 1/RR=2.0; RNP=2.5 RNP takes into account the underlying loss distribution. RR = reception rate 36

A Good Link Estimator Accurate Agile yet stable Small memory footprint Simple Woo et al 37

Link Estimator Study Study 7 estimators o by tuning to yield the same error bound Results o WMEWMA(T, ) Estimator o Stable, simple, constant memory footprint o Compute success rate over non-overlapping window (T) o Average over an EWMA( ) o Key: o 10% error requires at least 100 packets to settle o Limits rate of adaptation 38

Why a new routing metrics? -ETX (Expected transmission count) Shortest path routing not suitable o Multi rate issue ETX o P = 1 - (1 - p f ) * (1 p r ) o p: probability that the packet transmission is not successful o ETX = 1 / (1-p) o Good in homogeneous single-radio environments than shortest path routing Disadvantages o ETX only consider loss rates on the links and not their bandwidths. o ETX is designed to give preference to shorter paths over longer paths in case of loss rate is similar. o Two bad example scenario: a node with 802.11a and 802.11b NICs, even 2 802.11b NICs 39

ETT (Expected transmission time) ETT: bandwidth-adjusted ETX o ETT = ETX * (S / B) o S : the size of packet o B : the bandwidth of the link The back-off time is counted in and can not significantly affect the result. Proved in Appendix A p f, p r can be got by probing (O(n)) Bandwidth of each link (infrequent unicast probing O(n 2 )) o One way is to restrict the bandwidth manually o Measure it empirically o Packet pair Why not use RTT for ETT? o Self interference (load dependent) o Per-neighbor probing is O(n 2 ) 137 1137 40

WCETT ( Weighted Cumulative ETT) 1.An estimate of the end-to-end delay: 2.Considers the impact of channel diversity: WCETT n ETTi i 1 X j Hop i i s on channel j ETT i WCETT X j 1max j k 1+2 WCETT (1 ) ETT max X n i 1 i 1 j k j 41

Implementation and such Measure loss rate and bandwidth o loss rate measured using broadcast probes similar to ETX o updated every second o bandwidth estimated using periodic packet-pairs o updated every 5 minutes Implemented in a source-routed, link-state protocol, Multi-Radio Link Quality Source Routing (MR-LQSR) o nodes discover links to its neighbors, measure quality of those links o link information floods through the network o each node has full knowledge of the topology o sender selects best path o packets are source routed using this path 42

Evaluations 43

Media Throughput (Baseline, single radio) 44

Media Throughput (Baseline, two radios) 45

Impact of β value Channel diversity is important; especially for shorter paths 46

Summary Link metrics play a crucial role in the performance of a routing algorithm for wireless networks They are still an active area of research In practice (today), ETX appears to be the most and widely used metric 47