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

Eva-CiM:一个面向内存计算架构的系统级性能和能耗评估框架

Eva-CiM: A System-Level Performance and Energy Evaluation Framework for Computing-in-Memory Architectures

Di Gao, Dayane Reis, Xiaobo Sharon Hu, Cheng Zhuo

摘要:

内存计算(Computing-in-Memory,CiM)架构旨在通过在内存中执行算术和逻辑运算来减少昂贵的数据传输,从而减轻由于内存墙而造成的压力。然而,确定给定的工作负载是否可以真正受益于CiM,哪种存储层次结构以及CiM架构应该采用什么设备技术需要深入研究,这不仅耗时,而且还需要架构和编译器方面的大量专业知识。本文提出了一种能量评估框架,Eva-CiM,基于CiM架构的系统。Eva-CiM通过利用现有的建模和仿真工具,如GEM 5,McPAT [2]和DESTINY [3],涵盖了多层次(从设备到架构)的综合工具链。为了支持高置信度预测、快速设计空间探索和易用性,Eva-CiM引入了几种新颖的建模/分析方法,包括用于捕获内存访问和依赖性感知ISA跟踪的模型,以及用于量化主机CPU和CiM模块之间的交互的模型。Eva-CiM可以很容易地为给定的程序、处理器架构以及CiM阵列和技术规范生成整个系统的能量估计。Eva-CiM通过与DESTINY [3]和[4]的比较进行验证,并使调查结果包括CiM支持的访问的实际贡献,CiM敏感的基准测试以及CiM增加内存大小的利弊。Eva-CiM还可以探索不同的配置和器件技术,SRAM和FeFET-RAM的能耗分别提高了1.3- 6.0倍和2.0- 7.9倍。

英文摘要:

Computing-in-Memory (CiM) architectures aim to reduce costly data transfers by performing arithmetic and logic operations in memory and hence relieve the pressure due to the memory wall. However, determining whether a given workload can really benefit from CiM, which memory hierarchy and what device technology should be adopted by a CiM architecture requires in-depth study that is not only time consuming but also demands significant expertise in architectures and compilers. This paper presents an energy evaluation framework, Eva-CiM, for systems based on CiM architectures. Eva-CiM encompasses a multi-level (from device to architecture) comprehensive tool chain by leveraging existing modeling and simulation tools such as GEM5, McPAT [2] and DESTINY [3]. To support high-confidence prediction, rapid design space exploration and ease of use, Eva-CiM introduces several novel modeling/analysis approaches including models for capturing memory access and dependency-aware ISA traces, and for quantifying interactions between the host CPU and CiM modules. Eva-CiM can readily produce energy estimates of the entire system for a given program, a processor architecture, and the CiM array and technology specifications. Eva-CiM is validated by comparing with DESTINY [3] and [4], and enables findings including practical contributions from CiM-supported accesses, CiM-sensitive benchmarking as well as the pros and cons of increased memory size for CiM. Eva-CiM also enables exploration over different configurations and device technologies, showing 1.3-6.0X energy improvement for SRAM and 2.0-7.9X for FeFET-RAM, respectively.

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

↑