[Paper Review] High-Throughput Transaction Executions on Graphics Processors
This paper proposes GPUTx, a high-throughput OLTP engine that leverages GPU parallelism for in-memory databases by grouping transactions into bulk batches executed concurrently on the GPU. Using GPU-optimized lock-free and lock-based strategies with atomic operations and SPMD execution, GPUTx achieves 4–10× higher throughput than CPU-based systems on standard benchmarks.
OLTP (On-Line Transaction Processing) is an important business system sector in various traditional and emerging online services. Due to the increasing number of users, OLTP systems require high throughput for executing tens of thousands of transactions in a short time period. Encouraged by the recent success of GPGPU (General-Purpose computation on Graphics Processors), we propose GPUTx, an OLTP engine performing high-throughput transaction executions on the GPU for in-memory databases. Compared with existing GPGPU studies usually optimizing a single task, transaction executions require handling many small tasks concurrently. Specifically, we propose the bulk execution model to group multiple transactions into a bulk and to execute the bulk on the GPU as a single task. The transactions within the bulk are executed concurrently on the GPU. We study three basic execution strategies (one with locks and the other two lock-free), and optimize them with the GPU features including the hardware support of atomic operations, the massive thread parallelism and the SPMD (Single Program Multiple Data) execution. We evaluate GPUTx on a recent NVIDIA GPU in comparison with its counterpart on a quad-core CPU. Our experimental results show that optimizations on GPUTx significantly improve the throughput, and the optimized GPUTx achieves 4-10 times higher throughput than its CPU-based counterpart on public transaction processing benchmarks.
Motivation & Objective
- To address the growing demand for high-throughput transaction processing in online services due to increasing user loads.
- To explore the feasibility and performance benefits of accelerating OLTP workloads using general-purpose GPU computing (GPGPU).
- To design a GPU-based OLTP engine that efficiently manages concurrent transaction execution with minimal synchronization overhead.
- To optimize transaction execution on GPUs by leveraging hardware features such as atomic operations, massive thread parallelism, and SPMD execution.
Proposed method
- Proposes a bulk execution model that groups multiple transactions into a single GPU kernel launch to improve parallelism and reduce kernel launch overhead.
- Employs three execution strategies—two lock-free and one lock-based—optimized for GPU thread divergence and memory access patterns.
- Utilizes GPU-native atomic operations to safely coordinate concurrent updates to shared data structures.
- Exploits SPMD (Single Program Multiple Data) execution to enable fine-grained, data-parallel transaction processing across thousands of GPU threads.
- Designs memory access patterns to minimize bank conflicts and maximize coalescing in GPU global and shared memory.
- Implements a hybrid approach balancing lock-free performance with correctness guarantees under high contention.
Experimental results
Research questions
- RQ1Can GPU-based execution significantly improve throughput for OLTP workloads compared to traditional CPU-based systems?
- RQ2How can transaction batching and bulk execution strategies be effectively adapted to GPU architecure for high concurrency?
- RQ3What are the performance trade-offs between lock-based and lock-free transaction execution strategies on GPUs?
- RQ4To what extent do GPU-specific features like atomic operations and SPMD execution enhance transaction throughput?
- RQ5How does GPUTx scale with increasing transaction concurrency and data set sizes under realistic OLTP workloads?
Key findings
- GPUTx achieves 4–10× higher throughput than its CPU-based counterpart on standard OLTP benchmarks using a recent NVIDIA GPU.
- The bulk execution model reduces kernel launch overhead and improves GPU occupancy, leading to significant performance gains.
- Lock-free strategies outperform the lock-based approach under low-to-moderate contention, while the lock-based variant remains more predictable under high contention.
- Hardware atomic operations on the GPU are critical for scalable and correct concurrent updates in high-throughput transaction processing.
- The optimized GPUTx design effectively utilizes GPU thread parallelism and memory hierarchy, minimizing idle cycles and maximizing throughput.
- Performance improvements are most pronounced on workloads with high transaction concurrency and low data contention.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.