Hypercube internetwork topology
In computer networking, hypercube networks are a type of network topology used to connect and route data between multiple processing units or computers. Hypercube networks consist of 2m nodes, which form the vertices of squares to create an internetwork connection. A hypercube is basically a multidimensional mesh network with two nodes in each dimension. Due to similarity, such topologies are usually grouped into a k-ary d-dimensional mesh topology family, where d represents the number of dimensions and k represents the number of nodes in each dimension.[1]
Topology
[edit]Hypercube interconnection network is formed by connecting N nodes that can be expressed as a power of 2. This means if the network has N nodes it can be expressed as :
where m is the number of bits that are required to label the nodes in the network. So, if there are 4 nodes in the network, 2 bits are needed to represent all the nodes in the network. The network is constructed by connecting the nodes that just differ by one bit in their binary representation. This is commonly referred to as Binary labelling. A 3D hypercube internetwork would be a cube with 8 nodes and 12 edges. A 4D hypercube network can be created by duplicating two 3D networks, and adding a most significant bit. The new added bit should be ‘0’ for one 3D hypercube and ‘1’ for the other 3D hypercube. The corners of the respective one-bit changed MSBs are connected to create the higher hypercube network. This method can be used to construct any m-bit represented hypercube with (m-1)-bit represented hypercube.[2]
E-Cube routing
[edit]Routing method for a hypercube network is referred to as E-Cube routing. The distance between two nodes in the network can be given by Hamming weight of (number of ones in) the XOR-operation between their respective binary labels.
The distance between Node 1 (represented as ‘01’) and Node 2 (represented as ‘10’) in the network given by:
E-Cube routing is a static routing method that employs XY-routing algorithm. This is commonly referred to as Deterministic, Dimension Ordered Routing model. E-Cube routing works by traversing the network in the kth dimension where k is the least significant non-zero bit in the result of calculating distance.
For example, let the sender's label be ‘00’ and the receiver's label be ‘11’. So, the distance between them is 11 and the least significant non-zero bit is the LSB bit. Figuring out which way to go for a ‘0’ or ‘1’ is determined by XY routing algorithm.[3]
Metrics
[edit]Different measures of performance are used to evaluate the efficiency of a hypercube network connection against various other network topologies.[vague]
Degree
[edit]This defines the number of immediately adjacent nodes to a particular node. These nodes should be immediate neighbors. In case of a hypercube the degree is m.
Diameter
[edit]This defines the maximum number of nodes that a message must pass through on its way from the source to the destination. This basically gives us the delay in transmitting a message across a network. In case of a hypercube the diameter is m.
Average distance
[edit]The distance between two nodes defined by the number of hops in the shortest path between two particular nodes. It is given by the formula -
In case of Hypercubes the average distance is given as m/2.
Bisection width
[edit]This is the lowest number of wires that you should cut in order to divide the network into two equal halves. It is given as 2m-1 for Hypercubes.[1]
References
[edit]- ^ a b Ostrouchov, G. (1 January 1987). "Parallel Computing on a Hypercube: An Overview of the Architecture and Some Applications" (PDF). Conference: Symposium on the Interface of Computer Science and Statistics. TN: Oak Ridge National Lab., TN (USA). OSTI 6487986.
- ^ Xu, Cheng-Zhong. "Interconnection Networks" (PDF). Archived from the original (PDF) on 2013-07-17.
- ^ Karypis, George. "Routing Mechanisms for Interconnection Networks".