Metadata Cache Management for Flash Storage Wear Reduction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current data storage systems face inefficiencies in data movement and metadata management, particularly in optimizing data placement across different storage tiers based on I/O workloads, leading to suboptimal performance and increased wear on flash-based storage devices.

Innovation Solution

A method is introduced to determine a data movement granularity size based on specific values, including the number of storage units with associated metadata, and update metadata accordingly, allowing for efficient data movement between storage tiers and reducing flash-based storage wear by writing metadata in chunks that align with the write size granularity of flash devices.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If data movement is performed with fine-grained updates to metadata, then data placement optimization is improved, but flash-based storage wear increases due to frequent write operations

Engineering Contradiction:
Improvedata placement optimizationVSAvoidflash-based storage lifespan
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent segments metadata into multiple pages, where each metadata page corresponds to a specific data range. This allows selective updating of only the metadata pages that need to be modified during data movement operations, rather than updating all metadata. The segmentation enables the system to optimize data placement while minimizing the number of write operations to flash-based storage, thereby reducing wear and extending device lifespan.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent combines multiple metadata updates into a single write operation by accumulating changes in a cache and performing batch writes to flash-based storage. When data movement occurs, metadata updates are buffered and then written together in one operation, rather than performing separate write operations for each update. This merging approach maintains data placement optimization while significantly reducing the total number of write cycles to flash storage.

Inventive Principle:
Principle #5Merging (Combining)

2Productivity

If metadata is updated frequently to track data movements, then data storage performance is improved, but flash-based storage wear increases due to multiple write operations

Engineering Contradiction:
Improvedata storage performanceVSAvoidflash-based storage wear
Core Design Contradiction:
ProductivityVSObject-affected harmful factors

Solution Approach 1:

The patent performs preliminary actions by caching metadata updates in memory before writing to flash-based storage. The system maintains a cache of metadata pages and performs updates in the cache first, then periodically or batch-wise writes the accumulated changes to flash storage. This preliminary action in the cache layer maintains high data storage performance while deferring and consolidating the harmful write operations to flash storage, thereby reducing wear.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates and maintains copies of metadata in a cache layer, allowing frequent updates to be performed on the cache copies without immediately writing to the flash-based storage. The flash storage contains authoritative copies of metadata that are updated less frequently. This copying approach enables high-performance metadata operations while protecting the flash storage from excessive write cycles.

Inventive Principle:
Principle #26Copying

3Reliability

If data movement granularity is increased, then flash-based storage wear is reduced, but data placement optimization capability deteriorates

Engineering Contradiction:
Improveflash-based storage lifespanVSAvoiddata placement optimization
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent introduces a new dimension of granularity control by organizing metadata into pages that can be selectively updated. Instead of using a single granularity level for all operations, the system can operate at the page level for fine-grained data placement optimization when needed, and at the batch level for reducing flash storage wear. This multi-level granularity approach, enabled by the page-based metadata structure, allows the system to optimize data placement while minimizing harmful write operations.

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

Data Source

PatentUS9836243B1Cache management techniques
Publication Date: 2017.12.05 EMC IP HLDG CO LLC
  • US9836243B1 patent drawing
  • US9836243B1 patent drawing
  • US9836243B1 patent drawing

AI summary

Described are techniques for caching metadata. At least a portion of the cached metadata may be stored persistently on flash-based storage. A data movement granularity size may be determined in accordance with one or more values including M denoting a number of storage units, or more generally metadata objects, having associated metadata stored in a single cached metadata page. At least a portion of the associated metadata is stored on the flash-based storage. A first data portion selected for data movement may have a size equal to the data movement granularity size. The first data portion has first metadata stored on the flash-based storage. The first metadata may include location metadata updated in connection with data movements performed. In accordance with data movement of the first data portion, the first metadata is updated. In a single write operation, the updated first metadata may be written to the flash-based storage.