Parallel algorithms for tree accumulations

Autor: Natsuhiko Futamura, Srinivas Aluru, Fatih Erdogan Sevilgen
Rok vydání: 2005
Předmět:
Zdroj: Journal of Parallel and Distributed Computing. 65:85-93
ISSN: 0743-7315
DOI: 10.1016/j.jpdc.2004.09.001
Popis: Accumulations are abstract operations on trees useful in many applications involving trees. The upward accumulation problem is to aggregate data in the subtree under each node of the tree. The downward accumulation problem is to aggregate data at all the ancestors of each node. In this paper, we present parallel algorithms for these problems on coarse-grained distributed memory parallel computers. We first show that when the accumulation function and the set of possible values at nodes of the tree form an Abelian (commutative) group, this problem can be solved by a remarkably simple algorithm-Upward accumulation takes [email protected][email protected] time, where n is the number of nodes in the tree, p is the number of processors, @t is the communication latency and @m is the transfer time per unit message size. Downward accumulation takes Onp+(@[email protected])logp time, making it very communication efficient. For the general case, we present upward and downward accumulation algorithms that run in [email protected][email protected] time.
Databáze: OpenAIRE