Abstract
An algorithm is presented sorting N=n1n2...nr, r≧2, elements on an n1 × n2 × ... × nr mesh-connected array of processors within 2(n1+...+nr−1)+nr+0(n1 1−ε+...+nr 1−ε), ɛ>0, data interchange steps. Hence this algorithm asymptotically matches the quite recently given lower bound for r-dimensional meshes. The asymptotically optimal lower bound of (2r/21/r) N1/r interchange steps can only be obtained on r-dimensional meshes withaspect ratio ni : nr=1 : 2 for all i=1,...,r−1. Moreover, for meshes with wraparound connections the slightly altered algorithm only need 1.5(n1+...+nr−1)+nr+0(n1 1−ε+...+nr 1−ε) data interchange steps, which asymptotically is significantly smaller than the lower bound for sorting on meshes without wrap-arounds.
This work was supported by the Siemens AG, München.
This is a preview of subscription content, log in via an institution.
Preview
Unable to display preview. Download preview PDF.
References
Foster, M.J., Kung, H.T., The design of special-purpose VLSI-chips. IEEE Computer (1980), 26–40.
M. Kumar and D.S. Hirschberg, An efficient implementation of Batcher's oddeven merge algorithm and its application in parallel sorting schemes, IEEE Trans. Comp., Vol. C-32, 254–264 (1983)
Kung, H.T., Leiserson, C.E., Systolic arrays for VLSI. Symposium on Sparse Matrix Computation 1978, Proceeding, eds.: I.S. Duff, C.G. Stewart, (1978).
D.E. Knuth, The art of computer programming, Vol. 3: Sorting and Searching, Addison Wesley, Reading, 1973, pp 224–225.
M. Kunde, Lower bounds for sorting on mesh-connected architectures, Proceedings AWOC 86, VLSI Algorithms and Architectures, LNCS 227, Springer, Berlin, 1986, 84–95.
M. Kunde, A general approach to sorting on 3-dimensionally mesh-connected arrays. CONPAR 86, Proceedings, LNCS 237, Springer, Berlin 1986, 329–337
H.-W. Lang, M. Schimmler, H. Schmeck and H. Schröder, Systolic sorting on a mesh-connected network, IEEE Trans. Comp., Vol. C-34, 652–658 (1985)
D. Nassimi and S. Sahni, Bitonic sort on a mesh-connected parallel computer, IEEE Trans. Comp., Vol. C-28, 2–7 (1979)
M. Schimmler, Fast sorting on a three dimensional cube grid, Bericht 8604, Institut f. Informatik, University of Kiel, Germany, 1986
K. Sado and Z. Igarashi, A fast parallel pesudeo-merge sort algorithm, Technical Report, Gunma University, Japan, 1985
C.P. Schnorr, A. Shamir, An optimal sorting algorithm for mesh connected computers, STOC 1986, Proceedings
C.D. Thompson and H.T. Kung, Sorting on a mesh-connected parallel computer, CACM Vol. 20, 263–271 (1977)
J.D. Ullmann, Computational aspects of VLSI, Computer Science Press, Rockville, 1984
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1987 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Kunde, M. (1987). Optimal sorting on multi-dimensionally mesh-connected computers. In: Brandenburg, F.J., Vidal-Naquet, G., Wirsing, M. (eds) STACS 87. STACS 1987. Lecture Notes in Computer Science, vol 247. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0039623
Download citation
DOI: https://doi.org/10.1007/BFb0039623
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-17219-2
Online ISBN: 978-3-540-47419-7
eBook Packages: Springer Book Archive