Advertisement

A distributed implementation of a task pool

  • H. Peter Hofstee
  • Johan J. Lukkien
  • Jan L. A. van de Snepscheut
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 574)

Abstract

In this paper we present a distributed algorithm to implement a task pool. The algorithm can be used to implement a processor farm, i.e., a collection of processes that consume tasks from the task pool and possibly produce tasks into it. There are no restrictions on which process consumes which task nor on the order in which tasks are processed. The algorithm takes care of the distribution of the tasks over the processes and ensures load balancing. We derive the algorithm by transforming a sequential algorithm into a distributed one. The transformation is guided by the distribution of the data over processes. First we discuss the case of two processes, and then the general case of one or more processes.

Keywords

load balancing processor farm distributed computation 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. [1]
    E.W. Dijkstra, A Discipline of Programming, (Prentice Hall, Englewood Cliffs, NJ 1976).Google Scholar
  2. [2]
    C.A.R. Hoare, Communicating Sequential Processes, Comm. ACM (1978) 666–677.Google Scholar
  3. [3]
    C.A.R. Hoare, Communicating Sequential Processes, (Prentice-Hall International Series in Computer Science, 1985)Google Scholar
  4. [4]
    A.J. Martin, An Axiomatic Definition of Synchronization Primitives, Acta Informatica16, (1981) 219–235.Google Scholar
  5. [5]
    S. Owicki, D. Gries, An Axiomatic Proof Technique for Parallel programs, Acta Informatica 6, (1976) 319–340.CrossRefGoogle Scholar
  6. [6]
    H. P. Hofstee, A. J. Martin, J. L. A. van de Snepscheut, Distributed Sorting, Science of Computer Programming 15 (1990) 119–133MathSciNetGoogle Scholar
  7. [7]
    A.J. Martin, The Probe: An Addition to Communication Primitives, Information Processing Letters 20 (1985) 125–130Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 1992

Authors and Affiliations

  • H. Peter Hofstee
    • 1
  • Johan J. Lukkien
    • 1
  • Jan L. A. van de Snepscheut
    • 1
  1. 1.Computer ScienceCalifornia Institute of TechnologyPasadena

Personalised recommendations