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

没有万能方案:面向存内计算的位并行与位串行数据布局的工作负载驱动表征

No One-Size-Fits-All: A Workload-Driven Characterization of Bit-Parallel vs. Bit-Serial Data Layouts for Processing-using-Memory

University of California, Riverside(加州大学河滨分校)

Jingyao Zhang, Elaheh Sadredini

AI总结:

本文通过等面积周期精确模型与 MIMDRAM、PIMBench 评估,系统表征 BP 与 BS PIM 布局,证明二者优劣取决于工作负载,并给出设计准则。

摘要:

存内计算(PIM)是克服内存墙瓶颈的一种有前景的方法。然而,PIM 领域在很大程度上将其两种基本数据布局——位并行(BP)和位串行(BS)——视为可以互换。这种隐含的“一种布局适用于所有情况”的假设通常被硬编码到现有评估框架中,造成了一个关键缺口:架构师缺乏系统性的、由工作负载驱动的指导原则,难以为目标应用选择最优数据布局。为弥补这一缺口,本文首次对 BP 和 BS PIM 架构进行了系统性、工作负载驱动的表征。我们开发了等面积、周期精确的 BP 与 BS PIM 架构模型,并使用一组多样化的基准测试进行全面评估。我们的测试套件既包括来自 MIMDRAM 的细粒度微工作负载,用于隔离特定运行特征,也包括来自 PIMBench 套件的大规模应用,例如 VGG 网络,用于代表真实的端到端工作负载。结果定量表明,没有任何单一布局具有普遍优势;最优选择强烈依赖于工作负载特征。BP 在具有不规则内存访问模式、控制流密集的任务上表现出色,而 BS 在 AI 中常见的大规模并行、低精度(例如 INT4/INT8)计算方面展现出显著优势。基于该表征,我们为架构师提炼出一套可执行的设计准则。本研究挑战了当前关于 PIM 数据布局的万能观点,并为设计下一代、工作负载感知且可能采用混合形式的 PIM 系统提供了有原则的基础。

英文摘要:

Processing-in-Memory (PIM) is a promising approach to overcoming the memory-wall bottleneck. However, the PIM community has largely treated its two fundamental data layouts, Bit-Parallel (BP) and Bit-Serial (BS), as if they were interchangeable. This implicit "one-layout-fits-all" assumption, often hard-coded into existing evaluation frameworks, creates a critical gap: architects lack systematic, workload-driven guidelines for choosing the optimal data layout for their target applications. To address this gap, this paper presents the first systematic, workload-driven characterization of BP and BS PIM architectures. We develop iso-area, cycle-accurate BP and BS PIM architectural models and conduct a comprehensive evaluation using a diverse set of benchmarks. Our suite includes both fine-grained microworkloads from MIMDRAM to isolate specific operational characteristics, and large-scale applications from the PIMBench suite, such as the VGG network, to represent realistic end-to-end workloads. Our results quantitatively demonstrate that no single layout is universally superior; the optimal choice is strongly dependent on workload characteristics. BP excels on control-flow-intensive tasks with irregular memory access patterns, whereas BS shows substantial advantages in massively parallel, low-precision (e.g., INT4/INT8) computations common in AI. Based on this characterization, we distill a set of actionable design guidelines for architects. This work challenges the prevailing one-size-fits-all view on PIM data layouts and provides a principled foundation for designing next-generation, workload-aware, and potentially hybrid PIM systems.

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

↑