Lock-free parallel dynamic programming |
| |
Authors: | Alex Stivala Peter J. Stuckey Maria Garcia de la Banda Manuel Hermenegildo Anthony Wirth |
| |
Affiliation: | 1. Department of Computer Science and Software Engineering, University of Melbourne, 3010, Australia;2. NICTA Victoria Research Laboratories, Australia;3. School of Information Technology, Monash University, 6800, Australia;4. IMDEA Software, Madrid, Spain;5. Universidad Politecnica de Madrid (UPM), Madrid, Spain |
| |
Abstract: | We show a method for parallelizing top down dynamic programs in a straightforward way by a careful choice of a lock-free shared hash table implementation and randomization of the order in which the dynamic program computes its subproblems. This generic approach is applied to dynamic programs for knapsack, shortest paths, and RNA structure alignment, as well as to a state-of-the-art solution for minimizing the maximum number of open stacks. Experimental results are provided on three different modern multicore architectures which show that this parallelization is effective and reasonably scalable. In particular, we obtain over 10 times speedup for 32 threads on the open stacks problem. |
| |
Keywords: | Dynamic programming Lock-free hash tables Constraint programming Multicores Parallelism |
本文献已被 ScienceDirect 等数据库收录! |
|