Dynamic Priority Control for Storage Background Operations
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current background operations in storage systems, such as snap deletion, often negatively impact performance by occupying processing resources, leading to slow execution times and potential user experience issues, especially when the storage pool is full, and existing methods fail to accurately assess system overload.
Innovation Solution
A method to dynamically control background operations by determining control factors like storage resource pool usage, system load, and I/O loads to set priority levels, adjusting the number of threads and scheduling intervals, ensuring efficient resource use and prioritizing snap deletion when the storage pool is full.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If background operations are executed with high priority to complete tasks quickly, then task completion speed is improved, but system I/O processing performance deteriorates
Solution Approach 1:
The patent implements dynamic priority adjustment for background operations based on real-time storage pool status. When the storage pool is full or near-full, background operations (such as snap deletion) are automatically elevated to high priority to reclaim space. When the storage pool has sufficient free space, background operations are lowered to low priority to avoid interfering with I/O processing. This dynamic adjustment resolves the contradiction by making the priority level adaptive rather than fixed.
Solution Approach 2:
The system changes the priority parameter of background operations based on storage pool usage thresholds. By monitoring the free space ratio and comparing it against predefined thresholds, the system adjusts the priority level parameter of background tasks accordingly. This parameter change enables the system to optimize between task completion speed and I/O performance based on current storage conditions.
2Productivity
If background operations occupy processing resources to complete tasks, then task completion is achieved, but system load increases and user experience deteriorates
Solution Approach 1:
The system employs periodic monitoring of storage pool status and adjusts background operation priorities in periodic intervals rather than continuously. By checking storage conditions at scheduled intervals and adjusting priorities accordingly, the system achieves background task completion while minimizing continuous resource occupation and maintaining acceptable system responsiveness during off-peak periods.
3Quantity of substance
If snap deletion is prioritized when storage pool is full to reclaim space, then storage space is reclaimed quickly, but I/O processing is affected
Solution Approach 1:
The system changes the priority parameter of snap deletion operations based on storage pool usage thresholds. When the free space ratio falls below a threshold, the priority of snap deletion is elevated to ensure rapid space reclamation. When sufficient space is available, the priority is reduced to minimize impact on I/O processing. This dynamic parameter adjustment resolves the contradiction between space reclamation urgency and I/O performance.
Data Source
AI summary
Embodiments of the present disclosure provide a method, and apparatus and a computer readable medium for controlling a storage system. For example, a method for controlling a storage system is provided. The method comprises: determining a control factor related to a background operation in the storage system, the control factor including a usage state of a storage resource pool in the storage system; setting a priority level for the background operation based on the determined control factor; and controlling execution of the background operation based on the set priority level. Embodiments of the present disclosure may accelerate execution of background operations, improve resource utilization efficiency, and ensure good I/O performance.


