NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Thread Batching for High-performance Energy-efficient GPU Memory Design

Bing Li, Mengjie Mao, Xiaoxiao Liu, Tao Liu, Zihao Liu, Wujie Wen, Yiran Chen, Hai Helen Li · DOI · OpenReview

Modern GPUs are computational powerhouses, yet they increasingly face a "starvation" problem. While the ability to process thousands of threads simultaneously has skyrocketed, the memory bandwidth required to feed those threads hasn't kept pace. This creates a massive bottleneck where memory subsystems become the primary limiters of both performance and energy efficiency.

In their research, Bing Li and colleagues propose a clever architectural rethink to harmonize how GPUs access data. By introducing an integrated scheme that groups related GPU thread blocks into "batches" and aligns their memory access patterns with the physical structure of DRAM, they address the core issue of memory interference.

The Problem: Memory Interference and Bank Conflicts

The fundamental issue in standard GPU architectures is interference. Multiple Stream Multiprocessors (SMs) compete for the same memory banks. Because thread blocks are often dispatched without regard for their memory footprint, their requests interweave at the memory controller. This causes "bank conflicts" and forces the memory to constantly open and close different "rows" of data, significantly lowering the Row Buffer Hit Rate (RBHR) and wasting energy.

Proposed Solution: TEMP and TBAS

The authors propose two synergistic techniques to mitigate this interference:

  1. TEMP (Thread batch Enabled Memory Partitioning): This mechanism identifies thread blocks that access the same sets of memory pages and groups them into a thread batch. Using a "page coloring" mechanism, TEMP ensures that pages accessed by a specific SM are mapped to dedicated memory banks, minimizing the chance of different SMs fighting over the same hardware resources.
  2. TBAS (Thread Batch-Aware Scheduling): While standard schedulers focus on cache hits, TBAS prioritizes the execution of warps belonging to the same thread batch. By scheduling these together, the system keeps the same DRAM "row" open longer, reducing the energy-intensive process of switching rows.
Figure 4: Illustration of thread batching and memory mapping. (a) Grid of thread blocks, (b) Data layout, (c) Mapping of thread batches to memory banks via SMs.

As illustrated in Figure 4, the formation of thread batches allows for a more structured mapping between the computational grid and the physical memory banks. This alignment ensures that memory requests from different SMs are directed toward separate banks, effectively partitioning the memory space to improve throughput.

Evaluation and Workload Analysis

The researchers evaluated their design using 21 applications from suites like Rodinia, Mars, and Parboil. A key finding was the diversity in "thread block stride" (the number of blocks that form an optimal batch) across different kernels.

Figure 5: Distribution of Thread Batch Sizes (TBS) across various benchmark kernels.

Figure 5 shows that while many kernels operate optimally with small batch sizes (TBS 1 or 2), a significant portion of workloads requires larger batches (up to 64) to capture data locality effectively. This variability highlights the necessity of the authors' profiling-based approach to determine batch sizes before execution.

Key Results and Impact

The integrated TEMP+TBAS approach achieved significant improvements over baseline GPU architectures:

  • Performance: A 10.3% geometric mean speedup was achieved over the baseline CCWS scheduler.
  • Energy Efficiency: DRAM energy consumption was reduced by 11.3% on average, largely due to fewer row activations and improved execution times.
  • Bank Parallelism: For memory-intensive applications, Bank-Level Parallelism (BLP) improved by a staggering 58.3%.
  • Heterogeneous Systems: In mixed CPU-GPU workloads, the design maintained 93.9% of standalone CPU performance while still providing significant GPU acceleration, proving its effectiveness in shared memory environments.

Conclusion and Future Work

Thread batching offers a scalable solution to the GPU memory wall by coordinating software-level thread organization with hardware-level memory partitioning. While the current implementation relies on static profiling to determine batch sizes, the authors suggest that future work could involve dynamic, adaptive mechanisms to handle kernels with input-dependent memory access patterns. This research paves the way for more balanced, throughput-oriented designs in future high-performance heterogeneous systems.

Summary updated

BibTeX
@article{li2019thread,
  author = {Bing Li and Mengjie Mao and Xiaoxiao Liu and Tao Liu and Zihao Liu and Wujie Wen and Yiran Chen and Hai Helen Li},
  title = {{Thread Batching for High-performance Energy-efficient GPU Memory Design}},
  journal = {ACM J. Emerg. Technol. Comput. Syst.},
  year = {2019},
  doi = {10.1145/3330152},
}
Figure