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

CIAO:面向GPU的高速缓存干扰感知并行架构与调度

CIAO: Cache Interference-Aware Throughput-Oriented Architecture and Scheduling for GPUs

Jie Zhang, Shuwen Gao, Nam Sung Kim, Myoungsoo Jung

摘要:

现代GPU的目标是同时执行更多的线程束,以实现更高的线程级并行性(TLP)和性能。但是,当生成许多内存请求时,warp会争用有限的缓存空间和thrash cache,这反过来会严重降低性能。为了减少这样的缓存颠簸,我们可以采用缓存本地感知的线程调度,它给更高的执行优先级与更高的数据局部性的潜力线程。然而,我们观察到,具有高潜力的数据局部性的线程往往会招致更多的缓存颠簸或干扰比线程具有低潜力的数据局部性。因此,高速缓存局部感知扭曲调度可能不期望地增加高速缓存干扰和/或不必要地减小TLP。在本文中,我们提出了高速缓存干扰感知面向吞吐量(CIAO)的片上存储器架构和翘曲调度,利用未使用的共享内存空间,并采取洞察相反的高速缓存本地感知翘曲调度。具体而言,CIAO片上存储器架构可以自适应地将严重干扰线程的存储器请求重定向到未使用的共享存储器空间,以将这些干扰线程的存储器请求与受干扰线程的存储器请求隔离。如果这些干扰线程束仍然会导致严重的缓存干扰,CIAO线程束调度就会开始选择性地抑制这些干扰线程束的执行。实验结果表明,CIAO可以提供54%以上的性能比以前的缓存位置感知调度在一个小的芯片成本。

英文摘要:

A modern GPU aims to simultaneously execute more warps for higher Thread-Level Parallelism (TLP) and performance. When generating many memory requests, however, warps contend for limited cache space and thrash cache, which in turn severely degrades performance. To reduce such cache thrashing, we may adopt cache locality-aware warp scheduling which gives higher execution priority to warps with higher potential of data locality. However, we observe that warps with high potential of data locality often incurs far more cache thrashing or interference than warps with low potential of data locality. Consequently, cache locality-aware warp scheduling may undesirably increase cache interference and/or unnecessarily decrease TLP. In this paper, we propose Cache Interference-Aware throughput-Oriented (CIAO) on-chip memory architecture and warp scheduling which exploit unused shared memory space and take insight opposite to cache locality-aware warp scheduling. Specifically, CIAO on-chip memory architecture can adaptively redirect memory requests of severely interfering warps to unused shared memory space to isolate memory requests of these interfering warps from those of interfered warps. If these interfering warps still incur severe cache interference, CIAO warp scheduling then begins to selectively throttle execution of these interfering warps. Our experiment shows that CIAO can offer 54% higher performance than prior cache locality-aware scheduling at a small chip cost.

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

↑