Dynamic Storage Allocation for Metadata Consistency Checking

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Modern storage systems face challenges in efficiently managing metadata consistency checking due to large metadata volumes that cannot be loaded into memory at once, leading to slow performance and potential failure in reserving sufficient space for tracking structures, especially in systems with high compression ratios or deduplication.

Innovation Solution

A method is introduced to dynamically reserve storage space for metadata consistency checking based on the ratio of metadata to user data usage, allowing for dynamic allocation of appropriate space through tracking metadata and user data usage changes and applying a mapping between this ratio and a target percentage of space under management.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If a fixed percentage of storage space is reserved for metadata consistency checking, then the space reservation is simple to implement, but it may be insufficient for systems with high compression ratios or deduplication, leading to failure

Engineering Contradiction:
Improveease of implementationVSAvoidsuccess of metadata consistency checking
Core Design Contradiction:
Ease of manufactureVSReliability

Solution Approach 1:

The patent implements dynamic space reservation by continuously monitoring the ratio of metadata size to user data size and adjusting the reserved space for metadata consistency checking accordingly. This dynamic approach replaces fixed percentage reservations, ensuring sufficient space is always available regardless of compression ratios or deduplication levels, thereby resolving the contradiction between implementation simplicity and checking success reliability.

Inventive Principle:
Principle #15Dynamics

2Reliability

If more storage space is reserved for metadata consistency checking to ensure sufficient space, then the risk of failure is reduced, but a large amount of space is wasted in systems with low metadata-to-user-data ratios

Engineering Contradiction:
Improvesuccess of metadata consistency checkingVSAvoidwasted storage space
Core Design Contradiction:
ReliabilityVSLoss of substance

Solution Approach 1:

The system dynamically adjusts the reserved space based on the actual metadata-to-user-data ratio, ensuring that space is allocated precisely when needed and not wasted when metadata volume is low. This eliminates the need to over-provision storage space while maintaining sufficient capacity for consistency checking operations.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the parameter of reserved space from a fixed value to a variable that adjusts based on the metadata-to-user-data ratio. This parameter change allows the system to optimize storage utilization by allocating space proportionally to actual metadata volume, preventing both shortages and waste.

Inventive Principle:
Principle #35Parameter changes

3Ease of operation

If all metadata is loaded into memory for consistency checking, then the checking process is simplified, but the system becomes impractical due to slow paging when metadata volume is large

Engineering Contradiction:
Improvesimplicity of checking processVSAvoidmetadata consistency checking speed
Core Design Contradiction:
Ease of operationVSProductivity

Solution Approach 1:

The patent segments the metadata consistency checking process into two phases: (1) building tracking structures in memory using a subset of metadata, and (2) performing the actual consistency checking using these tracking structures to guide efficient access to the full metadata on disk. This segmentation avoids loading all metadata into memory while maintaining checking effectiveness and speed.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces tracking structures as an intermediary between the consistency checking logic and the full metadata. These tracking structures, built from sampled metadata, serve as indexes that enable efficient navigation and verification of the complete metadata without requiring it to be fully resident in memory, thus resolving the speed-simplicity contradiction.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11163678B2Managing storage space for metadata consistency checking
Publication Date: 2021.11.02 EMC IP HLDG CO LLC
  • US11163678B2 patent drawing
  • US11163678B2 patent drawing
  • US11163678B2 patent drawing

AI summary

A method of managing storage space for a metadata consistency checking procedure (MCCP) is provided. The method includes (a) tracking an amount of metadata and an amount of user data organized by the metadata; (b) provisioning a quantity of storage dedicated to the MCCP based, at least in part, on a ratio of the amount of metadata to the amount of user data; and (c) upon initiation of the MCCP, building tracking structures within the provisioned storage dedicated to the MCCP. An apparatus, system, and computer program product for performing a similar method are also provided.