Open Access
- 30 March 2025
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 762-776
Abstract
Modern Datalog engines (e.g., LogicBlox, Soufflé, ddlog) enable their users to write declarative queries which compute recursive deductions over extensional facts, leaving high-performance operationalization (query planning, semi-naïve evaluation, and parallelization) to the engine. Such engines form the backbone of modern high-throughput applications in static analysis, network monitoring, and social-media mining. In this paper, we present a methodology for implementing a modern in-memory Datalog engine on data center GPUs, allowing us to achieve significant (up to 45×) gains compared to Soufflé (a modern CPU-based engine) on context-sensitive points-to analysis of httpd. We present GPUlog, a Datalog engine backend that implements iterated relational algebra kernels over a novel range-indexed data structure we call the hash-indexed sorted array (HISA). HISA combines the algorithmic benefits of incremental range-indexed relations with the raw computation throughput of operations over dense data structures. Our experiments show that GPUlog is significantly faster than CPU-based Datalog engines, while achieving favorable memory footprint compared to contemporary GPU-based joins.Keywords
All Related Versions
Funding Information
- National Science Foundation (2316157)
- Defense Advanced Research Projects Agency (N66001-21-C-4023)
This publication has 33 references indexed in Scilit:
- Communication-Avoiding Recursive Aggregation2023
- A Visual Guide to MPI All-to-all2022
- Accelerating Datalog applications with cuDF2022
- DyCuckoo: Dynamic Hash Tables on GPUs2021
- Load-Balancing Parallel Relational Algebra2020
- Structure-Sensitive Points-To Analysis for C and C++2016
- SociaLite: Datalog extensions for efficient social network analysis2013
- Business Network Reconstruction Using Datalog2012
- Context-sensitive program analysis as database queries2005
- On Trip Planning Queries in Spatial Databases2005