Skip to main content

Unifying themes for network selection

  • Conference paper
  • First Online:
Algorithms and Computation (ISAAC 1994)

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

Included in the following conference series:

Abstract

In this paper we present efficient deterministic and randomized algorithms for selection on any interconnection network when the number of input keys (n) is ≥ the number of processors (p).

Our deterministic algorithm runs on any network in time O(n/p log log p + T sp log n), where T sp is the time needed for sorting p keys using p processors (assuming that broadcast and prefix computations take time less than or equal to T sp ). As an example, our algorithm runs on a √p × √p mesh in time O(n/p log log p + √p log n), where n is the input size. This time bound is nearly optimal and significantly better than that of the best existing algorithm when n is large.

On the other hand, our randomized algorithm runs in an expected time of O((n/p + T ssparse ) log log p) on any network, where T ssparse is the time needed for collecting and sorting p 1−ε sample keys using p processors. (Here ε is a constant < 1). On a √p × √p mesh our algorithm runs in an expected O((n/p + √p) log log p) time, a significant improvement over the deterministic algorithm.

We have implemented our randomized algorithm on the Connection Machine CM2. Experimental results obtained are promising. In this paper we also report our implementation details.

This research was supported in part by an NSF Research Initiation Award CCR-92-09260.

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. M. Blum, R. Floyd, V.R. Pratt, R. Rivest, and R. Tarjan, Time Bounds for Selection, Journal of Computer and System Science, 7(4), 1972, pp. 448–461.

    Google Scholar 

  2. R.W. Floyd, and R.L. Rivest, Expected Time Bounds for Selection, Communications of the ACM, Vol. 18, No.3, 1975, pp. 165–172.

    Article  Google Scholar 

  3. D. Krizanc, and L. Narayanan, Optimal Algorithms for Selection on a Mesh-Connected Processor Array, Proc. Symposium on Parallel and Distributed Processing, 1992.

    Google Scholar 

  4. D. Krizanc and L. Narayanan, Multi-packet Selection on a Mesh-Connected Processor Array, in Proc. International Parallel Processing Symposium, 1992.

    Google Scholar 

  5. T. Leighton, Introduction to Parallel Algorithms and Architectures: Arrays-Trees-Hypercube, Morgan-Kaufmann Publishers, 1992.

    Google Scholar 

  6. N. Meggido, Parallel Algorithms for Finding the Maximum and the Median Almost Surely in Constant Time, Preliminary Report, CS Department, Carnegie-Mellon University, Pittsburg, PA, Oct. 1982.

    Google Scholar 

  7. C.G. Plaxton, Efficient Computation on Sparse Interconnection Networks, Ph. D. Thesis, Department of Computer Science, Stanford University, 1989.

    Google Scholar 

  8. S. Rajasekaran, Randomized Parallel Selection, Proc. Symposium on Foundations of Software Technology and Theoretical Computer Science, 1990, pp. 215–224.

    Google Scholar 

  9. S. Rajasekaran, Mesh Connected Computers with Fixed and Reconfigurable Buses: Packet Routing, Sorting, and Selection, in Proc. First Annual European Symposium on Algorithms, 1993.

    Google Scholar 

  10. S. Rajasekaran and J.H. Reif, Derivation of Randomized Sorting and Selection Algorithms, Parallel Algorithm Derivation and Program Transformation, Edited by R. Paige, J.H. Reif, and R. Wachter, Kluwer Academic Publishers, 1993, pp. 187–205.

    Google Scholar 

  11. S. Rajasekaran, and S. Sen, Random Sampling Techniques and Parallel Algorithms Design, in Synthesis of Parallel Algorithms, Editor: J.H. Reif, Morgan-Kaufman Publishers, 1993, pp. 411–451.

    Google Scholar 

  12. S. Rajasekaran and D.S.L. Wei, Selection, Routing, and Sorting on the Star Graph, in Proc. International Parallel Processing Symposium, pp. 661–665, April 1993.

    Google Scholar 

  13. R. Reischuk, Probabilistic Parallel Algorithms for Sorting and Selection, SIAM Journal of Computing, Vol. 14, No. 2, 1985, pp. 396–409.

    Article  Google Scholar 

  14. C. Schnorr and A. Shamir, An Optimal Sorting Algorithm for Mesh-Connected Computers, in Proc. ACM Symposium on Theory of Computing, 1986, pp. 255–263.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Ding-Zhu Du Xiang-Sun Zhang

Rights and permissions

Reprints and permissions

Copyright information

© 1994 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Rajasekaran, S., Chen, W., Yooseph, S. (1994). Unifying themes for network selection. In: Du, DZ., Zhang, XS. (eds) Algorithms and Computation. ISAAC 1994. Lecture Notes in Computer Science, vol 834. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-58325-4_170

Download citation

  • DOI: https://doi.org/10.1007/3-540-58325-4_170

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-58325-7

  • Online ISBN: 978-3-540-48653-4

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics