DocumentCode
2490768
Title
Flat indexing: a compilation technique to enhance parallelism of logic programs
Author
Kim, Hiecheol ; Gaudiot, Jean-Luc
Author_Institution
Dept. of Comput. & Commun., Taegu Univ., South Korea
fYear
1998
fDate
14-16 Dec 1998
Firstpage
766
Lastpage
774
Abstract
The paper presents a systematic approach to the compilation of logic programs for efficient clause indexing. As the kernel of the approach, we propose the indexing tree which provides a simple, but precise representation of average parallelism per node (i.e., choice point) as well as the amount of clause trials. It also provides the way to evaluate the number of the cases that the control is passed to the failure code by the indexing instruction such as switch on term, switch on constant, or switch on structure. By analyzing the indexing tree created when using the indexing scheme implemented in the WAM, we show the drawback of the WAM indexing scheme in terms of parallelism exposition and scheduling. Subsequently we propose a new indexing scheme, which we call Flat indexing. Experimental results show that over one half of the benchmarks benefit from the Flat indexing, such that compared with the WAM indexing scheme, the number of choice points is reduced by 15%. Moreover, the amount of failures which occur during the execution of indexing instructions is reduced by 35%
Keywords
logic programming; parallel programming; program compilers; tree data structures; trees (mathematics); WAM indexing scheme; Warren Abstract Machine; average parallelism; clause indexing; clause trials; compilation technique; failure code; flat indexing; indexing instruction; indexing instructions; indexing tree; logic programs; parallelism exposition; scheduling; Concurrent computing; Indexing; Logic; Parallel processing; Runtime; Terminology;
fLanguage
English
Publisher
ieee
Conference_Titel
Parallel and Distributed Systems, 1998. Proceedings. 1998 International Conference on
Conference_Location
Tainan
ISSN
1521-9097
Print_ISBN
0-8186-8603-0
Type
conf
DOI
10.1109/ICPADS.1998.741166
Filename
741166
Link To Document