Abstract

We provide the first non-trivial lower bound, p - 3 p · n p , where p is the number of the processors and n is the data size, on the average-case communication volume, σ, required to solve the parenthesis matching problem, assuming problem instances are uniformly distributed, and present a parallel algorithm that takes linear (optimal) computation time and optimal expected message volume, σ + p. The kernel of the algorithm is to solve the all nearest smaller values problem. Provided n p = Ω ( p ) , we present an algorithm that achieves optimal sequential computation time and uses only a constant number of communication phases, with the message volume in each phase bounded above by ( n p + p ) in the worst case and p in the average case. Experiments have been performed on two clusters: an SGI Intel Linux Cluster and a Sun cluster of workstations, both showing low communication overhead and good speedups.

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