Ex OR Opportunistic MultiHop Routing for Wireless Networks

  • Slides: 43
Download presentation
Ex. OR: Opportunistic Multi-Hop Routing for Wireless Networks Sanjit Biswas and Robert Morris M.

Ex. OR: Opportunistic Multi-Hop Routing for Wireless Networks Sanjit Biswas and Robert Morris M. I. T. Computer Science and Artificial Intelligence Laboratory Sigcomm 2005, Philadelphia Presented by Saurabh Gupta CS 577 / EE 537 Advanced Computer Networks Fall 2006

Content v Background v Ex. OR: Overview v Ex. OR: Design v Ex. OR:

Content v Background v Ex. OR: Overview v Ex. OR: Design v Ex. OR: Protocol v Evaluation v Summary CS 577 / EE 537 Advanced Computer Networks Fall 2006 2

Wired Networks differ from Wireless Networks Ø Fixed nodes and fixed topology Ø Fixed

Wired Networks differ from Wireless Networks Ø Fixed nodes and fixed topology Ø Fixed Links between nodes Ø Independent Links between neighboring nodes Ø No great variance in link quality CS 577 / EE 537 Advanced Computer Networks Fall 2006 3

Challenges for Wireless Routing Ø Capability constraints - Limited and varying range of transmission

Challenges for Wireless Routing Ø Capability constraints - Limited and varying range of transmission - Low Bandwidth Link - Common transmission medium shared by all nodes - Transmit power limitation Ø Mobility Dynamics - Topology changes frequently - Varying capacity Ø Transmission loss - Interference - Fading CS 577 / EE 537 Advanced Computer Networks Fall 2006

Challenges for Wireless Routing (contd. . ) Ø Power Conservation Ø Asymmetry in forward

Challenges for Wireless Routing (contd. . ) Ø Power Conservation Ø Asymmetry in forward and reverse links Ø Ease of snooping CS 577 / EE 537 Advanced Computer Networks Fall 2006 5

ETX Ø The predicted number of data transmissions required to send a packet over

ETX Ø The predicted number of data transmissions required to send a packet over a link Ø The ETX of a path is the sum of the ETX values of the links over that path Ø Examples: - ETX of a 3 -hop route with perfect links is 3 - ETX of a 1 -hop route with 50% loss is 2 Ø Expected probability that a transmission is successfully received and acknowledged is df x dr - df is forward delivery ratio - dr is reverse delivery ratio Ø Each attempt to transmit a packet is a Bernoulli trial, so… CS 577 / EE 537 Advanced Computer Networks Fall 2006 6

Traditional Routing packet A B C packet dst src D Ø Abstract radio to

Traditional Routing packet A B C packet dst src D Ø Abstract radio to look like a wired link Ø Identify a route Ø Packets get forwarded on fixed path Ø Retried on failures Ø Looks like a circuit switched network CS 577 / EE 537 Advanced Computer Networks Fall 2006

Cooperative Diversity A 1 2 33 4455 56 66 B dst src C Ø

Cooperative Diversity A 1 2 33 4455 56 66 B dst src C Ø Broadcast transmission over Wireless Links involves probabilistic delivery Ø Sends information through multiple relays, concurrently Ø Destination chooses best of many relayed signals, or combine information from multiple signals Ø Requires radios capable of simultaneous, synchronized repeating of signals or additional radio channels for each relay CS 577 / EE 537 Advanced Computer Networks Fall 2006 8

v Background v Ex. OR: Overview v Ex. OR: Design v Ex. OR: Protocol

v Background v Ex. OR: Overview v Ex. OR: Design v Ex. OR: Protocol v Evaluation v Summary CS 577 / EE 537 Advanced Computer Networks Fall 2006 9

Ex. OR (Extremely Opportunistic Routing) Ø Integrated link/network-layer diversity routing technique Ø Realizes some

Ex. OR (Extremely Opportunistic Routing) Ø Integrated link/network-layer diversity routing technique Ø Realizes some of the gains of cooperative diversity on standard radio hardware, such as 802. 11 Ø Uses broadcasts for large unicast transfers in multi-hop wireless networks Ø Uses Delayed Forwarding - does not make the forwarding decision until after reception - only the “best” receiver of each packet forwards it - avoids duplication Ø Operates on batches of packets, to reduce communication cost of agreement CS 577 / EE 537 Advanced Computer Networks Fall 2006 10

Ex. OR: Basic Functionality A B src dst packet C packet Ø Decide which

Ex. OR: Basic Functionality A B src dst packet C packet Ø Decide which nodes receive broadcasts Ø Decide who forwards, after reception Ø Node closest to the destination forwards CS 577 / EE 537 Advanced Computer Networks Fall 2006 11

Ex. OR: Basic Functionality (contd…) packet A packet B src dst C CS 577

Ex. OR: Basic Functionality (contd…) packet A packet B src dst C CS 577 / EE 537 Advanced Computer Networks Fall 2006 12

How Ex. OR might provide more throughput S N 1 N 2 N 3

How Ex. OR might provide more throughput S N 1 N 2 N 3 N 4 N 5 N 6 N 7 N 8 D Traditional Path Ø Traditional routing must compromise between hops to choose ones that are long enough to make good progress but short enough for low loss rate Ø With Ex. OR each transmission may have more independent chances of being received and forwarded Ø It takes advantage of transmissions that reach unexpectedly far, or fall unexpectedly short CS 577 / EE 537 Advanced Computer Networks Fall 2006 13

How Ex. OR might provide more throughput (contd. . ) N 1 % 5

How Ex. OR might provide more throughput (contd. . ) N 1 % 5 2 src 25% 25 N 2 N 3 10 0% 100% dst % 0 0 1 % N 4 Ø Traditional routing: 1/0. 25 + 1 = 5 transmissions Ø Ex. OR: 1/(1 – 0. 25)4) + 1 = 2. 5 transmissions Ø Assumes independent losses CS 577 / EE 537 Advanced Computer Networks Fall 2006 14

v Background v Ex. OR: Overview v Ex. OR: Design v Ex. OR: Protocol

v Background v Ex. OR: Overview v Ex. OR: Design v Ex. OR: Protocol v Evaluation v Summary CS 577 / EE 537 Advanced Computer Networks Fall 2006 15

Ex. OR: Design Challenges Ø Agreement amongst the nodes on which sub-set of them

Ex. OR: Design Challenges Ø Agreement amongst the nodes on which sub-set of them received each packet Ø Algorithm to decide, from amongst the receiving nodes, the node “closest” to the ultimate destination that forwards the packet – requires a metric reflecting the likely cost of moving a packet from any node to the destination Ø Algorithm to choose only the most useful nodes as participants Ø Avoid simultaneous transmissions by different nodes to minimize collisions CS 577 / EE 537 Advanced Computer Networks Fall 2006 16

Node States for each batch it participates in Ø Packet Buffer - stores successfully

Node States for each batch it participates in Ø Packet Buffer - stores successfully received packets, according to the batch numbers Ø Local Forwarder List - is the copy of prioritized list of nodes, copied from one of the packets for a given batch, all nodes use same forwarder list as specified by the sender Ø Forwarding Timer - time at which the node predicts that it should forward packets timer set far enough ahead to give higher priority nodes enough time to send adjusted when packets from other nodes heard CS 577 / EE 537 Advanced Computer Networks Fall 2006 17

Node States for each batch it participates in (contd…) Ø Transmission Tracker - records

Node States for each batch it participates in (contd…) Ø Transmission Tracker - records measured rate of current sending node and expected number of packets left to send used by node to adjust forwarding timer adapts to competing traffic Ø Batch map - indicates, for each packet in a batch, the highest-priority node to have received a copy of that packet CS 577 / EE 537 Advanced Computer Networks Fall 2006 18

Ex. OR: Packet Format -Hdr. Len & Payload. Len indicate size of Ex. OR

Ex. OR: Packet Format -Hdr. Len & Payload. Len indicate size of Ex. OR header and payload respectively -Pkt. Num is current packet’s offset in the batch, corresponding to the current batch-map entry -Frag. Sz is size of currently sending node’s fragment (in packets) -Frag. Num is current packet’s offset within the fragment -Fwd. List. Sise is is number of forwarders in list -Forwarder. Num is current sender’s offset within the list -Forwarder List is copy of sender’s local forwarder list -Batch Map is copy of sending node’s batch map, where each entry is an index into Forwarder List CS 577 / EE 537 Advanced Computer Networks Fall 2006 19

v Background v Ex. OR: Overview v Ex. OR: Design v Ex. OR: Protocol

v Background v Ex. OR: Overview v Ex. OR: Design v Ex. OR: Protocol v Evaluation v Summary CS 577 / EE 537 Advanced Computer Networks Fall 2006 20

Ex. OR: Protocol Ø How often should Ex. OR run? - Per packet is

Ex. OR: Protocol Ø How often should Ex. OR run? - Per packet is expensive Use batches Ø Who should participate in the forwarding? - Too many participants cause large overhead Ø When should each participant forward? - Avoid simultaneous transmission Ø What should each participant forward? - Avoid duplicate transmission Ø How and When does the process complete? - Identify the convergence of the algorithm CS 577 / EE 537 Advanced Computer Networks Fall 2006 21

Who should participate? Ø The source chooses the participants (forwarder list) using ETX-like metric

Who should participate? Ø The source chooses the participants (forwarder list) using ETX-like metric - Only considers forward delivery rate Ø The source runs a simulation and selects only the nodes which transmit at least 10% of the total transmission in a batch - A background process collects ETX information via periodic link-state flooding CS 577 / EE 537 Advanced Computer Networks Fall 2006 22

When should each participant forward? Ø Forwarders are prioritized by ETX-like metric to the

When should each participant forward? Ø Forwarders are prioritized by ETX-like metric to the destination Ø Receiving nodes buffer successfully received packets till the end of the batch Ø The highest priority forwarder transmits from its buffer when the batch ends - These transmissions are called the node’s fragment of the batch Ø The remaining forwarders transmit in prioritized order Ø Question: How does each forwarder know it is its turn to transmit - Assume other higher priority nodes send for five packet durations if not hearing anything from them CS 577 / EE 537 Advanced Computer Networks Fall 2006 23

What should each participant forward? Ø Packets it receives yet not received by higher

What should each participant forward? Ø Packets it receives yet not received by higher priority forwarders Ø Each packet includes a copy of the sender’s batch map, containing the sender’s best guess of the highest priority node to have received each packet in the batch Ø Question: How does a node know the set of packets received by higher priority nodes? - Using batch map CS 577 / EE 537 Advanced Computer Networks Fall 2006 24

How and When does the process complete? Ø If a node’s batch map indicates

How and When does the process complete? Ø If a node’s batch map indicates that over 90% of the batch has been received by higher priority nodes, the node sends nothing when its turn comes Ø When ultimate destination’s turn comes to send, it transmits 10 packets including only its batch map and no data Ø Question: How is the remaining 10% data delivered? - Using traditional routing CS 577 / EE 537 Advanced Computer Networks Fall 2006 25

Gossip Mechanism for Reliable summaries Forwarder list: N 3(dst), N 2, N 1, N

Gossip Mechanism for Reliable summaries Forwarder list: N 3(dst), N 2, N 1, N 0 (src) 2 nd round Tx: 3, 6 Batch map: 13032012 1 st round Tx: 1, 2, 3, 4, 5, 6, 7, 8 N 2 Rx: 2, 5, 8 Tx: 5, 8 Batch map: 03032002 N 0 N 3 N 1 Rx: 1, 2, 7, 8 Rx: 2, 4 Tx: 1, 7 Batch map: 03030000 Batch map: 13032012 Ø Repeat summaries in every data packet Ø Cumulative: what all previous nodes rx’d CS 577 / EE 537 Advanced Computer Networks Fall 2006 26

Transmission Timeline for an Ex. OR transfer N 24 not able to listen to

Transmission Timeline for an Ex. OR transfer N 24 not able to listen to N 5. N 8 does not send N 17 might have missed some batch -maps CS 577 / EE 537 Advanced Computer Networks Fall 2006 27

v Background v Ex. OR: Overview v Ex. OR: Design v Ex. OR: Protocol

v Background v Ex. OR: Overview v Ex. OR: Design v Ex. OR: Protocol v Evaluation v Summary CS 577 / EE 537 Advanced Computer Networks Fall 2006 28

65 Roofnet node pairs 1 kilometer CS 577 / EE 537 Advanced Computer Networks

65 Roofnet node pairs 1 kilometer CS 577 / EE 537 Advanced Computer Networks Fall 2006 29

Evaluation Details Ø Ø Ø 65 Node pairs 1. 0 MByte file transfer 1

Evaluation Details Ø Ø Ø 65 Node pairs 1. 0 MByte file transfer 1 Mbit/s 802. 11 bit rate 1 KByte packets Batch size: 100 packets Ex. OR Header: 44 -114 bytes Traditional Routing 802. 11 unicast with link-level retransmissions Hop-by-hop batching UDP, sending as MAC allows Ex. OR 802. 11 broadcasts 100 packet batch size Ø Reported values are median of nine experimental runs, to reduce effect from other user traffic and other sources CS 577 / EE 537 Advanced Computer Networks Fall 2006 30

Cumulative Fraction of Node Pairs Ex. OR: 2 x Improvement in throughput 1. 0

Cumulative Fraction of Node Pairs Ex. OR: 2 x Improvement in throughput 1. 0 0. 8 0. 6 0. 4 0. 2 Ex. OR Traditional 0 0 200 400 600 Throughput (Kbits/sec) 800 Figure 8: The distribution of throughputs of Ex. OR and traditional routing between the 65 node pairs. The plots shows the median throughput achieved for each pair over nine experimental runs. Median throughputs: 240 Kbits/sec for Ex. OR, 121 Kbits/sec for Traditional CS 577 / EE 537 Advanced Computer Networks Fall 2006 31

25 Highest throughput pairs Throughput (Kbits/sec) 3 Traditional Hops 2. 3 x 1000 800

25 Highest throughput pairs Throughput (Kbits/sec) 3 Traditional Hops 2. 3 x 1000 800 2 Traditional Hops 1 Traditional Hop 1. 7 x 1. 14 x Ex. OR Traditional Routing 600 400 200 0 Node Pair Figure 9: The 25 highest throughput pairs, sorted by traditional routing throughput. The bars show each pair's median throughput, and the error bars show the lowest and highest of the nine experiments. Ø For single hop pairs Ex. OR provides the advantage of lower probability of source resending packets, as there’s higher probability of source receiving the destination’s 10 batch-map packets CS 577 / EE 537 Advanced Computer Networks Fall 2006 32

Throughput (Kbits/sec) 25 Lowest throughput pairs 1000 800 Ex. OR Traditional Routing 4 Traditional

Throughput (Kbits/sec) 25 Lowest throughput pairs 1000 800 Ex. OR Traditional Routing 4 Traditional Hops 3. 3 x 600 400 200 0 Node Pair Longer Routes Figure 10: The 25 lowest throughput pairs. The bars show each pair's median throughput, and the error bars show the lowest and the highest of the nine experiments. Ex. OR outperforms traditional routing by a factor of two or more. Ø As number of node pairs increases along a route, the likelihood of increased choice of forwarding nodes and multiple ways to ‘gossip’ back batch-maps, increases Ø With greater routing length Ex. OR is able to take advantage of asymmetric links also CS 577 / EE 537 Advanced Computer Networks Fall 2006 33

Retransmissions affected by selection of hops Traditional routing has to select the ‘shortest’ path

Retransmissions affected by selection of hops Traditional routing has to select the ‘shortest’ path which results in compromise on selecting drop probability, thus increasing the number of transmissions Ex. OR has no limitations on number of nodes, from the forwarder list, that can forward the packet. Hence it uses both nodes closer to source and nodes closer to destination, irrespective of their drop probability Figure 11: The number of transmissions made by each node during a 1000 -packet transfer from N 5 to N 24. The X axis indicates the sender's ETX metric to N 24. The Y axis indicates the number of packet transmissions that node performs. Bars higher than 1000 indicate nodes that had to re-send packets due to losses. CS 577 / EE 537 Advanced Computer Networks Fall 2006 34

Ex. OR moves packets farther Big chunk of transmission, in traditional routing, takes place

Ex. OR moves packets farther Big chunk of transmission, in traditional routing, takes place over shorter distances Max. distance traveled by hops in traditional routing Distance traveled by transmissions in Ex. OR But cumulative transmission is substantial Number of packets carried over individual long distance links is small Figure 12: Distance traveled towards N 24 in ETX space by each transmission. The X axis indicates the di®erence in ETX metric between the sending and receiving nodes; the receiver is the next hop for traditional routing, and the highest-priority receiving node for Ex. OR. The Y axis indicates the number of transmissions that travel the corresponding distance. Packets with zero progress are not received by the next hop (for traditional routing) or by any higher-priority node (for Ex. OR). CS 577 / EE 537 Advanced Computer Networks Fall 2006 35

Ex. OR moves packets farther 58% of Traditional Routing transmissions Fraction of Transmissions 0.

Ex. OR moves packets farther 58% of Traditional Routing transmissions Fraction of Transmissions 0. 6 Ex. OR Traditional Routing 0. 2 25% of Ex. OR transmissions 0. 1 0 0 100 200 300 400 500 600 700 800 900 1000 Distance (meters) Ø Delivery Probability decreases with distance Ø Ex. OR average: 422 meters/transmission Ø Traditional Routing average: 205 meters/tx CS 577 / EE 537 Advanced Computer Networks Fall 2006 36

Ex. OR uses links in parallel Traditional Routing 3 forwarders 4 links Ex. OR

Ex. OR uses links in parallel Traditional Routing 3 forwarders 4 links Ex. OR 7 forwarders 18 links CS 577 / EE 537 Advanced Computer Networks Fall 2006 37

Batch Size Ø Ex. Or header grows with the batch size Ø Large batches

Batch Size Ø Ex. Or header grows with the batch size Ø Large batches work well for low-throughput pairs due to redundant batch map transmissions Ø Small batches work well for high throughput pairs due to lower header overhead CS 577 / EE 537 Advanced Computer Networks Fall 2006 38

v Background v Ex. OR: Overview v Ex. OR: Design v Ex. OR: Protocol

v Background v Ex. OR: Overview v Ex. OR: Design v Ex. OR: Protocol v Evaluation v Summary CS 577 / EE 537 Advanced Computer Networks Fall 2006 39

Summary Ø Integrated routing and MAC protocol for Multi-Hop Wireless Networks Ø Uses Delayed

Summary Ø Integrated routing and MAC protocol for Multi-Hop Wireless Networks Ø Uses Delayed forwarding mechanism, whereby the forwarding decision is made only after reception of packets Ø Takes advantage of the probabilistic nature of wireless broadcast transmissions, and does not hide it Ø Ex. OR does not require separate control signals for agreement Ø Forwarding based on reception of the given data packets and not on signal strength measurements or previous control/data packets Ø Less dependent upon channel stability Ø “Gossip” mechanism reduces the likelihood of duplicate transmissions CS 577 / EE 537 Advanced Computer Networks Fall 2006 40

Summary (contd. . ) Ø Fewer transmissions of each packet Ø Utilizes long asymmetric

Summary (contd. . ) Ø Fewer transmissions of each packet Ø Utilizes long asymmetric links Ø Increases total network capacity Ø Increases individual connection throughput (approx. 2 x) Ø Requires link-state graphs Ø Introduces overhead in form of “batch info” Ø Difficult to scale over large, dense networks CS 577 / EE 537 Advanced Computer Networks Fall 2006 41

Acknowledgements Many sketches, animated-diagrams, as well as some text have been sourced from the

Acknowledgements Many sketches, animated-diagrams, as well as some text have been sourced from the following materials- • Course material on “Net Centric Systems” taught at TECHNISCHE UNIVERSITÄT DARMSTADT • Presentation on “A High Throughput Route-Metric for Multi-Hop Wireless Routing” by Eric Rozner of University of Texas, Austin • Presentation on “Ex. OR: Opportunistic Multi-Hop Routing for Wireless Networks”, by Sanjit Biswas and Robert Morris at Siggcomm • “Ex. OR: Opportunistic Multi-Hop Routing for Wireless Networks” - Sanjit Biswas and Robert Morris • Presentation on “Ex. OR: Opportunistic Multi-Hop Routing for Wireless Networks”, by Avijit of University of California, Santa Barbara • Presentation on “Ex. OR: Opportunistic Multi-Hop Routing for Wireless Networks”, by Yu Sun of University of Texas, Austin • Presentation on “Ex. OR: Opportunistic Multi-Hop Routing for Wireless Networks”, by Gaurav Gupta, University of Southern California • Presentation on “Ex. OR: Opportunistic Multi-Hop Routing for Wireless Networks”, by Ao-Jan Su, Northwestern University CS 577 / EE 537 Advanced Computer Networks Fall 2006

Questions? Thank you!! CS 577 / EE 537 Advanced Computer Networks Fall 2006 43

Questions? Thank you!! CS 577 / EE 537 Advanced Computer Networks Fall 2006 43