SSD Fragmentation Minimization via Write Coalescing Buffer

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for minimizing fragmentation in solid state drives (SSDs) within a storage system are inefficient, leading to reduced storage capacity and increased access times, as they fail to effectively rearrange data segments for contiguous storage.

Innovation Solution

A storage management computing device dynamically reserves resources by caching write requests and identifying allocation areas in SSDs, allowing data to be written sequentially, thereby reducing fragmentation by combining cached data with existing data in contiguous blocks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If data sets are divided into portions and encoded in gaps between other data sets, then storage space can be utilized, but fragmentation occurs which reduces storage capacity and increases access times

Engineering Contradiction:
Improvestorage capacityVSAvoidaccess time
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The patent implements a write coalescing buffer that temporarily holds incoming write operations before they are committed to the SSD. This preliminary action allows the system to accumulate multiple write operations and then issue them as a single contiguous write command, preventing fragmentation before it occurs and eliminating the need for later defragmentation operations.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The write coalescing buffer acts as an intermediary between the host system and the SSD. It receives scattered write requests from the host, coalesces them into contiguous blocks, and then writes them sequentially to the SSD. This intermediary layer transforms random write patterns into sequential writes, eliminating fragmentation without requiring defragmentation operations.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If defragmentation is performed to rearrange data segments contiguously, then fragmentation is reduced, but the operation is time consuming and memory intensive

Engineering Contradiction:
Improvestorage efficiencyVSAvoiddefragmentation time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

Instead of performing defragmentation as a separate corrective operation, the patent implements write coalescing at the time of data ingestion. The write coalescing buffer proactively combines scattered writes into contiguous blocks before they are written to the SSD, preventing fragmentation in the first place. This eliminates the need for time-consuming defragmentation operations entirely.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent converts the potentially harmful effect of scattered write operations into a benefit by using the write coalescing buffer to aggregate them. Rather than treating fragmentation as a problem to be solved later through expensive defragmentation, the system uses the buffer to transform scattered writes into contiguous writes, turning what would be a harmful fragmentation issue into a benefit of improved storage efficiency without performance penalty.

Inventive Principle:
Principle #22Blessing in disguise (Convert harm into benefit)

3Quantity of substance

If defragmentation operations are executed to reduce fragmentation, then storage capacity is improved, but system performance is significantly reduced

Engineering Contradiction:
Improvestorage capacityVSAvoidsystem performance
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The write coalescing buffer performs the coalescing operation preliminarily, at the time of data ingestion rather than as a separate defragmentation step. This allows the system to achieve optimal storage capacity utilization without interrupting normal operations, as the coalescing happens transparently in the background during the write process itself.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The write coalescing buffer operates autonomously in the background, automatically coalescing scattered write operations without requiring system pauses or performance degradation. The buffer manages the coalescing process independently, allowing the rest of the system to continue operating at full performance while storage efficiency is improved.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS11592986B2Methods for minimizing fragmentation in SSD within a storage system and devices thereof
Publication Date: 2023.02.28 NETAPP INC
  • US11592986B2 patent drawing
  • US11592986B2 patent drawing
  • US11592986B2 patent drawing

AI summary

A method, non-transitory computer readable medium, and device that assists with reducing memory fragmentation in solid state devices includes identifying an allocation area within an address range to write data from a cache. Next, the identified allocation area is determined for including previously stored data. The previously stored data is read from the identified allocation area when it is determined that the identified allocation area comprises previously stored data. Next, both the write data from the cache and the read previously stored data are written back into the identified allocation area sequentially through the address range.