Skip to main content
Log in

An Efficient General In-Place Parallel Sorting Scheme

  • Published:
The Journal of Supercomputing Aims and scope Submit manuscript

Abstract

We present a simple and general parallel sorting scheme, ZZ-sort, which can be used to derive a class of efficient in-place sorting algorithms on realistic parallel machine models. We prove a tight bound for the worst case performance of ZZ-sort. We also demonstrate the average performance of ZZ-sort by experimental results obtained on a MasPar parallel computer. Our experiments indicate that ZZ-sort can be incorporated into a distributed memory parallel computer system as a standard routine, and this routine is useful for space critical situations. Finally, we show that ZZ-sort can be used to convert a non-adaptive parallel sorting algorithm into an in-place and adaptive one by considering the problem of sorting an arbitrarily large input on fixed-size reconfigurable meshes.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. H. R. Arabnia and S. M. Bhandarkar, Parallel Stereocorrelation on a Reconfigurable Multi-Ring Network, The Journal of Supercomputing, 10, pp. 243-269, 1996.

    Google Scholar 

  2. M. D. Atkinson, J. R. Sack, N. Santoro, and T. Strothotte, Min-max Heaps and Generalized Priority-Queues, Communications of ACM, 29, pp. 996-1000, 1986.

    Google Scholar 

  3. G. E. Blelloch, C. E. Leiserson, B. M. Maggs, C. G. Plaxton, S. J. Smith, and M. Zagha, A Comparison of Sorting Algorithms for the Connection Machine CM-2, to appear in Communication of ACM.

  4. G. M. Amdahl, Validity of Single-Processor Approach to Achieving Large-Scale Computing Capability, Proc. AFIPS Conference, pp. 483-485, 1967.

  5. X. Guan and M. A. Langston, Time-Space Optimal Parallel Sorting and Merging, IEEE Transactions on Computers, 40, pp. 596-602, 1991.

    Google Scholar 

  6. J. Gustafson, Reevaluating Amdahl's Law, Communication of ACM, 31, pp. 532-533, 1988.

    Google Scholar 

  7. K. Hwang, Advanced Computer Architecture: Parallelism, Scalability, Programmability, McGraw-Hill, 1993.

  8. J. Jang and V. K. Prasanna, An Optimal Sorting Algorithm on Reconfigurable Mesh, Proc. 6th Int. Parallel Processing Symposium, pp. 130-137, 1992.

  9. D. E. Knuth, The Art of Computer Programming, Vol. 3, Addison Wesley, 1973.

  10. H. Li and M. Maresca, Polymorphic-Torus Network, IEEE Transactions on Computers, 38, pp. 1345-1351, 1989.

    Google Scholar 

  11. R. Lin, S. Olariu, J. Schwing, and J. Zhang, Sorting in O(1) Time on a Reconfigurable Mesh of Size n x n, Parallel Computing: From Theory to Sound Practice, Proceedings of EWPC'92, pp. 16-27, 1992.

  12. R. Miller, V. K. Prasanna-Kumar, D. Reisis, and Q. F. Stout, Meshes with Reconfigurable Buses, Proceedings of the International Conference on Parallel Processing, Vol. 1, pp. 205-208, 1988.

    Google Scholar 

  13. M. Nigam and Sahni, Sorting n Numbers on n x n Mesh with Buses, Technical Report #92-5, University of Florida, Gainsville, 1992.

  14. S. Olariu and J. Schwing, A New Deterministic Sampling Scheme with Applications to Broadcast Efficient Sorting on the Reconfigurable Mesh, Journal of Parallel and Distributed Computing, to appear.

  15. S. Olariu, J. Schwing, and J. Zhang, Applications of Reconfigurable Meshes to Constant-Time Computations, Parallel Computing, 19, pp. 229-237, 1993.

    Google Scholar 

  16. X. H. Sun and L. M. Ni, Scalable Problems and Memory-Bounded Speedup, Journal of Parallel and Distributed Computing, 19, pp. 27-37, 1993.

    Google Scholar 

  17. Y. Zhang and S. Q. Zheng, Design and Analysis of a Systolic Sorting Architecture, Proceedings of 7th Symposium on Parallel and Distributed Processing, pp. 652-659, 1995.

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Zheng, S.Q., Calidas, B. & Zhang, Y. An Efficient General In-Place Parallel Sorting Scheme. The Journal of Supercomputing 14, 5–17 (1999). https://doi.org/10.1023/A:1008173729055

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1023/A:1008173729055

Navigation