L2P Mapping Table Compression Using RLE for Low-Latency NAND Access

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current memory systems face challenges in expanding address ranges without degrading write performance or increasing read latency, due to limited cache storage for logical-to-physical (L2P) mapping tables in NAND storage devices.

Innovation Solution

Implementing a Run Length Encode (RLE) algorithm to decrease the average map entry size of L2P pointers, removing reserved and static bits, and packing the resulting bits into SRAM, while using a FIFO structure to manage map pages and handle cache limitations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If the L2P mapping table size is increased to expand address range, then the address range capability is improved, but the cache storage requirement increases导致read latency increases

Engineering Contradiction:
Improveaddress range capabilityVSAvoidread latency
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent extracts only the necessary variable bits from physical addresses, removing reserved and static bits that do not contribute to address range capability. This extraction reduces the average map entry size while maintaining the ability to address the required range, allowing more entries to fit in cache and reducing read latency.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent applies different encoding strategies to different portions of the physical address based on their variability. Frequently accessed or variable portions are encoded with more bits, while static or reserved portions are removed or encoded with fewer bits. This local optimization reduces overall entry size while maintaining address range capability where needed.

Inventive Principle:
Principle #3Local quality

2Adaptability or versatility

If the L2P mapping table size is increased to expand address range, then the address range capability is improved, but the cache storage requirement increases导致write performance degrades

Engineering Contradiction:
Improveaddress range capabilityVSAvoidwrite performance
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

By extracting and removing reserved and static bits from the physical address encoding, the patent reduces the average map entry size. This reduction allows the cache to store more mapping entries within the same capacity, improving write performance by reducing cache misses and avoiding the performance degradation that would result from a larger cache requirement.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent changes the parameter of map entry size by dynamically encoding physical addresses based on their actual variability rather than using fixed maximum-size encodings. This parameter change reduces the average storage requirement per entry, allowing the system to maintain larger address range capability without proportionally increasing cache storage requirements, thereby preserving write performance.

Inventive Principle:
Principle #35Parameter changes

3Quantity of substance

If reserved and static bits are removed from physical addresses, then the map entry size is reduced, but the address encoding complexity increases

Engineering Contradiction:
Improvemap entry sizeVSAvoidaddress encoding complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent performs preliminary encoding of physical addresses using run-length encoding before storing them in the L2P mapping table. This preliminary action compresses sequences of identical or similar address bits, reducing the average map entry size. The encoding complexity is managed by performing the compression in advance during address translation setup, rather than during each access operation.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates a compressed representation (copy) of the physical address that eliminates reserved and static bits while preserving the essential address information. This copied encoded form is stored in the mapping table instead of the full original address, reducing entry size. The decoding process reconstructs the full address when needed, managing the complexity through standardized encoding/decoding routines.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS10970228B2Mapping table compression using a run length encoding algorithm
Publication Date: 2021.04.06 MICRON TECHNOLOGY INC
  • US10970228B2 patent drawing
  • US10970228B2 patent drawing
  • US10970228B2 patent drawing

AI summary

Apparatus and methods are disclosed, including using a memory controller to generate an encoded physical address using a run length encoding (RLE) algorithm on a physical address to reduce a length of the encoded physical address, and storing the encoded physical address as a map entry of a logical-to-physical (L2P)) table in a cache random access memory of the memory controller.