Abstract
We present load balancing, selection, and sorting algorithms for the star and pancake networks. Let Xn be an n-star or n-pancake with p = n! processors with N elements distributed evenly among (he processors such that each processor holds at most [N/p] elements, N ≥ n!. Our selection algorithm selects the κth smallest element on Xn in O((N/P))loglogp + (logN/p)n3logn) time. The sorting algorithm sorts the N elements on Xn in 0((N/p)nlogp + log(N/p)n4log2n) time. This new sorting algorithm is asymptotically faster than the previously fastest known algorithm when N = ω((n log2+δ n)p) = ω((log p)(loglog p)1+δp), i.e., when N = O(p1+∊), for any δ > 0 and ∊ > 0. A main component of the sorting algoriihm is a procedure for balancing the load among all the processors in each of the two networks. This procedure runs in O(nM + n3logn) lime, where M is the maximum load among all the processors in the network.
Notes
∗This work is supported by the Natural Sciences and Engineering Research Council of Canada.