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

优化与探索基于紧凑型存内计算芯片的系统性能

Optimizing and Exploring System Performance in Compact Processing-in-Memory-based Chips

Peilin Chen, Xiaoxuan Yang

AI总结:

针对紧凑型存内计算芯片,提出流水线方法和调度算法,提升推理吞吐量和能效,以三分之一面积实现面积不受限设计约56.5%的吞吐量,并优于现代GPU。

摘要:

存内计算(PIM)是一种有前景的计算范式,旨在解决“内存墙”挑战。然而,当存储阵列无法完全存储所有神经网络(NN)权重时,PIM相对于传统冯·诺依曼架构的系统级优势可能会减弱。神经网络规模不断增大,而由于面积限制,PIM设计规模无法相应扩展。因此,本工作针对紧凑型PIM设计进行系统性能优化与探索。我们首先分析了数据移动对紧凑型设计的影响。然后,我们提出了一种新颖的流水线方法,最大化神经网络权重的重用,以提高紧凑型芯片中推理的吞吐量和能效。为了进一步提升吞吐量,我们引入了一种调度算法来缓解流水线气泡问题。此外,我们研究了紧凑型PIM芯片中网络规模与系统性能之间的权衡。实验结果表明,所提出的算法在吞吐量和能效上分别实现了2.35倍和0.5%的提升。与面积不受限的设计相比,我们的紧凑型芯片在仅使用三分之一芯片面积的情况下,实现了约56.5%的吞吐量和58.6%的能效,同时面积效率提升了1.3倍。我们的紧凑型设计还优于现代GPU,吞吐量高出4.56倍,能效高出157倍。此外,随着批处理规模的增大,我们的紧凑型设计用于数据移动的系统能耗不到20%。

英文摘要:

Processing-in-memory (PIM) is a promising computing paradigm to tackle the "memory wall" challenge. However, PIM system-level benefits over traditional von Neumann architecture can be reduced when the memory array cannot fully store all the neural network (NN) weights. The NN size is increasing while the PIM design size cannot scale up accordingly due to area constraints. Therefore, this work targets the system performance optimization and exploration for compact PIM designs. We first analyze the impact of data movement on compact designs. Then, we propose a novel pipeline method that maximizes the reuse of NN weights to improve the throughput and energy efficiency of inference in compact chips. To further boost throughput, we introduce a scheduling algorithm to mitigate the pipeline bubble problem. Moreover, we investigate the trade-off between the network size and system performance for a compact PIM chip. Experimental results show that the proposed algorithm achieves 2.35x and 0.5% improvement in throughput and energy efficiency, respectively. Compared to the area-unlimited design, our compact chip achieves approximately 56.5% of the throughput and 58.6% of the energy efficiency while using only one-third of the chip area, along with 1.3x improvement in area efficiency. Our compact design also outperforms the modern GPU with 4.56x higher throughput and 157x better energy efficiency. Besides, our compact design uses less than 20% of the system energy for data movement as batch size scales up.

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

↑