Query Processing with eBPF-Offload on Computational Storage
Alexander Krause, Niclas Hedam, Johannes Pietrzyk, Dirk Habich, Wolfgang Lehner, Sangjin Lee, Alberto Lerner, Philippe Bonnet
Abstract
The idea of pushing computation to storage devices has been explored for decades. In recent years, research has focused on computational storage, i.e., devices that allow a host to execute functions as I/O commands on local data. Today, the NVMe and SNIA computational storage standards share an execution model in which the host invokes functions on the device, on data that the host has moved into device memory. Both standards single out eBPF as a format for functions offloaded by the host. In this paper, we study whether this form of computational storage is a good match for query processing. We present the design and implementation of Delilah, a prototype based on an open-hardware device that implements the standard execution model on an actual device and runs eBPF programs calling device-resident functions. As an initial step, we hand-coded a portion of SSB Q3.3 for execution on the device, aiming to integrate computational storage with a database system's storage manager. The series of experiments that we ran showed that offloading gains little over host execution, execution degenerates into column-at-a-time processing, and time is spent staging and moving data in device memory. Because these roadblocks stem from the execution model rather than from the query, we did not pursue integration further. We detail these limitations and lay the groundwork for a different computational storage model better aligned with data-intensive workloads.
Create a lesson
Related papers
OCTOPUS: Towards A Tag Model for Cross-Query Reuse in Semantic Query Processing
Shared title terminology · GuangXue Zhang, Nada Lahjouji, Yiming Lin et al.
Scaling Graph Query Processing: Focused Exploration on Partitions Using Load Balancing
Shared title terminology · Harshit Modi, Abhishek Santra, Sharma Chakravarthy
The Case for TPU-Accelerated Analytical Query Processing
Shared title terminology · Yeounoh Chung, Jaehyun Ha, Helena Caminal et al.
Tight Width Minimisation of Self-Join-Free Quantified Conjunctive Queries
Shared title terminology · Hubie Chen, Fabio Mogavero, Sam M. Thompson
Optimizing Query Decomposition for Reliable Validation
Shared title terminology · Shuo Zhang, Sudeepa Roy, Jun Yang
CapCover Filter: Semantic Approximate Membership Queries over Embeddings
Shared title terminology · Dvir David Biton, Shay Hahiashvili, Nadav Keren et al.