GPU-Accelerated OLTP: An in-Depth Analysis of Concurrency Control Schemes
Zihan Sun, Yuyu Luo, Yong Zhang, Chao Li, Chunxiao Xing
Abstract
Over the past decade, GPUs have demonstrated significant potential in accelerating Online Analytical Processing (OLAP) operations. However, there remains a substantial gap in their application to Online Transaction Processing (OLTP), as GPUs were traditionally considered unsuitable for such workloads. Despite this perception, the massive parallelism and high memory bandwidth of GPUs offer a unique opportunity to process thousands of transactions concurrently, making them promising candidates for OLTP acceleration. Concurrency control schemes, which play a critical role in determining the performance of OLTP systems, may behave differently on GPUs due to their architectural differences from CPUs. This raises a key question: How well do concurrency control schemes designed for CPUs adapt to GPU environments? To answer this, we present gCCTB, the first testbed designed to evaluate concurrency control schemes on GPUs. We implement and benchmark eight CC schemes, including six classic CPU-oriented schemes and two designed specifically for GPUs, on both the YCSB and TPC-C benchmarks under varied contention levels and GPU configurations. Our findings reveal that GPU-optimized schemes do not consistently outperform CPU-oriented schemes, particularly under specific workloads and contention levels. Moreover, GPU-specific parameters, such as the number of threads per warp and warps per block, significantly impact performance and require careful tuning. Finally, we find that conflict resolution overhead is a crucial factor influencing the performance of CPU-oriented schemes on GPUs, with optimistic concurrency control consistently minimizing this overhead and outperforming other CPU-oriented schemes across all workloads.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on9
- Pump Up the Volume: Processing Large Data on GPUs with Fast InterconnectsClemens Lutz, Sebastian Breß, Steffen Zeuch, Tilmann Rabl et al.SIGMOD 2020 · 99 citations
- Efficient Join Algorithms For Large Database Tables in a Multi-GPU EnvironmentRan Rui, Hao Li, Yi-Cheng TuVLDB 2021 · 43 citations
- Plor: General Transactions with Predictable, Low Tail LatencyYoumin Chen, Xiangyao Yu, Paraschos Koutris, Andrea C. Arpaci-Dusseau et al.SIGMOD 2022 · 25 citations
- Evaluating Multi-GPU Sorting with Modern InterconnectsTobias Maltenberger, Ivan Ilic, Ilin Tolovski, Tilmann RablSIGMOD 2022 · 24 citations
- Triton Join: Efficiently Scaling to a Large Join State on GPUs with Fast InterconnectsClemens Lutz, Sebastian Breß, Steffen Zeuch, Tilmann Rabl et al.SIGMOD 2022 · 24 citations
Related papers
- GaccO - A GPU-accelerated OLTP DBMSNils Boeschen, Carsten BinnigSIGMOD 2022 · 18 citations
- LTPG: Large-Batch Transaction Processing on GPUs with Deterministic Concurrency ControlJianpeng Wei, Yu Gu, Tianyi Li, Jianzhong Qi et al.ICDE 2024 · 4 citations
- Massively Parallel Multi-Versioned Transaction ProcessingShujian Qian, Ashvin GoelOSDI 2024 · 5 citations
- An Analysis of Concurrency Control Protocols for In-Memory Database with CCBenchTakayuki Tanabe, Takashi Hoshino, Hideyuki Kawashima, Osamu TatebeVLDB 2020 · 40 citations
- Improving Execution Efficiency of Just-in-time Compilation based Query Processing on GPUsJohns Paul, Bingsheng He, Shengliang Lu, Chiew Tong LauVLDB 2021 · 28 citations
