Skip to main content

Scheduling parallel communication: The h-relation problem

  • Invited Papers
  • Conference paper
  • First Online:
Mathematical Foundations of Computer Science 1995 (MFCS 1995)

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

Abstract

This paper is concerned with the efficient scheduling and routing of point-to-point messages in a distributed computing system with n processors. We examine the h-relation problem, a routing problem where each processor has at most h messages to send and at most h messages to receive. Communication is carried out in rounds. Direct communication is possible from any processor to any other, and in each round a processor can send one message and receive one message. The off-line version of the problem arises when every processor knows the source and destination of every message. In this case the messages can be routed in at most h rounds. More interesting, and more typical, is the on-line version, in which each processor has knowledge only of h and of the destinations of those messages which it must send. The on-line version of the problem is the focus of this paper.

The difficulty of the h-relation problem stems from message conflicts, in which two or more messages are sent to the same processor in a given round, but at most one can be received. The problem has been well studied in the OCPC optical network model, but not for other contemporary network architectures which resolve message conflicts using other techniques. In this paper, we study the h-relation problem under alternative models of conflict resolution, most notably a FIFO queue discipline motivated by wormhole routing and an arbitrary write discipline motivated by packet-switching networks. In each model the problem can be solved by a randomized algorithm in an expected number of rounds of the form ch+o(h)+log Θ(1) n, and we focus on obtaining the smallest possible asymptotic constant factor c. We first present a lower bound, proving that a constant factor of 1 is not achievable in general. We then present a randomized algorithm for each discipline and show that they achieve small constant factors.

Supported by a Schlumberger Foundation Graduate Fellowship.

Supported by a GAANN Graduate Fellowship.

Supported by NSF grant number CCR-9005448.

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. R. A. Anderson and G. L. Miller. ”Optical Communication for Pointer-Based Algorithms,” Technical Report CRI 88-14, Computer Science Department, University of Southern California, Los Angeles, CA, 1988.

    Google Scholar 

  2. J. Bruck, C. Ho, S. Kipnis, D. Weathersby. ”Efficient Algorithms for All-to-All Communications in Multi-Port Message-Passing Systems,” Proc. 6th ACM Symp. on Parallel Algorithms and Architectures, pp. 298–309, June 1994.

    Google Scholar 

  3. R. Cole. ”Parallel Merge Sort,” SIAM Journal of Computing 17(4), PP. 770–785, 1988.

    Google Scholar 

  4. D. Culler, R. Karp, D. Patterson, A. Sahay, K. E. Schauser, E. Santos, R. Subramonian, and T. von Eicken. ”LogP: Towards a Realistic Model of Parallel Computation,” Proc. 4th ACM SIGPLAN Symp. on Principles and Practice of Parallel Programming, pp. 1–12, January 1993.

    Google Scholar 

  5. A. Gerbessiotis and L. Valiant. “Direct Bulk-Synchronous Parallel Algorithms,” Journal of Parallel and Distributed Computing 22, pp. 251–267, 1994.

    Google Scholar 

  6. M. Geréb-Graus and T. Tsantilas. “Efficient Optical Communication in Parallel Computers,” Proc. 4th ACM Symp. on Parallel Algorithms and Architectures, pp. 41–48, June 1992.

    Google Scholar 

  7. P. Gibbons, Y. Matias and V. Ramachandran. ”The QRQW PRAM: Accounting for contention in parallel algorithms,” Proc. 5th ACM Symp. on Discrete Algorithms, pp. 638–648, January 1994.

    Google Scholar 

  8. P. Gibbons, Y. Matias and V. Ramachandran. ”Efficient Low-Contention Parallel Algorithms,” Proc. 6th ACM Symp. on Parallel Algorithms and Architectures, pp. 236–247, June 1994.

    Google Scholar 

  9. L. A. Goldberg, M. Jerrum, T. Leighton, and S. Rao. ”A Doubly Logarithmic Communication Algorithm for the Completely Connected Optical Communication Parallel Computer,” Proc. 5th ACM Symp. on Parallel Algorithms and Architectures, pp. 300–309, June–July 1993.

    Google Scholar 

  10. L. A. Goldberg, M. Jerrum and P. MacKenzie. ”An Ω(√log log n) Lower Bound for Routing on Optical Networks,” Proc. 6th ACM Symp. on Parallel Algorithms and Architectures, pp. 147–156, June 1994.

    Google Scholar 

  11. F. T. Leighton. Introduction to Parallel Algorithms and Architectures: Arrays · Trees · Hypercubes Morgan Kaufmann Publishers, San Mateo, CA, 1992.

    Google Scholar 

  12. C. E. Leiserson, et al. “The Network Architecture of the Connection Machine CM-5,” Proc. 4th ACM Symp. on Parallel Algorithms and Architectures, June 1992. Revised March 21, 1994.

    Google Scholar 

  13. M. Noakes and W. J. Dally. “System Design of the J Machine,” Sixth MIT Conference on Advanced Research in VLSI, pp. 179–194. MIT Press, 1990.

    Google Scholar 

  14. A. Ranade. Fluent Parallel Computation. PhD thesis, Yale University, New Haven, CT, 1988.

    Google Scholar 

  15. S. Rao, T. Suel, T. Tsantilas and M. Goudreau. ”Efficient Communication Using Total-Exchange,” Proc. 9th IEEE International Parallel Processing Symposium, pp. 544–555, April 1995.

    Google Scholar 

  16. L. G. Valiant. “General Purpose Parallel Architectures.” In J. van Leeuwen, ed., Handbook of Theoretical Computer Science, Volume A, pp. 943–972. Elsevier Science Publishers B.V., Amsterdam, The Netherlands, 1990.

    Google Scholar 

  17. L. G. Valiant. ”A Bridging Model for Parallel Computation,” Communications of the ACM 33, pp. 103–111, 1990.

    Article  Google Scholar 

  18. R. W. Wolff, Stochastic Modeling and the Theory of Queues, Prentice-Hall, Inc., Englewood Cliffs, New Jersey, 1989.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Jiří Wiedermann Petr Hájek

Rights and permissions

Reprints and permissions

Copyright information

© 1995 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Adler, M., Byers, J.W., Karp, R.M. (1995). Scheduling parallel communication: The h-relation problem. In: Wiedermann, J., Hájek, P. (eds) Mathematical Foundations of Computer Science 1995. MFCS 1995. Lecture Notes in Computer Science, vol 969. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-60246-1_109

Download citation

  • DOI: https://doi.org/10.1007/3-540-60246-1_109

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-60246-0

  • Online ISBN: 978-3-540-44768-9

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics