Logical-to-Physical Table Compression for SSD Write Amplification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current solid-state drive (SSD) controllers face challenges with large Logical-to-Physical Table (LPT) metadata size, leading to increased cost, power consumption, and board space requirements, as well as high write amplification and reduced user write streams due to the inability to reduce write amplification of LPT (WALPT) below one, which affects SSD performance and lifespan.

Innovation Solution

Implementing a specialized compression technique for LPT entries that groups entries into extents, separates metadata from user data, and uses delta-based encoding methods to reduce the size of LPT entries, allowing for efficient storage and retrieval, and reordering user I/O write requests to increase spatial locality and reduce write amplification.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If LPT metadata is stored in full size without compression, then data access speed is maintained, but memory cost, power consumption, and board space increase significantly

Engineering Contradiction:
ImproveLPT metadata sizeVSAvoiddata access speed
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The LPT metadata is divided into multiple extents, each containing a portion of the mapping data. This segmentation allows selective caching of frequently accessed extents in DRAM while storing less frequently accessed extents in flash memory, reducing overall memory requirements while maintaining access speed for active data

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements a hierarchical storage structure where LPT extents are nested across multiple storage layers: hot extents are nested in DRAM cache, while cold extents are nested in flash memory. This nested architecture enables fast access to frequently used data while compressing the footprint of the complete LPT metadata

Inventive Principle:
Principle #7Nested doll (Nesting)

2Reliability

If LPT write operations are performed frequently to maintain mapping accuracy, then data integrity is improved, but write amplification increases and SSD lifespan decreases

Engineering Contradiction:
Improvedata integrityVSAvoidwrite amplification
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The patent implements preliminary validation checks before LPT write operations to determine whether updates are actually necessary. By checking if mapping changes have occurred and whether they meet write thresholds, the system performs preliminary actions that prevent unnecessary write operations, thereby reducing write amplification while maintaining data integrity

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements a wear-leveling mechanism that discards heavily worn flash blocks and recovers their capacity by redistributing LPT extent storage across less worn blocks. This allows the system to maintain reliable data storage while reducing the impact of write operations on any single block, effectively managing write amplification across the SSD lifecycle

Inventive Principle:
Principle #34Discarding and recovering

3Speed

If LPT metadata is cached in DRAM for fast access, then data retrieval speed is improved, but board space and power consumption increase

Engineering Contradiction:
Improvedata retrieval speedVSAvoidboard space
Core Design Contradiction:
SpeedVSArea of stationary object

Solution Approach 1:

The patent applies local quality by caching only the most frequently accessed LPT extents in DRAM, while storing less frequently accessed extents in flash memory. This selective caching strategy optimizes the use of expensive DRAM resources by allocating them only to data that benefits most from fast access, thereby reducing overall board space requirements while maintaining high retrieval speeds for active data

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system implements dynamic cache management where the set of cached LPT extents is not static but changes based on access patterns. Frequently accessed extents are automatically loaded into DRAM cache, while less frequently accessed extents are evicted to flash memory. This dynamic approach allows the system to adapt to changing workloads and optimize the balance between retrieval speed and board space usage

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS20240362168A1Compression technique for logical-to-physical table entries
Publication Date: 2024.10.31 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US20240362168A1 patent drawing
  • US20240362168A1 patent drawing
  • US20240362168A1 patent drawing

AI summary

A computer-implemented method, a computer program product, and a computer system for handling logical-to-physical table (LPT) entries. A computer implements a class of metadata including a logical-to-physical table (LPT) and LPT entries corresponding to the class of metadata. A computer caches, from the logical-to-physical translation layer, selected metadata blocks in a non-durable cache, the selected metadata blocks being selected from the class of metadata. A computer reduces a size of the selected metadata blocks by encoding the LPT entries from the non-durable cache during write operations to a flash memory. A computer records a location in flash memory of the encoded LPT entries in the logical-to-physical translation layer.