SlideShare a Scribd company logo
Broadcasting In
Hypercube Networks

             Sujith Nair
            12316EN005
The Flooding Approach
The Flooding Approach

Pros:
  -reliable message delivery

Cons:
  -multiple duplicate packets are received at nodes.
  -high network bandwidth consumption
Single-Spanning-Tree Broadcast

LAN Bridges typically restrict all packet traffic to
 a single spanning tree.

This is done either by forbidding loops in the
 physical topology or by running a distributed
 algorithm among the bridges to compute a
 spanning tree.
Single-Spanning-Tree Broadcast

When a bridge receives a broadcast packet, it
 simply forwards it onto every incident branch of
 the tree except the one on which it arrived.

Because the tree spans all segments and has no
 loops, the packet is delivered exactly once (in the
 absence of errors) to every segment.
Single-Spanning-Tree Broadcast

Cons:
  - Broadcast traffic is concentrated on certain links,
   which form a part of the spanning tree.
  -This results in network congestion.
Single-Spanning-Tree Broadcast in a
               Hypercube
Computing a spanning-tree in a hypercube is
 computationally simple.
Moreover, edge-disjoint spanning trees exist in a
 hypercube, because of its inherent symmetry.
Hence, network congestion can be avoided by using
 different edge-disjoint spanning trees at different
 times.
Reverse Path Forwarding

A node forwards a broadcast packet originating at
 source S if and only if it arrives via the shortest
 path from the node back to S (i.e., the “reverse
 path”).

The node forwards the packet out on all incident
 links except the one on which the packet arrived.
Reverse Path Forwarding

To implement the basic reverse path forwarding
 algorithm, a router must be able to identify the
 shortest path from the router back to any host.

In internetworks that use distance-vector routing
 for unicast traffic, that information is precisely
 what is stored in the routing tables in every
 router.
Reverse Path Forwarding Algorithm

1. run single-source shortest path.
   i) for each node, the shortest path to every other
   node is computed.
   ii)using the shortest path, an outgoing link is
   associated with each node.
   iii)a routing table is made; for each node, an
   outgoing link is assigned.
Reverse Path Forwarding Algorithm

1. Consider a broadcast packet received at a node n,
   through link l. Let its source be s.
   i) If in the routing table, the entry corresponding
   to s is l, then broadcast to all neighbors
   ii) else discard.
Reverse Path Forwarding in Hypercube

In hypercube networks, the shortest unicast path to
 any host node can be found using the XOR
 operation.

Hence, distance-vector tables are not needed for
 performing RPF in hypercube networks.
Broadcast in Hypercube
0011 xor 0100 = 0111
assume the unicast routing algorithm routes to a
 node which differs from the current node in the LSB
 bit.
Hence, when unicasting from 0011 to 0100, 0011
 sends the packet to 0010.
Thus, when a broadcast packet from 0100 is
 received at 0011, it is only further broadcasted if it is
 received via 0010.
The above operation can also be performed by
 maintaining routing tables.

The trade-off between maintaining a routing table
 at each node and performing an xor operation for
 every broadcast , depends on the table look-up
 latency and memory requirement at each node.
References

Deering, Stephen E. "Multicast routing in internetworks
 and extended LANs." ACM SIGCOMM Computer
 Communication Review 25.1 (1995): 88-101.
Thank You

More Related Content

PDF
Basic communication operations - One to all Broadcast
PDF
Solution(1)
ODP
Chapter - 04 Basic Communication Operation
PPT
All-Reduce and Prefix-Sum Operations
PPTX
Communication costs in parallel machines
PPT
Basic Communication
PPT
Chapter 4 pc
PPT
Chap4 slides
Basic communication operations - One to all Broadcast
Solution(1)
Chapter - 04 Basic Communication Operation
All-Reduce and Prefix-Sum Operations
Communication costs in parallel machines
Basic Communication
Chapter 4 pc
Chap4 slides

What's hot (17)

PDF
Fault tolerant wireless sensor mac protocol for efficient collision avoidance
PPTX
Physical organization of parallel platforms
PPT
Multiplexing
PDF
ALGORITHMS FOR PACKET ROUTING IN SWITCHING NETWORKS WITH RECONFIGURATION OVER...
PDF
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
PDF
Protocol Enhancements in LEACH
PPTX
UNET: Massive Scale DNN on Spark
PDF
Lecture 3 parallel programming platforms
PPT
Lecture 14
PDF
New strategy to optimize the performance of spray and wait routing protocol
PPT
Multiplexing : Wave Division Multiplexing
PDF
Optimization of Collective Communication in MPICH
PPT
06 Bandwidth Utilization_Multiplexing_and_Spreading
PDF
A comparison of efficient algorithms for scheduling parallel data redistribution
PDF
Masters Report 3
PPT
Simulation of Scale-Free Networks
PDF
Joint Timing and Frequency Synchronization in OFDM
Fault tolerant wireless sensor mac protocol for efficient collision avoidance
Physical organization of parallel platforms
Multiplexing
ALGORITHMS FOR PACKET ROUTING IN SWITCHING NETWORKS WITH RECONFIGURATION OVER...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
Protocol Enhancements in LEACH
UNET: Massive Scale DNN on Spark
Lecture 3 parallel programming platforms
Lecture 14
New strategy to optimize the performance of spray and wait routing protocol
Multiplexing : Wave Division Multiplexing
Optimization of Collective Communication in MPICH
06 Bandwidth Utilization_Multiplexing_and_Spreading
A comparison of efficient algorithms for scheduling parallel data redistribution
Masters Report 3
Simulation of Scale-Free Networks
Joint Timing and Frequency Synchronization in OFDM
Ad

Viewers also liked (15)

PDF
Hypercubes In Hbase
PDF
Analysis and design of a half hypercube interconnection network topology
PPTX
Linked Data Hypercubes
PPT
Parallel Computing
PDF
Lecture 11 14. Adhoc routing protocols cont..
PPTX
Interconnection Network
PDF
Parallel Algorithms
PDF
Parallel Algorithms
PPT
Parallel Computing
PPT
Communication Networks
PPT
Parallel computing
PPT
Communication Networks
PPTX
Data communication and network Chapter -1
PPT
Chapter 1: Introduction to Data Communication and Networks
Hypercubes In Hbase
Analysis and design of a half hypercube interconnection network topology
Linked Data Hypercubes
Parallel Computing
Lecture 11 14. Adhoc routing protocols cont..
Interconnection Network
Parallel Algorithms
Parallel Algorithms
Parallel Computing
Communication Networks
Parallel computing
Communication Networks
Data communication and network Chapter -1
Chapter 1: Introduction to Data Communication and Networks
Ad

Similar to Broadcast in Hypercube (20)

PDF
4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf
PPTX
NETWORK LAYER PRESENTATION IP ADDRESSING UNIT-3.pptx
PPT
NETWORK LAYER.ppt
PPTX
Lecture 06 - Chapter 4 - Communications in Networks
PPTX
Network Layer
PPTX
Unit 4_Network Layer_Part II.pptx
PPTX
Module 3 Part B - computer networks module 2 ppt
PPTX
Presentation 2
PDF
DCCN Network Layer congestion control TCP
PPTX
Unit 3_Network Layer_Part II.pptx
PPTX
Computer Networks-Network layer Concepts
PPTX
Network Layer
PPTX
Network layer new
PPTX
Computer Network - Unicast Routing Distance vector Link state vector
PPTX
Multicastingand multicast routing protocols
PPTX
Multicast routing
PDF
06 routing
PPT
11 routing
PDF
COMPUTER NETWORKS CHAPTER 3 NETWORK LAYER NOTES CSE 3RD year sem 1
PPT
Routing and IP in Advance Computer Network,Vikram Snehi
4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf
NETWORK LAYER PRESENTATION IP ADDRESSING UNIT-3.pptx
NETWORK LAYER.ppt
Lecture 06 - Chapter 4 - Communications in Networks
Network Layer
Unit 4_Network Layer_Part II.pptx
Module 3 Part B - computer networks module 2 ppt
Presentation 2
DCCN Network Layer congestion control TCP
Unit 3_Network Layer_Part II.pptx
Computer Networks-Network layer Concepts
Network Layer
Network layer new
Computer Network - Unicast Routing Distance vector Link state vector
Multicastingand multicast routing protocols
Multicast routing
06 routing
11 routing
COMPUTER NETWORKS CHAPTER 3 NETWORK LAYER NOTES CSE 3RD year sem 1
Routing and IP in Advance Computer Network,Vikram Snehi

Broadcast in Hypercube

  • 1. Broadcasting In Hypercube Networks Sujith Nair 12316EN005
  • 3. The Flooding Approach Pros: -reliable message delivery Cons: -multiple duplicate packets are received at nodes. -high network bandwidth consumption
  • 4. Single-Spanning-Tree Broadcast LAN Bridges typically restrict all packet traffic to a single spanning tree. This is done either by forbidding loops in the physical topology or by running a distributed algorithm among the bridges to compute a spanning tree.
  • 5. Single-Spanning-Tree Broadcast When a bridge receives a broadcast packet, it simply forwards it onto every incident branch of the tree except the one on which it arrived. Because the tree spans all segments and has no loops, the packet is delivered exactly once (in the absence of errors) to every segment.
  • 6. Single-Spanning-Tree Broadcast Cons: - Broadcast traffic is concentrated on certain links, which form a part of the spanning tree. -This results in network congestion.
  • 7. Single-Spanning-Tree Broadcast in a Hypercube Computing a spanning-tree in a hypercube is computationally simple. Moreover, edge-disjoint spanning trees exist in a hypercube, because of its inherent symmetry. Hence, network congestion can be avoided by using different edge-disjoint spanning trees at different times.
  • 8. Reverse Path Forwarding A node forwards a broadcast packet originating at source S if and only if it arrives via the shortest path from the node back to S (i.e., the “reverse path”). The node forwards the packet out on all incident links except the one on which the packet arrived.
  • 9. Reverse Path Forwarding To implement the basic reverse path forwarding algorithm, a router must be able to identify the shortest path from the router back to any host. In internetworks that use distance-vector routing for unicast traffic, that information is precisely what is stored in the routing tables in every router.
  • 10. Reverse Path Forwarding Algorithm 1. run single-source shortest path. i) for each node, the shortest path to every other node is computed. ii)using the shortest path, an outgoing link is associated with each node. iii)a routing table is made; for each node, an outgoing link is assigned.
  • 11. Reverse Path Forwarding Algorithm 1. Consider a broadcast packet received at a node n, through link l. Let its source be s. i) If in the routing table, the entry corresponding to s is l, then broadcast to all neighbors ii) else discard.
  • 12. Reverse Path Forwarding in Hypercube In hypercube networks, the shortest unicast path to any host node can be found using the XOR operation. Hence, distance-vector tables are not needed for performing RPF in hypercube networks.
  • 14. 0011 xor 0100 = 0111 assume the unicast routing algorithm routes to a node which differs from the current node in the LSB bit. Hence, when unicasting from 0011 to 0100, 0011 sends the packet to 0010. Thus, when a broadcast packet from 0100 is received at 0011, it is only further broadcasted if it is received via 0010.
  • 15. The above operation can also be performed by maintaining routing tables. The trade-off between maintaining a routing table at each node and performing an xor operation for every broadcast , depends on the table look-up latency and memory requirement at each node.
  • 16. References Deering, Stephen E. "Multicast routing in internetworks and extended LANs." ACM SIGCOMM Computer Communication Review 25.1 (1995): 88-101.