PID-Comm:面向商用存内双列直插存储模块(Processing-in-DIMM)设备的快速灵活集合通信框架
PID-Comm: A Fast and Flexible Collective Communication Framework for Commodity Processing-in-DIMM Devices
AI总结:
针对存内DIMM中PE间通信开销大、现有方案灵活性与性能不足的问题,本文提出PID-Comm框架,通过多维超立方体抽象定义8种集合通信模式并优化实现,在16块UPMEM DIMM上实现最高4.20倍的性能提升。
摘要:
近年来的双列直插存储模块(DIMM)开始通过将其内存组与处理单元(PE)相关联来支持存内计算(PIM),使应用能够将内存密集型操作卸载到PE上,从而克服数据移动瓶颈。已有研究表明,许多高并行度应用都能从这些支持PIM的DIMM中获益,但进一步的加速往往受限于PE间通信的巨大开销。这一问题主要源于由CPU介导的慢速PE间通信方式,其会带来显著的性能开销,导致支持PIM的DIMM难以加速更广泛的应用。此前的研究曾尝试缓解这一瓶颈,但它们缺乏足够的灵活性和性能,无法应用于各类场景。本文提出了PID-Comm,这是一款面向商用支持PIM的DIMM的快速且灵活的PE间集合通信框架。PID-Comm的核心思路是将PE抽象为一个多维超立方体,并允许属于超立方体特定维度的PE之间运行多个PE间集合通信实例。基于这一抽象,PID-Comm首先定义了8种PE间集合通信模式,使应用能够轻松表达其复杂的通信模式。随后,PID-Comm为这些集合通信模式提供了针对DIMM优化的高性能实现。我们使用16块UPMEM DIMM和代表性并行算法开展评估,结果显示,与现有的PE间通信实现相比,PID-Comm的性能最高提升了4.20倍。PID-Comm的实现可在https://github.com/AIS-SNU/PID-Comm获取。
英文摘要:
Recent dual in-line memory modules (DIMMs) are starting to support processing-in-memory (PIM) by associating their memory banks with processing elements (PEs), allowing applications to overcome the data movement bottleneck by offloading memory-intensive operations to the PEs. Many highly parallel applications have been shown to benefit from these PIM-enabled DIMMs, but further speedup is often limited by the huge overhead of inter-PE communication. This mainly comes from the slow CPU-mediated inter-PE communication methods which incurs significant performance overheads, making it difficult for PIM-enabled DIMMs to accelerate a wider range of applications. Prior studies have tried to alleviate the communication bottleneck, but they lack enough flexibility and performance to be used for a wide range of applications. In this paper, we present PID-Comm, a fast and flexible collective inter-PE communication framework for commodity PIM-enabled DIMMs. The key idea of PID-Comm is to abstract the PEs as a multi-dimensional hypercube and allow multiple instances of collective inter-PE communication between the PEs belonging to certain dimensions of the hypercube. Leveraging this abstraction, PID-Comm first defines eight collective inter-PE communication patterns that allow applications to easily express their complex communication patterns. Then, PID-Comm provides high-performance implementations of the collective inter-PE communication patterns optimized for the DIMMs. Our evaluation using 16 UPMEM DIMMs and representative parallel algorithms shows that PID-Comm greatly improves the performance by up to 4.20x compared to the existing inter-PE communication implementations. The implementation of PID-Comm is available at https://github.com/AIS-SNU/PID-Comm.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。