Skip to main content

Network complexity of sorting and graph problems and simulating CRCW PRAMS by interconnection networks

Preliminary version

  • Distributed Computing
  • Conference paper
  • First Online:
VLSI Algorithms and Architectures (AWOC 1988)

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

Included in the following conference series:

Abstract

A sequential random access machine can permute n data items in n steps. However, Gottlieb and Kruskal have shown that any bounded degree machine with P processors requires Ω((n/P) log P) time to permute n data items and this result makes the issue of optimal speedup interesting for interconnection networks. In this paper, we consider the issue of optimal speedup for sorting and graph problems and provide the following results: (1) If a network with P processors can permute P elements in O(log P) time, then n data items can be sorted on this network in Θ((n/P) log n) time when nP 1+ɛ. An important consequence of this result is that a single step of any Concurrent Read Concurrent Write PRAM (CRCW-PRAM) algorithm that uses n processors and O(n) memory space, can be simulated optimally (when nP 1+ɛ) by any network with P processors that can permute P data items in O(log P) time. (2) The connected components, biconnected components, and the minimum spanning forest can be determined in optimal time for any network that has P processors as long as Pn 2 / log2 n and as long as this network can perform a restrictive set of permutations of P items in O(log P) time. Our paradigm for solving graph problems is quite general and it can be extended to optimally compute the median of n numbers on interconnection networks.

This work was done when the author was visiting IBM Thomas J. Watson Research Center in 1984–85.

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

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. A. Aggarwal, "A Comparitive Study of X-Tree, Pyramids, and Related Machines" Proc. of 25th Ann. Conference on Foundations of Computer Science, pp. 89–99, 1984.

    Google Scholar 

  2. M. J. Atallah and S. E. Hambrusch, "Solving Tree Problems on a Mesh Connected Processor Array," Proc. of the 26th Ann. Conference on the Foundations of Computer Science, pp. 222–231, 1985.

    Google Scholar 

  3. M. Ajtai, J. Komlos, and E. Szemeredi, "An O(n log n) Sorting Network," Proc. of 15th Ann. Symposium on Theory of Computing, pp. 1–9, 1983.

    Google Scholar 

  4. B. Awerbuch, A. Israeli, and Y. Shiloach, "Efficient Simulation of PRAM by an Ultracomputer," Technical Report 120, Israel Scientific Center, 1983.

    Google Scholar 

  5. B. Awerbuch and Y. Shiloach, "New Connectivity and MSF Algorithms for PRAMs and Ultracomputer," Technical Report 122, Israel Scientific Center, 1983.

    Google Scholar 

  6. A. Gottlieb and C. P. Kruskal, "Complexity Results for Permuting Data and Other Computations on Parallel Processors," Journal of the ACM, Vol. 13, No. 2, pp. 193–209, 1984.

    Article  MathSciNet  Google Scholar 

  7. P. S. Gopalakrishnan, L. N. Kanal, and I. V. Ramakrishnan, "Finidng Connected Components on SIMD Computers," Tech. Report, Univ. of Maryland, 1985.

    Google Scholar 

  8. P. S. Gopalakrishnan, L. N. Kanal, and I. V. Ramakrishnan, "Computing Tree Functions on SIMD Computers," Technical Report, Univ. of Maryland, 1985.

    Google Scholar 

  9. S. E. Hambrusch, "The Complexity of Graph Problems in VLSI," Ph. D. Dissertation, Penn. State University, 1982.

    Google Scholar 

  10. M.-D. A. Huang, "Solving Some Graph Problems with Optimal or Near-Optimal Speedup on Mesh-of-Trees Networks," Proc. of the 26th Ann. Conference on the Foundations of Computer Science, pp. 232–240, 1985.

    Google Scholar 

  11. D. S. Hirschberg, A. K. Chandra, and D. V. Sarwate, "Computing Connected Components on Parallel Computers," Comm. of ACM, pp. 461–464, 1979.

    Google Scholar 

  12. J. Ja'Ja, "The VLSI Complexity of Graph Problems," Technical Report, Penn. State University, 1981.

    Google Scholar 

  13. F. T. Leighton, "Tight Bounds on the Complexity of Parallel Sorting," IEEE Trans. on Computers, Vol. C-34, No. 4, pp. 344–354, 1985.

    Article  MathSciNet  Google Scholar 

  14. K. Mehlhorn and U. Vishkin, "Randomized and Deterministic Simulations of PRAMs by Parallel Machines with Restricted Granularity of Parallel Memories," Proc. of the 9th Workshop on Graph Theoretic Concepts in Computer Science, Fachbereich Mathematik, Universitat Osnabruck, June 1983.

    Google Scholar 

  15. D. Nath, S. N. Maheshwari, and P. C. P Bhatt, "Efficient VLSI Networks for Parallel Processing Based on Orthogonal Trees," IEEE Trans. on Computers, Vol. C-32, No. 6, pp. 569–581, 1983.

    Google Scholar 

  16. D. Nassimi and S. Sahni, "Data Broadcasting in SIMD Computers," IEEE Trans. on Computers, Vol. C-30, No. 2, pp. 101–107, 1980.

    MathSciNet  Google Scholar 

  17. F. P. Preparata and J. Vuillemin, "The Cube-Connected Cycles: A Versatile Network for Parallel Computation," Comm. of ACM, Vol. 24, No. 5, pp. 300–309, 1981.

    Article  MathSciNet  Google Scholar 

  18. J. Reif and Q. Stout, Personal Communication, 1985.

    Google Scholar 

  19. Y. Shiloach and U. Vishkin, "An O(log n) Parallel Connectivity Algorithm," Journal of Algorithms, Vol. 3, pp. 128–146, 1982.

    Article  MATH  MathSciNet  Google Scholar 

  20. C. D. Thompson, "A Complexity Theory for VLSI," Ph. D. Dissertation, Carnegie-Mellon University, 1980.

    Google Scholar 

  21. R. E. Tarjan and U. Vishkin, "Finding Biconnected Components and Computing Tree Functions in Logarithmic Time," Proc. of the 25th Ann. Conference on Foundations of Computer Science, pp. 12–20, 1984.

    Google Scholar 

  22. E. Upfal, "A Probabilistic Relation Between Desirable and Feasible Models of Parallel Computation," Proc. of the 16th Ann. Symposium on Theory of Computing, pp. 258–265, 1984.

    Google Scholar 

  23. E. Upfal and A. Wigderson, "How to Share Memory in a Distributed System," Proc. of 25th Ann. Conference on the Foundations of Computer Science, pp. 171–180, 1984.

    Google Scholar 

  24. U. Vishkin, "Implementation of Simultaneous Memory Address Access in Models That Forbid It," Journal of Algorithms, Vol. 4, pp. 45–50, 1983.

    Article  MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

John H. Reif

Rights and permissions

Reprints and permissions

Copyright information

© 1988 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Aggarwal, A., Huang, MD.A. (1988). Network complexity of sorting and graph problems and simulating CRCW PRAMS by interconnection networks. In: Reif, J.H. (eds) VLSI Algorithms and Architectures. AWOC 1988. Lecture Notes in Computer Science, vol 319. Springer, New York, NY. https://doi.org/10.1007/BFb0040401

Download citation

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

  • Published:

  • Publisher Name: Springer, New York, NY

  • Print ISBN: 978-0-387-96818-6

  • Online ISBN: 978-0-387-34770-7

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics