Silent-PIM: Realizing the Processing-in-Memory Computing With Standard Memory Requests
- 11 March 2021
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Parallel and Distributed Systems
- Vol. 33 (2) , 251-262
Abstract
The Deep Neural Network (DNN), Recurrent Neural Network (RNN) applications, rapidly becoming attractive to the market, process a large amount of low-locality data; thus, the memory bandwidth limits their peak performance. Therefore, many data centers actively adapt high-bandwidth memory like HBM2/HBM2E to resolve the problem. However, this approach would not provide a complete solution since it still transfers the data from the memory to the computing unit. Thus, processing-in-memory (PIM), which performs the computation inside memory, has attracted attention. However, most previous methods require the modification or the extension of core pipelines and memory system components like memory controllers, making the practical implementation of PIM very challenging and expensive in development. In this article, we propose a Silent-PIM that performs the PIM computation with standard DRAM memory requests; thus, requiring no hardware modifications and allowing the PIM memory device to perform the computation while servicing non-PIM applications’ memory requests. We can achieve our design goal by preserving the standard memory request behaviors and satisfying the DRAM standard timing requirements. In addition, using standard memory requests makes it possible to use DMA as a PIM’s offloading engine, resulting in processing the PIM memory requests fast and making a core perform other tasks. We compared the performance of three Long Short-Term Memory models (LSTM) kernels on real platforms, such as the Silent-PIM modeled on the FPGA, GPU, and CPU. For $(p \times 512) \times (512 \times 2048)$ matrix multiplication with a batch size $p$ varying from 1 to 128, the Silent-PIM performed up to 16.9x and 24.6x faster than GPU and CPU, respectively, $p=1$ , which was the case without having any data reuse. At $p=128$ , the highest data reuse case, the GPU performance was the highest, but the PIM performance was still higher than the CPU execution. Similarly, at $(p \times 2048)$ element-wise multiplication and addition, where there was no data reuse, the Silent-PIM always achieved higher than both CPU and GPU. It also showed that when the PIM’s EDP performance was superior to the others in all the cases having no data reuse.
Keywords
Funding Information
- SK hynix Inc.
- Korea Institute for Advancement of Technology
- Korea government (N0001883)
This publication has 23 references indexed in Scilit:
- The Mondrian Data EngineACM SIGARCH Computer Architecture News, 2017
- GraphPIM: Enabling Instruction-Level PIM Offloading in Graph Computing Frameworks2017
- A Validation of DRAM RAPL Power Measurements2016
- PIM-enabled instructions2015
- Active Memory Cube: A processing-in-memory architecture for exascale systemsIBM Journal of Research and Development, 2015
- A Highly Efficient Runtime and Graph Library for Large Scale Graph Analytics2014
- H-storeProceedings of the VLDB Endowment, 2008
- A 6.2-GFlops Floating-Point Multiply-Accumulator With Conditional NormalizationIEEE Journal of Solid-State Circuits, 2006
- Long Short-Term MemoryNeural Computation, 1997
- Memristor-The missing circuit elementIEEE Transactions on Circuit Theory, 1971