1. Engineering a high-performance GPU B-Tree
- Author
-
Rob Johnson, Saman Ashkiani, Martin Farach-Colton, Muhammad A. Awad, and John D. Owens
- Subjects
dynamic ,020203 distributed computing ,Computer science ,Sorted array ,GPU ,020207 software engineering ,02 engineering and technology ,Parallel computing ,Data structure ,mutable ,b-tree ,data structures ,0202 electrical engineering, electronic engineering, information engineering ,Cache ,Merge (version control) ,Dram - Abstract
We engineer a GPU implementation of a B-Tree that supports concurrent queries (point, range, and successor) and updates (insertions and deletions). Our B-tree outperforms the state of the art, a GPU log-structured merge tree (LSM) and a GPU sorted array. In particular, point and range queries are significantly faster than in a GPU LSM (the GPU LSM does not implement successor queries). Furthermore, B-Tree insertions are also faster than LSM and sorted array insertions unless insertions come in batches of more than roughly 100k. Because we cache the upper levels of the tree, we achieve lookup throughput that exceeds the DRAM bandwidth of the GPU. We demonstrate that the key limiter of performance on a GPU is contention and describe the design choices that allow us to achieve this high performance.
- Published
- 2019