Hybrid Synchronization Shadow Component Write Amplification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing synchronization methods for distributed data objects face inefficiencies due to write amplification, where a large number of data blocks are written during synchronization, even if only a single block has changed, leading to increased write I/O operations and reduced synchronization speed.

Innovation Solution

The implementation of hybrid synchronization using a delta component, which tracks changes with a shorter history than the regular mirror component, reduces write amplification by synchronizing only the changed data blocks, and allows for the use of either the delta or regular mirror component for synchronization based on availability and validity of tracking bitmaps.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If bitmap-based synchronization is used with each bit representing multiple data blocks, then synchronization efficiency is improved, but write amplification increases during synchronization

Engineering Contradiction:
Improvesynchronization efficiencyVSAvoidwrite amplification
Core Design Contradiction:
ProductivityVSLoss of energy

Solution Approach 1:

The patent introduces a delta component that segments the synchronization process into two parts: a bitmap-based approach for tracking changed blocks and a selective sync approach for actually transferring data. The delta component maintains a separate tracking bitmap that only marks blocks that have changed since the mirror went offline, allowing the system to synchronize only those specific blocks rather than all blocks in the group.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent creates a copy of the bitmap tracking mechanism in the delta component. Instead of using the full mirror component's bitmap directly, the system copies the bitmap structure to the delta component, which then tracks changes independently. This allows the stale mirror to be synchronized using the delta component's tracking information, reducing the amount of data that needs to be transferred during synchronization.

Inventive Principle:
Principle #26Copying

2Device complexity

If each bitmap bit corresponds to a large group of blocks, then bitmap size is reduced, but the number of write I/O operations increases during synchronization

Engineering Contradiction:
Improvebitmap sizeVSAvoidsynchronization speed
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The patent makes the synchronization process dynamic by introducing a delta component that adapts its behavior based on availability. When the mirror component is unavailable, the delta component dynamically tracks changes and maintains its own bitmap. When synchronization is needed, the system dynamically decides whether to use the delta component or the regular mirror component based on which has valid tracking data, optimizing the synchronization process in real-time.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The delta component acts as an intermediary between the stale mirror component and the active mirror component. It receives write I/Os during the mirror's unavailability, tracks changes in its own bitmap, and then mediates the synchronization process by providing selective block transfers based on its tracking information, rather than requiring the stale mirror to re-synchronize with all blocks.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If a stale data component is synchronized using full bitmap replay, then all changed blocks are updated, but write amplification occurs even when only single blocks changed

Engineering Contradiction:
Improvedata consistencyVSAvoidwrite amplification
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The patent implements feedback mechanisms where the delta component continuously monitors and tracks changes to data blocks during the mirror component's unavailability. This feedback information is stored in the delta component's bitmap, which then provides precise feedback about which blocks actually changed. During synchronization, this feedback allows the system to update only the necessary blocks rather than performing a full replay, significantly reducing write amplification while maintaining data consistency.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11681661B2Hybrid synchronization using a shadow component
Publication Date: 2023.06.20 VMWARE INC
  • US11681661B2 patent drawing
  • US11681661B2 patent drawing
  • US11681661B2 patent drawing

AI summary

Hybrid synchronization using a shadow component includes detecting a first component of a plurality of mirrored components of a distributed data object becoming unavailable. The mirrored components include a delta component (a special shadow component) and a regular mirror (shadow) component. The delta component indicates a shorter history of changes to data blocks of a log-structured file system (LFS) than is indicated by the regular mirror component. During the unavailability of the first component, at least one write I/O is committed by the delta component. The commit is tracked by the delta component in a first tracking bitmap associated with the delta component. Based at least on detecting the first component becoming available, the first component is synchronized with data from the delta component, based at least on changed data blocks indicated in the first tracking bitmap.