skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: Parallel algorithms for computing linked list prefix

Journal Article · · Journal of Parallel and Distributed Computing; (USA)
 [1]
  1. Kentucky Univ., Lexington, KY (USA)

Given a linked list chi/sub 1/, chi/sub 2/, ....chi/sub n/ with chi/sub i/ following chi/sub i-1/ in the list and an associative operation O, the linked list prefix problem is to compute all prefixes O/sup j//sub i=1/chi/sub 1/, j=1,2,...,n. In this paper the authors study the linked list prefix problem on parallel computation models. A deterministic algorithm for computing a linked list prefix on a completely connected parallel computation model is obtained by applying vector balancing techniques. The time complexity of the algorithm is O(n/rho + rho log rho), where n is the number of elements in the linked list and rho is the number of processors used. Therefore their algorithm is optimal when n {ge}rho/sup 2/logrho. A PRAM linked list prefix algorithm is also presented. This PRAM algorithm has time complexity O(n/rho + log rho) with small multiplicative constant. It is optimal when n {ge}rho log rho.

OSTI ID:
5242836
Journal Information:
Journal of Parallel and Distributed Computing; (USA), Vol. 6:3; ISSN 0743-7315
Country of Publication:
United States
Language:
English

Similar Records

Randomized parallel speedups for list ranking
Journal Article · Mon Jun 01 00:00:00 EDT 1987 · J. Parallel Distrib. Comput.; (United States) · OSTI ID:5242836

Optimal computation of prefix sums on a binary tree of processors
Journal Article · Wed Apr 01 00:00:00 EST 1987 · Int. J. Parallel Program.; (United States) · OSTI ID:5242836

Parallel hashing and integer sorting. Technical report
Technical Report · Mon Jan 01 00:00:00 EST 1990 · OSTI ID:5242836