Log-Structured Storage Consolidation for Read Amplification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Archival storage of versioned data objects, such as virtual machine disks, in cloud-based storage systems faces significant read amplification issues due to data fragmentation, leading to increased recovery times as new snapshots are added, which can significantly prolong the time required to read and restore the latest snapshot.

Innovation Solution

A distributed storage system employing a tiered structure with a log-structured format and content-addressable storage manages snapshots by breaking down storage objects into chunks, using a segment usage table to identify and consolidate live blocks, and periodically consolidating blocks for the latest snapshot into new log segments to reduce read amplification.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If new snapshots are continuously added to cloud-based storage service, then storage capacity is increased, but read amplification increases and recovery time is significantly increased

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

Solution Approach 1:

The storage system segments snapshots into different tiers: hot snapshots (latest) are kept in local storage for fast access, while cold snapshots (older) are archived in cloud-based storage. This segmentation allows the system to maintain fast recovery times for recent snapshots while preserving unlimited storage capacity in the cloud for historical snapshots.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts the latest snapshot data from the cloud-based storage service and places it in local storage infrastructure. This extraction eliminates read amplification issues for the most recently accessed snapshot while maintaining the ability to store unlimited snapshots in the cloud.

Inventive Principle:
Principle #2Taking out (Extraction)

2Quantity of substance

If all snapshots are stored in cloud-based storage service, then storage costs are reduced, but read amplification occurs and access time increases

Engineering Contradiction:
Improvestorage volumeVSAvoidaccess speed
Core Design Contradiction:
Quantity of substanceVSSpeed

Solution Approach 1:

The system applies different storage qualities to different snapshots based on their age and access patterns. The latest snapshot receives high-quality local storage for fast access, while older snapshots use cost-effective cloud storage. This local quality differentiation resolves the contradiction between storage cost and access speed.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent introduces a temporal dimension to storage architecture by creating a two-tier storage hierarchy (local and cloud) that operates across different time scales. Recent snapshots are accessed from local storage while historical snapshots reside in cloud storage, optimizing both cost and performance across the time dimension.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Adaptability or versatility

If latest snapshot is highly fragmented across multiple storage locations, then storage flexibility is improved, but more data needs to be read and recovery time increases

Engineering Contradiction:
Improvestorage flexibilityVSAvoidrecovery time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The system performs preliminary consolidation of the latest snapshot blocks into a single log segment before recovery operations. This preliminary action eliminates fragmentation for the most recently accessed snapshot, ensuring fast recovery while maintaining storage flexibility for older snapshots through the tiered architecture.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11397706B2System and method for reducing read amplification of archival storage using proactive consolidation
Publication Date: 2022.07.26 VMWARE INC
  • US11397706B2 patent drawing
  • US11397706B2 patent drawing
  • US11397706B2 patent drawing

AI summary

System and method for managing snapshots of storage objects in a storage system use a consolidation operation to reduce read amplification for stored snapshots of a storage object that are stored in log segments in the storage system according to a log-structured file system as storage service objects. The consolidation operation involves identifying target log segments among the log segments that include live blocks that are associated with the latest snapshot of the storage object and determining the number of the live blocks included in each of the target log segments. Based on the number of the live blocks in each of the target log segments, candidate consolidation log segments are determined from the target log segments. The live blocks in the candidate consolidation log segments are then consolidated to new log segments, which are uploaded to the storage system as new storage service objects.