Skip to main content
QUICK REVIEW

[Paper Review] A Memory Controller with Row Buffer Locality Awareness for Hybrid Memory Systems

HanBin Yoon, Justin Meza|arXiv (Cornell University)|Apr 30, 2018
Parallel Computing and Optimization TechniquesComputer Science40 references5 citations
TL;DR

This paper proposes a memory controller that uses row buffer locality awareness to intelligently cache frequently reused data in DRAM within DRAM-PCM hybrid memory systems. By tracking row buffer miss counts and prioritizing data with low locality but high reuse, the controller improves performance by 14% and energy efficiency by 10% over conventional frequency-based caching, while achieving 31% better performance than all-PCM systems.

ABSTRACT

Non-volatile memory (NVM) is a class of promising scalable memory technologies that can potentially offer higher capacity than DRAM at the same cost point. Unfortunately, the access latency and energy of NVM is often higher than those of DRAM, while the endurance of NVM is lower. Many DRAM-NVM hybrid memory systems use DRAM as a cache to NVM, to achieve the low access latency, low energy, and high endurance of DRAM, while taking advantage of the large capacity of NVM. A key question for a hybrid memory system is what data to cache in DRAM to best exploit the advantages of each technology while avoiding the disadvantages of each technology as much as possible. We propose a new memory controller design that improves hybrid memory performance and energy efficiency. We observe that both DRAM and NVM banks employ row buffers that act as a cache for the most recently accessed memory row. Accesses that are row buffer hits incur similar latencies (and energy consumption) in both DRAM and NVM, whereas accesses that are row buffer misses incur longer latencies (and higher energy consumption) in NVM than in DRAM. To exploit this, we devise a policy that caches heavily-reused data that frequently misses in the NVM row buffers into DRAM. Our policy tracks the row buffer miss counts of recently-used rows in NVM, and caches in DRAM the rows that are predicted to incur frequent row buffer misses. Our proposed policy also takes into account the high write latencies of NVM, in addition to row buffer locality and more likely places the write-intensive pages in DRAM instead of NVM.

Motivation & Objective

  • To address the performance and energy inefficiency of hybrid memory systems using DRAM and non-volatile memory (NVM), particularly phase-change memory (PCM), by exploiting row buffer behavior.
  • To reduce high-latency, high-energy PCM array accesses by identifying data that frequently miss in the NVM row buffer and caching it in DRAM.
  • To improve data placement decisions beyond access frequency or recency by incorporating row buffer locality and write latency characteristics of NVM.
  • To design a dynamic, cost-benefit-driven thresholding mechanism that adapts to workload behavior for optimal DRAM caching.

Proposed method

  • The controller monitors row buffer miss counts for recently accessed memory rows in the NVM (PCM) side.
  • It identifies rows with high row buffer miss counts—indicating low locality but high reuse—as prime candidates for DRAM caching.
  • A dynamic thresholding mechanism is used to decide which rows to migrate to DRAM based on a cost-benefit analysis of access patterns.
  • The policy also accounts for high write latencies in PCM by preferentially placing write-intensive pages in DRAM.
  • The system uses a hybrid memory architecture with DRAM as a cache to a larger PCM main memory.
  • The design is evaluated using real server and cloud workloads on a DRAM-PCM hybrid system with detailed cycle-accurate simulation.

Experimental results

Research questions

  • RQ1How can row buffer locality in NVM and DRAM be exploited to improve hybrid memory performance and energy efficiency?
  • RQ2What data placement policy can effectively reduce high-latency PCM array accesses while minimizing DRAM cache pollution?
  • RQ3How does combining row buffer locality with write latency awareness improve overall system efficiency in hybrid memory systems?
  • RQ4Can a locality-aware policy outperform frequency- or recency-based caching in hybrid memory systems?
  • RQ5To what extent can row buffer behavior be generalized across different memory technologies like PCM, STT-MRAM, and reduced-latency DRAM?

Key findings

  • The proposed row buffer locality-aware (RBLA) policy improves average system performance by 14% compared to conventional frequency-based caching in DRAM-PCM hybrid systems.
  • The RBLA controller achieves a 10% improvement in energy efficiency over the baseline policy on data-intensive server and cloud workloads.
  • The system achieves a 31% performance gain over an all-PCM memory system, demonstrating significant benefit from DRAM caching.
  • The hybrid system performs within 29% of an all-DRAM system in performance, despite not accounting for PCM’s capacity advantage.
  • The policy outperforms frequency- and recency-based caching by better capturing data access patterns that cause repeated row buffer misses.
  • The approach is generalizable to other hybrid memory systems using NVM technologies with row buffers, such as STT-MRAM and reduced-latency DRAM.

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.