Exploiting Inter-Warp Heterogeneity to Improve GPGPU Performance

被引:29
作者
Ausavarungnirun, Rachata [1 ]
Ghose, Saugata [1 ]
Kayiran, Onur [2 ,3 ]
Loh, Gabriel H. [2 ]
Das, Chita R. [3 ]
Kandemir, Mahmut T. [3 ]
Mutlu, Onur [1 ]
机构
[1] Carnegie Mellon Univ, Pittsburgh, PA 15213 USA
[2] Adv Micro Devices Inc, Sunnyvale, CA USA
[3] Penn State Univ, University Pk, PA 16802 USA
来源
2015 INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURE AND COMPILATION (PACT) | 2015年
基金
美国国家科学基金会;
关键词
D O I
10.1109/PACT.2015.38
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In a GPU, all threads within a warp execute the same instruction in lockstep. For a memory instruction, this can lead to memory divergence: the memory requests for some threads are serviced early, while the remaining requests incur long latencies. This divergence stalls the warp, as it cannot execute the next instruction until all requests from the current instruction complete. In this work, we make three new observations. First, GPGPU warps exhibit heterogeneous memory divergence behavior at the shared cache: some warps have most of their requests hit in the cache (high cache utility), while other warps see most of their request miss (low cache utility). Second, a warp retains the same divergence behavior for long periods of execution. Third, due to high memory level parallelism, requests going to the shared cache can incur queuing delays as large as hundreds of cycles, exacerbating the effects of memory divergence. We propose a set of techniques, collectively called Memory Divergence Correction (MeDiC), that reduce the negative performance impact of memory divergence and cache queuing. MeDiC uses warp divergence characterization to guide three components: (1) a cache bypassing mechanism that exploits the latency tolerance of low cache utility warps to both alleviate queuing delay and increase the hit rate for high cache utility warps, (2) a cache insertion policy that prevents data from high cache utility warps from being prematurely evicted, and (3) a memory controller that prioritizes the few requests received from high cache utility warps to minimize stall time. We compare MeDiC to four cache management techniques, and find that it delivers an average speedup of 21.8%, and 20.1% higher energy efficiency, over a state-of-the-art GPU cache management mechanism across 15 different GPGPU applications.
引用
收藏
页码:25 / 38
页数:14
相关论文
共 79 条
[1]  
Advanced Micro Devices Inc, 2012, AMD GRAPH COR NEXT G
[2]  
[Anonymous], 2012, IISWC
[3]  
[Anonymous], 2008, ISCA
[4]  
[Anonymous], 1978, ICPP
[5]  
[Anonymous], 2011, NVIDIAS NEXT GEN CUD
[6]  
[Anonymous], 2012, ISCA
[7]  
[Anonymous], 2013, HPCA
[8]  
[Anonymous], 2012, NVIDIAS NEXT GEN CUD
[9]  
[Anonymous], 2014, HPCA
[10]  
[Anonymous], 2015, HPCA