Flash Translation Layer with Multi-Zone Log Blocks

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing flash translation layers (FTLs) in solid-state drives (SSDs) face inefficiencies due to the high frequency of full merges triggered by mixed random and sequential I/O streams, leading to increased operational costs and write amplification, as they lack effective methods to distinguish and manage sequential and random write streams.

Innovation Solution

The implementation of a stream detector that divides log blocks into a sequential zone, a K-associative zone, and a random zone, allowing for the selective storage and management of write request streams based on their characteristics, thereby reducing the need for costly full merges by performing more switch and partial merges.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If mixed random and sequential I/O streams are processed by a traditional FTL without stream detection, then the FTL can handle all write requests, but the frequency of full merges increases significantly leading to higher operational costs and write amplification

Engineering Contradiction:
Improvewrite throughputVSAvoidoperational cost
Core Design Contradiction:
ProductivityVSLoss of energy

Solution Approach 1:

The patent segments the log block area into multiple zones (sequential zone, random zone, and mixed zone) based on write stream characteristics. By dividing the storage space into specialized regions, the system can handle sequential and random writes differently, reducing unnecessary full merges in the sequential zone while maintaining overall write throughput.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The stream detector acts as an intermediary component that analyzes incoming write requests and determines whether they belong to sequential or random streams. This mediator directs sequential writes to the sequential zone and random writes to the random zone, preventing random writes from triggering full merges in the sequential zone and thereby reducing operational costs.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If mixed random and sequential I/O streams are processed by a traditional FTL without stream detection, then the FTL can handle all write requests, but the write amplification factor increases due to frequent full merges

Engineering Contradiction:
Improvewrite throughputVSAvoidwrite amplification
Core Design Contradiction:
ProductivityVSLoss of substance

Solution Approach 1:

By segmenting the log block area into sequential and random zones, the patent prevents random writes from causing full merges in the sequential zone. Sequential writes in the sequential zone can be handled with switch merges or partial merges, significantly reducing the write amplification factor while maintaining write throughput.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The stream detector serves as an intermediary that identifies and separates sequential and random write streams before they reach the storage zones. This separation ensures that sequential writes are directed to the sequential zone where they can be efficiently handled with minimal merges, thereby reducing write amplification.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Adaptability or versatility

If the FTL performs full merges frequently to handle mixed I/O streams, then all write requests can be accommodated, but the performance of the FTL deteriorates due to the high cost of merge operations

Engineering Contradiction:
Improvehandling mixed I/O streamsVSAvoidFTL performance
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent segments the log block area into specialized zones that can handle different types of write streams efficiently. The sequential zone handles sequential writes with switch merges and partial merges, while the random zone handles random writes with full merges, thereby maintaining FTL performance while adapting to mixed I/O streams.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Different zones within the log block area are assigned different qualities or characteristics suited for specific write patterns. The sequential zone is optimized for sequential writes with features that enable switch merges, while the random zone is optimized for random writes. This local optimization allows the FTL to maintain high performance when handling mixed I/O streams.

Inventive Principle:
Principle #3Local quality

4Device complexity

If log blocks are not divided into different zones, then the FTL structure remains simple, but the number of full merges increases triggering more garbage collection operations

Engineering Contradiction:
ImproveFTL structureVSAvoidSSD lifetime
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

By segmenting the log block area into sequential and random zones, the patent reduces the frequency of full merges and garbage collection operations. This segmentation extends SSD lifetime by minimizing wear from repeated erase cycles, while the modular zone-based structure keeps the overall FTL architecture relatively simple and manageable.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS9898200B2Memory device having a translation layer with multiple associative sectors
Publication Date: 2018.02.20 SAMSUNG ELECTRONICS CO LTD
  • US9898200B2 patent drawing
  • US9898200B2 patent drawing
  • US9898200B2 patent drawing

AI summary

A method for providing a memory translation layer includes: receiving write request streams from a host computer; selectively storing each write request stream into a sequential zone, a K-associative zone, and a random zone of log blocks of a nonvolatile memory based on the characteristics. A first group of the write request streams that are sequential and start from a header page of a log block are stored in the sequential zone. A second group of the write request streams that are sequential but do not start from a header page of a log block are stored in the K-associative zone. A third group of the write request streams that are random are stored in the random zone.