10.1145/63047.63102acmconferencesArticle/Chapter ViewAbstractPublication Pagesc3pConference Proceedingsconference-collections
Article
Free Access

Binsorting on hypercubes with d-port communication

Authors Info & Claims
Published:03 January 1989Publication History

ABSTRACT

Three sorting algorithms are given for hypercubes with d-port communication. All of these algorithms are based on binsort at the global level. The binsort allows the movement of keys among nodes to be performed by a d-port complete exchange rather than a sequence of l-port exchanges as in other algorithms. This lowers communication costs by at least a factor of d compared to other sorting algorithms. The first algorithm assumes the keys are uniformly distributed and selects bin boundaries based on the global maximum and minimum keys. The other two algorithms make no assumption about the distribution of keys and so they sample the keys before the binsort in order to estimate their distribution. Splitting keys based on that estimate reduce the variance among the lengths of the subsequences left in the nodes after the complete exchange of bins which in turn helps to balance the computational load in each node. The performance of two of these algorithms on an FPS T-40 is given for data of various distributions and is compared to the performance of bitonic sort and hyperquicksort.

References

  1. 1.K.E. Batcher, Sorting networks and their applications, Spring Joint Computer Conference, AFiPS Proceedings, v. 32, 1968, 307-314.Google ScholarGoogle Scholar
  2. 2.E. Felten, S. Karlin and S. Otto, Sorting on a hypercube, Caltech/JPL Hm244, 1986.Google ScholarGoogle Scholar
  3. 3.J.L. Gustafson, S. Hawkinson and K. Scott, The architecture of a homogeneous vector supercomputer, Int'l Conf. on Parallel Processing, 1986, 649-652.Google ScholarGoogle Scholar
  4. 4.C. Ho and S. L. Johnsson, Spanning graphs for optimum broadcasting and personalized communication in hypercubes, YALEU/Dept. of Computer Science/Tech. Rep.-500, Nov. 1986.Google ScholarGoogle Scholar
  5. 5.P.J. Janus and E. A. Lamagna, An adaptive method for unknown distributions in distributive partitioned sorting, IEEE Trans. Comp. C-34,4 (Apr. 1985), 367- 372.Google ScholarGoogle Scholar
  6. 6.S.L. Johnsson, Combining parallel and sequential sorting on a Boolean n-cube , lnt'l Conf. on Parallel Processing, 1984, 444-448.Google ScholarGoogle Scholar
  7. 7.P.P. Li, Parallel sorting on Ametek/S14, Ametek Computer Research Division, Arcadia, CA , Sept. 1986.Google ScholarGoogle Scholar
  8. 8.C.L. Seitz, The cosmic cube, Comm. ACM 28,1 (Jan. 1985), 22-33. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. 9.Q. Stout and B. Wagar, Passing messages in linkbound hypercubes, Hypercube Multiprocessors 1987, SIAM Press, Phila., 1987, 251-257.Google ScholarGoogle Scholar
  10. 10.Q. Stout, Personal communication, Jan. 1988.Google ScholarGoogle Scholar
  11. 11.B. Wagar, Hyperquicksort: A fast sorting algorithm for hypercubes, Hypercube Multiprocessors 1987, SIAM Press, Phila., 1987, 292-299.Google ScholarGoogle Scholar

Index Terms

  1. Binsorting on hypercubes with d-port communication

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          C3P: Proceedings of the third conference on Hypercube concurrent computers and applications - Volume 2
          January 1989
          1787 pages
          ISBN:0897912780
          DOI:10.1145/63047
          • Editor:
          • Geoffrey Fox

          Copyright © 1989 ACM

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 3 January 1989

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • Article

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader
        About Cookies On This Site

        We use cookies to ensure that we give you the best experience on our website.

        Learn more

        Got it!