Skip to main content
Log in

Data reduction and fast routing: A strategy for efficient algorithms for message-passing parallel computers

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

This paper presents several algorithms for solving problems using massively parallel SIMD hypercube and shuffle-exchange computers. The algorithms solve a wide variety of problems, but they are related because they all use a common strategy. Specifically, all of the algorithms use a divide-and-conquer approach to solve a problem withN inputs using a parallel computer withP processors. The structural properties of the problem are exploited to assure that fewer thanN data items are communicated during the division and combination steps of the divide-and-conquer algorithm. This reduction in the amount of data that must be communicated is central to the efficiency of the algorithm.

This paper addresses four problems, namely the multiple-prefix, data-dependent parallel-prefix, image-component-labeling, and closest-pair problems. The algorithms presented for the data-dependent parallel-prefix and closest-pair problems are the fastest known whenNP and the algorithms for the multiple-prefix and image-component-labeling problems are the fastest known whenN is sufficiently large with respect toP.

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. M. J. Atallah and M. T. Goodrich. Efficient parallel solutions to some geometric problems.Journal of Parallel and Distributed Computing, 3(4):492–507, December 1986.

    Article  Google Scholar 

  2. K. E. Batcher. Sorting networks and their applications. InProc. AFIPS Spring Joint Computer Conf., pages 307–314, 1968.

  3. V. E. Benes. Optimal rearrangeable multistage connection networks.Bell System Technical Journal, 43:1641–1656, 1964.

    MATH  MathSciNet  Google Scholar 

  4. J. L. Bentley. Multidimensional divide-and-conquer.Communications of the ACM, 23(4):214–229, April 1980.

    Article  MATH  MathSciNet  Google Scholar 

  5. G. Blelloch. Scans as primitive parallel operations. InProc. Internat. Conf. on Parallel Processing, pages 355–362, 1987.

  6. E. R. Cohn. Implementing the multi-prefix operation efficiently. Unpublished manuscript, 1989.

  7. E. R. Cohn and R. W. Haddad. Beta Operations: Efficient Implementation of a Primitive Parallel Operation. Technical Report, Dept. of Computer Science, Stanford University August 1986.

  8. R. Cole and U. Vishkin. Approximate and exact parallel scheduling with applications to list, tree, and graph problems. InProc. 27th Annual Symposium on Foundations of Computer Science, pages 478–491, 1986.

  9. R. Cole and U. Vishkin. Deterministic coin tossing and accelerating cascades: micro and macro techniques for designing parallel algorithms. InProc. 18th Annual Symposium on Theory of Computing, pages 206–219, 1986.

  10. R. Cypher and J. L. C. Sanz.Algorithms for Reduced Hypercubes and Related Computers. Technical Report TR 89-04-05, Dept. of Computer Science, University of Washington, April 1989.

  11. R. Cypher and J. L. C. Sanz. Hypercube and shuffle-exchange algorithms for image component labeling.Journal of Algorithms, 10:140–150, 1989.

    Article  MATH  MathSciNet  Google Scholar 

  12. Y. Han. Designing Fast and Efficient Parallel Algorithms. Ph.D. thesis, Dept. of Computer Science, Duke University, 1987.

  13. W. D. Hillis.The Connection Machine. MIT Press, Cambridge, MA, 1985.

    Google Scholar 

  14. J. Ja'Ja' and Kwan Woo Ryu. Efficient Techniques for Routing and for Solving Graph Problems on the Hypercube. Technical Report CS-TR-2216, Dept. of Computer Science, University of Maryland, March 1989.

  15. R. Miller and Q. F. Stout. Mesh Computer Algorithms for Computational Geometry. Technical Report 86-18, State University of New York at Buffalo, 1986.

  16. D. Nassimi and S. Sahni. Data broadcasting in SIMD computers.IEEE Transactions on Computers, 30(2): 101–107, February 1981.

    MathSciNet  Google Scholar 

  17. D. Nassimi and S. Sahni. Parallel algorithms to set up the Benes permutation network.IEEE Transactions on Computers, 31(2): 148–154, February 1982.

    Article  MATH  Google Scholar 

  18. D. Nassimi and S. Sahni. Parallel permutation and sorting algorithms and a new generalized connection network.Journal of the ACM, 29:642–667, July 1982.

    Article  MATH  MathSciNet  Google Scholar 

  19. A. G. Ranade. Fluent Parallel Computation. Ph.D. thesis, Yale University, May 1989.

  20. A. Rosenfeld and A. C. Kak.Digital Picture Processing. Academic Press, New York, 1982.

    Google Scholar 

  21. J. L. C. Sanz and R. Cypher. Data Reduction and Fast Routing: A Strategy for Efficient Algorithms for Parallel Message-Passing Computers. Technical Report, IBM Almaden Research Center, November 1987.

  22. J. T. Schwartz. Ultracomputers.ACM Transactions on Programming Languages and Systems, 2(4):484–521, October 1980.

    Article  MATH  Google Scholar 

  23. Y. Shiloach and U. Vishkin. AnO(logn) parallel connectivity algorithm.Journal of Algorithms, 3:57–67, 1982.

    Article  MATH  MathSciNet  Google Scholar 

  24. H. S. Stone. Parallel processing with the perfect shuffle.IEEE Transactions on Computers, 20(2): 153–161, February 1971.

    Article  MATH  Google Scholar 

  25. S. L. Tanimoto.Intermediate-Level Image Processing, pages 3–16. Academic Press, New York, 1986.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Additional information

Communicated by Alok Aggarwal.

This work was supported in part by our NSF Graduate Fellowship.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Sanz, J.L.C., Cypher, R. Data reduction and fast routing: A strategy for efficient algorithms for message-passing parallel computers. Algorithmica 7, 77–89 (1992). https://doi.org/10.1007/BF01758752

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01758752

Key words

Navigation