Wear-Level Aware File System Allocation Policy

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional file systems do not effectively manage wear levels on storage devices, leading to inefficient data allocation and reduced storage device lifespan due to uneven usage and wear distribution.

Innovation Solution

Implementing a wear-level selection policy within the I/O scheduler to determine the most efficient subset of physical blocks for reading and writing data, taking into account the wear state of storage devices and allocating data to minimize wear on storage devices.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Duration of action of stationary object

If conventional file systems allocate data without considering wear levels, then data allocation is simple and fast, but storage device lifespan is reduced due to uneven wear distribution

Engineering Contradiction:
Improvestorage device lifespanVSAvoiddata allocation complexity
Core Design Contradiction:
Duration of action of stationary objectVSDevice complexity

Solution Approach 1:

The patent changes the allocation parameter from simple round-robin or sequential allocation to wear-level-aware allocation. The file system monitors wear levels of different storage devices and dynamically adjusts allocation decisions based on these wear level parameters, directing new data to devices with lower wear levels to extend overall storage pool lifespan.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent implements a feedback mechanism where the file system continuously monitors wear levels of storage devices and uses this information to adjust future allocation decisions. The wear level information feeds back into the allocation algorithm, creating a closed-loop system that adapts to the actual state of storage devices.

Inventive Principle:
Principle #23Feedback

2Reliability

If data is allocated without wear-level awareness, then allocation speed is fast, but wear distribution becomes uneven leading to premature device failure

Engineering Contradiction:
Improvedevice failure likelihoodVSAvoidallocation efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent introduces wear level as a critical parameter in the allocation decision process. Instead of using fixed allocation patterns, the system dynamically selects target storage devices based on their current wear level parameters, thereby improving reliability without significantly impacting allocation efficiency.

Inventive Principle:
Principle #35Parameter changes

3Adaptability or versatility

If storage space is organized by volume boundaries tied to physical disks, then volume management is simplified, but flexibility to distribute data across multiple devices is reduced

Engineering Contradiction:
Improvedata distribution flexibilityVSAvoidvolume management complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent creates a storage pool that functions as a universal allocation space across multiple storage devices. The file system can allocate data to any device within the pool based on wear levels, rather than being constrained by volume boundaries. This multi-functional approach allows the same storage pool to serve multiple devices while maintaining simplified management through a unified allocation mechanism.

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

Data Source

PatentUS8135907B2Method and system for managing wear-level aware file systems
Publication Date: 2012.03.13 ORACLE AMERICAN INC
  • US8135907B2 patent drawing
  • US8135907B2 patent drawing
  • US8135907B2 patent drawing

AI summary

A method for wear level-based allocation in a storage pool. The method includes receiving a first request to write a first data item in a storage pool, where the storage pool includes a number of physical locations associated with the storage devices, and where each of the storage devices includes metadata regarding a level of wear of the storage device. The method further includes determining a first target physical location selected from the plurality of physical locations by using a wear-level selection policy and a wear cost for each of the storage devices, where the wear cost is determined based on a type of the storage device. The method further includes allocating a first data block to the first target physical location writing the first data block to the first target physical locations, wherein the first data block comprises a first portion of the first data item.