Selective Memory Error Management via Spare Cache Mapping

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Computer memory systems face issues with data corruption and loss due to memory module failures, leading to unnecessary memory de-allocation and potential system crashes, as existing methods either de-allocate entire pages or exhaust spare memory caches.

Innovation Solution

A selective error management system that uses a memory controller to map failing bits to a spare memory cache, apply memory erasure, and facilitate memory migration, dynamically managing errors by retrying requests, using Error Correction Codes, and optimizing the use of spare cache lines to minimize de-allocation and maintain system efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If entire pages of memory are de-allocated when failures occur, then data corruption and loss are prevented, but the amount of memory available to processors is unnecessarily reduced and system operations may cease

Engineering Contradiction:
Improvedata integrityVSAvoidavailable memory
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent segments memory management into three distinct approaches: mapping individual failing bits to spare cache lines, erasing specific failing cache lines, and de-allocating only affected pages. This granular segmentation allows the system to address only the specific failing portions rather than entire memory pages, thereby maintaining data integrity while preserving maximum available memory capacity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system dynamically selects among multiple error handling strategies (mapping, erasure, de-allocation) based on the specific failure conditions and current system state. The memory controller adaptively chooses the most appropriate response for each error scenario, optimizing the balance between reliability and memory availability in real-time.

Inventive Principle:
Principle #15Dynamics

2Quantity of substance

If spare memory cache is used to replace failing portions of memory modules, then memory availability is maintained, but the spare memory cache may be used up as more errors are encountered

Engineering Contradiction:
Improvememory availabilityVSAvoiderror handling capability
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

The patent implements a recovery mechanism where erased cache lines are freed and made available for future error mapping. When errors occur in previously erased locations, the system can re-map those locations to recovered spare cache lines, effectively recycling the spare cache capacity and preventing permanent exhaustion of error handling resources.

Inventive Principle:
Principle #34Discarding and recovering

Solution Approach 2:

The memory controller continuously monitors error patterns and dynamically adjusts its error handling strategy based on feedback from the memory system. When spare cache lines are exhausted, the system transitions to erasure and de-allocation strategies, and can recover cache lines for reuse when conditions permit, creating a feedback-driven adaptive error management system.

Inventive Principle:
Principle #23Feedback

3Quantity of substance

If memory erasure is applied to specific bits causing errors, then the amount of memory available is preserved, but the complexity of error management increases

Engineering Contradiction:
Improvememory availabilityVSAvoiderror management complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent introduces a memory controller as an intermediary layer between the processor and memory modules, equipped with specialized error detection and correction logic. This intermediary handles the complexity of error management, including bit-level error identification, cache line erasure, and coordination with the operating system, thereby preserving memory availability while containing the complexity within a dedicated control component.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The memory system implements self-service error correction through hardware-based error detection and correction codes (ECC) that automatically detect and correct certain types of memory errors without external intervention. This self-service capability handles routine errors at the hardware level, reducing the burden on software-based error management mechanisms.

Inventive Principle:
Principle #25Self-service

4Reliability

If page de-allocation is implemented for failing memory modules, then data integrity is maintained, but system performance is reduced due to loss of memory capacity

Engineering Contradiction:
Improvedata integrityVSAvoidsystem performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments the error handling approach to de-allocate only the specific pages containing failing memory modules rather than larger memory regions. This selective de-allocation maintains data integrity for affected pages while minimizing the impact on overall system performance by preserving the maximum possible memory capacity for active use.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS8612797B2Systems and methods of selectively managing errors in memory modules
Publication Date: 2013.12.17 SK HYNIX INC
  • US8612797B2 patent drawing
  • US8612797B2 patent drawing
  • US8612797B2 patent drawing

AI summary

System and methods of selectively managing errors in memory modules. In an exemplary implementation, a method may include monitoring for persistent errors in the memory modules. The methods may also include mapping at least a portion of the memory modules to a spare memory cache only to obviate persistent errors. The method may also include initiating memory erasure on at least a portion of the memory modules only if insufficient cache lines are available in the spare memory cache.