Metadata Paging for Variable Endurance Flash Storage
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In data storage systems for multiple host servers and concurrent users, existing technologies face challenges in efficiently managing metadata storage across different types of non-volatile storage media with varying write endurance, leading to potential wear and cost issues due to uneven usage patterns and limited cache capacity.
Innovation Solution
A system that calculates wear cost values for metadata pages based on factors like cache write resiliency ratio, Read/Write ratio, and age, to selectively evict pages from a shared cache to persistent metadata storage devices with different write endurance, optimizing storage usage and extending the lifespan of high-write SSDs.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If metadata is stored in a shared cache with limited capacity, then metadata access speed is improved, but cache space is quickly exhausted requiring frequent evictions
Solution Approach 1:
The patent segments the cache into multiple zones (hot zone, warm zone, cold zone) based on metadata access frequency and recency. Each zone has different eviction policies and priorities, allowing the system to retain frequently accessed metadata longer while evicting less frequently accessed metadata, thus optimizing both cache utilization and access speed without requiring a larger cache capacity.
2Quantity of substance
If metadata is evicted to persistent storage, then cache space is freed for new metadata, but write operations to persistent storage increase wear on storage devices
Solution Approach 1:
The patent implements different quality levels of persistent storage for different metadata pages. High-priority metadata pages are evicted to high-endurance storage devices that can withstand frequent writes, while low-priority metadata pages are evicted to low-endurance storage devices. This local differentiation of storage quality matches the wear characteristics of storage devices with the access patterns of metadata, reducing overall wear while maintaining cache space availability.
Solution Approach 2:
The system dynamically changes the wear cost parameter associated with each metadata page based on its priority, access frequency, and recency. This wear cost parameter is used in the eviction decision-making process, allowing the system to optimize evictions not just based on cache space availability but also considering the impact on storage device wear, thus balancing cache management with storage device longevity.
3Device complexity
If all metadata pages are treated equally in eviction decisions, then eviction policy is simple to implement, but high-priority metadata may be evicted prematurely
Solution Approach 1:
The patent introduces a wear cost parameter that dynamically changes based on metadata page characteristics such as access frequency, recency, and priority. This parameter transforms the eviction decision from a simple space-based criterion to a multi-dimensional optimization that considers both cache efficiency and storage device wear, improving metadata retention accuracy without significantly increasing policy complexity.
4Productivity
If the cache size is increased to reduce evictions, then metadata access performance is maintained, but the cost and resource consumption of the system increases
Solution Approach 1:
By segmenting the cache into priority-based zones, the system maximizes the utilization of available cache space for high-priority metadata, ensuring that limited cache resources are allocated to the most performance-critical operations. This segmentation allows the system to maintain high metadata access performance with a smaller overall cache size compared to a uniform cache approach.
Solution Approach 2:
Different cache zones are assigned different retention characteristics and eviction priorities, creating local quality variations within the cache. This allows the system to optimize for performance in the hot zone while using the warm and cold zones for less critical metadata, thereby maintaining overall performance with reduced total cache requirements.
Data Source
AI summary
A storage array uses both high endurance SSDs and low endurance SSDs for metadata paging. Wear cost values are calculated for each page of metadata in cache. The wear cost values are used to select pages for swapping out of the cache to the SSDs. The wear cost values may be calculated as a function of a first term that is indicative of whether the respective page of metadata will be written to high endurance or low endurance SSDs; a second term that is indicative of likelihood of data associated with the respective pages of metadata that will possibly be changed due to a write; and a third term that is indicative of age of the respective page of metadata in the cache since most recent use. The terms may be estimated and independently weighted. The portion of cache allocated for the metadata may be increased to avoid exceeding DWPD targets.


