首页> 外文会议>IEEE International Conference on Parallel and Distributed Systems >Selectively GPU Cache Bypassing for Un-Coalesced Loads
【24h】

Selectively GPU Cache Bypassing for Un-Coalesced Loads

机译:选择性地绕过GPU缓存以应对未分担的负载

获取原文

摘要

GPUs are widely used to accelerate general purpose applications, and could hide memory latency through massive multithreading. But multithreading can increase contention for the L1 data caches (L1D). This problem is exacerbated when an application contains irregular memory references which would lead to un-coalesced memory accesses. In this paper, we propose a simple yet effective GPU cache Bypassing scheme for Un-Coalesced Loads (BUCL). BUCL makes bypassing decisions at two granularities. At the instruction-level, when the number of memory accesses generated by a non-coalesced load instruction is bigger than a threshold, referred as the threshold of un-coalescing degree (TUCD), all the accesses generated from this load will bypass L1D. The reason is that the cache data filled by un-coalesced loads typically have low probabilities to be reused. At the level of each individual memory access, when the L1D is stalled, the accessed data is likely with low locality, and the utilization of the target memory sub-partition is not high, this memory access may also bypass L1D. Our experiments show that BUCL achieves 36% and 5% performance improvement over the baseline GPU for memory un-coalesced and memory coherent benchmarks, respectively, and also significantly outperforms prior GPU cache bypassing and warp throttling schemes.
机译:GPU被广泛用于加速通用应用程序,并可能通过大量的多线程隐藏内存延迟。但是多线程可以增加对L1数据缓存(L1D)的争用。当应用程序包含不规则的内存引用时,此问题将更加严重,这将导致未分批处理的内存访问。在本文中,我们提出了一种简单而有效的针对超负载的GPU缓存绕过方案(BUCL)。 BUCL以两种粒度做出绕过决策的决定。在指令级别,当非逐段装入指令所生成的存储器访问次数大于阈值(称为非逐段度阈值(TUCD))时,此负荷所产生的所有访问都将绕过L1D。原因是由未分担的负载填充的缓存数据通常具有较低的重用概率。在每个单独的内存访问级别,当L1D停顿时,所访问的数据可能具有较低的局部性,并且目标内存子分区的利用率不高,该内存访问也可能会绕过L1D。我们的实验表明,BUCL在无内存和内存一致性基准方面分别比基准GPU分别提高了36%和5%,并且显着优于以前的GPU缓存绕过和扭曲调节方案。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号