Morpheus:利用空闲 GPU 核心资源扩展 GPU 系统中的末级缓存容量
Morpheus: Extending the Last Level Cache Capacity in GPU Systems Using Idle GPU Core Resources
AI总结:
本文提出 Morpheus,一种硬件/软件协同设计技术,通过调用辅助内核将空闲 GPU 核心的片上内存转化为扩展的末级缓存(LLC)容量,使基准 GPU 的性能和能效平均提升 39% 和 58%。
摘要:
图形处理器(GPU)是广泛应用于数据并行应用的加速器。在许多 GPU 应用中,GPU 内存带宽造成了性能瓶颈,导致 GPU 核心利用率不足。因此,禁用许多核心并不会影响内存受限工作负载的性能。虽然简单地对未使用的 GPU 核心进行电源门控可以节省能源,但先前的工作试图更好地将 GPU 核心用于其他应用(理想情况下是计算受限的),这会增加 GPU 的总吞吐量。在本文中,我们引入了 Morpheus,这是一种新的硬件/软件协同设计技术,旨在提升内存受限应用的性能。Morpheus 的关键思想是利用未使用的核心资源来扩展 GPU 末级缓存(LLC)容量。在 Morpheus 中,每个 GPU 核心有两种执行模式:计算模式和缓存模式。处于计算模式的核心按常规方式运行应用线程。然而,对于处于缓存模式的核心,Morpheus 会调用一个软件辅助内核,该内核利用核心的片上内存(即寄存器文件、共享内存和 L1)来为正在运行的内存受限工作负载扩展 LLC 容量。Morpheus 在 GPU 硬件中添加了一个控制器,用于将 LLC 请求转发到常规 LLC(由硬件管理)或扩展的 LLC(由辅助内核管理)。我们的实验结果表明,在多个内存受限工作负载上,Morpheus 分别使基准 GPU 架构的性能和能效平均提升了 39% 和 58%。Morpheus 的性能与拥有四倍大小常规 LLC 的 GPU 设计相差不到 3%。因此,Morpheus 可以通过利用空闲核心的片上内存资源作为额外缓存容量,来减少专用于常规 LLC 的硬件。
英文摘要:
Graphics Processing Units (GPUs) are widely-used accelerators for data-parallel applications. In many GPU applications, GPU memory bandwidth bottlenecks performance, causing underutilization of GPU cores. Hence, disabling many cores does not affect the performance of memory-bound workloads. While simply power-gating unused GPU cores would save energy, prior works attempt to better utilize GPU cores for other applications (ideally compute-bound), which increases the GPU's total throughput. In this paper, we introduce Morpheus, a new hardware/software co-designed technique to boost the performance of memory-bound applications. The key idea of Morpheus is to exploit unused core resources to extend the GPU last level cache (LLC) capacity. In Morpheus, each GPU core has two execution modes: compute mode and cache mode. Cores in compute mode operate conventionally and run application threads. However, for the cores in cache mode, Morpheus invokes a software helper kernel that uses the cores' on-chip memories (i.e., register file, shared memory, and L1) in a way that extends the LLC capacity for a running memory-bound workload. Morpheus adds a controller to the GPU hardware to forward LLC requests to either the conventional LLC (managed by hardware) or the extended LLC (managed by the helper kernel). Our experimental results show that Morpheus improves the performance and energy efficiency of a baseline GPU architecture by an average of 39% and 58%, respectively, across several memory-bound workloads. Morpheus' performance is within 3% of a GPU design that has a quadruple-sized conventional LLC. Morpheus can thus contribute to reducing the hardware dedicated to a conventional LLC by exploiting idle cores' on-chip memory resources as additional cache capacity.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。