A solid state storage device reliability closed loop evaluation method
By combining static and dynamic performance characteristics to calculate a unified health index and dynamically adjusting the load test level, the problem of the disconnect between the test sequence and health status of solid-state storage devices is solved. This achieves unified health data processing and lifespan estimation for NVMe and SATA interfaces, improving test efficiency and accuracy.
Patent Information
- Application Number
- CN202611288145.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-24
- Publication Date
- 2026-11-20
AI Technical Summary
In existing technologies, the test sequences of solid-state storage devices are disconnected from their actual health status. Fixed parameters cannot be adjusted according to the wear of individual disks, which leads to new disks being prone to overwriting and over-wiping, high-wear disks being prone to being missed. Health indicators are disconnected from performance indicators under load, resulting in a high false positive rate. There is a lack of quantifiable lifespan range estimation, cross-interface indicators are not consistent, open-loop testing is inefficient, and it is difficult to optimize test time.
A combined evaluation method of static and dynamic performance characteristics is adopted. By reading the wear ratio, the ratio of available spare blocks to rated spare blocks, the cumulative count of uncorrectable media errors and critical alarm flags, and combining IOPS retention rate and latency retention rate, a unified health index is calculated, the load test level is dynamically adjusted, and a unified semantic mapping and orchestration of health data is achieved between NVMe and SATA interfaces.
It realizes closed-loop reliability testing of solid-state storage devices, avoids excessive erasure or missed detection, reduces false positive rate, unifies health data processing of NVMe and SATA, provides quantifiable lifespan range estimation, and improves testing efficiency and accuracy.
Smart Images

Figure CN123142684A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer storage device testing technology, and more specifically to a closed-loop evaluation method for the reliability of solid-state storage devices. Background Technology
[0002] Currently, the industry commonly uses a combination of "fixed parameter load testing + static health threshold alarms": • Load testing: Use FIO to apply random / sequential write load with fixed queue depth, fixed block size, and fixed TRIM ratio to the entire disk or a portion of the LBA range. All disks under test use the same set of script parameters. • Health monitoring: Read SMART / NVMe fields via NVMe smart-log or smartctl and compare them with fixed thresholds. If the threshold is exceeded, an alarm will be triggered or the device will be deemed unqualified. • Evaluation conclusion: Only outputs "pass / fail", without combining IOPS and tail latency degradation rate during the load process to give a grade conclusion, and rarely gives an estimate of the remaining lifetime range; • Interface processing: NVMe and SATA require separate test scripts and judgment scripts, resulting in high maintenance costs for mixed testing.
[0003] Existing technological shortcomings: (1) The test sequence is out of sync with the actual health status, the fixed parameters cannot be adjusted according to the wear of a single disk, new disks are prone to overwriting and over-erasing, and disks with high wear are prone to being missed. (2) Health indicators and performance indicators under load are judged separately, and only static thresholds are used, resulting in a high misjudgment rate; (3) The lack of quantifiable lifetime range estimates and the output of only binary conclusions are not conducive to grading and rework decisions; (4) Inconsistent cross-interface metrics make it difficult to orchestrate NVMe and SATA in the same process; (5) Open-loop testing is inefficient, lacks a dynamic early termination mechanism, and is difficult to optimize test time. Summary of the Invention
[0004] To address the shortcomings of existing technologies, this invention provides a closed-loop reliability evaluation method for solid-state storage devices, enabling reliability testing that adaptively adjusts to the real-time health status and degradation trend of solid-state storage devices, thus avoiding excessive write / erase or missed detections.
[0005] This invention provides a closed-loop reliability evaluation method for solid-state storage devices, comprising: S1. Read the static performance characteristics of the solid-state storage device, including wear ratio, percentage of available spare blocks to rated spare blocks, cumulative count of uncorrectable media errors, and critical alarm flags; S2. Perform baseline screening, read dynamic performance characteristics, and calculate the unified health index under the initial conditions by combining them with static performance characteristics; dynamic performance characteristics include IOPS retention rate and latency retention rate for the current test round; S3. Determine the load test level based on the unified health index; S4. Perform the load test corresponding to the load test level and update the unified health index; S5. When the unified health index is greater than the health threshold, or when both the performance degradation rate and the health degradation rate are greater than the corresponding degradation threshold, the termination condition is met, and step S6 is executed; otherwise, the unified health index is recalculated and the process returns to step S3. S6. Output degradation level and lifespan range.
[0006] Optionally, the static performance characteristics include wear normalization sub-characteristics, spare block normalization sub-characteristics, media error normalization sub-characteristics, and critical alarm normalization sub-characteristics, specifically: Wear normalized sub-characteristics PU% represents the percentage of wear. spare block normalizer features SP% represents the percentage of available spare blocks relative to the rated spare blocks; PU and SP values range from 1 to 100. Medium error normalization sub-characteristics , ME is the media error attenuation coefficient, and ME is the cumulative count of uncorrectable media errors. Critical alarm normalization features CW is the critical alarm flag. CW=0 indicates no alarm, and CW=1 indicates that a critical alarm exists.
[0007] Optionally, dynamic performance characteristics include IOPS retention and latency retention for test round t, specifically: IOPS retention rate in test round t , This indicates the degree to which throughput has been maintained relative to the baseline in test round t. This represents the IOPS measured in the current round t. This represents the initial IOPS measured during baseline screening; Delay retention rate in test round t , This indicates the p99 tail delay measured during baseline screening. This represents the p99 tail delay measured in test round t.
[0008] Optionally, the unified health index is obtained by weighted summation of static and dynamic performance characteristics.
[0009] Optionally, the unified health index is as follows: , Dynamic performance characteristics of test round t , For weights.
[0010] Optionally, the load test levels include T1 to T4 with gradually increasing intensity, specifically: T1. Lightweight TRIM probe, including: queue depth QD=A, duration B, TRIM=γ1; T2. Stepped programmable erase / write, including: The first sub-phase includes: queue depth QD=2A, duration of 2B / 3, TRIM=γ2; The second sub-phase includes: queue depth QD=2A, duration B, TRIM=γ3; T3. Deeper erasure + high-ratio TRIM, including: queue depth QD=4A, duration of 10B / 3, TRIM=γ4; T4. Extreme endurance probe, including: queue depth QD=4A, duration of 5B, TRIM=γ5; γ2=0, and γ1, γ3, γ4, and γ5 gradually increase.
[0011] Optionally, the performance degradation rate at test round t is: ; The health degradation rate at test round t is: , These are the unified health indices at time t-1 and time t, respectively. The higher the value, the faster the health condition deteriorates.
[0012] Optionally, the degradation levels, from best to worst, include acceptable, observable, functional degradation, and failure, with the following criteria: satisfy If CW > 0 or SP < 10%, the degradation level is directly determined as failure; otherwise, according to... The performance degradation rate corresponding to the specified range determines the non-failure level, including: satisfy At that time, if If the degradation level is determined to be functional degradation, then... The degradation level is determined to be "observation". satisfy At that time, if If the degradation level is deemed acceptable, The degradation level is determined by observation. The degradation level is determined to be functional degradation; , These represent the Unified Health Index and the rate of health deterioration when the termination condition is met, respectively. All of these are pre-defined thresholds.
[0013] Optionally, lifespan range The methods for determining this include: Determine relative to remaining lifespan ratio ;in, Write the corresponding wear increment in units. / The PU indicates the start / end of the test. This represents the cumulative amount of data written for the current round of evaluations. To extrapolate the safety factor for wear, The rated total number of bytes to write to the disk under test; To prevent extremely small positive numbers with a denominator of zero; Expand the lifespan range based on the remaining lifespan percentage; , When the degradation level is determined to be functional degradation or failure, the test will be terminated early and forced to proceed. .
[0014] Optionally, S5 also includes: upon meeting the mandatory termination conditions, forcibly terminating the process and initiating a manual review; the mandatory termination conditions include at least one of the following: The current load test level is T4; The ratio of the cumulative write volume in the current evaluation round to the rated total write bytes of the tested disk is greater than the corresponding threshold.
[0015] By adopting the above technical solution, this application has the following beneficial effects: This invention combines static and dynamic performance characteristics to evaluate the reliability of solid-state storage devices, reducing misjudgments based on a single indicator; at the same time, the dynamic performance characteristics are adaptively adjusted according to the real-time health status and degradation trend of the device under test, avoiding excessive erasure or missed detection. This invention achieves unified semantic mapping and a single orchestration / judgment process for NVMe and SATA health data, enabling unified orchestration of NVMe and SATA in the same process, unifying cross-interface indicators, and reducing mixed testing and maintenance costs. This invention can estimate the lifespan range, which is beneficial for the classification and overhaul decision-making of the tested equipment. Attached Figure Description
[0016] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the accompanying drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn to scale.
[0017] Figure 1 A flowchart of a closed-loop reliability evaluation method for solid-state storage devices provided by an embodiment of the present invention is shown; Figure 2 A flowchart illustrating the calculation process of the unified health index provided in an embodiment of the present invention is shown. Figure 3 A schematic diagram of the evaluation system provided in an embodiment of the present invention is shown. Detailed Implementation
[0018] The embodiments of the technical solution of the present invention will now be described in detail with reference to the accompanying drawings. These embodiments are only used to more clearly illustrate the technical solution of the present invention and are therefore merely examples, and should not be construed as limiting the scope of protection of the present invention.
[0019] It should be noted that, unless otherwise stated, the technical or scientific terms used in this application should have the ordinary meaning as understood by one of ordinary skill in the art to which this invention pertains.
[0020] In one embodiment, such as Figure 1 As shown, a closed-loop evaluation method for the reliability of solid-state storage devices is provided, including: S1. Read the static performance characteristics of the solid-state storage device, including wear percentage PU, available spare blocks as a percentage of rated spare blocks SP, uncorrectable media error cumulative count ME, and critical alarm flag CW; Optionally, the static performance characteristics include wear normalization sub-characteristics, spare block normalization sub-characteristics, media error normalization sub-characteristics, and critical alarm normalization sub-characteristics, specifically: Wear normalized sub-characteristics PU% represents the percentage of wear. spare block normalizer features SP% represents the percentage of available spare blocks relative to the rated spare blocks; PU and SP values range from 1 to 100. Medium error normalization sub-characteristics , This is the media error attenuation coefficient; Critical alarm normalization features CW=0 indicates no alarms, and CW=1 indicates that there are critical alarms.
[0021] S2. Perform baseline screening, read dynamic performance characteristics, and calculate the unified health index H under the initial conditions by combining them with static performance characteristics; dynamic performance characteristics include IOPS retention rate and latency retention rate for the current test round.
[0022] S1 obtains the static performance characteristics before baseline screening. In this step, after performing baseline screening, the unified health index H for the first round is obtained, at which point the static performance characteristic P=1.0. In subsequent test rounds, after performing the tests corresponding to the load test level, P is updated and H is obtained again.
[0023] It is important to understand that baseline screening is a step in establishing performance baselines, not a step in collecting the uniform health index H.
[0024] The dynamic performance characteristics include IOPS retention rate and latency retention rate, specifically: IOPS retention rate in test round t , This indicates the degree to which throughput has been maintained relative to the baseline in test round t. This represents the IOPS measured in the current round t. This represents the initial IOPS measured during baseline screening; Delay retention rate in test round t , This indicates the p99 tail delay measured during baseline screening. This represents the p99 tail delay measured in test round t.
[0025] The dynamic performance characteristics at test round t Weight .
[0026] like Figure 2 As shown, the unified health index is obtained by weighted summation of static and dynamic performance characteristics; in one optional implementation, specifically: , It is the total weight of the five dimensions: "wear, spare blocks, errors, alarms, and load performance"; and First, it is merged into a dynamic performance sub-feature P, and then weighted together with the static performance sub-feature to obtain H; thus, it is easier to distinguish between the two types of information sources, namely SMART static health and load dynamic performance, and it is easier to perform closed-loop calculation with P=1.0 in the first round and P updated in subsequent rounds.
[0027] S3. Determine the load test level based on the unified health index H.
[0028] Optionally, the load test levels include T1 to T4 with gradually increasing intensity, specifically: T1. Lightweight TRIM probe, including: randwrite 4K, queue depth QD=A, duration B, TRIM=γ1; T2. Stepped programmable erase / write, including: The first sub-phase includes: randwrite 4K, queue depth QD=2A, duration 2B / 3, TRIM=γ2; The second sub-phase includes: randwrite 4K, queue depth QD=2A, duration B, TRIM=γ3; T3. Deeper erase and write + high-ratio TRIM, including: randwrite 4K, queue depth QD=4A, duration is 10B / 3, TRIM=γ4; T4. Extreme endurance probe, including: queue depth QD=4A, duration of 5B, TRIM=γ5; γ2=0, and γ1, γ3, γ4, and γ5 gradually increase.
[0029] Preferably, A=16, B=180 seconds, γ1=10%, γ3=25%, γ4=40%, and γ5=60%.
[0030] Load testing also includes baseline screening performed by S2, including: T0. Baseline screening, including: rand_write 4K, QD=2A, 2B / 3, TRIM=γ2.
[0031] S4. Execute the load test corresponding to the load test level and update the unified health index H.
[0032] S5. When the unified health index is greater than the health threshold, or when both the performance degradation rate and the health degradation rate are greater than the corresponding degradation threshold, the termination condition is met, and step S6 is executed; otherwise, the unified health index is recalculated and the process returns to step S3.
[0033] For testing new drives, a high Unified Health Index (UQI) indicates good health, reaching the health threshold. If the UQI remains high after executing T1, the storage device being tested is deemed to be problem-free, the test ends, and S6 is executed. Further verification shows that the average test duration for new drives has been reduced from a fixed process of ≥300 seconds to ≤180 seconds, a reduction of approximately 40% to 60%, thus avoiding excessive write / erase operations.
[0034] When both the performance degradation rate and the health degradation rate are greater than the corresponding degradation threshold, both indicators show a high level of degradation. At this point, the process can be terminated directly, and S6 can be executed.
[0035] In one embodiment, the performance degradation rate at time t is: ; The health degradation rate at time t is: , These are the unified health indices at time t-1 and time t, respectively.
[0036] For the first round of testing It does not exist. Set to 0, or not participate in the accelerated degradation judgment, that is, the judgment of whether the performance degradation rate and health degradation rate are greater than the corresponding threshold.
[0037] S6. Output degradation level and lifespan range.
[0038] Optionally, the degradation levels, from best to worst, include acceptable, observable, functional degradation, and failure, with the following criteria: satisfy If CW > 0 or SP < 10%, the degradation level is directly determined as failure; otherwise, according to... The performance degradation rate corresponding to the specified range determines the non-failure level, including: satisfy At that time, if If the degradation level is determined to be functional degradation, then... The degradation level is determined to be "observation". satisfy At that time, if If the degradation level is deemed acceptable, The degradation level is determined by observation. The degradation level is determined to be functional degradation; , These represent the Unified Health Index and the rate of health deterioration when the termination condition is met, respectively. All of these are pre-defined thresholds.
[0039] In one possible implementation, =0.85, =0.65, =0.45, =0.15, =0.05.
[0040] Static health and performance under load together constitute a unified health index H, and is based on... , By driving the closed-loop termination / deepening, dynamic load testing is achieved, which updates in real time with the test performance.
[0041] Optionally, lifespan range The methods for determining this include: P1. Determine the relative to Remaining lifespan percentage: ; in, Write the corresponding wear increment in units. , PU indicates the start and end of the test. This represents the cumulative amount of data written for the current round of evaluations. To extrapolate the safety factor for wear, The preferred value is 1.2; The rated total number of bytes to write to the disk under test; To prevent extremely small positive numbers with a denominator of zero, the numerator is the remaining wear space, and the denominator is the remaining writable capacity extrapolated according to the observation rate.
[0042] P2. Expand the remaining lifespan percentage into a lifespan range: , ; Specifically, when the degradation level is determined to be functional degradation or failure, the test will be terminated early and forced to proceed. The expansion coefficient satisfies .
[0043] In one feasible implementation, the expansion coefficient =1.5, =0.8.
[0044] In one embodiment, S5 further includes: forcibly terminating and entering the manual review process when the forced termination condition is met; the forced termination condition includes at least one of the following: The current load test level is T4, which is the highest level test. Therefore, it will be forcibly terminated and S6 will be executed. Cumulative write volume of evaluations in the current round Compared with the rated total number of bytes written to the disk under test The ratio is greater than the corresponding threshold. .
[0045] The allowable write volume for a single evaluation accounts for The upper limit of the ratio (used to limit the additional consumption of disk life by testing), preferably =0.01 (i.e., cumulative write volume) Not exceeding the rated (1%), which can be adjusted according to enterprise / consumer / industrial strategies.
[0046] By setting different termination conditions, such as a unified health index greater than the health threshold, or both the performance degradation rate and the health degradation rate greater than the corresponding degradation threshold, or the forced termination condition being met, the production line testing cycle time is increased, testing time can be optimized, and testing efficiency can be improved.
[0047] The method provided in this embodiment will be described below based on a specific scenario.
[0048] Scenario 1, Quick Screening of New Properties: NVMe SSD, PU=0, H=0.95 → Load test level: T1. Lightweight TRIM probe → Degradation level: G0 qualified, lifespan range [85%, 100%].
[0049] Scenario 2, moderately worn disk: SATA SSD, H=0.72 → Load test level: T2. Stepped programmable erase and write → Degradation level: G1 observation, lifespan range [35%, 55%].
[0050] Scenario 3, Accelerating disk degradation: NVMe SSD, H=0.48 → Load test level: T3. Deep erase / write + high ratio TRIM → Termination conditions met, terminated early → Degradation level: G2 functional degradation, prohibited from use.
[0051] Scenario 4, Batch Mixed Testing Deployment: An Ubuntu 22.04 industrial PC, parallel scheduling of multiple NVMe+SATA disks, generating HTML / JSON reports.
[0052] Minimum operating environment: x86 / ARM architecture, Linux kernel 4.0+, nvme-cli ≥ 1.12, smartctl ≥ 7.0, FIO ≥ 3.20; supports single-disk / multi-disk parallel operation, with independent scheduling for disk isolation.
[0053] Evaluate the system architecture diagram, such as Figure 3 As shown.
[0054] (1) The program runs on the above-mentioned industrial control computer and interacts with the tested SSD and OS block layer through the standard CLI; (2) Before running, configure the list of disks under test, TBW_rated, and policy library; running process: collect health → S0 → calculate H → orchestrate and distribute FIO → poll performance and health → close loop judgment → write to library and generate report.
[0055] The above embodiments are only used to provide a detailed description of the technical solutions of this application. However, the descriptions of the above embodiments are only for the purpose of helping to understand the methods of the embodiments of the present invention and should not be construed as limiting the embodiments of the present invention. Any variations or substitutions that can be easily conceived by those skilled in the art should be covered within the protection scope of the embodiments of the present invention.
Claims
1. A closed-loop evaluation method for the reliability of solid-state storage devices, characterized in that, include: S1. Read the static performance characteristics of the solid-state storage device, including wear ratio, percentage of available spare blocks to rated spare blocks, cumulative count of uncorrectable media errors, and critical alarm flags; S2. Perform baseline screening, read dynamic performance characteristics, and calculate the unified health index under the initial conditions by combining them with static performance characteristics; dynamic performance characteristics include IOPS retention rate and latency retention rate for the current test round; S3. Determine the load test level based on the unified health index; S4. Perform the load test corresponding to the load test level and update the unified health index; S5. When the unified health index is greater than the health threshold, or when both the performance degradation rate and the health degradation rate are greater than the corresponding degradation threshold, the termination condition is met, and step S6 is executed; otherwise, the unified health index is recalculated and the process returns to step S3. S6. Output degradation level and lifespan range.
2. The method according to claim 1, characterized in that, Static performance characteristics include wear normalization sub-characteristics, spare block normalization sub-characteristics, media error normalization sub-characteristics, and critical alarm normalization sub-characteristics, specifically: Wear normalized sub-characteristics PU% represents the percentage of wear. spare block normalizer features SP% represents the percentage of available spare blocks relative to the rated spare blocks; PU and SP values range from 1 to 100. Medium error normalization sub-characteristics , ME is the media error attenuation coefficient, and ME is the cumulative count of uncorrectable media errors. Critical alarm normalization characteristics CW is the critical alarm flag. CW=0 indicates no alarm, and CW=1 indicates that a critical alarm exists.
3. The method according to claim 2, characterized in that, Dynamic performance characteristics include IOPS retention and latency retention, specifically: IOPS retention rate at test round t , This indicates the degree to which throughput has been maintained relative to the baseline in test round t. This represents the IOPS measured in the current round t. This represents the initial IOPS measured during baseline screening; Delay retention rate at test round t , This indicates the p99 tail delay measured during baseline screening. This represents the p99 tail delay measured in test round t.
4. The method according to claim 3, characterized in that, The Unified Health Index is obtained by weighted summation of static performance characteristics and dynamic performance sub-characteristics.
5. The method according to claim 4, characterized in that, The Unified Health Index is as follows: , Dynamic performance characteristics of test round t , For weights.
6. The method according to claim 1, characterized in that, The load testing levels include T1 to T4, with gradually increasing intensity, as follows: T1. Lightweight TRIM probe, including: queue depth QD=A, duration B, TRIM=γ1; T2. Stepped programmable erase / write, including: The first sub-phase includes: queue depth QD=2A, duration of 2B / 3, TRIM=γ2; The second sub-phase includes: queue depth QD=2A, duration B, TRIM=γ3; T3. Deeper erasure + high-ratio TRIM, including: queue depth QD=4A, duration of 10B / 3, TRIM=γ4; T4. Extreme endurance probe, including: queue depth QD=4A, duration of 5B, TRIM=γ5; γ2=0, and γ1, γ3, γ4, and γ5 gradually increase.
7. The method according to claim 2, characterized in that, The performance degradation rate at test round t is: ; The health degradation rate at test round t is: , These are the unified health indices at time t-1 and time t, respectively.
8. The method according to claim 4, characterized in that, The degradation levels, from best to worst, include acceptable, observable, functional degradation, and failure, with the following criteria for judgment: satisfy If CW > 0 or SP < 10%, the degradation level is directly determined as failure; otherwise, according to... The performance degradation rate corresponding to the specified range determines the non-failure level, including: satisfy At that time, if If the degradation level is determined to be functional degradation, then... The degradation level is determined to be "observation". satisfy At that time, if If the degradation level is deemed acceptable, The degradation level is determined by observation. The degradation level is determined to be functional degradation; , These represent the Unified Health Index and the rate of health deterioration when the termination condition is met, respectively. All of these are pre-defined thresholds.
9. The method according to claim 1, characterized in that, Lifespan range The methods for determining this include: Determine relative to Remaining lifespan ratio ;in, Write the corresponding wear increment in units. / To test the PU at the start / end, This represents the cumulative amount of data written for the current round of evaluations. For the wear extrapolation safety factor, The rated total number of bytes to write to the disk under test; To prevent extremely small positive numbers with a denominator of zero; Expand the lifespan range based on the remaining lifespan percentage; , When the degradation level is determined to be functional degradation or failure, the test will be terminated early and forced to proceed. .
10. The method according to claim 1, characterized in that, S5 also includes: upon meeting the mandatory termination conditions, forcibly terminating the process and initiating a manual review process; the mandatory termination conditions must include at least one of the following: The current load test level is T4; The ratio of the cumulative write volume in the current evaluation round to the rated total write bytes of the tested disk is greater than the corresponding threshold.
