Compressed Data Placement in SSDs to Reduce Write Amplification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The inefficiencies in storing compressed data on Solid State Drives (SSDs) due to varying compression ratios and increased write amplification factors, which lead to inefficient space usage and higher complexity in the Flash Translation Layer (FTL) design.

Innovation Solution

Assigning stream IDs to compressed data based on compression characteristics such as compression ratio, speed, and algorithms, allowing for efficient data mapping and placement, reducing write amplification by grouping similarly compressed data together.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If data is compressed for storage on SSD, then storage capacity is increased, but write amplification factor increases and space usage becomes inefficient

Engineering Contradiction:
Improvestorage capacityVSAvoidwrite amplification factor
Core Design Contradiction:
Quantity of substanceVSLoss of energy

Solution Approach 1:

The patent segments compressed data into fixed-size blocks and uses separate metadata structures to track compression information. This segmentation allows the SSD to manage compressed data in discrete units, improving space utilization and reducing write amplification by precisely tracking which blocks contain compressed data and their actual sizes.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary metadata layer that sits between the compressed data and the physical storage blocks. This metadata structure tracks compression ratios, block assignments, and validity information, enabling the SSD controller to efficiently manage space and reduce unnecessary write operations without requiring complex real-time compression/decompression.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If compressed data is stored in block-based storage, then storage efficiency improves, but complexity in Flash Translation Layer design increases

Engineering Contradiction:
Improvestorage efficiencyVSAvoidFTL design complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The FTL is segmented into multiple independent management structures: one for tracking physical blocks, another for compression metadata, and a third for mapping logical to physical addresses. This modular segmentation reduces the complexity of any single FTL component while maintaining overall storage efficiency through coordinated operation of these separate structures.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent changes the parameters tracked by the FTL from simple block validity flags to comprehensive metadata including compression ratios, block sizes, and assignment information. This parameter expansion enables more efficient space utilization and garbage collection while distributing the management complexity across multiple organized data structures rather than requiring complex real-time computation.

Inventive Principle:
Principle #35Parameter changes

3Quantity of substance

If multiple sections of compressed data are stored in a single block, then storage density increases, but write amplification factor increases

Engineering Contradiction:
Improvestorage densityVSAvoidwrite amplification factor
Core Design Contradiction:
Quantity of substanceVSLoss of energy

Solution Approach 1:

The patent segments compressed data into fixed-size blocks that are independently managed and tracked. Each block contains a specific portion of compressed data with its own metadata, preventing the write amplification issue that arises when multiple compressed sections are interleaved in a single block. This segmentation allows precise tracking of valid data regions and reduces unnecessary write operations.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary organization of compressed data into fixed-size blocks before writing to storage, with metadata prepared in advance to track block validity and compression information. This preliminary action prevents the need for complex real-time management during write operations, reducing write amplification while maintaining high storage density through efficient block utilization.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12260084B2Automatic data separation and placement for compressed data in a storage device
Publication Date: 2025.03.25 SAMSUNG ELECTRONICS CO LTD
  • US12260084B2 patent drawing
  • US12260084B2 patent drawing
  • US12260084B2 patent drawing

AI summary

A storage device is disclosed. The storage device may include storage for data. A host interface logic may receive a dataset and a logical address from a host. A stream assignment logic may assign a stream identifier (ID) to a compressed dataset based on a compression characteristic of the compressed dataset. The stream ID may be one of at least two stream IDs; the compressed dataset may be determined based on the dataset. A logical-to-physical translation layer may map the logical address to a physical address in the storage. A controller may store the compressed dataset at the physical address using the stream ID.