arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1804.11038cs.AR
收藏

对GPGPU存储层次结构进行整体管理以管理Warp级延迟容限

Holistic Management of the GPGPU Memory Hierarchy to Manage Warp-level Latency Tolerance

Rachata Ausavarungnirun, Saugata Ghose, Onur Kayıran, Gabriel H. Loh, Chita R. Das, Mahmut T. Kandemir, Onur Mutlu

摘要:

在现代GPU架构中,线程束中的所有线程都以锁步方式执行相同的指令。对于内存指令,这可能会导致内存发散:一些线程的内存请求被提前服务,而剩余的请求则会导致长时间的延迟。这种发散会使线程束停止,因为它无法执行下一条指令,直到来自当前指令的所有请求完成。在这项工作中,我们提出了三个新的观察。首先,GPGPU线程束在共享缓存中表现出异构的内存发散行为:一些线程束的大部分请求在缓存中命中,而其他线程束的大部分请求未命中。其次,线程束在长时间的执行中保持相同的发散行为。第三,进入共享缓存的请求可能导致数百个周期的排队延迟,加剧了内存发散的影响。我们提出了一组技术,统称为内存发散校正(MeDiC),减少内存发散和缓存排队的负面性能影响。MeDiC在15个不同的GPGPU应用程序中通过最先进的GPU缓存管理机制提供了21.8%的平均加速和20.1%的能效。

英文摘要:

In a modern GPU architecture, 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, while other warps see most of their request miss. Second, a warp retains the same divergence behavior for long periods of execution. Third, 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 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑