Skip to main content
QUICK REVIEW

[Paper Review] Using ECC DRAM to Adaptively Increase Memory Capacity

Yixin Luo, Saugata Ghose|arXiv (Cornell University)|Jun 27, 2017
Parallel Computing and Optimization TechniquesComputer Science28 references12 citations
TL;DR

This paper proposes CREAM, a hardware mechanism that dynamically repurposes ECC DRAM's reserved error-correcting code space for additional data capacity when applications do not require strong reliability. By supporting multiple reliability levels—ranging from no correction to multi-bit parity—CREAM increases usable DRAM capacity without sacrificing error resilience for critical workloads, achieving 23.0% and 37.3% performance gains in database and web search workloads, respectively.

ABSTRACT

Modern DRAM modules are often equipped with hardware error correction capabilities, especially for DRAM deployed in large-scale data centers, as process technology scaling has increased the susceptibility of these devices to errors. To provide fast error detection and correction, error-correcting codes (ECC) are placed on an additional DRAM chip in a DRAM module. This additional chip expands the raw capacity of a DRAM module by 12.5%, but the applications are unable to use any of this extra capacity, as it is used exclusively to provide reliability for all data. In reality, there are a number of applications that do not need such strong reliability for all their data regions (e.g., some user batch jobs executing on a public cloud), and can instead benefit from using additional DRAM capacity to store extra data. Our goal in this work is to provide the additional capacity within an ECC DRAM module to applications when they do not need the high reliability of error correction. In this paper, we propose Capacity- and Reliability-Adaptive Memory (CREAM), a hardware mechanism that adapts error correcting DRAM modules to offer multiple levels of error protection, and provides the capacity saved from using weaker protection to applications. For regions of memory that do not require strong error correction, we either provide no ECC protection or provide error detection using multibit parity. We evaluate several layouts for arranging the data within ECC DRAM in these reduced-protection modes, taking into account the various trade-offs exposed from exploiting the extra chip. Our experiments show that the increased capacity provided by CREAM improves performance by 23.0% for a memory caching workload, and by 37.3% for a commercial web search workload executing production query traces. In addition, CREAM can increase bank-level parallelism within DRAM, offering further performance improvements.

Motivation & Objective

  • Many applications in data centers do not require strong error correction but could benefit from additional DRAM capacity.
  • Current ECC DRAM modules reserve 12.5% of capacity exclusively for error correction, leaving it unused for applications that don’t need it.
  • The goal is to dynamically adapt ECC DRAM to offer variable reliability levels and expose the freed capacity to applications that do not require full error correction.
  • The mechanism must maintain low performance overhead while enabling flexible trade-offs between reliability and memory capacity.
  • The system should support both full reliability for critical workloads and reduced-protection modes for less critical or resilient workloads.

Proposed method

  • CREAM reorganizes data layout within ECC DRAM modules to repurpose the space used for SECDED codes when error correction is not required.
  • It supports multiple reliability levels: full SECDED, lightweight multi-bit parity, and no error correction, depending on application needs.
  • The memory controller and DRAM bridge chip are modified to manage dynamic switching between protection levels at the memory region level.
  • Data layout strategies are evaluated to minimize performance degradation, including row buffer locality and bank-level parallelism trade-offs.
  • The system uses hardware-level control to switch protection modes without OS or MMU changes, ensuring low overhead.
  • CREAM maintains backward compatibility with existing ECC DRAM by preserving full error correction for regions that require it.

Experimental results

Research questions

  • RQ1Can the space reserved for ECC in DRAM modules be dynamically repurposed for data storage when applications do not require strong error correction?
  • RQ2What are the performance trade-offs of using reduced or no error correction in DRAM, particularly regarding cache contention and row buffer locality?
  • RQ3How can data layout in ECC DRAM be restructured to maximize usable capacity while minimizing performance degradation?
  • RQ4What is the impact of varying the proportion of SECDED-protected versus correction-free memory regions on overall system performance?
  • RQ5Can a hardware mechanism be designed to support flexible reliability and capacity trade-offs without requiring OS or MMU modifications?

Key findings

  • CREAM improves performance by 23.0% for a memory caching workload in a database system by increasing usable DRAM capacity.
  • For a commercial web search workload using production query traces, CREAM delivers a 37.3% performance improvement due to increased memory capacity.
  • The performance degradation of CREAM is minimal, with a maximum drop of only 4.0% across all tested configurations, even under high memory intensity.
  • In contrast, Virtualized ECC (VECC) incurs up to 25.1% performance degradation under similar conditions, highlighting CREAM’s efficiency.
  • CREAM maintains high bank-level parallelism and avoids significant row buffer locality loss, even when switching between SECDED and correction-free regions.
  • The mechanism achieves 12.5% extra data capacity in DRAM modules when ECC protection is not required, without compromising reliability for critical workloads.

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.