Optimizing Cache Bypassing and Warp Scheduling for GPUs
- 20 October 2017
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
- Vol. 37 (8) , 1560-1573
Abstract
The massive parallel architecture enables graphics processing units (GPUs) to boost performance for a wide range of applications. Initially, GPUs only employ scratchpad memory as on-chip memory. Recently, to broaden the scope of applications that can be accelerated by GPUs, GPU vendors have used caches as on-chip memory in the new generations of GPUs. Unfortunately, GPU caches face many performance challenges that arise due to the excessive thread contention for cache resource. Cache bypassing, where the memory requests can selectively bypass the cache, is one of the solutions that can help to mitigate the cache resource contention problem. In this paper, we propose coordinated static and dynamic cache bypassing to improve the GPU application performance. At compile-time, we identify the global loads that indicate strong preferences for caching or bypassing and encode the classification into the application binary. For the rest global loads, our dynamic cache bypassing has the flexibility to cache only a fraction of threads. In addition to coordinated bypassing, we also develop a bypass-aware warp scheduler to adaptively adjust the scheduling policy based on the cache performance. Evaluations show that our coordinated static and dynamic cache bypassing technique achieves up to 2.28X (average 1.32X) performance speedup for a variety of GPU applications. When we combine the coordinated cache bypassing with the bypass-aware scheduler, the average speedup is further improved to 1.38X.Keywords
Funding Information
- Natural Science Foundation of China (61672048)
This publication has 38 references indexed in Scilit:
- Locality-Driven Dynamic GPU Cache Bypassing2015
- An Efficient Compiler Framework for Cache Bypassing on GPUsIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2015
- Divergence-aware warp scheduling2013
- GPUWattch2013
- Orchestrated scheduling and prefetching for GPGPUs2013
- OWL2013
- Characterizing and improving the use of demand-fetched caches in GPUs2012
- A compile-time managed multi-level register file hierarchy2011
- Improving GPU performance via large warps and two-level warp scheduling2011
- Dead-block prediction & dead-block correlating prefetchers2001