Two-Terminal Memory Wear Leveling via L2P Table Swapping

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional memory management techniques for flash memory, such as NAND Flash, face challenges with write amplification, wear leveling, and system footprint due to their inability to support in-place overwrites, leading to performance degradation and capacity reduction.

Innovation Solution

The implementation of a memory device with a logical-to-physical (L2P) table that maps logical group identifiers to physical group identifiers, enabling efficient wear leveling through a controller that updates write counter data and performs static wear leveling by swapping data between highly active and less active physical groups, reducing the need for dynamic wear leveling and garbage collection.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional flash memory management techniques are used, then write amplification occurs and wear is unevenly distributed, but this leads to performance degradation and reduced memory capacity

Engineering Contradiction:
Improvememory enduranceVSAvoidwrite performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments memory into physical groups (PGs) that can be independently managed and swapped. By dividing the memory into manageable units with associated write counters, the system can track and distribute wear across segments, preventing any single segment from becoming a bottleneck that degrades overall write performance.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements preliminary wear leveling by proactively monitoring write counters and performing swaps before memory blocks become fully worn. The controller tracks write counts and preemptively redistributes data from high-wear blocks to low-wear blocks, preventing performance degradation before it occurs.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If dynamic wear leveling and garbage collection are implemented, then memory wear is balanced, but this increases memory management overhead and system complexity

Engineering Contradiction:
Improvewear distributionVSAvoidmemory management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts the complex dynamic wear leveling and garbage collection logic from the memory management system. By using simple write counters and a straightforward swap mechanism based on L2P table updates, the invention removes the need for complex algorithms while achieving effective wear distribution.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The memory system performs self-service wear leveling through automatic write counter tracking and controller-managed swaps. The system monitors its own wear patterns and autonomously redistributes data without requiring external intervention or complex management software, reducing overall system complexity.

Inventive Principle:
Principle #25Self-service

3Quantity of substance

If in-place overwrites are not supported, then memory capacity is reduced due to write amplification, but this simplifies the memory structure

Engineering Contradiction:
Improveusable memory capacityVSAvoidmemory structure
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent introduces an intermediary L2P translation layer that mediates between logical addresses and physical memory locations. This intermediary structure enables in-place overwrites by allowing the controller to redirect writes to different physical locations while maintaining logical address continuity, effectively increasing usable capacity without significantly complicating the underlying memory structure.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS10248333B1Write distribution techniques for two-terminal memory wear leveling
Publication Date: 2019.04.02 CROSSBAR INC
  • US10248333B1 patent drawing
  • US10248333B1 patent drawing
  • US10248333B1 patent drawing

AI summary

One potential result of differing characteristics for certain two-terminal memory (TTM) is that memory management techniques, such as logical-to-physical (L2P), can differ as well. Previous memory management techniques do not adequately leverage the advantages associated with TTM. For example, by identifying and leveraging certain advantageous characteristics of TTM, L2P tables can be designed to be smaller and more efficient. Moreover, other memory management operations such as wear-leveling, recovery from power loss, and so forth, can be more efficient.