LSM Tree Memory System Reducing Write Amplification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing memory systems face issues with write amplification, which degrades performance and shortens the lifespan of nonvolatile memory devices by increasing unnecessary writes during compaction and garbage collection operations.

Innovation Solution

A memory system that allocates open memory regions to multiple levels based on the level of data in a log-structured merge (LSM) tree structure, allowing for efficient storage and compaction without unnecessary write operations, thereby reducing write amplification and extending device lifespan.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If data is stored in nonvolatile memory devices using traditional write methods, then data can be written to storage, but write amplification increases which degrades performance and shortens device lifespan

Engineering Contradiction:
Improvewrite performanceVSAvoidwrite amplification
Core Design Contradiction:
ProductivityVSLoss of energy

Solution Approach 1:

The memory system is divided into multiple memory regions (first memory region and second memory region) with different characteristics. The controller segments write operations by directing different types of data to appropriate regions: sequential writes go to the first region while random writes go to the second region. This segmentation reduces write amplification by optimizing the storage location for each write operation, thereby improving write performance and extending device lifespan.

Inventive Principle:
Principle #1Segmentation

2Reliability

If compaction and garbage collection operations are performed frequently to maintain storage efficiency, then storage performance is maintained, but unnecessary write operations increase which shortens device lifespan

Engineering Contradiction:
Improvestorage efficiencyVSAvoiddevice lifespan
Core Design Contradiction:
ReliabilityVSDuration of action of stationary object

Solution Approach 1:

The patent applies local quality by treating different memory regions with different characteristics. The first memory region is optimized for sequential writes while the second memory region handles random writes. By assigning different roles and management strategies to different regions, the system reduces the frequency and intensity of compaction and garbage collection operations, thereby reducing unnecessary writes and extending device lifespan while maintaining storage efficiency.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS11487669B2Memory system for storing data of log-structured merge tree structure and data processing system including the same
Publication Date: 2022.11.01 SK HYNIX INC
  • US11487669B2 patent drawing
  • US11487669B2 patent drawing
  • US11487669B2 patent drawing

AI summary

A memory system includes a storage medium having a plurality of memory regions. A controller is configured to allocate each of a plurality of open memory regions among the memory regions to one or more levels and store, in response to a write request received from a host device that includes data and a level of the data, the data in an open memory region allocated to the level. A level may be a level of a file in a predetermined unit in which the data is included, such as in a log-structured merge (LSM) tree structure.