Skip to main content
QUICK REVIEW

[Paper Review] Accelerating Bulk Bit-Wise X(N)OR Operation in Processing-in-DRAM Platform

Shaahin Angizi, Deliang Fan|arXiv (Cornell University)|Apr 11, 2019
Advanced Memory and Neural ComputingEngineering35 references6 citations
TL;DR

This paper proposes DRIM, a high-throughput Processing-in-DRAM (PIM) architecture that accelerates bulk bit-wise X(N)OR operations using a novel Dual-Row Activation (DRA) mechanism exploiting analog DRAM sub-array operations. By modifying sense amplifiers and enabling in-memory computation between operands on the same bit-line, DRIM achieves 71× higher throughput than CPU and 8.4× over GPU, with up to 3.7× better performance than prior PIMs and 69× lower energy than DDR4 data copying.

ABSTRACT

With Von-Neumann computing architectures struggling to address computationally- and memory-intensive big data analytic task today, Processing-in-Memory (PIM) platforms are gaining growing interests. In this way, processing-in-DRAM architecture has achieved remarkable success by dramatically reducing data transfer energy and latency. However, the performance of such system unavoidably diminishes when dealing with more complex applications seeking bulk bit-wise X(N)OR- or addition operations, despite utilizing maximum internal DRAM bandwidth and in-memory parallelism. In this paper, we develop DRIM platform that harnesses DRAM as computational memory and transforms it into a fundamental processing unit. DRIM uses the analog operation of DRAM sub-arrays and elevates it to implement bit-wise X(N)OR operation between operands stored in the same bit-line, based on a new dual-row activation mechanism with a modest change to peripheral circuits such sense amplifiers. The simulation results show that DRIM achieves on average 71x and 8.4x higher throughput for performing bulk bit-wise X(N)OR-based operations compared with CPU and GPU, respectively. Besides, DRIM outperforms recent processing-in-DRAM platforms with up to 3.7x better performance.

Motivation & Objective

  • Address the limited throughput of existing PIM platforms in accelerating X(N)OR- and addition-based workloads like DNA alignment and encryption.
  • Overcome the inefficiency of prior PIM designs that rely on multi-cycle operations and row initialization for complex logic operations.
  • Enable high-throughput, energy-efficient bit-wise X(N)OR computation directly within DRAM sub-arrays using analog operations.
  • Minimize area and energy overhead while maintaining compatibility with commodity DRAM by introducing minimal circuit modifications.
  • Demonstrate significant performance and energy advantages over CPU, GPU, and state-of-the-art PIM accelerators like Ambit and DRISA.

Proposed method

  • Introduce a Dual-Row Activation (DRA) mechanism that enables bit-wise X(N)OR computation between two operands stored in different word-lines within the same DRAM sub-array.
  • Leverage the analog behavior of DRAM sub-arrays, where bit-line voltages are manipulated through controlled charge sharing during dual-row activation.
  • Modify sense amplifiers to support dual-row activation by adding 22 transistors per sense amplifier to enable selective activation and voltage comparison.
  • Introduce Dual-Contact Cells (DCCs) and modify word-line drivers (4:12 MRD instead of 4:16) to support the new activation scheme with minimal area cost.
  • Use a control unit (Ctrl) to generate activation signals and manage instruction execution, supporting virtual addressing with page table translation via memory controller pre-processing.
  • Optimize memory layout and interleaving strategies to maximize spatial locality and reduce data movement across memory modules.

Experimental results

Research questions

  • RQ1Can a PIM architecture achieve significantly higher throughput for bulk bit-wise X(N)OR operations compared to conventional CPU and GPU platforms?
  • RQ2Can a novel in-memory computation mechanism like Dual-Row Activation (DRA) overcome the limitations of multi-cycle and row-initialization-based PIM designs for X(N)OR logic?
  • RQ3What is the area and energy overhead of integrating X(N)OR acceleration into commodity DRAM without sacrificing reliability or performance?
  • RQ4How does DRIM compare in performance and energy efficiency to existing PIM platforms such as Ambit and DRISA for X(N)OR-based workloads?
  • RQ5To what extent can 3D-stacked DRAM further enhance the performance of DRIM-based systems?

Key findings

  • DRIM achieves an average of 71× higher throughput than a Core-i7 CPU and 8.4× higher than an NVIDIA GTX 1080Ti GPU for bulk bit-wise X(N)OR operations.
  • DRIM outperforms existing PIM platforms such as Ambit and DRISA-1T1C by up to 3.7× in throughput for X(N)OR-based workloads.
  • The energy consumption of DRIM is reduced by 2.4× compared to Ambit and by 69× compared to data copying over DDR4 interfaces.
  • For bit-wise addition, DRIM reduces energy by approximately 2× compared to Ambit, 1.7× compared to DRISA-1T1C, and 27× compared to CPU.
  • A 3D-stacked DRAM based on DRIM can boost HMC 2.0 performance by approximately 13.5×.
  • The total area overhead of DRIM is estimated at ~9.3% of a DRAM chip, primarily due to added transistors in sense amplifiers and modified word-line drivers.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.