Flash Translation Layer Garbage Collection Using Age and Staleness

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Flash memory systems face challenges with wear out due to inefficient erase operations and high hardware costs, necessitating effective garbage collection and wear leveling strategies to extend the lifespan of flash memory chips.

Innovation Solution

The implementation of a Flash Translation Layer (FTL) that maps user logical addresses to physical data page locations, maintaining a free block pool through garbage collection, and designating blocks as hot or cold based on heuristic parameters to optimize data relocation and erase operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If simple garbage collection is performed by erasing entire blocks whenever a page is written, then free memory is maintained, but excessive wear occurs on flash memory chips

Engineering Contradiction:
Improvefree memoryVSAvoidflash memory lifespan
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

The patent segments the flash memory into multiple blocks and further segments each block into pages. This segmentation allows the system to perform partial erasures at the page level rather than erasing entire blocks, thereby reducing unnecessary wear on pages that still contain valid data while maintaining adequate free memory space.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements local quality by tracking the validity status of individual pages within blocks and performing erasure operations only on specific pages that contain invalid data. This localized approach ensures that pages with valid data are preserved from unnecessary erasure cycles, extending flash memory lifespan while still reclaiming needed space.

Inventive Principle:
Principle #3Local quality

2Productivity

If frequent garbage collection is performed to maintain free memory, then write operations can continue, but write amplification increases

Engineering Contradiction:
Improvewrite operation continuityVSAvoidwrite amplification
Core Design Contradiction:
ProductivityVSLoss of energy

Solution Approach 1:

The patent performs preliminary actions by proactively identifying and marking invalid pages before they accumulate to critical levels. The system monitors page validity and schedules erasure operations in advance, preventing the need for frequent emergency garbage collection cycles that would increase write amplification.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements feedback mechanisms by continuously monitoring the number of valid and invalid pages in each block, and adjusting garbage collection timing and scope based on this feedback. This adaptive approach optimizes the balance between maintaining free memory and minimizing unnecessary write operations.

Inventive Principle:
Principle #23Feedback

3Reliability

If entire blocks are erased before writing new data, then data integrity is ensured, but the number of erase cycles increases causing wear

Engineering Contradiction:
Improvedata integrityVSAvoiderase cycle lifespan
Core Design Contradiction:
ReliabilityVSDuration of action of moving object

Solution Approach 1:

The patent applies partial action by erasing only the specific pages within a block that contain invalid data, rather than erasing the entire block. This selective approach maintains data integrity for valid pages while reducing the total number of erase cycles applied to the flash memory, thereby extending its operational lifespan.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUSRE50315E1Adaptive garbage collection including flash memory using age and staleness parameters
Publication Date: 2025.02.25 INNOVATIONS IN MEMORY LLC
  • USRE50315E1 patent drawing
  • USRE50315E1 patent drawing
  • USRE50315E1 patent drawing

AI summary

Data being stored in a block of flash memory system may be characterized as being frequently modified or infrequently modified (hot/cold) based on a heuristic. When performing garbage collection, if the data from hot blocks is consolidated and data from cold blocks is separately consolidated by writing the data to different free blocks, the number of write operations to perform the garbage collection may be reduced. The lower “write amplification” contributes to increasing the lifetime of the memory circuit. When the number of blocks in a pool of previously erased blocks is reduced to a threshold value, a block having data previously stored therein may be selected for garbage collection based on a second heuristic.