Metadata Log Deferring Physical Allocation for Snapshot Efficiency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing data storage systems incur unnecessary overhead in allocating and deallocating metadata pages for short-lived snapshots, leading to resource inefficiencies due to premature allocation of metadata pages before destaging.

Innovation Solution

The proposed solution involves deferring the allocation of new metadata pages until the metadata log entries referencing them are destaged, ensuring that metadata pages are only allocated if the associated snapshot has not been deleted, thereby optimizing resource usage and reducing unnecessary allocation and deallocation overhead.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If metadata pages are allocated in advance for snapshots, then snapshot creation speed is improved, but resource wastage increases due to allocation for deleted snapshots

Engineering Contradiction:
Improvesnapshot creation speedVSAvoidresource wastage
Core Design Contradiction:
SpeedVSLoss of substance

Solution Approach 1:

The system creates an ALI entry in the metadata log in advance to represent a future metadata page, allowing snapshot creation to proceed immediately without waiting for physical allocation. The actual physical storage allocation is deferred until the destaging process, ensuring the page is only allocated if the snapshot still exists. This resolves the contradiction by performing the preparatory action (ALI creation) immediately while delaying the resource-consuming action (physical allocation) until necessary.

Inventive Principle:
Principle #10Preliminary action

2Ease of operation

If metadata pages are allocated immediately, then snapshot operations are simplified, but overhead increases due to allocation and deallocation operations

Engineering Contradiction:
Improvesnapshot operation simplicityVSAvoidallocation overhead
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The ALI (abstract logical index) serves as an intermediary between the snapshot operation and the physical metadata page allocation. The ALI entry in the metadata log allows snapshot operations to proceed using a lightweight reference without triggering immediate physical allocation. The actual allocation only occurs during destaging if the snapshot persists, thereby simplifying snapshot operations while avoiding unnecessary allocation overhead.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Productivity

If physical storage is allocated for new metadata pages early, then page availability is improved, but resource efficiency deteriorates due to premature allocation

Engineering Contradiction:
Improvepage availabilityVSAvoidresource efficiency
Core Design Contradiction:
ProductivityVSLoss of energy

Solution Approach 1:

The system performs preliminary action by creating the ALI entry in the metadata log, which makes the metadata page logically available for snapshot operations without committing physical storage resources. The physical storage allocation is deferred to the destaging phase, ensuring resources are only consumed when the snapshot actually needs the page. This approach maintains page availability for operations while preserving resource efficiency.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20230118155A1Resource allocation techniques using a metadata log
Publication Date: 2023.04.20 DELL PROD LP
  • US20230118155A1 patent drawing
  • US20230118155A1 patent drawing
  • US20230118155A1 patent drawing

AI summary

In at least one embodiment, processing can include receiving a metadata (MD) structure including MD pages; and performing a MD split operation with respect to a first of the MD pages, wherein said performing the MD split operation includes: generating a first ALI (abstract logical index) representing a new MD page that is unallocated and is a child of the first MD page; and storing an entry in a bucket of an in-memory MD log for the first ALI, wherein the entry denotes a mapping between the first ALI and a corresponding LI (logical index), wherein the entry indicates that the corresponding LI associated with the first ALI is invalid since the first ALI represents a new MD page which is unallocated and not associated with physical storage; and destaging the in-memory MD log, wherein said destaging includes allocating first physical storage for the new MD page.