Storage Controller Stream Data Defragmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing storage systems face challenges in managing sequential data streams efficiently, leading to fragmentation and increased write amplification, which affects streaming performance and device reliability.

Innovation Solution

The implementation of a stream LBA table (SLT) to track the order of data writes, coupled with intelligent defragmentation techniques that determine the minimum defragmentation required based on fragmentation evaluation, helps maintain optimal streaming performance and reduces write amplification.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If data management algorithms move data to different physical addresses, then storage flexibility is improved, but memory fragmentation increases

Engineering Contradiction:
Improvestorage flexibilityVSAvoidmemory fragmentation
Core Design Contradiction:
Adaptability or versatilityVSStability of the object's composition

Solution Approach 1:

The system performs preliminary defragmentation actions when updates are detected, proactively reorganizing data before streaming operations occur. This prevents fragmentation from degrading performance and maintains optimal data organization without requiring full defragmentation cycles.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

Instead of performing complete defragmentation, the system applies partial defragmentation only to affected data blocks containing updates. This selective approach reduces the overhead and time required while still maintaining streaming performance for the modified portions.

Inventive Principle:
Principle #16Partial or excessive action

2Adaptability or versatility

If read-modify-write operations are performed on fragmented data, then data updates are enabled, but write amplification increases and performance decreases

Engineering Contradiction:
Improvedata update capabilityVSAvoidwrite amplification
Core Design Contradiction:
Adaptability or versatilityVSLoss of energy

Solution Approach 1:

The system detects updates and performs targeted defragmentation before streaming operations, consolidating fragmented data into contiguous blocks. This preliminary reorganization eliminates the need for multiple read-modify-write cycles during streaming, reducing write amplification and improving performance.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system monitors for update operations and uses this feedback to trigger selective defragmentation. When updates are detected in streamed data, the system responds by reorganizing affected blocks, creating a feedback loop that maintains optimal data organization based on actual usage patterns.

Inventive Principle:
Principle #23Feedback

3Speed

If complete defragmentation is performed, then streaming performance is improved, but processing time and write amplification increase significantly

Engineering Contradiction:
Improvestreaming performanceVSAvoidprocessing time
Core Design Contradiction:
SpeedVSLoss of time

Solution Approach 1:

The system performs partial defragmentation only on data blocks that contain updates or are likely to be streamed. By identifying and processing only the necessary portions rather than the entire storage medium, the system maintains streaming performance while minimizing processing time and write amplification overhead.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

Defragmentation is performed preliminarily and selectively based on update detection, preparing only the necessary data blocks before streaming operations. This approach ensures optimal performance for updated data without the time penalty of complete defragmentation of the entire storage device.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12314569B2Stream data management in storage device using defragmentation
Publication Date: 2025.05.27 SANDISK TECHNOLOGIES LLC
  • US12314569B2 patent drawing
  • US12314569B2 patent drawing
  • US12314569B2 patent drawing

AI summary

A controller of a storage device receives a stream of data from a host system. The stream of data corresponds to logical block addresses. The controller writes the stream of data to data block(s) in a device memory, each data block including respective super word line(s), each super word line including respective word line(s), and each word line corresponding to at least one logical block address. The controller generates a table for storing the logical block addresses in the order of data arrival. In response to receiving an update to one or more logical block addresses of the data block(s), the controller defragments at least one data block, based on the one or more logical block addresses, and writes data for one or more super word lines of the at least one data block to a new data block, based on the table, to retain the order.