Skip to main content
QUICK REVIEW

[Paper Review] A Modern Primer on Processing in Memory

Onur Mutlu, Saugata Ghose|arXiv (Cornell University)|Dec 5, 2020
Parallel Computing and Optimization TechniquesComputer Science27 citations
TL;DR

This paper proposes Processing-in-Memory (PIM) as a solution to the growing performance, energy, and scalability bottlenecks caused by data movement in modern computing systems. By leveraging 3D-stacked memory and analog DRAM properties, PIM enables computation within or near memory—demonstrating significant performance and energy gains for data-intensive workloads through two approaches: Processing Using Memory (PUM) and Processing Near Memory (PNM).

ABSTRACT

This paper discusses recent research that aims to enable computation close to data, an approach we broadly call processing-in-memory (PIM). PIM places computation mechanisms in or near where the data is stored (i.e., inside memory chips or modules, in the logic layer of 3D-stacked memory, in the memory controllers, in storage devices or chips), so that data movement between the computation units and memory/storage units is reduced or eliminated. While the general idea of PIM is not new, we discuss motivating trends in applications as well as memory circuits and technology that greatly exacerbate the need for enabling it in modern computing systems. We examine at least two promising new approaches to designing PIM systems to accelerate important data-intensive applications: (1) processing-using-memory, which exploits fundamental analog operational principles of memory chips to perform massively-parallel operations in-situ in memory, (2) processing-near-memory, which exploits different logic and memory integration technologies (e.g., 3D-stacked memory technology) to place computation logic close to memory circuitry, and thereby enable high-bandwidth, low-energy, and low-latency access to data. In both approaches, we describe and tackle relevant cross-layer research, design, and adoption challenges in devices, architecture, systems, compilers, programming models, and applications. Our focus is on the development of PIM designs that can be adopted in real computing platforms at low cost. We conclude by discussing work on solving key challenges to the practical adoption of PIM. We believe that the shift from a processor-centric to a memory-centric mindset (and infrastructure) remains the largest adoption challenge for PIM, which, once overcome, can unleash a fundamentally energy-efficient, high-performance, and sustainable new way of designing, using, and programming computing systems.

Motivation & Objective

  • Address the growing performance, energy, and scalability bottlenecks caused by data movement between processors and main memory in modern computing systems.
  • Identify key trends—such as data-intensive workloads, energy constraints, and memory technology scaling limits—that necessitate a shift toward computation near or within memory.
  • Propose and evaluate two practical PIM approaches: Processing Using Memory (PUM) exploiting DRAM’s analog properties, and Processing Near Memory (PNM) using 3D-stacked memory logic layers.
  • Overcome cross-layer challenges in devices, architecture, systems, and programming models to enable real-world adoption of PIM in future platforms.
  • Provide foundational resources—benchmarks, simulation tools, and programming abstractions—to accelerate research and deployment of PIM systems.

Proposed method

  • Introduce Processing Using Memory (PUM) by exploiting the analog operational characteristics of DRAM cells to perform massively parallel in-memory operations like data copying, initialization, and bitwise operations with minimal hardware changes.
  • Demonstrate PUM techniques such as RowClone, Ambit, SIMDRAM, Gather-Scatter DRAM, and in-DRAM security primitives to achieve high performance and energy efficiency.
  • Propose Processing Near Memory (PNM) using the logic layer in 3D-stacked memory to offload computation from the CPU, reducing data movement and latency.
  • Implement PNM across multiple abstraction levels: application-level (e.g., Tesseract for graph processing), function-level (e.g., for mobile and GPU workloads), and instruction-level (e.g., PIM-Enabled Instructions).
  • Address system-level challenges including memory coherence, virtual memory support, runtime scheduling, and data structure design for PIM-optimized workloads.
  • Develop and validate simulation infrastructures and benchmarks to estimate PIM benefits and guide future research and hardware prototyping.

Experimental results

Research questions

  • RQ1How can Processing Using Memory (PUM) leverage the inherent analog properties of DRAM to perform computation with minimal hardware modifications and achieve performance and energy gains?
  • RQ2To what extent can Processing Near Memory (PNM) in 3D-stacked memory architectures reduce data movement and improve performance and energy efficiency across diverse workloads?
  • RQ3What system-level challenges—such as memory coherence, virtual memory support, and runtime scheduling—must be solved to enable practical deployment of PIM in real computing platforms?
  • RQ4How can programming models and code generation tools abstract PIM hardware complexity and enable transparent, efficient use by application developers?
  • RQ5What benchmarks and simulation frameworks are needed to accurately evaluate and guide the development of PIM systems at scale?

Key findings

  • PUM techniques such as RowClone and Ambit achieve up to 100x speedup and 90% energy reduction for bulk data operations like memory copy and initialization by exploiting DRAM’s analog behavior.
  • Processing Near Memory (PNM) with 3D-stacked memory logic enables up to 4.5x speedup and 60% energy reduction for graph processing (Tesseract), and significant gains in genome analysis and time-series workloads.
  • Function-level PNM acceleration for mobile workloads and GPU applications demonstrates performance improvements of up to 2.5x with minimal software changes.
  • Instruction-level PNM with PIM-Enabled Instructions (PEI) enables transparent acceleration of existing code with no source code changes, achieving up to 2.1x speedup in GPU workloads.
  • The development of domain-specific benchmarks and simulation infrastructures enables accurate estimation of PIM benefits and overheads, facilitating future research and hardware design.
  • Real PIM hardware prototypes and runtime support (e.g., for scheduling and data mapping) are essential for validating and accelerating the adoption of PIM in production systems.

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.