Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Virtual Direction Routing for Overlay Networks Bow-Nan Cheng Murat Yuksel Shivkumar Kalyanaraman.

Similar presentations


Presentation on theme: "1 Virtual Direction Routing for Overlay Networks Bow-Nan Cheng Murat Yuksel Shivkumar Kalyanaraman."— Presentation transcript:

1 1 Virtual Direction Routing for Overlay Networks Bow-Nan Cheng Murat Yuksel Shivkumar Kalyanaraman

2 2 Scaling Networks: Trends in Layer 3 Flood-basedHierarchy/StructuredUnstructured/Flat Scalable Mobile Ad hoc / Fixed Wireless Networks DSR, AODV, TORA, DSDV Partial Flood: OLSR, HSLS LGF, VRR, GPSR+GLS Hierarchical Routing, Peer to Peer / Overlay Networks Wired Networks Gnutella Kazaa, DHT Approaches: CHORD, CAN Ethernet Routers (between AS) WSR (Mobicom 07) ORRP (ICNP 06) SEIZE BubbleStorm (Sigcomm 07) LMS (PODC 05) Decoupling layer 3 (or higher layer) functions from underlying network structure has been a key trend for tackling scalability problems.

3 3 Virtual Direction Routing Introduction Structured vs. Unstructured Overlay Networks  Unstructured P2P systems make little or no requirement on how overlay topologies are established and are easy to build and robust to churn Typical Search Technique (Unstructured Networks)  Flooding / Normalized Flooding High Reach Low path stretch Not scalable  Random Walk Need high TTL for high reach Long paths Scalable, but hard to find rare objects Virtual Direction Routing  Globally consistent sense of direction (west is always west)  Scalable interface to neighbor mapping  Routing can be done similarly to ORRP Random Walk Virtual Direction Routing Flooding Normalized Flooding

4 4 VDR Conceptualization Up to 69% A 98% B 180 o Virtual Direction Routing (VDR) Protocol S T Primitives 1: Local sense of direction leads to ability to forward packets in opposite directions 2: Forwarding along Orthogonal lines has a high chance of intersection in area Question: Can 1 hop neighbors in overlay networks be consistently “mapped” to a local virtual direction such that, be forwarding in virtual orthogonal lines, a high chance of intersection (and search success) results?

5 5 Wireless Nets: Key Concepts to Abstract Primitives: [ORRP, ICNP’06]  Local directionality is enough to maintain forwarding along a straight line  Two sets of orthogonal lines intersect with a high probability in a bounded region Overlay Networks:  Can we take these concepts to scale unstructured, flat, overlay networks? Two Technical Issues:  Neighbor to virtual direction/interface mapping  Routing scheme based on virtual direction mapping

6 6 Neighbor to Virtual Interface / Direction Mapping

7 7 VDR: Neighbor to Virtual Interface Map Neighbors are either physical neighbors connected by interfaces or neighbors under a certain RTT latency away (logical neighbors) Neighbor to Virtual Interface Mapping  Each neighbor ID is hashed to 160 bit IDs using SHA-1 (to standardize small or large IDs)  The virtual interface assigned to the neighbor is a function of its hashed ID (Hashed ID % number of virtual interfaces) 1 10 26 30 15 68 7 1 0 12 3 4 56 8 Virtual Interfaces 30 % 8 = 6 15 % 8 = 7 10 % 8 = 2 26 % 8 = 2 68 % 8 = 4 68 15 26 30 10 Example: Neighbor IDs used Instead of SHA-1 Hashes

8 8 Virtual Direction Routing

9 9 VDR Proactive and Reactive Elements Node B Fwd Table DestNextHops AA1 120 o North Node F Fwd Table DestNextHops AB2 Node C Fwd Table DestNextHopsDir AF3120 o DD1230 o 1.VDR State Seeding (Proactive) – Generates Rendezvous-to-Destination Routes 2.VDR Route Request (RREQ) Packets (Reactive) – Generates Source-to-Rendezvous Rts 3.VDR Route Reply (RREP) Packets (Reactive) 4.VDR path after route generation D C F B A A to D VDR conceptual representation of Proactive and Reactive Elements Virtual View

10 10 VDR: State Seeding and Route Request |10 – 1| = 9 |26 – 1| = 25 |5 – 1| = 4 |13 – 1| = 12 |14 – 1| = 13 |22 – 1| = 21 Ex: Seed Source: Node 1 State Seeding – State info forwarded in orthogonal directions, biasing packets toward IDs that are closer to SOURCE ID. Packets are forwarded in virtual straight lines. 0 12 3 4 56 7 26 30 15 68 48 1 10 0 12 3 4 56 7 1 67 13 28 5 5 5 0 12 3 4 56 7 55 1022 14 26 13 22 68 48 30 10 5 14 1 Seed Source: Node 1 VDR State Seeding – Virtual View Seed Path Periodically, every node sends out Seed messages in virtual orthogonal directions

11 11 VDR: State Seeding and Route Request 10 0 12 3 4 56 7 1 67 5 13 28 68 1 0 12 3 4 56 7 10 26 30 15 48 13 0 12 3 4 56 7 38 10 6 |10 – 12| = 2 |26 – 12| = 15 |5 – 12| = 7 |13 – 12| = 1 |6 – 12| = 6 |38 – 12| = 26 Ex: Route Request: Node 12 RREQ Source: Node 1 Route Request – RREQ packets are forwarded in orthogonal directions, biasing packets towards REQUESTED ID 10 13 6 26 5 38 68 48 30 10 13 6 1 RREQ Source: Node 1 Route Request: Node 12 VDR Route Request – Virtual View Seed Path When a node wants to find a path to a destination, it sends out a route request (RREQ) packet in orthogonal directions with a bias

12 12 VDR: Comparing Seed and RREQ Paths |10 – 1| = 9 |26 – 1| = 25 |5 – 1| = 4 |13 – 1| = 12 |14 – 1| = 13 |22 – 1| = 21 Ex: Seed Source: Node 1 State Seeding – State info forwarded in orthogonal directions, biasing packets toward IDs that are closer to SOURCE ID. Packets are forwarded in virtual straight lines. 10 0 12 3 4 56 7 1 67 5 13 28 68 1 0 12 3 4 56 7 10 26 30 15 48 13 0 12 3 4 56 7 38 10 6 |10 – 12| = 2 |26 – 12| = 15 |5 – 12| = 7 |13 – 12| = 1 |6 – 12| = 6 |38 – 12| = 26 Ex: Route Request: Node 12 RREQ Source: Node 1 Route Request – RREQ packets are forwarded in orthogonal directions, biasing packets towards REQUESTED ID 0 12 3 4 56 7 26 30 15 68 48 1 10 0 12 3 4 56 7 1 67 13 28 5 5 5 0 12 3 4 56 7 55 1022 14 10 13 6

13 VDR: Virtual View of Seed and RREQ 26 5 38 68 48 30 10 13 6 12 2 46 1 RREQ: Node 12 Rendezvous Node VDR Route Request Virtual View Seed Path RREQ Path RREP Path Proactive Element  Every node sends out Seed packets in orthogonal directions at periodic intervals Reactive Element Route Request (RREQ) packets sent to search for rendezvous node. When the RREQ intersects a node that has a path to the destination, a Route Reply (RREP) packet is sent back to the source

14 14 VDR: Simulation Parameters Flooding Random Walk VDR – Random NB Send (VDR-R) Virtual Direction Routing Normalized Flooding Random Walk Routing (RWR) Simulation of VDR vs. RWR, VDR-R  VDR-R: VDR with random neighbor forwarding (no biasing)  RWR: Data is seeded in 4 random walks and 4 walkers are sent for search PeerSim – 50,000 Nodes, Static + Dynamic Network  Reach Probability – High (98% w/ TTL of 100)  Average Path Stretch – High (16)  State and Load Spread – Not evenly distributed ParameterDefault Values Nodes / # of Virt Interfaces50,000 / 8 Simulation Cycles150 Churn Percentage0% - 50% every 5 cycles Seed/RREQ TTL10 – 100 hops Seed Entry Expiry10 Cycles (under churn) Number of Queries1000 Randomly Generated

15 15 VDR: Effect of Seed/Query TTL Reach Probability to Seed/Query TTL  VDR reaches 98% of a network in a network of 50,000 nodes with a seed/query TTL of 100.  VDR converges to 100% reach more quickly than VDR-R or RWR Avg. End-to-End Path Stretch to Seed/Query TTL  Average path stretch is less than VDR-R or RWR. This is due to the biasing effect of the Seed and RREQ packets

16 16 VDR: Effect of # of Virtual Interfaces Reach Probability to Virtual # of Interfaces  VDR yields higher reach than VDR- R with fewer virtual interfaces. With 20 average neighbors, multiple neighbors can be assigned to an interface and so the biasing effect of VDR has more significance Path stretch to # of Virtual Interfaces  VDR has lower average path stretch than VDR-R. VDR ensures that Seed and RREQ packets are biased toward it each other. Resulting in lower path stretch

17 17 VDR: Effect of Average # of Neighbors Reach Probability to Avg # of Neighbors  As the number of neighbors increase, the more neighbors are mapped to a specific interface. The biasing effect of VDR has a greater effect on Seed and RREQ intersection Path Stretch to Avg # of Neighbors  VDR’s biasing effect on Seed and RREQ packets lead to lower path stretch with greater number of neighbors because each interface has a higher number of neighbors mapped to it. The effect of biasing is more pronounced

18 18 VDR: Robustness Results 5% drop 15% drop 12% drop State Distribution Network-wide  Average States maintained relatively equal for VDR, VDR-R and RWR at 350-390  VDR States are not very evenly distributed, with some nodes having more state than others. This is due to the sending bias Robustness to Network Churn  VDR drops only 5% compared to VDR-R and RWR which drop 12- 15% reach when going from 0% to 50% network churn  Even with a TTL of 50, VDR reaches a good amount of the network

19 19 VDR: Key Insights A unstructured, highly scalable, and resilient to churn routing algorithm for overlay networks VDR provides high reach (98% for a TTL of 100 in a 50,000 node network) VDR reaches 3.5% more nodes than VDR-R and 9% more nodes than our modified random walk routing strategy (RWR) VDR-R produces the same reach and path stretch results with increasing number of virtual interfaces. VDR increases reach with fewer number of virtual interfaces because of biasing technique. Gains disappear if the number of neighbors is smaller than the number of interfaces VDR states are not well distributed and load is not distributed evenly VDR shows a 3-4X reach retention rate going from 0% to 50% network churn compared to VDR-R and RWR, showing itself to be more robust to network churn VDR paths exhibit high path stretch compared to shortest path but good path stretch compared to pure random walk

20 20 Thank You! Questions and Comments?


Download ppt "1 Virtual Direction Routing for Overlay Networks Bow-Nan Cheng Murat Yuksel Shivkumar Kalyanaraman."

Similar presentations


Ads by Google