Flash Memory Garbage Collection Using Neural Network Valid Page Estimation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional garbage collection operations in flash memory devices are inefficient, leading to decreased performance as the number and size of victim blocks increase, due to the time-consuming process of reallocating memory space.

Innovation Solution

A method and device that utilize a neural network model to estimate the valid page count of each memory block, selecting a victim block for garbage collection based on these estimates to optimize the garbage collection process.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If conventional garbage collection operations are performed by reading valid data from victim blocks and moving it to destination blocks, then free blocks are allocated for future writes, but the operation takes considerable time and efficiency decreases as the number and size of victim blocks increase

Engineering Contradiction:
Improvenumber of free blocksVSAvoidgarbage collection time
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The patent applies preliminary action by estimating the valid page count of memory blocks in advance using a neural network model before selecting victim blocks for garbage collection. This allows the system to proactively identify suitable candidate blocks without having to read and analyze all blocks, thereby reducing the time required for garbage collection operations while still ensuring adequate free block allocation.

Inventive Principle:
Principle #10Preliminary action

2Quantity of substance

If the number and size of victim blocks increase to allocate more free space, then more free blocks become available for writing, but the overall efficiency of garbage collection operations decreases

Engineering Contradiction:
Improvefree block availabilityVSAvoidgarbage collection efficiency
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The patent applies self-service by using a neural network model that automatically learns and predicts the valid page count of memory blocks based on historical data and patterns. The model autonomously identifies suitable victim blocks without requiring manual intervention or exhaustive analysis, enabling the system to efficiently manage free block allocation even as the number of victim blocks increases, thereby maintaining garbage collection efficiency.

Inventive Principle:
Principle #25Self-service

3Measurement precision

If exhaustive reading of all memory blocks is performed to accurately identify victim blocks, then precise selection of blocks for garbage collection is achieved, but the time and computational resources required increase significantly

Engineering Contradiction:
Improvevictim block identification accuracyVSAvoidblock analysis time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent introduces an intermediary element - a neural network model - that acts as a mediator between the raw memory block data and the garbage collection decision-making process. The model processes and interprets block characteristics to predict valid page counts, providing accurate victim block identification without requiring exhaustive reading of all blocks, thus reducing the time and computational resources needed while maintaining precision.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS10896126B2Storage device, method and non-volatile memory device performing garbage collection using estimated number of valid pages
Publication Date: 2021.01.19 SAMSUNG ELECTRONICS CO LTD
  • US10896126B2 patent drawing
  • US10896126B2 patent drawing
  • US10896126B2 patent drawing

AI summary

Garbage collection is performed according to an estimated number of valid pages. A storage device estimates a valid page count at a future time based on a valid page count at each of past time steps and a present time step using a neural network model and selects a victim block that undergoes the garbage collection from memory blocks based on an estimated valid page count. A memory block having a lowest estimated valid page count or having an estimated valid page count having a maintaining tendency is selected as the victim block or a memory block having the estimated valid page count having a decreasing tendency is excluded from selecting the victim block.