Efficient Realization of Hypercube Algorithms on Optical Arrays
Efficient Realization of Hypercube Algorithms on Optical Arrays* Hong Shen Department of Computing & Maths Manchester Metropolitan University, UK ( Joint work with Yawen Chen done at JAIST)
Outline n n Introduction Our Schemes Conclusions Open Problems
Introduction n n a wide class of hypercube algorithms (FFT algorithm, uniaxial algorithm, etc) Characteristic: in each time unit i=1, 2, …, n only the ith dimensional edges can be used.
Introduction Embedding Example: 8 -node hypercube embedded on 8 -node linear array Standard embedding (optimal for traditional measure of congestion, Congestion= 5 link 3) Step 1: 4 edges on link 4 Step 2: 2 edges on link 2, 6 Step 3: 1 edge on link 1, 3, 5, 7
Introduction n Parallel transmission characteristic of WDM optical 1 2 Optical fiber … … w 1, 2, …, w 1 2 w Given a physical network structure and a set of required connections Select a suitable path for each connection and assign a wavelength to the path, such that the following two constraints are satisfied: n n 1. Wavelength continuity constraint ---- a lightpath must use the same wavelength on all the links along its path from source to destination node. 2. Distinct wavelength constraint ---- all lightpaths using the same link (fiber) must be assigned distinct wavelengths. n Goal: Minimize the number of wavelengths
Introduction n n Parallel FFT Communication Pattern (N=2 n) u n steps: performed step by step in sequence u The communications during the ith step: performed in parallel The number of wavelengths required to realize parallel FFT communications on optical networks is the maximum among the n steps. Our goal is try to minimize the number of wavelengths. What is the minimum number of wavelengths to realize parallel FFT communication on some regular WDM optical networks? Number of wavelengths for realizing FFT on optical networks on G>=Dimensional Congestion of hypercube on G
Conventional embedding n n Standard embedding is optimal for the traditional measure of Congestion Embed the ith node of FFT communication on the ith node of array wavelength requirement: N/2
Shift-reversal embedding reverse order reverse embedding Shift operation for 2 n-3 times wavelength requirement: 3 N/8
Cross Embedding cross operation Cross(NL, NR) * NL and NR: node arrangement with 2 n-1 nodes numbered from left to right in ascending order starting from 0. * Cross operation: Put node i of NR between node 2 n-2+i and node 2 n-2+i+1 of NL for i=0, 1, 2, …, 2 n-2 -2 * Xn is the increasing order of indices in binary representations of 2 n FFT nodes. cross order wavelength requirement: N/4+1
Lattice Embedding(1) Our solution is based on the lattice form of hypercube. k=0 kth layer Nodes connections dimensional i connections k+1 For n=4 12 connections 3 dimensional i connections k=n
Lattice Embedding(2) Lattice form (n=5) For n=5 30 connections 6 dimensional i connections
Lattice Embedding(3) Lattice Embedding: Embed the node layer by layer 0 layer 1 layer 2 layer 3 layer 4
Lattice Embedding(4) W>= Proof: Number of wavelengths>=dimensional edges passing the inter-layer edges * inner-layer edges: the edges on optical array connecting the nodes embedded within the same layer W>= dimensional i connections layer k-1 inter-layer edge layer k+1 layer k
Lattice Embedding(5) W<= Proof: Number of wavelengths<=dimensional edges passing the inner-layer edges * inner-layer edges: the edges on optical array connecting the nodes embedded within the same layer W<= layer k-1 inner-layer edge layer k+1
Lattice Embedding(6) =<W<= Stirling’s formula: Wavelength requirement:
Lattice Embedding(7) minimum number: 1 number of nodes between n 0 and nj, whose ith bit is 0: layer k-1 inner-layer edge layer k+1
Lattice Embedding(8) for n is even, each node has n/2 0 s on the n/2 th row : 2 1 For n is even W Minimum can be achieved when
Lattice Embedding(9) the number of nodes, whose ith bit is 0, between u 0 and uj , is equal to at most n 1/2+1. … Example: FFT 4 16 -node optical array(4 wavelengths) n/2 layer Nodes indices 0011 1100 0101 1010 1001 0110 Nodes Indices of array 5 6 7 8 9 10
Lattice Embedding(10) for n is odd, each node has (n+1)/2 0 s on the (n-1)/2 th row : For n is odd, W Minimum can be achieved when n. FFT 5 32 -node linear array(7 wavelengths) (n-1)/2 layer Nodes indices 00011 01100 10001 00110 11000 Nodes Indices of array 6 7 8 9 10 (n-1)/2 layer Nodes indices 001010 101001 10010 Nodes Indices of array 11 12 13 14 15
Conclusions n n n We provided a new measure, dimensional congestion, for embedding hypercube on other graphs. This new measure has great significance in practice. Wavelength requirement analysis of parallel FFT communication on optical networks is an interesting example. We have proposed several schemes for embedding parallel FFT on optical networks. The results outperforms the traditional embedding schemes for embedding hypercube on other graphs, such as standard embedding, xor embedding.
Open Problems n n What is the optimal value of dimensional congestion on array or other topologies? How can we find the embedding schemes which can achieve theoretical lower bound? One obvious lower bound for dimensional congestion on linear array is dimensional bisection Ω(Nloglog. N/log. N). ("Introduction to parallel algorithms and architectures: array, trees, hypercubes” Problem 3. 8 Show that any bisection of an N-node hypercube requires the removal of at least Ω(Nloglog. N/log. N) dimension d edges for some d<=log. N. )
Thank you!
- Slides: 22