Sequential Logging Append Command Reduces Write Amplification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing storage devices face complexity in managing block-based interfaces, particularly with write amplification and the need for intelligent garbage collection, when handling sequentially written data logs, which complicates the firmware and reduces performance.

Innovation Solution

Implementing a new command set that includes a data log append command, allowing data to be appended to the end of a data log without requiring the computing host to track the memory location, and using a key to manage location information, simplifying the address translation layer and reducing write amplification by eliminating overwrites.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Stability of the object's composition

If block-based interface management is used for sequential logging, then data can be stored in structured blocks, but write amplification increases and performance decreases

Engineering Contradiction:
Improvedata structure organizationVSAvoidsequential logging performance
Core Design Contradiction:
Stability of the object's compositionVSProductivity

Solution Approach 1:

The patent changes the fundamental parameter of data organization from block-based to byte-stream based. Instead of managing data in fixed-size blocks with complex allocation, the system uses a simple file offset pointer that moves sequentially through the log file, transforming the interface from block-oriented to stream-oriented operations.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent extracts the complex block management logic from the logging operation. By separating the logging function from block management, the system can perform simple sequential writes without needing to track block allocations, free space, or perform garbage collection on log data.

Inventive Principle:
Principle #2Taking out (Extraction)

2Reliability

If intelligent garbage collection is implemented, then storage efficiency improves, but firmware complexity increases

Engineering Contradiction:
Improvestorage efficiencyVSAvoidfirmware complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent removes garbage collection requirements entirely from the logging system. By using a sequential append-only model with a moving file offset, old log entries naturally become inaccessible as the offset advances, eliminating the need for complex garbage collection firmware while maintaining storage efficiency.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The logging system becomes self-managing through the sequential offset mechanism. As new data is appended and the offset advances, old data is automatically overwritten or becomes inaccessible without requiring active management, wear leveling, or garbage collection operations.

Inventive Principle:
Principle #25Self-service

3Reliability

If computing host tracks memory location for each write, then data integrity is maintained, but operation complexity increases

Engineering Contradiction:
Improvedata integrityVSAvoidhost operation complexity
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The patent introduces a file offset pointer as an intermediary between the host and the physical storage location. Instead of the host directly tracking complex memory locations and block addresses, it simply manages a sequential offset that the driver uses to determine where to append the next log entry, simplifying host operations while maintaining integrity.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The driver automatically manages the file offset and translation to physical locations, making the system self-service. The host only needs to provide data to be logged, while the driver handles all location tracking, offset management, and physical addressing transparently.

Inventive Principle:
Principle #25Self-service

4Quantity of substance

If overwrites are performed for log updates, then storage space is utilized efficiently, but write amplification increases

Engineering Contradiction:
Improvestorage space utilizationVSAvoidwrite amplification
Core Design Contradiction:
Quantity of substanceVSLoss of energy

Solution Approach 1:

The patent performs preliminary allocation of log file space and uses a sequential append model where data is written once at its final location. By pre-positioning the file offset and appending data sequentially without revisions, the system eliminates the need for overwrites and the associated write amplification that would occur with update operations.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

Instead of the conventional approach of allowing log updates and overwrites to manage space, the patent inverts the model by using sequential append-only writes. Space management is handled by the growing file offset rather than by overwriting old entries, fundamentally reversing the traditional log update mechanism.

Inventive Principle:
Principle #13The other way round (Inversion)

Data Source

PatentUS10296250B2Method and apparatus for improving performance of sequential logging in a storage device
Publication Date: 2019.05.21 SK HYNIX NAND PRODUCT SOLUTIONS CORP
  • US10296250B2 patent drawing
  • US10296250B2 patent drawing
  • US10296250B2 patent drawing

AI summary

In one embodiment, an apparatus comprises a storage device to receive, from a computing host, a request to append data to a data log. The storage device is further to identify a memory location after a last segment of the data log, append the data to the data log by writing the data to the memory location after the last segment of the data log, and provide, to the computing host, a key comprising an identification of the memory location at which the data was appended to the data log.