File Defragmentation Scheduling via Contention Scoring

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Legacy file defragmentation techniques are unable to perform self-governed, contention-aware scheduling while the file system is online, leading to undesirable system downtime and inadequate resource sharing, as they fail to consider system utilization and user impact during concurrent file operations.

Innovation Solution

A self-governed, contention-aware approach that calculates a score for candidate files based on fragmentation severity and access contention, delaying defragmentation operations when system utilization is high, and only considering files that have been opened for defragmentation, allowing for incremental and background defragmentation without user intervention.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If defragmentation operations are performed on all candidate files, then storage efficiency is improved, but system performance and user experience deteriorate due to high contention and resource consumption

Engineering Contradiction:
Improvestorage efficiencyVSAvoidsystem performance
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system dynamically changes operational parameters by adjusting the set of candidate files based on real-time contention metrics. Files are selectively added or removed from the defragmentation candidate set based on their access patterns and system load, allowing the system to adapt between aggressive defragmentation (when system is idle) and conservative operation (when system is busy), thus resolving the contradiction between storage efficiency and system performance

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The candidate file set is made dynamic rather than static. The system continuously monitors file access patterns and system utilization, automatically updating which files are eligible for defragmentation. This dynamic adjustment allows the system to perform defragmentation on files that are less likely to be accessed, thereby improving storage efficiency without significantly impacting user experience

Inventive Principle:
Principle #15Dynamics

2Productivity

If the file system is taken offline for defragmentation, then defragmentation completeness is improved, but system availability deteriorates

Engineering Contradiction:
Improvedefragmentation completenessVSAvoidsystem availability
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The system extracts and isolates specific files or file portions that are safe to defragment into a separate candidate set, allowing defragmentation to proceed on these extracted portions while the rest of the file system remains online and accessible. This selective extraction approach enables partial defragmentation without requiring complete system offline status

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The file system is segmented into multiple parts: files that are candidates for defragmentation and files that are not. This segmentation allows the system to perform defragmentation operations on specific segments while maintaining overall system availability, resolving the contradiction between defragmentation completeness and system accessibility

Inventive Principle:
Principle #1Segmentation

3Measurement precision

If user intervention is required to identify files for defragmentation, then defragmentation precision is improved, but operational complexity increases

Engineering Contradiction:
Improvefile selection accuracyVSAvoidoperational complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system performs self-service by automatically identifying candidate files for defragmentation based on predefined criteria such as file access patterns, fragmentation levels, and system utilization metrics. This eliminates the need for user intervention in file selection while maintaining precision through algorithmic analysis of file characteristics and system state

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system implements feedback mechanisms by continuously monitoring file access patterns and system performance metrics, using this information to dynamically adjust the candidate file selection. This feedback-driven approach achieves precise file selection automatically, removing the need for manual user input while maintaining high accuracy in identifying suitable defragmentation targets

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS9229948B2Self-governed contention-aware approach to scheduling file defragmentation
Publication Date: 2016.01.05 ORACLE INT CORP
  • US9229948B2 patent drawing
  • US9229948B2 patent drawing
  • US9229948B2 patent drawing

AI summary

A method, system, and computer program product for file storage defragmentation on a cluster of nodes. The method for self-governed, contention-aware scheduling of file defragmentation operations commences by calculating a score for candidate files of a storage volume, where the score is based on a fragmentation severity value. The process proceeds to determine an amount of contention for access to a candidate file (e.g., by accessing the candidate file to record the amount of time it takes to obtain access). If the fragmentation severity value and the amount of contention suggestion a benefit from defragmentation, then the method initiating defragmentation operations on the candidate file. The method delays for a calculated wait time before performing a second defragmentation operation. Real-time monitors are used to determine when the contention is too high or when system utilization is too high. Only files that have ever been opened are considered candidates for defragmentation.