Similarity-Based Garbage Collection for Compressing Live Data Segments

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current data storage systems face inefficiencies in garbage collection and data compression, particularly in scaling up storage capacity and managing large data segments, where similar data blocks are not effectively grouped and compressed, leading to suboptimal storage efficiency.

Innovation Solution

The implementation of a similarity hash-based method that identifies and groups similar data blocks together for compression, using techniques like Jaccard distance and rolling hashes to determine similarity, allowing for efficient garbage collection and data reduction by compressing identical or similar data segments together.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of substance

If traditional garbage collection is used without data similarity grouping, then the garbage collection process is simpler, but data storage efficiency is suboptimal because identical or similar data segments are not compressed together

Engineering Contradiction:
Improvestorage efficiencyVSAvoidgarbage collection complexity
Core Design Contradiction:
Loss of substanceVSDevice complexity

Solution Approach 1:

The patent segments the garbage collection process into distinct phases: data gathering phase where similar data blocks are identified and grouped using similarity hashes, and compression phase where grouped data is compressed. This segmentation allows complex similarity-based compression to be performed only on grouped segments rather than all data, improving storage efficiency while managing complexity through phased processing.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary action by pre-grouping similar data blocks using similarity hashes before the actual compression operation. Data segments are identified and grouped in advance based on their similarity characteristics, so that when compression occurs, only pre-identified similar segments are compressed together. This preliminary grouping improves compression efficiency without requiring complex real-time analysis during compression.

Inventive Principle:
Principle #10Preliminary action

2Loss of substance

If data gathering and compression are coupled with logical element operations, then the processing is more integrated, but computational costs increase and storage capacity utilization decreases

Engineering Contradiction:
Improvestorage capacity utilizationVSAvoidcomputational cost
Core Design Contradiction:
Loss of substanceVSUse of energy by moving object

Solution Approach 1:

The patent decouples data gathering and compression operations from logical element operations by segmenting the processing into independent phases. The data gathering phase identifies similar blocks using similarity hashes independent of logical element boundaries, and the compression phase operates on grouped data separately from logical element management. This segmentation reduces computational overhead by avoiding repeated processing of the same data across multiple logical operations.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent uses similarity hashes as copies or representations of data segments to identify similar data without requiring full data comparison. Instead of comparing actual data content, the system compares hash representations, which are computationally cheaper copies. This copying approach reduces computational costs while maintaining the ability to identify similar data segments for efficient compression.

Inventive Principle:
Principle #26Copying

3Loss of substance

If similarity-based grouping is implemented for compression, then data storage efficiency improves, but the complexity of identifying and grouping similar blocks increases

Engineering Contradiction:
Improvedata reduction efficiencyVSAvoidsimilarity detection complexity
Core Design Contradiction:
Loss of substanceVSDifficulty of detecting and measuring

Solution Approach 1:

The patent uses similarity hashes as simplified copies or representations of data segments to detect similarity. Instead of performing complex direct comparison of actual data blocks, the system computes and compares hash representations that capture essential similarity characteristics. This copying approach transforms the difficult problem of direct data comparison into a simpler hash comparison task, improving data reduction efficiency while reducing detection complexity.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent replaces the mechanical approach of direct data block comparison with a computational hash-based system. Instead of mechanically comparing data byte-by-byte or block-by-block, the system substitutes this with computational hash functions that quickly generate similarity identifiers. This substitution transforms a computationally intensive mechanical comparison process into an efficient computational operation, enabling effective similarity detection at scale.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS12061814B2Using data similarity to select segments for garbage collection
Publication Date: 2024.08.13 PURE STORAGE INC
  • US12061814B2 patent drawing
  • US12061814B2 patent drawing
  • US12061814B2 patent drawing

AI summary

A storage system performs garbage collection, with data compression, in storage memory. The system obtains hash results from data segments. The system determines similarity of content of data segments, based on the hash results. The system performs data compression of live data of two or more data segments that have similarity of content meeting a similarity threshold. The system writes the compressed live data of the two or more data segments into the storage memory.