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

PiDRAM:一个基于FPGA的DRAM处理技术端到端评估框架

PiDRAM: An FPGA-based Framework for End-to-end Evaluation of Processing-in-DRAM Techniques

Ataberk Olgun, Juan Gomez Luna, Konstantinos Kanellopoulos, Behzad Salami, Hasan Hassan, Oguz Ergin, Onur Mutlu

摘要:

基于DRAM的主存储器在几乎所有的计算系统中作为主要部件使用。克服主存瓶颈的一种方法是将计算移动到内存附近,这种范式称为内存处理(PiM)。最近的PiM技术提供了一种有前途的方式来提高现有和未来系统的性能和能源效率,而无需额外的DRAM硬件成本。我们开发了DRAM处理(PiDRAM)框架,这是第一个灵活的端到端开源框架,可以使用真正的DRAM芯片进行系统集成研究和真正的PiM技术评估。我们在基于FPGA的平台(Xilinx ZC 706)上演示了PiDRAM的原型,该平台实现了开源RISC-V系统(Rocket Chip)。为了展示PiDRAM的灵活性和易用性,我们实现了两种PiM技术:(1)RowClone,一种DRAM内的复制和初始化机制(使用ComputeDRAM提出的命令序列),以及(2)D-RaNGe,一种基于DRAM激活延迟故障的DRAM内真随机数生成器。我们对RowClone的端到端评估显示,复制的速度提高了14.6倍,CPU复制的初始化操作提高了12.6倍(即,常规的MEMCPY)和初始化(即,常规的Calloc)操作。我们的D-RaNGe实现提供了高吞吐量的真随机数,达到8.30 Mb/s的吞吐量。在PiDRAM提供的Verilog和C++基础上,实现所需的硬件和软件组件,实现RowClone端到端需要198(565)行Verilog(C++)代码,实现D-RaNGe端到端需要190(78)行Verilog(C++)代码。PiDRAM在Github上开源:https://github.com/CMU-SAFARI/PiDRAM。

英文摘要:

DRAM-based main memory is used in nearly all computing systems as a major component. One way of overcoming the main memory bottleneck is to move computation near memory, a paradigm known as processing-in-memory (PiM). Recent PiM techniques provide a promising way to improve the performance and energy efficiency of existing and future systems at no additional DRAM hardware cost. We develop the Processing-in-DRAM (PiDRAM) framework, the first flexible, end-to-end, and open source framework that enables system integration studies and evaluation of real PiM techniques using real DRAM chips. We demonstrate a prototype of PiDRAM on an FPGA-based platform (Xilinx ZC706) that implements an open-source RISC-V system (Rocket Chip). To demonstrate the flexibility and ease of use of PiDRAM, we implement two PiM techniques: (1) RowClone, an in-DRAM copy and initialization mechanism (using command sequences proposed by ComputeDRAM), and (2) D-RaNGe, an in-DRAM true random number generator based on DRAM activation-latency failures. Our end-to-end evaluation of RowClone shows up to 14.6X speedup for copy and 12.6X initialization operations over CPU copy (i.e., conventional memcpy) and initialization (i.e., conventional calloc) operations. Our implementation of D-RaNGe provides high throughput true random numbers, reaching 8.30 Mb/s throughput. Over the Verilog and C++ basis provided by PiDRAM, implementing the required hardware and software components, implementing RowClone end-to-end takes 198 (565) and implementing D-RaNGe end-to-end takes 190 (78) lines of Verilog (C++) code. PiDRAM is open sourced on Github: https://github.com/CMU-SAFARI/PiDRAM.

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

↑