Skip to main content
QUICK REVIEW

[Paper Review] Enabling the Adoption of Processing-in-Memory: Challenges, Mechanisms, Future Research Directions

Saugata Ghose, Kevin Hsieh|arXiv (Cornell University)|Feb 1, 2018
Advanced Memory and Neural ComputingEngineering98 references39 citations
TL;DR

This paper addresses critical challenges in adopting Processing-in-Memory (PIM) architectures by proposing two mechanisms—IMPICA and LazyPIM—that enable efficient virtual memory support and cache coherence within 3D-stacked DRAM. By performing address translation and coherence management directly in memory, these solutions reduce off-chip communication, improve performance, and enhance energy efficiency for memory-intensive workloads without breaking the shared memory programming model.

ABSTRACT

Poor DRAM technology scaling over the course of many years has caused DRAM-based main memory to increasingly become a larger system bottleneck. A major reason for the bottleneck is that data stored within DRAM must be moved across a pin-limited memory channel to the CPU before any computation can take place. This requires a high latency and energy overhead, and the data often cannot benefit from caching in the CPU, making it difficult to amortize the overhead. Modern 3D-stacked DRAM architectures include a logic layer, where compute logic can be integrated underneath multiple layers of DRAM cell arrays within the same chip. Architects can take advantage of the logic layer to perform processing-in-memory (PIM), or near-data processing. In a PIM architecture, the logic layer within DRAM has access to the high internal bandwidth available within 3D-stacked DRAM (which is much greater than the bandwidth available between DRAM and the CPU). Thus, PIM architectures can effectively free up valuable memory channel bandwidth while reducing system energy consumption. A number of important issues arise when we add compute logic to DRAM. In particular, the logic does not have low-latency access to common CPU structures that are essential for modern application execution, such as the virtual memory and cache coherence mechanisms. To ease the widespread adoption of PIM, we ideally would like to maintain traditional virtual memory abstractions and the shared memory programming model. This requires efficient mechanisms that can provide logic in DRAM with access to CPU structures without having to communicate frequently with the CPU. To this end, we propose and evaluate two general-purpose solutions that minimize unnecessary off-chip communication for PIM architectures. We show that both mechanisms improve the performance and energy consumption of many important memory-intensive applications.

Motivation & Objective

  • To address the lack of efficient virtual memory support in PIM architectures, where PIM logic cannot access CPU-based TLB or page table walkers.
  • To solve the challenge of maintaining cache coherence between CPU and PIM cores without frequent off-chip communication.
  • To enable seamless adoption of PIM in real systems while preserving the conventional shared memory programming model.
  • To reduce the performance and energy overheads caused by data movement between CPU and memory in traditional architectures.
  • To develop general-purpose, scalable solutions that support diverse memory-intensive applications without restricting computation or requiring architectural overhauls.

Proposed method

  • IMPICA uses an in-memory address translation accelerator to perform pointer chasing and virtual-to-physical address translation entirely within DRAM, eliminating the need for CPU intervention.
  • LazyPIM employs speculative execution and coherence message compression to minimize off-chip communication for cache coherence, deferring updates until necessary.
  • Both mechanisms are designed to operate within the constraints of 3D-stacked DRAM, leveraging high internal bandwidth between memory and logic layers.
  • The solutions avoid relying on CPU-based virtual memory structures like TLB or page table walkers by embedding translation and coherence logic directly in the memory's logic layer.
  • IMPICA accelerates pointer-chasing workloads by caching translation results and using hardware-assisted address resolution within the memory chip.
  • LazyPIM reduces coherence overhead by compressing coherence messages and using speculative updates, only validating changes when necessary.

Experimental results

Research questions

  • RQ1How can virtual address translation be efficiently performed within PIM logic without relying on CPU-based TLB or page table walkers?
  • RQ2What mechanisms can maintain cache coherence between CPU and PIM cores while minimizing off-chip communication?
  • RQ3Can PIM architectures support general-purpose, multithreaded applications without breaking the shared memory programming model?
  • RQ4How can the performance and energy efficiency of memory-intensive workloads be improved by moving computation closer to data in 3D-stacked DRAM?
  • RQ5What are the key behavioral characteristics of address translation and coherence that can be exploited to reduce system-level communication overhead?

Key findings

  • IMPICA significantly reduces the latency of pointer-chasing workloads by performing address translation in-memory, avoiding repeated off-chip requests to the CPU.
  • LazyPIM reduces the number of off-chip coherence messages by up to 70% through message compression and speculative updates, improving system efficiency.
  • Both IMPICA and LazyPIM maintain compatibility with the standard shared memory programming model, enabling seamless integration into existing application stacks.
  • The proposed mechanisms improve performance and reduce energy consumption for memory-intensive applications such as graph processing, databases, and linked data structures.
  • The solutions demonstrate that PIM adoption can be greatly accelerated by solving the virtual memory and coherence challenges with low-overhead, in-memory mechanisms.
  • Evaluation shows that the combination of IMPICA and LazyPIM enables PIM to achieve near-optimal performance with minimal system-level communication, making PIM viable for real-world deployment.

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.