a comparison of name based content routing protocols
play

A Comparison of Name- Based Content Routing Protocols Ehsan - PowerPoint PPT Presentation

A Comparison of Name- Based Content Routing Protocols Ehsan Hemmati 1 J.J. Garcia-Luna-Aceves 1,2 1 UC Santa Cruz 2 Palo Alto Research Center ehsan@ce.ucsc.edu Outline Routing In CCN NLSR DCR Performance


  1. A ¡Comparison ¡of ¡Name-­‐‒ Based ¡Content ¡Routing ¡ Protocols ¡ Ehsan Hemmati 1 J.J. Garcia-Luna-Aceves 1,2 1 UC Santa Cruz 2 Palo Alto Research Center ehsan@ce.ucsc.edu

  2. Outline • Routing In CCN • NLSR • DCR • Performance Comparison • Conclusion

  3. Routing ¡in ¡CCN • Problem: Compute the path of minimum cost from each router to each Prefix in the network. • Routing in CCN is inherently more difficult than routing in the traditional IP networks. • Content objects are cached opportunistically in the network. • Challenges : o Multi-homed instance o Find loop-free paths o Multi-path routing

  4. Related ¡Works • ICN architectures implement one or some of the following mechanisms to constructing a path for acquiring data: o Flooding requests throughout the whole network. o Flooding topology information and the location of publishers. o Using source routes to content. o Creating spanning tree and use publish-subscribe signaling. • Directed Diffusion o Interests are flooded throughout a sensor network • DIRECT o Similar to directed diffusion o Name-based content routing in ad hoc wireless networks subject to connectivity disruption.

  5. Related ¡Works NBRP • o Name-prefix reachability is advertised among content routers o Path information is used to avoid permanent loops • CBCB o Establishes a spanning tree of the network o Sends publish-subscribe requests for content • DONA o Either global or local IP addressing and IP routing is used. o Content requests (FIND messages) gather autonomous- system (AS) path information.

  6. Concept ¡ ICN architectures • o location-independent content naming o Name resolution and name-based content routing. In CCN a routing protocol is needed to • o Compute next-hops for name prefixes o Update FIB to forward interests • Two routing protocols: o NLSR - Named-data Link State Routing o DCR - Distance-based Content Routing Every piece of content in the network is a named-data • object (NDO) A set of one or multiple NDOs can be represented by • Prefix Flat or Hierarchical naming • A router that has local access to the content is called an • Anchor of the prefix

  7. NLSR Link State Routing Algorithm • o Each router advertises local links and prefixes. Introduced to be used in NDN and CCN. • NLSR relies on two basic mechanisms: • o Name resolution. o Topology-based routing. Two types of LSAs • o Adjacency LSA: The content contains all links of a router. o Prefix LSA: The content contains a name prefix registered at the router. Floods Link State updates in the network • Link State Database (LSDB) • o CCNx Sync: Keep synchronizing LSDB with neighbors.

  8. NLSR • Relies on NDN “Built-in loop detection”! • Ranks Interfaces to reach each destination • Creates Network Topology – Using Adjacency LSA information • Multiple runs of Dijkstra’s algorithm: o Remove all interfaces except one o Run Dijkstra to calculate cost to reach every other node o Repeat for all connected interfaces • Computes the path cost of using each neighbor • Ranks neighbors by their costs.

  9. DCR • Content Routing based on Distance to Destination • Routers choose what information to share with their peers to preserve ordering (e.g., “the best distance to any instance of content”). • Supports Route to Multiple Instances • Establishes a lexicographic ordering of distances to instances of destination • Routing to o Nearest instances of destination o Some or all instances of destination

  10. DCR Updates messages regarding a destination states: • Distance o Anchor o A seq. number created by the anchor o Route to nearest instances of destination: Successor-Set Ordering Condition (SOC) select a next • hop for destination Based on SOC neighbor k will be selected as valid next • hop when o It reports up-to-date information o If Router has a finite distance: • Neighbor k is closer or is at the same distance and has a smaller name o If Router does not have a finite distance: • Neighbor k offers the smallest distance or has smallest name among neighbors offering the same smallest distance.

  11. Simulation • Simulator: The ns3 simulator tool with extensions for content centric networks – SCoNet • SCoNet supports CCNx v.1 specifications and messages based on the TLV format • Network Topology: The AT&T core network (154 nodes and 184 links). •

  12. Simulation • Network model o The hop count is measured as the distance to a destination o 30 nodes are selected as anchors. o 180 unique name prefixes. o The simulations were run 20 times and different seeds. o The anchors are selected randomly o Two or more anchors may have some prefixes in common. Scenarios: • o Link Failure o Link Recovery o Add Prefix o Delete Prefix

  13. Simulation Measurements: • Messages: Total number of control messages transmitted over the network. o i-NLSR: Number of Hello messages, adjacency LSAs, and prefix LSAs. o DCR: Total number of update messages. • Events: The total number of updates that must be processed by the protocol o i-NLSR: Changes in link status or prefix. o DCR: Changes in neighbor table • Operations: The total number of operations performed by each protocol to calculate the routing table. o Increments whenever an event occurs, and whenever the statements within a loop are executed. o The number of operations required to run Dijkstra-SPF algorithm is estimated to be log 2 N

  14. Implementation DCR : • A node receives an update: checks its information against the information stored in its neighbor table. • Any changes in the anchor, distance or sequence number of a name prefix: node updates the the neighbor table and schedules a routing update. • A router waits to receive updates from other neighbors before changing its routing table. • A router reports the updated routing information to its neighbors in its next update message. • Each update message contains the information regarding all the prefixes known to the router . • Sends update messages each 10-second interval.

  15. Implementation NLSR : • A router receives an LSA: updates its LSDB and schedules the routing update • Adjacency LSA: the router ranks its interfaces and updates its routing table • Prefix LSA: it maps the name prefix to the destination and ranks the next-hops based on routing table information • If two or more routers advertise the same name prefix, the faces are ranked based on distance to closest router. • Sends info messages every 10 seconds. • Sends LSA whenever it detects a change in topology or local prefixes.

  16. Results • Initialization : o Add a new node o Node Recovery i-NLSR DCR i-NLSR DCR i-NLSR DCR Num. of Operattions per Node 1500 Num. of Messages per Node 8000 1000 Num. of Events per Node 800 6000 1000 600 4000 400 500 2000 200 0 0 0 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 Num. of Replicas Num. of Replicas Num. of Replicas Number of messages Number of Operations Number of Events

  17. Results • Add new Prefix i-NLSR DCR i-NLSR DCR i-NLSR DCR Num. of Operattions per Node 20 Num. of Messages per Node 4000 30 Num. of Events per Node 15 3000 20 10 2000 10 1000 5 0 0 0 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 Num. of Replicas Num. of Replicas Num. of Replicas Number of messages Number of Operations Number of Events

  18. Results • Delete a Prefix i-NLSR DCR i-NLSR DCR i-NLSR DCR Num. of Operattions per Node 15 Num. of Messages per Node 20 3000 Num. of Events per Node 15 10 2000 10 5 1000 5 0 0 0 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 Num. of Replicas Num. of Replicas Num. of Replicas Number of messages Number of Operations Number of Events

  19. Results • Link Failure i-NLSR DCR i-NLSR DCR i-NLSR DCR Num. of Operattions per Node Num. of Messages per Node 15 8000 15 Num. of Events per Node 6000 10 10 4000 5 5 2000 0 0 0 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 Num. of Replicas Num. of Replicas Num. of Replicas Number of messages Number of Operations Number of Events

  20. Results • Link Recovery i-NLSR DCR i-NLSR DCR i-NLSR DCR Num. of Operattions per Node 15 10000 Num. of Messages per Node 10 Num. of Events per Node 8000 8 10 6000 6 4000 4 5 2000 2 0 0 0 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 Num. of Replicas Num. of Replicas Num. of Replicas Number of messages Number of Operations Number of Events

  21. Conclusion The overhead in NLSR becomes an issue when the • average number of replicas per name prefix grows beyond two. For DCR to work efficiently, update messages in DCR • should describe updates made to distances to name prefixes since the last update was sent, rather than having each update message contain information about all name prefixes. Content routing approaches in which routers are not • required to send periodic updates should be investigated for both link-state and distance-vector approaches. The importance of sender-initiated signaling mechanisms • in CCN and NDN should be quantified.

  22. • Thank You! • Any Question?

Recommend


More recommend