Method for dynamically adjusting reserved space of solid state disk
By detecting the NAND capacity and health indicators of solid-state drives, and dynamically adjusting the OP space threshold in combination with load type and health status, the performance bottlenecks and waste of storage space in traditional solid-state drives in different load scenarios is solved, and efficient OP space management and hard disk performance improvement is achieved.
Patent Information
- Application Number
- CN202510814417.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-18
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2045-06-18
AI Technical Summary
The OP space settings of traditional solid-state drives cannot be flexibly adjusted according to the load type and hard disk health status, resulting in performance bottlenecks and waste of storage space, and the inability to respond to changes in the hard disk health status in a timely manner, increasing the risk of data loss.
By detecting the NAND capacity and health indicators of the solid-state drive, dynamically adjust the OP space threshold, combine the load type and health status, and optimize OP space management using a sliding window algorithm.
It realizes accurate adaptation and intelligent optimization of OP space, improves the read and write efficiency, stability and service life of solid-state drives, reduces the risk of data loss, and improves the adaptability in dynamic load environments.
Smart Images

Figure CN120353403A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of dynamically adjusting the reserved space of a solid-state drive, and more specifically, to a method for dynamically adjusting the reserved space of a solid-state drive. Background Art
[0002] During the use of a solid-state drive, the reasonable setting of the reserved space plays a crucial role in its performance, lifespan, and data security. Traditional solid-state drives usually adopt a fixed OP space threshold setting method, which cannot be flexibly adjusted according to the actual load type and the health status of the hard disk; when facing different load scenarios, the fixed threshold is difficult to balance performance and space utilization. Under high load, it is easy to encounter read and write performance bottlenecks due to insufficient reserved space, while under low load, it will cause waste of storage space; at the same time, as the solid-state drive is used, the flash memory particles will gradually age, and health indicators such as the percentage of spare blocks, TBW consumption, and write amplification rate will change, but the fixed OP space setting cannot respond in time to the change in the health status of the hard disk, and cannot effectively reduce the wear of flash memory particles and the risk of data loss; in addition, the existing OP space management mode based on a fixed threshold lacks dynamic analysis and response to load data, and it is difficult to achieve a balance between performance guarantee and capacity utilization; therefore, there is an urgent need for a method that can combine the load type and the health status of the hard disk to achieve dynamic adjustment of the OP space, so as to improve the comprehensive performance and service life of the solid-state drive.
[0003] Regarding the problems in the related art, no effective solution has been proposed yet. Summary of the Invention
[0004] Regarding the problems in the related art, the present invention proposes a method for dynamically adjusting the reserved space of a solid-state drive to overcome the above-mentioned technical problems existing in the existing adjustment of the reserved space of a solid-state drive.
[0005] To this end, the specific technical solution adopted by the present invention is as follows: A method for dynamically adjusting the reserved space of a solid-state drive, the method comprising the following steps: S1. Detect the NAND capacity of the solid-state drive, calculate the actual capacity, and obtain the health indicator data of the hard disk at the same time; S2. Obtain the original OP space threshold, and adjust the original OP threshold according to the health status of the hard disk; S3. Evaluate the space requirements of the current operation, combine the load type with the health status, formulate different OP thresholds, and formulate a strategy for increasing the OP space; S4. Dynamically adjust the OP space according to the current load type and the set OP space threshold; S5. After a single operation is completed, use the sliding window algorithm to calculate the load trend and obtain the recovery method of the original OP according to the load trend.
[0006] As a preferred embodiment, detecting the NAND capacity of the solid-state drive, calculating the true capacity, and obtaining the health index data of the hard disk include the following steps: S11. Use a detection tool to view the physical device capacity of the solid-state drive and calculate the true capacity of the solid-state drive; When calculating the true capacity of the solid-state drive, it is necessary to perform unit conversion on the obtained physical device capacity and deduct the system occupancy, thereby obtaining the true capacity of the solid-state drive.
[0007] S12. Use a detection tool to view the SMART parameters, including remaining life, spare blocks, and total write volume.
[0008] As a preferred embodiment, obtaining the original OP space threshold and adjusting the original OP threshold according to the hard disk health status include the following steps: S21. Obtain the original OP space threshold of the solid-state drive; S22. According to the obtained SMART parameters of the solid-state drive, calculate the TBW consumption and write amplification factor; The health indicators include spare blocks, TBW consumption, and write amplification factor. Preset the normal range of health indicators. For every 5% reduction in the spare block percentage, the OP space increases by 3%. For every 10% increase in TBW consumption, the OP space increases by 2 percentage points. For every 0.5 increase in the write amplification factor, the OP space increases by 1%.
[0009] The spare block indicator is the ratio of the remaining spare blocks in the SSD to the total spare blocks. The meaning of the OP space increasing by 3% for every 5% reduction in the spare block percentage is that for every 5% reduction in the ratio of the remaining spare blocks in the SSD to the total spare blocks, the OP space increases by 3%.
[0010] As a preferred embodiment, evaluating the space requirements of the current operation, combining the load type with the health status, formulating different OP thresholds, and formulating a strategy for increasing the OP space include the following steps: S31. Evaluate the current load type, and divide the load type into ultra-low load, sequential write-intensive, mixed load, and random write-intensive. In the case of ultra-low load, there is no need to adjust the OP space threshold. In the case of sequential write-intensive, adjust the original OP space threshold to 10% - 15%. In the case of mixed load, adjust the original OP space threshold to 15% - 20%. In the case of random write-intensive, adjust the original OP space threshold to 20% - 25%; S32. Combine the load status with the health status to further adjust the OP space thresholds for sequential write-intensive, hybrid load, and random write-intensive scenarios.
[0011] As a preferred embodiment, the step of combining the load status with the health status to further adjust the OP space thresholds for sequential write-intensive, hybrid load, and random write-intensive scenarios includes the following steps: S321. When the metrics of spare blocks, TBW consumption, and write amplification factor in the health status are within the preset normal range, no adjustment is required; when the metrics of the health status exceed the preset normal range, the calculation formula for further adjusting the OP space thresholds for sequential write-intensive, hybrid load, and random write-intensive scenarios by combining the load status with the health status is: ; Where, is the adjusted reserved space threshold, are the percentage of spare block decrease, the percentage of TBW increase, and the write amplification factor increase value respectively, are the weights of the percentage of spare block decrease, the percentage of TBW increase, and the write amplification factor increase value respectively. When the load type is sequential write-intensive, the values of take 30%, 40%, 30% respectively. When the load type is hybrid load, the values of take 35%, 30%, 35% respectively. When the load type is random write-intensive, the values of take 40%, 30%, 30% respectively. is the total weight, is the load sensitivity coefficient. When the load type is sequential write-intensive, takes the value of 1.0. When the load type is hybrid load, takes the value of 1.1. When the load type is random write-intensive, takes the value of 1.2.
[0012] As a preferred embodiment, the step of dynamically adjusting the OP space according to the current load type and the set OP space threshold includes the following steps: S41. Use the system monitoring tool to determine the current load type; S42. Input the final OP space threshold into the storage management interface to enable the system to automatically reallocate space, and control the upper limit of the OP space threshold for sequential write-intensive to be 25%, the upper limit of the OP space threshold for hybrid load to be 30%, and the upper limit of the OP space threshold for random write-intensive to be 35%.
[0013] As a preferred embodiment, after the single operation is completed, the load trend is calculated using the sliding window algorithm, and the recovery method of the original OP is obtained according to the load trend, including the following steps: S51. Obtain the load data of the past 7 days, including the daily average write volume and the peak IOPS, and calculate the load trend using the sliding window algorithm. If the recent load continues to decline, quickly reduce the OP space; if the load is stable, slowly reduce the OP space; if the load fluctuates frequently, maintain the current OP threshold.
[0014] As a preferred embodiment, the step of obtaining the load data of the past 7 days, including the daily average write volume and the peak IOPS, and calculating the load trend using the sliding window algorithm. If the recent load continues to decline, quickly reduce the OP space; if the load is stable, slowly reduce the OP space; if the load fluctuates frequently, maintain the current OP threshold includes the following steps: S511. The window is fixed at 7 days and slides and updates day by day. Calculate the moving average of the daily average write volume within the window and the standard deviation of the peak IOPS within the window, and use the standard deviation of the peak IOPS within the window as the volatility of the IOPS. If the moving average of the write volume within the window drops by more than 15% for 3 consecutive days and the volatility of the peak IOPS is within 10%, it is determined that the recent load is continuously declining, and the OP space is quickly reduced, with each reduction of 3% - 5% and a single interval of 2 hours; if the fluctuation value of the moving average of the daily average write volume is within 5% and the volatility of the peak IOPS is within 15%, it is determined that the recent load is stable, and the OP space is slowly reduced, with each reduction of 1% - 2% and a single interval of 1 - 2 days; if the moving average of the daily average write volume exceeds 10% or the volatility of the peak IOPS exceeds 20%, it is determined that the recent load fluctuates frequently, and the current OP threshold is maintained.
[0015] The beneficial effects of the present invention are: 1. By combining the load type with the health status to dynamically adjust the OP space threshold, the present invention combines the load type with the hard disk health status to dynamically adjust the OP space threshold, which can achieve precise adaptation and intelligent optimization of the OP space: for different load types, different OP threshold ranges are preset in advance, and the reserved space is preferentially guaranteed in high-load scenarios to avoid read and write performance bottlenecks caused by insufficient space; when health indicators such as the spare block percentage, TBW consumption, and write amplification factor exceed the normal range, the OP threshold is dynamically adjusted through a weighted formula that combines the load sensitivity coefficient and the index weight to expand the space in advance to cope with hardware aging, reduce the wear of flash memory particles, and reduce the risk of data loss. This mechanism takes into account both load characteristics and health status, can guarantee performance under high load, and can actively protect when the health status deteriorates, improving the read and write efficiency, stability, and service life of the solid-state drive; 2. The present invention collects the load data of the past 7 days and formulates a recovery strategy for the OP space based on the sliding window algorithm, which can realize the intelligent dynamic management of the reserved space. By analyzing the load data of the past 7 days, the on-demand release of the OP space is realized, avoiding the space waste or the risk of blind adjustment in the fixed threshold mode, achieving a dynamic balance between performance guarantee and capacity utilization rate, enhancing the adaptive ability of the solid-state drive in the dynamic load environment, and improving the storage resource utilization efficiency; At the same time, this strategy of gradually recovering the OP space can not only avoid the performance fluctuation caused by a large one-time adjustment, but also accurately recycle the idle space and maintain the threshold stability during the load fluctuation to reduce interference, so as to achieve a dynamic balance among performance stability, space utilization rate, and hardware protection, and improve the adaptability and long-term operation efficiency of the solid-state drive in different business scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required to be used in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0017] Figure 1 is a flowchart of a method for dynamically adjusting the reserved space of a solid-state drive according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0018] To further illustrate the embodiments, the present invention provides drawings, which are part of the disclosure of the present invention. They are mainly used to illustrate the embodiments and can be combined with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these contents, those of ordinary skill in the art should be able to understand other possible implementation manners and the advantages of the present invention. The components in the drawings are not drawn to scale, and similar component symbols are usually used to represent similar components.
[0019] According to an embodiment of the present invention, a method for dynamically adjusting the reserved space of a solid-state drive is provided.
[0020] Now, the present invention will be further described in conjunction with the drawings and specific embodiments. As Figure 1 shown, a method for dynamically adjusting the reserved space of a solid-state drive according to an embodiment of the present invention includes the following steps: S1. Detect the NAND capacity of the solid-state drive, calculate the actual capacity, and obtain the health index data of the hard disk at the same time; Further, detecting the NAND capacity of the solid-state drive, calculating the actual capacity, and obtaining the health index data of the hard disk at the same time include the following steps: S11. Use a detection tool to view the physical device capacity of the solid-state drive and calculate the true capacity of the solid-state drive; S12. Use a detection tool to view the SMART parameters, including remaining life, spare blocks, and total write volume.
[0021] S2. Obtain the original OP space threshold and adjust the original OP threshold according to the hard disk health status; Further, obtaining the original OP space threshold and adjusting the original OP threshold according to the hard disk health status includes the following steps: S21. Obtain the original OP space threshold of the solid-state drive; S22. According to the obtained SMART parameters of the solid-state drive, calculate the TBW consumption and write amplification factor; The health indicators include spare blocks, TBW consumption, and write amplification factor. Preset the normal range of health indicators. For every 5% reduction in the spare block percentage, the OP space increases by 3%. For every 10% increase in TBW consumption, the OP space increases by 2 percentage points. For every 0.5 increase in the write amplification factor, the OP space increases by 1%.
[0022] It should be noted that adjusting the original OP space threshold according to the hard disk health status can significantly improve the performance and lifespan of the solid-state drive. By calculating the TBW consumption and write amplification factor through SMART parameters and dynamically adjusting the OP space based on key indicators such as the spare block percentage, it is possible to expand the reserved space in advance when the spare blocks decrease, effectively avoiding the decline in read and write performance caused by insufficient available blocks; the monitoring and adjustment of TBW consumption and write amplification factor can reasonably allocate the OP space, reduce the data write pressure, reduce the wear of flash memory particles, and then optimize the overall operation stability and reliability of the solid-state drive, delay hardware aging, and ensure the long-term efficient operation of the storage device.
[0023] S3. Evaluate the space requirements of the current operation, combine the load type with the health status, formulate different OP thresholds, and formulate a strategy to increase the OP space; Further, evaluating the space requirements of the current operation, combining the load type with the health status, formulating different OP thresholds, and formulating a strategy to increase the OP space includes the following steps: S31. Evaluate the current load type, and divide the load type into ultra-low load, sequential write-intensive, mixed load, and random write-intensive. In the case of ultra-low load, there is no need to adjust the OP space threshold. In the case of sequential write-intensive, adjust the original OP space threshold to 10% - 15%. In the case of mixed load, adjust the original OP space threshold to 15% - 20%. In the case of random write-intensive, adjust the original OP space threshold to 20% - 25%; It should be noted that ultra-low load refers to long-term idleness or extremely low writes. At this time, there is no need to adjust the OP space threshold. Sequential write-intensive refers to continuous large file writing, random write-intensive refers to high-frequency small file writing, and mixed load refers to alternating read and write.
[0024] S32: Combine the load status with the health status to further adjust the OP space thresholds for sequential write-intensive, mixed load, and random write-intensive Furthermore, combining the load status with the health status, further adjusting the OP space thresholds of sequential write-intensive, mixed load, and random write-intensive includes the following steps: S321. When the indicators of the health status, namely, the spare blocks, TBW consumption, and write amplification, are within the preset normal range, no adjustment is required. When the indicators of the health status exceed the preset normal range, the load status is combined with the health status, and the calculation formula for further adjusting the OP space thresholds of sequential write-intensive, mixed load, and random write-intensive is as follows: ; in, is the adjusted over-provisioning threshold. They are the percentage of spare block decrease, the percentage of TBW increase, and the write amplification rate increase. are the weights of the percentage of spare block decrease, the percentage of TBW increase, and the write amplification rate increase. When the load type is sequential write-intensive, The value of is 30%, 40%, 30%. When the load type is mixed load, The value of is 35%, 30%, and 35%. When the load type is random write-intensive, The values of are 40%, 30%, and 30%. is the total weight, is the load sensitivity coefficient. When the load type is sequential write intensive, The value is 1.0. When the load type is mixed load, The value is 1.1. When the load type is random write intensive, The value is 1.2.
[0025] It should be noted that combining the load status with the health status and adjusting the OP space thresholds of different types can accurately adapt to the operating needs of the SSD. According to the characteristics of sequential write-intensive, mixed load, and random write-intensive, combined with the current health status of the hard disk, dynamic adjustment can be made. It can reasonably allocate reserved space under high load to avoid performance bottlenecks. When the health status is not good, the OP space can be expanded in time to reduce wear and tear and prevent data loss, effectively improving the read and write efficiency, stability and service life of the SSD and giving full play to its storage performance.
[0026] S4. Dynamically adjust the OP space according to the current load type and the set OP space threshold; Furthermore, dynamically adjusting the OP space according to the current load type and the set OP space threshold includes the following steps: S41. Use a system monitoring tool to determine the current load type; S42. Input the final OP space threshold into the storage management interface, so that the system automatically reallocates space, and control the upper limit of the OP space threshold for sequential write-intensive to 25%, the upper limit of the OP space threshold for mixed load to 30%, and the upper limit of the OP space threshold for random write-intensive to 35%.
[0027] S5. After a single operation is completed, use the sliding window algorithm to calculate the load trend, and obtain the recovery method of the original OP according to the load trend.
[0028] Furthermore, after a single operation is completed, using the sliding window algorithm to calculate the load trend and obtaining the recovery method of the original OP according to the load trend includes the following steps: S51. Obtain the load data of the past 7 days, including the average daily write volume and the peak IOPS, and use the sliding window algorithm to calculate the load trend. If the recent load continues to decline, quickly reduce the OP space; if the load is stable, slowly reduce the OP space; if the load fluctuates frequently, maintain the current OP threshold. Furthermore, obtaining the load data of the past 7 days, including the average daily write volume and the peak IOPS, and using the sliding window algorithm to calculate the load trend, if the recent load continues to decline, quickly reduce the OP space, if the load is stable, slowly reduce the OP space, if the load fluctuates frequently, maintain the current OP threshold includes the following steps: S511. The window is fixed at 7 days and slides and updates day by day. Calculate the moving average of the average daily write volume within the window and the standard deviation of the peak IOPS within the window, and use the standard deviation of the peak IOPS within the window as the volatility of IOPS. If the moving average of the write volume within the window drops by more than 15% for 3 consecutive days and the peak IOPS volatility is within 10%, it is determined that the recent load is continuously declining, and the OP space is quickly reduced, with each reduction of 3% - 5% and a single interval of 2 hours; if the fluctuation value of the moving average of the average daily write volume is within 5% and the peak IOPS volatility is within 15%, it is determined that the recent load is stable, and the OP space is slowly reduced, with each reduction of 1% - 2% and a single interval of 1 - 2 days; if the moving average of the average daily write volume exceeds 10% or the peak IOPS volatility exceeds 20%, it is determined that the recent load fluctuates frequently, and the current OP threshold is maintained.
[0029] In summary, the present invention dynamically adjusts the OP space threshold by combining the load type and the health status, combines the load type and the hard disk health status to dynamically adjust the OP space threshold, and can achieve precise adaptation and intelligent optimization of the OP space: for different load types, different OP threshold ranges are preset in advance, and reserved space is preferentially guaranteed in high-load scenarios to avoid read-write performance bottlenecks caused by insufficient space; when health indicators such as the spare block percentage, TBW consumption, and write amplification factor exceed the normal range, the OP threshold is dynamically adjusted through a weighted formula that combines the load sensitivity coefficient and the index weight to expand the space in advance to cope with hardware aging, reduce the wear of flash memory particles, and reduce the risk of data loss. This mechanism takes into account both load characteristics and health status, can guarantee performance in high-load scenarios, and can actively protect when the health status deteriorates, improving the read-write efficiency, stability, and service life of the solid-state drive; the present invention collects load data for the past 7 days and formulates a recovery strategy for the OP space based on the sliding window algorithm, can achieve intelligent dynamic management of the reserved space, analyzes the load data for the past 7 days, realizes the on-demand release of the OP space, avoids the risk of space waste or blind adjustment in the fixed threshold mode, achieves a dynamic balance between performance guarantee and capacity utilization, enhances the adaptive ability of the solid-state drive in a dynamic load environment, and improves the storage resource utilization efficiency; at the same time, this strategy of gradually recovering the OP space can not only avoid performance fluctuations caused by a large one-time adjustment, but also accurately recycle idle space and maintain the threshold stability during load fluctuations to reduce interference, thus achieving a dynamic balance among performance stability, space utilization, and hardware protection, and improving the adaptability and long-term operation efficiency of the solid-state drive in different business scenarios.
[0030] The foregoing are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims
1. A method for dynamically adjusting the reserved space of a solid-state drive, characterized in that The method includes the following steps: S1. Detect the NAND capacity of the solid-state drive, calculate the true capacity, and obtain the health index data of the hard drive; S2. Obtain the original OP space threshold, and adjust the original OP threshold according to the health status of the hard drive; S3. Evaluate the space requirements of the current operation, combine the load type with the health status, formulate different OP thresholds, and formulate a strategy for increasing the OP space; S4. Dynamically adjust the OP space according to the current load type and the set OP space threshold; S5. After a single operation is completed, use the sliding window algorithm to calculate the load trend, and obtain the recovery method of the original OP according to the load trend.
2. The method for dynamically adjusting the reserved space of a solid-state drive according to claim 1, wherein The step of detecting the NAND capacity of the solid-state drive, calculating the true capacity, and obtaining the health index data of the hard drive includes the following steps: S11. Use a detection tool to view the physical device capacity of the solid-state drive and calculate the true capacity of the solid-state drive; S12. Use a detection tool to view the SMART parameters, including the remaining life, spare blocks, and total write volume.
3. A method for dynamically adjusting the reserved space of a solid-state drive according to claim 1, characterized in that, The step of obtaining the original OP space threshold and adjusting the original OP threshold according to the health status of the hard drive includes the following steps: S21. Obtain the original OP space threshold of the solid-state drive; S22. Calculate the TBW consumption and write amplification ratio according to the obtained SMART parameters of the solid-state drive; S23. The health indicators include spare blocks, TBW consumption, and write amplification ratio. The normal range of the preset health indicators is set. For every 5% reduction in the spare block percentage, the OP space increases by 3%. For every 10% increase in the TBW consumption, the OP space increases by 2 percentage points. For every 0.5 increase in the write amplification ratio, the OP space increases by 1%.
4. A method for dynamically adjusting the reserved space of a solid-state drive according to claim 1, wherein, The step of evaluating the space requirements of the current operation, combining the load type with the health status, formulating different OP thresholds, and formulating a strategy for increasing the OP space includes the following steps: S31. Evaluate the current load type, and divide the load type into ultra-low load, sequential write-intensive, mixed load, and random write-intensive. When it is ultra-low load, there is no need to adjust the OP space threshold. When it is sequential write-intensive, adjust the original OP space threshold to 10% - 15%. When it is mixed load, adjust the original OP space threshold to 15% - 20%. When it is random write-intensive, adjust the original OP space threshold to 20% - 25%; S32. Combine the load status with the health status to further adjust the OP space thresholds for sequential write-intensive, mixed load, and random write-intensive.
5. A method for dynamically adjusting the reserved space of a solid-state drive according to claim 4, characterized in that, The step of combining the load status with the health status to further adjust the OP space thresholds for sequential write-intensive, mixed load, and random write-intensive includes the following steps: S321. When the indicators of the health status, namely spare blocks, TBW consumption, and write amplification ratio, are within the preset normal range, there is no need to adjust; when the indicators of the health status exceed the preset normal range, the calculation formula for further adjusting the OP space thresholds for sequential write-intensive, mixed load, and random write-intensive by combining the load status with the health status is: ; wherein, is the adjusted reserved space threshold, are respectively the spare block decline percentage, the TBW growth percentage, and the write amplification growth value, are respectively the weights of the spare block decline percentage, the TBW growth percentage, and the write amplification growth value. When the load type is sequential write-intensive, the values are 30%, 40%, 30%. When the load type is mixed load, the values are 35%, 30%, 35%. When the load type is random write-intensive, the values are 40%, 30%, 30%. is the total weight, is the load sensitivity coefficient. When the load type is sequential write-intensive, the value is 1.
0. When the load type is mixed load, the value is 1.
1. When the load type is random write-intensive, the value is 1.
2.
6. The method for dynamically adjusting the reserved space of a solid-state drive according to claim 1, wherein The step of dynamically adjusting the OP space according to the current load type and the set OP space threshold includes the following steps: S41. Use the system monitoring tool to determine the current load type; S42. Input the final OP space threshold into the storage management interface, enabling the system to automatically reallocate space, and control the upper limit of the OP space threshold for sequential write-intensive to 25%, for mixed load to 30%, and for random write-intensive to 35%.
7. A method for dynamically adjusting the reserved space of a solid state drive according to claim 1, characterized in that, After the single operation is completed, the load trend is calculated using the sliding window algorithm, and the recovery method of the original OP is obtained according to the load trend, including the following steps: S51. Obtain the load data for the past 7 days, including the average daily write volume and the peak IOPS, and calculate the load trend using the sliding window algorithm. If the recent load continues to decline, quickly reduce the OP space; if the load is stable, slowly reduce the OP space; if the load fluctuates frequently, maintain the current OP threshold.
8. A method for dynamically adjusting the reserved space of a solid state drive according to claim 7, characterized in that, The step of obtaining the load data for the past 7 days, including the average daily write volume and the peak IOPS, and calculating the load trend using the sliding window algorithm. If the recent load continues to decline, quickly reduce the OP space; if the load is stable, slowly reduce the OP space; if the load fluctuates frequently, maintain the current OP threshold includes the following steps: S511. The window is fixed at 7 days and slides and updates day by day. Calculate the moving average of the average daily write volume within the window and the standard deviation of the peak IOPS within the window, and use the standard deviation of the peak IOPS within the window as the IOPS volatility. If the moving average of the write volume within the window drops by more than 15% for 3 consecutive days and the peak IOPS volatility is within 10%, it is determined that the recent load is continuously declining, and the OP space is quickly reduced, with each reduction of 3% - 5% and a single interval of 2 hours; if the fluctuation value of the moving average of the average daily write volume is within 5% and the peak IOPS volatility is within 15%, it is determined that the recent load is stable, and the OP space is slowly reduced, with each reduction of 1% - 2% and a single interval of 1 - 2 days; if the moving average of the average daily write volume exceeds 10% or the peak IOPS volatility exceeds 20%, it is determined that the recent load fluctuates frequently, and the current OP threshold is maintained.
Citation Information
Patent Citations
Method and a device for dynamically adjusting reserved space of solid state disk
CN113311992A
Solid state disk reserved space setting method and device, electronic equipment and storage medium
CN115857832A
Reserved space adjusting method for NAND product
CN118092813A
Method for identifying cross-modal features from spatially resolved datasets
CN118176527A
Hyperspectral image classification method based on cross-layer feature fusion
CN118537592A