Virtual Thread: Maximizing Thread-Level Parallelism beyond GPU Scheduling Limit
Authors:
- 25 August 2016
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 10636897,p. 609-621
Abstract
Modern GPUs require tens of thousands of concurrent threads to fully utilize the massive amount of processing resources. However, thread concurrency in GPUs can be diminished either due to shortage of thread scheduling structures (scheduling limit), such as available program counters and single instruction multiple thread stacks, or due to shortage of on-chip memory (capacity limit), such as register file and shared memory. Our evaluations show that in practice concurrency in many general purpose applications running on GPUs is curtailed by the scheduling limit rather than the capacity limit. Maximizing the utilization of on-chip memory resources without unduly increasing the scheduling complexity is a key goal of this paper. This paper proposes a Virtual Thread (VT) architecture which assigns Cooperative Thread Arrays (CTAs) up to the capacity limit, while ignoring the scheduling limit. However, to reduce the logic complexity of managing more threads concurrently, we propose to place CTAs into active and inactive states, such that the number of active CTAs still respects the scheduling limit. When all the warps in an active CTA hit a long latency stall, the active CTA is context switched out and the next ready CTA takes its place. We exploit the fact that both active and inactive CTAs still fit within the capacity limit which obviates the need to save and restore large amounts of CTA state. Thus VT significantly reduces performance penalties of CTA swapping. By swapping between active and inactive states, VT can exploit higher degree of thread level parallelism without increasing logic complexity. Our simulation results show that VT improves performance by 23.9% on average.Keywords
This publication has 50 references indexed in Scilit:
- Enabling GPGPU Low-Level Hardware Explorations with MIAOWACM Transactions on Architecture and Code Optimization, 2015
- A case for core-assisted bottleneck acceleration in GPUs2015
- Warped-compression2015
- A Hierarchical Thread Scheduler and Register File for Energy-Efficient Throughput ProcessorsACM Transactions on Computer Systems, 2012
- Improving GPU performance via large warps and two-level warp scheduling2011
- Dynamic warp formationACM Transactions on Architecture and Code Optimization, 2009
- 3D finite difference computation on GPUs using CUDA2009
- Accelerating advanced MRI reconstructions on GPUsJournal of Parallel and Distributed Computing, 2008
- Scalable Parallel Programming with CUDAQueue, 2008
- Sliding-Windows for Rapid Object Class Localization: A Parallel Technique2008