Weighted-Value Consistent Hashing for Flash Memory Wear Balancing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current data storage systems face challenges in efficiently managing the lifespan of physical storage devices, particularly flash memory-based devices, due to limited write capacities, which can lead to premature device failure and data loss if write thresholds are exceeded.

Innovation Solution

The method involves using consistent hashing to dynamically adjust device weights based on remaining write capacities and storage capacities, allowing for the distribution of data across multiple physical storage devices to extend the lifespan of each device by statistically selecting devices with the most remaining write capacity for new data storage, while also adding or removing devices as needed to maintain optimal performance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If data is distributed across multiple physical storage devices using traditional hashing, then storage capacity is utilized, but devices with limited write capacity experience premature failure due to excessive writes

Engineering Contradiction:
Improvestorage device lifespanVSAvoidwrite capacity utilization
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent dynamically adjusts device weights based on remaining write capacity parameters, transforming the static hashing approach into a adaptive system that responds to changing device states. This allows the system to optimize data distribution as devices wear, extending their operational lifespan while maintaining efficient utilization.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The system transitions from static hashing to dynamic weighted hashing where device weights are continuously adjusted based on remaining write capacity. This dynamic adaptation allows the system to balance data distribution according to current device conditions, preventing premature failure while maximizing productivity.

Inventive Principle:
Principle #15Dynamics

2Reliability

If device weights are adjusted based on remaining write capacity, then device lifespan is extended, but system complexity increases due to dynamic weight management

Engineering Contradiction:
Improvedevice lifespanVSAvoidhashing system complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system implements feedback mechanisms where device performance metrics (remaining write capacity) are continuously monitored and fed back into the weighting algorithm. This automatic feedback loop manages the complexity of dynamic weight adjustment without requiring manual intervention, balancing extended lifespan with acceptable system complexity.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The hashing system performs self-adjustment of device weights based on monitored performance data, eliminating the need for external management of the complexity. The system serves itself by automatically recalibrating weights according to device states, reducing operational complexity while maintaining reliability benefits.

Inventive Principle:
Principle #25Self-service

3Productivity

If static hashing is used for data distribution, then system simplicity is maintained, but storage capacity cannot be fully utilized as devices fail prematurely

Engineering Contradiction:
Improvestorage capacity utilizationVSAvoiddata distribution mechanism
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent changes the parameters of the hashing function by introducing dynamic weights that reflect device conditions. This transformation allows the system to adapt to changing storage capacity and device health, maximizing utilization while managing complexity through algorithmic adjustments rather than structural changes.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS9619149B1Weighted-value consistent hashing for balancing device wear
Publication Date: 2017.04.11 EMC IP HLDG CO LLC
  • US9619149B1 patent drawing
  • US9619149B1 patent drawing
  • US9619149B1 patent drawing

AI summary

Described are techniques that select a physical storage device for storing data. Device weights for physical storage devices are determined in accordance with factor(s) including a storage capacity each physical storage device and an amount of remaining write capacity of each physical storage device representing an amount of remaining writes for an expected lifetime of each physical storage device. A replica set is determined for each physical storage device in accordance with a device weight. Hash value sets are determined for the physical storage devices using a hash function. A first hash value for a first data item is determined using the hash function. The first hash value is mapped to a second hash value included in one of hash value sets associated with a corresponding one of the physical storage devices. The corresponding one of the physical storage devices is selected to store the first data item.