Flash Storage Wear-Leveling via Error Tracking

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing flash storage systems face inefficiencies in wear-leveling due to the significant area and power consumption of counters used to track erasures, leading to premature storage block failure and reduced device lifetime.

Innovation Solution

A flash storage device that tracks data errors and moves dynamic data to available storage blocks, while also relocating static data to previously used blocks, thereby reducing subsequent erasures and extending the lifespan of storage blocks and the device.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If counters are used to track erasures for wear-leveling, then wear-leveling performance is improved, but area and power consumption increase significantly

Engineering Contradiction:
Improvewear-leveling performanceVSAvoidcounter area
Core Design Contradiction:
ReliabilityVSArea of stationary object

Solution Approach 1:

The patent extracts the wear-tracking function from dedicated counter hardware and implements it through software-based error counting using existing storage structures. Instead of maintaining separate counter registers for each storage block, the system uses error correction code fields and existing metadata structures to track wear, thereby eliminating the need for additional counter circuitry while preserving wear-leveling functionality

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent makes existing storage structures serve multiple functions: error correction codes are used both for data integrity and wear tracking, metadata fields are used for both data management and erasure counting. This multi-functionality allows the system to perform wear-leveling without dedicating separate hardware resources, thus improving reliability while reducing area and power consumption

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Reliability

If counters are used to track erasures for wear-leveling, then wear-leveling performance is improved, but power consumption increases significantly

Engineering Contradiction:
Improvewear-leveling performanceVSAvoidpower consumption
Core Design Contradiction:
ReliabilityVSUse of energy by stationary object

Solution Approach 1:

The patent removes the power-consuming counter hardware and replaces it with software-based tracking that utilizes existing storage and processing resources. By extracting the counting function from dedicated hardware to software algorithms operating on existing data structures, the system maintains wear-leveling capability while dramatically reducing power consumption

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system uses its own existing error correction and data management infrastructure to perform wear tracking, rather than relying on separate dedicated components. The error correction code fields and metadata structures that already consume power for data integrity purposes are repurposed to also track wear, making the system self-sufficient and eliminating redundant power consumption

Inventive Principle:
Principle #25Self-service

3Duration of action of stationary object

If dynamic data is moved to available storage blocks based on error tracking, then storage block lifetime is extended, but data movement operations increase

Engineering Contradiction:
Improvestorage block lifetimeVSAvoiddata movement time
Core Design Contradiction:
Duration of action of stationary objectVSLoss of time

Solution Approach 1:

The patent performs preliminary wear assessment by tracking error rates in real-time during normal operations. By continuously monitoring error patterns and identifying storage blocks approaching wear thresholds before they fail, the system can proactively migrate data during low-utilization periods, thereby extending storage block lifetime while minimizing impact on performance through advance preparation

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements periodic wear-leveling operations that migrate data from high-error storage blocks to available blocks at scheduled intervals rather than continuously. This periodic approach allows the system to balance wear extension with performance requirements by performing data movements during off-peak times, thereby extending storage block lifetime while minimizing data movement time impact on operational performance

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS8266481B2System and method of wear-leveling in flash storage
Publication Date: 2012.09.11 WESTERN DIGITAL TECHNOLOGIES INC
  • US8266481B2 patent drawing
  • US8266481B2 patent drawing
  • US8266481B2 patent drawing

AI summary

A flash storage device tracks performs wear-leveling by tracking data errors that occur when dynamic data is read from a storage block of the flash storage device and moving the dynamic data to an available storage block of the flash storage device. Additionally, the flash storage device identifies a storage block containing static data and moves the static data to the storage block previously containing the dynamic data.