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

带宽高效的GPU DRAM缓存与存储级内存

Bandwidth-Effective DRAM Cache for GPUs with Storage-Class Memory

Jeongmin Hong, Sungjun Cho, Geonwoo Park, Wonhyuk Yang, Young-Ho Gong, Gwangsun Kim

AI总结:

针对GPU内存容量限制,提出利用SCM和DRAM缓存,通过SCM感知旁路策略、可配置标签缓存和AMIL组织等优化,实现最高12.5倍性能提升和89.3%能耗降低。

摘要:

我们提出利用高容量存储级内存(SCM)和DRAM缓存来克服GPU的内存容量限制。通过使用SCM显著增加内存容量,对于内存超订的负载,GPU可以捕获比HBM更大比例的内存足迹,从而实现高加速比。然而,DRAM缓存需要精心设计,以解决SCM的延迟和带宽限制,同时最小化成本开销并考虑GPU的特性。由于大量GPU线程可能使DRAM缓存抖动,我们首先提出一种面向GPU的SCM感知DRAM缓存旁路策略,该策略考虑GPU与SCM内存访问的多维特性,对性能效用低的数据绕过DRAM。此外,为了减少DRAM缓存探测并提高有效DRAM带宽且成本最小化,我们提出可配置标签缓存(CTC),将部分L2缓存重新用于缓存DRAM缓存行标签。用于CTC的L2容量可由用户调整以适应需求。进一步地,为了最小化CTC未命中产生的DRAM缓存探测流量,我们的聚合元数据末列(AMIL)DRAM缓存组织将一行内所有DRAM缓存行标签共置于单列中。与先前DRAM缓存的标签-数据(TAD)组织不同,AMIL还保留完整的ECC保护。此外,我们提出SCM节流以限制功耗,并利用SCM的SLC/MLC模式以适应工作负载的内存足迹。虽然我们的技术可用于不同的DRAM和SCM设备,但我们专注于异构内存堆栈(HMS)组织,将SCM芯片堆叠在DRAM芯片之上以实现高性能。与HBM相比,HMS性能提升最高达12.5倍(整体2.9倍),能耗降低最高达89.3%(整体48.1%)。与先前工作相比,我们将DRAM缓存探测和SCM写流量分别减少91-93%和57-75%。

英文摘要:

We propose overcoming the memory capacity limitation of GPUs with high-capacity Storage-Class Memory (SCM) and DRAM cache. By significantly increasing the memory capacity with SCM, the GPU can capture a larger fraction of the memory footprint than HBM for workloads that oversubscribe memory, achieving high speedups. However, the DRAM cache needs to be carefully designed to address the latency and BW limitations of the SCM while minimizing cost overhead and considering GPU's characteristics. Because the massive number of GPU threads can thrash the DRAM cache, we first propose an SCM-aware DRAM cache bypass policy for GPUs that considers the multi-dimensional characteristics of memory accesses by GPUs with SCM to bypass DRAM for data with low performance utility. In addition, to reduce DRAM cache probes and increase effective DRAM BW with minimal cost, we propose a Configurable Tag Cache (CTC) that repurposes part of the L2 cache to cache DRAM cacheline tags. The L2 capacity used for the CTC can be adjusted by users for adaptability. Furthermore, to minimize DRAM cache probe traffic from CTC misses, our Aggregated Metadata-In-Last-column (AMIL) DRAM cache organization co-locates all DRAM cacheline tags in a single column within a row. The AMIL also retains the full ECC protection, unlike prior DRAM cache's Tag-And-Data (TAD) organization. Additionally, we propose SCM throttling to curtail power and exploiting SCM's SLC/MLC modes to adapt to workload's memory footprint. While our techniques can be used for different DRAM and SCM devices, we focus on a Heterogeneous Memory Stack (HMS) organization that stacks SCM dies on top of DRAM dies for high performance. Compared to HBM, HMS improves performance by up to 12.5x (2.9x overall) and reduces energy by up to 89.3% (48.1% overall). Compared to prior works, we reduce DRAM cache probe and SCM write traffic by 91-93% and 57-75%, respectively.

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

↑