Skip to main content

An Efficient Parallel Sorting Algorithm on Metacube Multiprocessors

  • Conference paper
Algorithms and Architectures for Parallel Processing (ICA3PP 2009)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 5574))

Abstract

Parallel sorting algorithms in hypercubes have been studied extensively. One of the practical parallel sorting algorithms is Bitonic Sort, which is implemented in O(n 2) time for sorting N = 2n numbers in an n-cube. A versatile family of interconnection networks alternative to hypercube, called metacube, was proposed for building extremely large scale multiprocessor systems with a small number of links per node. A metacube MC(k,m) connects \(2^{2^km+k}\) nodes with only k + m links per node. In this paper, we present an efficient sorting algorithm on metacube multiprocessors. The proposed sorting algorithm is based on the Batcher’s bitonic sorting algorithm. In order to perform the parallel sorting efficiently in metacube, we give a new presentation of the metacube such that the communications required by the algorithm can be done efficiently with gather and scatter operations. The parallel bitonic sort algorithm implemented in metacubes with the new presentation runs in O(2k m + k)2 computation steps and O(2k m(2k + 1) + k)2 communication steps.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Batcher, K.E.: Sorting networks and their applications. In: Proceedings of AFIPS Spring Joint Computer Conference, April 1968, pp. 307–314 (1968)

    Google Scholar 

  2. Chen, S.-Y., Kao, S.-S.: The edge-pancyclicity of dual-cube extensive networks. In: Proceedings of the 2nd WSEAS International Conference on Computer Engineering and Applications, Acapulco, Mexico, January 2008, pp. 233–236 (2008)

    Google Scholar 

  3. Hayes, J.P., Mudge, T.N.: Hypercube supercomputers. Proc. IEEE 17(12), 1829–1841 (1989)

    Article  Google Scholar 

  4. Jiang, Z., Wu, J.: Fault-tolerant routing in dual-cube networks. In: Proc. of the 7th Joint Conference on Information Sciences, September, pp. 389–392

    Google Scholar 

  5. Kumar, V., Grama, A., Gupta, A., Karypis, G.: Introduction to parallel computing: design and analysis of algorithms. Benjamin/Cummings Press (1994)

    Google Scholar 

  6. Laia, C.-J., Tsai, C.-H.: On embedding cycles into faulty dual-cubes. Information Processing Letters 109(2), 147–150 (2008)

    Article  MathSciNet  Google Scholar 

  7. Leighton, F.T.: Introduction to Parallel Algorithms and Architectures: Arrays, Trees and Hypercubes. Morgan Kaufmann Pub., San Francisco (1992)

    MATH  Google Scholar 

  8. Li, Y., Peng, S., Chu, W.: Efficient communication in metacube: A new interconnection network. In: Proceedings of the International Symposium on Parallel Architectures, Algorithms and Networks (I-SPAN 2002), Manila, Philippines, May 2002, pp. 165–170 (2002)

    Google Scholar 

  9. Li, Y., Peng, S., Chu, W.: Metacube – a new interconnection network for large scale parallel systems. Australian Computer Science Communications 24, 29–36 (2002)

    Google Scholar 

  10. Parhami, B.: Introduction to parallel processing, algorithm and architecture. Plenum Press (1999)

    Google Scholar 

  11. Venkata Rao, M., Chalamaiah, N.: Routing and broadcasting algorithms for a metacube interconnection topology for large scale parallel systems. In: Proceedings of Asia Pacific Confeence on Parallel and Distributed Computing Technologies, December 2004, pp. 1037–1049 (2004)

    Google Scholar 

  12. SGI. Origin2000 Rackmount Owner’s Guide, 007-3456-003 (1997), http://techpubs.sgi.com/

  13. Tucker, L.W., Robertson, G.G.: Architecture and applications of the connection machine. IEEE Computer 21, 26–38 (1988)

    Article  Google Scholar 

  14. Wu, C., Wu, J.: On self-similarity and hamiltonicity of dual-cubes. In: Proc. of Workshop on Massively Parallel Processing (in conjunction with IPDPS) (April 2003)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2009 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Li, Y., Peng, S., Chu, W. (2009). An Efficient Parallel Sorting Algorithm on Metacube Multiprocessors. In: Hua, A., Chang, SL. (eds) Algorithms and Architectures for Parallel Processing. ICA3PP 2009. Lecture Notes in Computer Science, vol 5574. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-03095-6_36

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-03095-6_36

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-03094-9

  • Online ISBN: 978-3-642-03095-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics