Dynamic File Management Granularity and Storage Medium Selection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing file systems lack dynamic adjustment capabilities to optimize file management based on varying IO access modes, leading to suboptimal performance due to fixed management granularities and storage medium allocations.

Innovation Solution

A file management method that monitors IO access information to determine the IO access mode and matches it with a preset policy library to dynamically adjust the management granularity and storage medium type, ensuring optimal file access performance by switching between different granularities and mediums as needed.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If a fixed management granularity is used for files, then the file system structure is simple and easy to implement, but the file access performance is suboptimal and cannot be optimized for different IO access modes

Engineering Contradiction:
Improvefile access performanceVSAvoidfile management complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent implements dynamic adjustment of management granularity based on IO access modes. The file system monitors IO access patterns and automatically switches between different management granularities (fine-grained for random access, coarse-grained for sequential access) to optimize performance for different workload types without requiring manual configuration.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the management granularity parameter dynamically based on detected IO access modes. When random access patterns are detected, the system switches to fine-grained management; when sequential access patterns are detected, it switches to coarse-grained management, thereby adapting the system parameters to match the actual workload characteristics.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If a single storage medium type is used for all files, then the storage system is simple to manage, but the metadata management overhead increases and storage optimization is reduced

Engineering Contradiction:
Improvestorage utilization efficiencyVSAvoidstorage medium management complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent applies different storage medium types to different files based on their specific access characteristics. Hot data with random access patterns are stored on SSDs for fast access, while cold data with sequential access patterns are stored on HDDs for cost-effective capacity, thereby optimizing the local quality of each storage location to match the data requirements.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system dynamically changes the storage medium parameter based on file access patterns and types. The file system analyzes IO characteristics and automatically selects appropriate storage mediums (SSD, HDD, or memory) for different files, enabling parameter optimization without manual intervention.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If fine-grained management is used for all files, then data access validity is ensured and bandwidth is utilized efficiently, but the metadata storage overhead and searching time delay increase

Engineering Contradiction:
Improvedata access validityVSAvoidmetadata searching time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent dynamically adjusts the management granularity based on the detected IO access mode. For random access workloads, fine-grained management is applied to ensure data validity and proper bandwidth utilization. For sequential access workloads, coarse-grained management is applied to reduce metadata overhead and searching time, thereby optimizing the trade-off between reliability and time efficiency.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the management granularity parameter according to access patterns. When random access is detected, fine-grained management parameters are applied; when sequential access is detected, coarse-grained management parameters are applied, thus adapting the parameter settings to minimize both metadata overhead and access invalidity risks.

Inventive Principle:
Principle #35Parameter changes

4Loss of time

If coarse-grained management is used for all files, then metadata storage overhead is reduced and metadata searching time is decreased, but data access validity may be compromised and bandwidth utilization is reduced

Engineering Contradiction:
Improvemetadata searching timeVSAvoiddata access validity
Core Design Contradiction:
Loss of timeVSReliability

Solution Approach 1:

The patent implements dynamic switching between coarse-grained and fine-grained management based on IO access modes. For sequential access patterns where coarse-grained management is sufficient, the system applies coarse-grained management to minimize metadata overhead and searching time. For random access patterns where fine-grained control is necessary, it switches to fine-grained management to ensure data access validity, thus dynamically resolving the contradiction based on actual workload requirements.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentEP3125124B1File management method and file system
Publication Date: 2021.01.13 HUAWEI TECH CO LTD
  • EP3125124B1 patent drawingFigure 1
  • EP3125124B1 patent drawingFigure 2
  • EP3125124B1 patent drawingFigure 3

AI summary

A file management method and a file system are applied to the field of data processing technologies. The file system monitors IO access information for operating a file, then determines an IO access mode of the file, determines a corresponding file management policy according to the IO access mode, and finally, when the obtained file management policy is inconsistent with a current management manner of the file, adjusts, according to the determined file management policy, the current management manner of the file, for example, a storage medium and a file management granularity, so as to dynamically adjust the storage medium and the file management granularity of the file according to the IO access mode of the file.