G-Learned Index: Enabling Efficient Learned Index on GPU
- 2 April 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Parallel and Distributed Systems
- Vol. 35 (6) , 950-967
Abstract
AI and GPU technologies have been widely applied to solve Big Data problems. The total data volume worldwide reaches 200 zettabytes in 2022. How to efficiently index the required content among massive data becomes serious. Recently, a promising learned index has been proposed to address this challenge: It has extremely high efficiency while retaining marginal space overhead. However, we notice that previous learned indexes have mainly focused on CPU architecture, while ignoring the advantages of GPU. Because traditional indexes like B-Tree, LSM, and bitmap have greatly benefited from GPU acceleration, a combination of a learned index and GPU has great potentials to reach tremendous speedups. In this paper, we propose a GPU-based learned index, called G-Learned Index, to significantly improve the performance of learned index structures. The primary challenges in developing G-Learned Index lie in the use of thousands of GPU cores including minimization of synchronization and branch divergence, data structure design for parallel operations, and usage of memory bandwidth including limited memory transactions and multi-memory hierarchy. To overcome these challenges, a series of novel technologies are developed, including efficient thread organization, succinct data structures, and heterogeneous memory hierarchy utilization. Compared to the state-of-the-art learned index, the proposed G-Learned Index achieves an average of 174× speedup (and 107× of its parallel version). Meanwhile, we attain 2× less query time over the state-of-the-art GPU B-Tree. Our further exploration of range queries shows that G-Learned Index is $17\times$ faster than CPU multi-dimensional learned index.
Keywords
Funding Information
- National Key R&D Program of China (2022ZD0115304)
- National Natural Science Foundation of China (62072458, 62172419, 62225206, U20A20226)
- Beijing Nova Program (20220484137, 20230484397)
This publication has 58 references indexed in Scilit:
- A Communication Efficient ADMM-based Distributed Algorithm Using Two-Dimensional Torus Grouping AllReduceData Science and Engineering, 2023
- D-Cubicle: boosting data transfer dynamically for large-scale analytical queries in single-GPU systemsFrontiers of Computer Science, 2022
- Exploring Means to Enhance the Efficiency of GPU Bitmap Index Query ProcessingData Science and Engineering, 2020
- Hybrid Indexes by Exploring Traditional B-Tree and Linear Regression2019
- ASLM: Adaptive Single Layer Model for Learned Index2019
- Pavo: A RNN-Based Learned Inverted Index, Supervised or Unsupervised?IEEE Access, 2018
- Parallel multi-dimensional range query processing with R-trees on GPUJournal of Parallel and Distributed Computing, 2013
- B + -Tree Optimized for GPGPULecture Notes in Computer Science, 2012
- Gene Synthesis2011
- Advancing high-throughput gene synthesis technologyMolecular BioSystems, 2009