Skip to main content

Optimal sorting on multi-dimensionally mesh-connected computers

  • Contributed Papers
  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 247))

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.

Unable to display preview. Download preview PDF.

References

  1. Foster, M.J., Kung, H.T., The design of special-purpose VLSI-chips. IEEE Computer (1980), 26–40.

    Google Scholar 

  2. 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)

    Google Scholar 

  3. 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).

    Google Scholar 

  4. D.E. Knuth, The art of computer programming, Vol. 3: Sorting and Searching, Addison Wesley, Reading, 1973, pp 224–225.

    Google Scholar 

  5. M. Kunde, Lower bounds for sorting on mesh-connected architectures, Proceedings AWOC 86, VLSI Algorithms and Architectures, LNCS 227, Springer, Berlin, 1986, 84–95.

    Google Scholar 

  6. M. Kunde, A general approach to sorting on 3-dimensionally mesh-connected arrays. CONPAR 86, Proceedings, LNCS 237, Springer, Berlin 1986, 329–337

    Google Scholar 

  7. 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)

    Google Scholar 

  8. D. Nassimi and S. Sahni, Bitonic sort on a mesh-connected parallel computer, IEEE Trans. Comp., Vol. C-28, 2–7 (1979)

    Google Scholar 

  9. M. Schimmler, Fast sorting on a three dimensional cube grid, Bericht 8604, Institut f. Informatik, University of Kiel, Germany, 1986

    Google Scholar 

  10. K. Sado and Z. Igarashi, A fast parallel pesudeo-merge sort algorithm, Technical Report, Gunma University, Japan, 1985

    Google Scholar 

  11. C.P. Schnorr, A. Shamir, An optimal sorting algorithm for mesh connected computers, STOC 1986, Proceedings

    Google Scholar 

  12. C.D. Thompson and H.T. Kung, Sorting on a mesh-connected parallel computer, CACM Vol. 20, 263–271 (1977)

    Google Scholar 

  13. J.D. Ullmann, Computational aspects of VLSI, Computer Science Press, Rockville, 1984

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Franz J. Brandenburg Guy Vidal-Naquet Martin Wirsing

Rights and permissions

Reprints 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

Publish with us

Policies and ethics