File system defragmentation method and device and storage medium
A file system and defragmentation technology, applied in the direction of file system, file system function, multi-program device, etc., can solve the problems of reading and writing speed, system resource occupation, affecting business execution, and failing to meet business needs, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] This embodiment provides a file system defragmentation method. To implement the file system defragmentation method of this application, the following parameters must first be configured for the file system:
[0051] (1), configure priority parameters for the file system according to the business performance requirements realized by each file system; in the specific implementation process, the priority parameters include high priority and low priority; maintain a high level for business performance needs Configure high-priority priority parameters for specific file systems; configure low-priority priority parameters for file systems whose business performance does not need to be maintained at a high level.
[0052] The priority parameter is configured as a high-priority file system as a high-priority file system;
[0053] The priority parameter is configured as a low-priority file system as a low-priority file system.
[0054] (2) Configuring each file system with a max...
Embodiment 2
[0079] The difference between Embodiment 2 and Embodiment 1 is that the maximum response time threshold is further divided into a maximum read response time threshold and a maximum write response time threshold. There are certain differences in the read and write response times of general file systems. Considering the differences in reading and writing, this embodiment further refines the maximum response time threshold into a maximum read response time threshold and a maximum write response time threshold.
[0080] refer to Figure 4 As shown, the process of the file system defragmentation method in this embodiment includes:
[0081] S10, record the read response time of the file system, and record the write response time of the file;
[0082] S20, respectively judge whether the read response time of the file system is greater than the corresponding maximum read response time threshold; determine whether the write response time of the file system is greater than the correspo...
Embodiment 3
[0098] This embodiment provides a file system defragmentation device, including a parameter configuration module, a response time collection module, a fragmentation degree detection module, a first task construction module, a second task construction module, and a resource configuration module. The file system defragmentation apparatus provided in this embodiment is used to implement the file system defragmentation method shown in Embodiment 1 or Embodiment 2.
[0099] When implementing the file system defragmentation method shown in Embodiment 1:
[0100] The parameter configuration module configures the priority parameters of the file system, the maximum response time threshold, and the maximum fragmentation threshold;
[0101] The response time collection module collects the response time of the file system;
[0102] The fragmentation degree detection module detects the fragmentation degree of the file system whose response time is greater than the maximum response time th...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com