Parallel execution of Prolog with granularity control |
| |
Authors: | Lourdes Araujo Jose J. Ruz |
| |
Affiliation: | Dpto. Informática y Automática, Universidad Complutense de Madrid, Madrid 28040, Spain |
| |
Abstract: | This paper presents a system for parallel execution of Prolog supporting both independent conjunctive and disjunctive parallelism. The system is intended for distributed memory architecture and is composed of a set of workers with a hierarchical structure scheduler. The execution model has been designed in such a way that each worker's environment does not contain references to terms in other environments, thus reducing communication overhead. In order to guarantee the improvement of the performance by the parallelism exploitation, a granularity control has been introduced for each kind of parallelism. For conjunctive parallelism PDP applies a control based on the estimation provided by CASLOG. The features of the system allow to introduce this control without adding overhead. For disjunctive parallelism PDP controls granularity by applying a heuristic-based method, which can be adapted to other parallel Prolog systems. Different scheduling policies have also been tested. The system has been implemented on a transputer network and performance results show that it provides a high speedup for coarse grain parallel programs. |
| |
Keywords: | Logic programming Conjunctive parallelism Disjunctive parallelism Granularity Distributed memory architecture |
本文献已被 ScienceDirect 等数据库收录! |