Abstract

We consider the problem of computing a census function among n processors in a message-passing system. In this problem, each of the n processors holds one piece of data initially. The goal is to compute an associative and commutative census function h on the n distributed pieces of data and to make the result known to all the processors. To perform the computation, processors send messages to and receive messages from one another in specified communication rounds. To model the communication latencies inherent in many modern message-passing systems, we use the postal model which was recently introduced by Bar-Noy and Kipnis. In this model, a message sent by one processor in a given round is received by another processor only several rounds later. This paper describes an optimal algorithm for the census problem in the postal model. The algorithm requires the least number of communication rounds and minimizes the time spent by each processor in sending and receiving messages.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call