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

DL-PIM:改善存内计算系统中的数据局部性

DL-PIM: Improving Data Locality in Processing-in-Memory Systems

Amazon(亚马逊);Simon Fraser University(西蒙菲莎大学)

Parker Hao Tian, Zahra Yousefijamarani, Alaa Alameldeen

AI总结:

DL-PIM通过动态检测数据移动开销并主动迁移数据至本地保留区,利用分布式间接查找表与自适应机制,在HMC和HBM上分别降低54%和50%的内存延迟,提升数据局部性与系统性能。

摘要:

PIM(存内计算)架构旨在通过将处理单元集成到内存层内来降低处理器与内存之间的数据传输成本。先前的PIM架构已展现出提升能效和性能的潜力。然而,这些优势依赖于数据与执行计算的处理单元之间的接近性。由于需要在处理单元与远端内存位置之间移动数据,数据移动开销可能会削弱PIM的性能和能效。在本文中,我们证明了PIM每个内存请求的延迟中有很大一部分归因于远端内存访问的数据传输和排队延迟。为了改善PIM的数据局部性,我们提出了DL-PIM,一种新颖的架构,它能够动态检测数据移动的开销,并主动将数据移动到请求处理单元本地内存中的保留区域。DL-PIM使用分布式地址间接查找表来将流量重定向到当前数据位置。我们提出了在两种3D堆叠内存(HMC和HBM)上的DL-PIM实现。虽然某些工作负载受益于DL-PIM,但其他工作负载则因间接访问带来的额外延迟而受到负面影响。因此,我们提出了一种自适应机制,该机制评估间接访问的成本与收益,并动态启用或禁用它,以防止因间接访问而受损的工作负载性能下降。总体而言,DL-PIM将HMC中每个请求的平均内存延迟降低了54%,在HBM中降低了50%,这使得在HMC中具有大量数据重用工作负载的性能提升了15%,在HBM中提升了5%。对于所有代表性工作负载,DL-PIM在HMC中实现了6%的加速,在HBM中实现了3%的加速,表明DL-PIM增强了数据局部性和整体系统性能。

英文摘要:

PIM architectures aim to reduce data transfer costs between processors and memory by integrating processing units within memory layers. Prior PIM architectures have shown potential to improve energy efficiency and performance. However, such advantages rely on data proximity to the processing units performing computations. Data movement overheads can degrade PIM's performance and energy efficiency due to the need to move data between a processing unit and a distant memory location. %they face challenges due to the overhead of transferring data from remote memory locations to processing units inside memory for computation. In this paper, we demonstrate that a large fraction of PIM's latency per memory request is attributed to data transfers and queuing delays from remote memory accesses. To improve PIM's data locality, we propose DL-PIM, a novel architecture that dynamically detects the overhead of data movement, and proactively moves data to a reserved area in the local memory of the requesting processing unit. DL-PIM uses a distributed address-indirection hardware lookup table to redirect traffic to the current data location. We propose DL-PIM implementations on two 3D stacked memories: HMC and HBM. While some workloads benefit from DL-PIM, others are negatively impacted by the additional latency due to indirection accesses. Therefore, we propose an adaptive mechanism that assesses the cost and benefit of indirection and dynamically enables or disables it to prevent degrading workloads that suffer from indirection. Overall, DL-PIM reduces the average memory latency per request by 54% in HMC and 50% in HBM which resulted in performance improvement of 15% for workloads with substantial data reuse in HMC and 5% in HBM. For all representative workloads, DL-PIM achieved a 6% speedup in HMC and a 3% speedup in HBM, showing that DL-PIM enhances data locality and overall system performance.

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

↑