L2P Table Management Using Low-Latency NVM

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The increasing demand for large capacity flash storage devices poses challenges in managing metadata, as the required RAM size grows exponentially, leading to high fabrication costs and power consumption, making it impractical to store the logical to physical (L2P) table in RAM for devices with capacities above 64 TB.

Innovation Solution

Implementing low-latency non-volatile memory (NVM) to store L2P table snapshots and journal records, reducing the RAM requirements to 3-6% of the original, allowing for efficient metadata management and avoiding write collisions between journal and user data writes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If RAM size is increased to accommodate metadata for large capacity flash storage devices, then metadata access performance is improved, but fabrication costs and power consumption increase

Engineering Contradiction:
Improvemetadata access performanceVSAvoidpower consumption
Core Design Contradiction:
SpeedVSUse of energy by stationary object

Solution Approach 1:

The patent segments the metadata storage system into multiple components: a small high-speed cache in RAM for frequently accessed metadata, and a larger capacity storage in low-latency NVM for the complete L2P table. This segmentation allows the system to maintain fast access performance for critical operations while avoiding the need to allocate large amounts of power-consuming RAM for the entire metadata structure.

Inventive Principle:
Principle #1Segmentation

2Speed

If RAM size is increased to accommodate metadata for large capacity flash storage devices, then metadata access performance is improved, but fabrication costs increase

Engineering Contradiction:
Improvemetadata access performanceVSAvoidfabrication costs
Core Design Contradiction:
SpeedVSEase of manufacture

Solution Approach 1:

The patent segments the metadata storage system into multiple components: a small high-speed cache in RAM for frequently accessed metadata, and a larger capacity storage in low-latency NVM for the complete L2P table. This segmentation allows the system to maintain fast access performance for critical operations while avoiding the need to allocate large amounts of power-consuming RAM for the entire metadata structure.

Inventive Principle:
Principle #1Segmentation

3Quantity of substance

If low-latency NVM is used to store L2P table snapshots and journal records, then RAM requirements are reduced, but write operation complexity increases

Engineering Contradiction:
ImproveRAM requirementsVSAvoidwrite operation complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent implements preliminary action by maintaining journal records and L2P table snapshots in low-latency NVM before actual write operations occur. This allows the system to prepare metadata updates in advance and quickly apply them during write operations, reducing the complexity of real-time metadata management while maintaining reduced RAM requirements.

Inventive Principle:
Principle #10Preliminary action

4Loss of time

If low-latency NVM is used to store L2P table snapshots and journal records, then system downtime during L2P table rebuilds is minimized, but device complexity increases

Engineering Contradiction:
Improvesystem downtime during rebuildsVSAvoiddevice complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The patent implements preliminary action by maintaining journal records and L2P table snapshots in low-latency NVM before actual write operations occur. This allows the system to prepare metadata updates in advance and quickly apply them during write operations, reducing the complexity of real-time metadata management while maintaining reduced RAM requirements.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11789860B2Logical to physical mapping management using low-latency non-volatile memory
Publication Date: 2023.10.17 SANDISK TECHNOLOGIES LLC
  • US11789860B2 patent drawing
  • US11789860B2 patent drawing
  • US11789860B2 patent drawing

AI summary

Disclosed are systems and methods for providing logical to physical (L2P) table management using low-latency NVM to reduce solid state drive (SSD) random access memory (RAM) footprint. A method includes determining a logical to physical (L2P) mapping of a logical address to a physical address in a flash storage, for an operation directed to the logical address. The method also includes adding a data entry, comprising the L2P mapping, to an open journal structure in RAM. The method also includes adding a log entry, comprising the L2P mapping, to a buffer in the RAM. The method also includes flushing the buffer to a low-latency NVM storage in response to determining that the buffer has satisfied a size threshold. Reads, snapshotting and L2P table recovery are also described.