Towards a high-level implementation of execution primitives for non-restricted, independent and-parallelism

Casas, Amadeo and Carro Liñares, Manuel and Hermenegildo, Manuel V. (2007). Towards a high-level implementation of execution primitives for non-restricted, independent and-parallelism. Monografía (Technical Report). Facultad de Informática (UPM), Madrid, España.

Description

Title: Towards a high-level implementation of execution primitives for non-restricted, independent and-parallelism
Author/s:
  • Casas, Amadeo
  • Carro Liñares, Manuel
  • Hermenegildo, Manuel V.
Item Type: Monograph (Technical Report)
Date: 2007
Subjects:
Faculty: Facultad de Informática (UPM)
Department: Inteligencia Artificial
Creative Commons Licenses: Recognition - No derivative works - Non commercial

Full text

[img]
Preview
PDF - Requires a PDF viewer, such as GSview, Xpdf or Adobe Acrobat Reader
Download (242kB) | Preview

Abstract

Most implementations of parallel logic programming rely on complex low-level machinery which is arguably difficult to implement and modify. We explore an alternative approach aimed at taming that complexity by raising core parts of the implementation to the source language level for the particular case of and-parallelism. Therefore, we handle a significant portion of the parallel implementation mechanism at the Prolog level with the help of a comparatively small number of concurrency-related primitives which take care of lower-level tasks such as locking, thread management, stack set management, etc. The approach does not eliminate altogether modifications to the abstract machine, but it does greatly simplify them and it also facilitates experimenting with different alternatives. We show how this approach allows implementing both restricted and unrestricted (i.e., non fork-join) parallelism. Preliminary experiments show that the amount of performance sacrificed is reasonable, although granularity control is required in some cases. Also, we observe that the availability of unrestricted parallelism contributes to better observed speedups.

More information

Item ID: 53074
DC Identifier: http://oa.upm.es/53074/
OAI Identifier: oai:oa.upm.es:53074
Official URL: http://cliplab.org/papers/casas07:high_level_implem-tr.pdf
Deposited by: Biblioteca Facultad de Informatica
Deposited on: 21 Nov 2018 15:46
Last Modified: 21 Nov 2018 15:46
  • Logo InvestigaM (UPM)
  • Logo GEOUP4
  • Logo Open Access
  • Open Access
  • Logo Sherpa/Romeo
    Check whether the anglo-saxon journal in which you have published an article allows you to also publish it under open access.
  • Logo Dulcinea
    Check whether the spanish journal in which you have published an article allows you to also publish it under open access.
  • Logo de Recolecta
  • Logo del Observatorio I+D+i UPM
  • Logo de OpenCourseWare UPM