A Lock-Free Hash Trie Design for Concurrent Tabled Logic Programs

dc.contributor.author Miguel Gonçalves Areias en
dc.contributor.author Ricardo Rocha en
dc.date.accessioned 2018-01-04T16:20:53Z
dc.date.available 2018-01-04T16:20:53Z
dc.date.issued 2016 en
dc.description.abstract Tabling is an implementation technique that improves the declarativeness and expressiveness of Prolog systems in dealing with recursion and redundant sub-computations. A critical component in the design of a concurrent tabling system is the implementation of the table space. One of the most successful proposals for representing tables is based on a two-level trie data structure, where one trie level stores the tabled subgoal calls and the other stores the computed answers. In previous work, we have presented a sophisticated lock-free design where both levels of the tries where shared among threads in a concurrent environment. To implement lock-freedom we used the CAS atomic instruction that nowadays is widely found on many common architectures. CAS reduces the granularity of the synchronization when threads access concurrent areas, but still suffers from problems such as false sharing or cache memory effects. In this work, we present a simpler and efficient lock-free design based on hash tries that minimizes these problems by dispersing the concurrent areas as much as possible. Experimental results in the Yap Prolog system show that our new lock-free design can effectively reduce the execution time and scales better than previous designs. © 2015, Springer Science+Business Media New York. en
dc.identifier.uri http://repositorio.inesctec.pt/handle/123456789/5465
dc.identifier.uri http://dx.doi.org/10.1007/s10766-014-0346-1 en
dc.language eng en
dc.relation 5509 en
dc.relation 5128 en
dc.rights info:eu-repo/semantics/openAccess en
dc.title A Lock-Free Hash Trie Design for Concurrent Tabled Logic Programs en
dc.type article en
dc.type Publication en
Files
Original bundle
Now showing 1 - 1 of 1
Thumbnail Image
Name:
P-00F-YAG.pdf
Size:
645.62 KB
Format:
Adobe Portable Document Format
Description: