A real-time performance detection method and system for solid state hard disk

By identifying free sectors on the solid-state drive and implanting mark blocks, the normal working state of the hard disk is simulated, which solves the problem that traditional detection methods are difficult to reflect hard disk performance in real time, and accurately detecting and evaluating the solid-state drive.

CN119149321BActive Publication Date: 2025-02-07SHENZHEN WEIKEWEIYE ELECTRONIC TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411639390.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-18
Publication Date
2025-02-07
Estimated Expiration
2044-11-18

AI Technical Summary

Technical Problem

Traditional solid-state drive performance detection methods are difficult to reflect the dynamic performance characteristics of hard disks in real time in real time, resulting in inaccurate performance detection and inability to be carried out in time.

Method used

By identifying the free sectors of the solid-state hard disk, the normal operation and implantation process of mark blocks is carried out, the normal working state of the hard disk is simulated, sequential data access requests and hard disk head search tracking analysis, and the theoretical access speed and access delay of mark blocks are calculated. , generate real-time performance evaluation results.

Benefits of technology

Real-time performance detection of solid-state drives is realized, accurate performance evaluation results are provided, and can promptly reflect the performance changes of hard disks under complex workloads, help diagnose performance bottlenecks and provide optimization strategies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119149321B_ABST
    Figure CN119149321B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of solid-state hard disk performance monitoring, and in particular to a real-time performance detection method and system for solid-state hard disks. The method comprises the following steps: performing free sector identification on a solid-state hard disk, and performing normalized operation implantation processing of a marker block to obtain a plurality of normalized operation implanted marker blocks; performing sequential data access requests on a plurality of normalized operation implanted marker blocks, and performing hard disk head seek tracking analysis to construct a global seek tracking trajectory; performing marker block theoretical access speed calculation on the global seek tracking trajectory, and performing access delay calculation to obtain hard disk normalized access delay data; performing progressive implantation analysis of a check block on a solid-state hard disk, and performing hard disk load evolution to generate hard disk load data for each scheme. The present invention realizes accurate and real-time solid-state hard disk performance detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of solid state hard disk performance monitoring, and in particular to a real-time performance detection method and system for a solid state hard disk. Background Art

[0002] As computer system performance continues to improve, solid-state drives, as high-performance storage devices, are being widely used in industrial automation, edge computing and other fields. These application scenarios usually require storage devices to have reliable and efficient real-time performance guarantees. However, due to the microscopic physical properties of the solid-state drive itself, its performance may degrade to varying degrees under long-term high-intensity workloads, such as reduced read and write speeds and increased access delays. These performance changes will directly affect the stable operation of the upper-layer application system, bringing many challenges to users and equipment operation and maintenance.

[0003] Traditional SSD performance testing methods usually rely on static benchmark tests or manual observations, which are difficult to reflect the dynamic performance characteristics of the hard disk in real time under actual working conditions. This method not only fails to reflect the real-time performance of the solid state drive in a timely manner, but also the performance results obtained are inaccurate. Therefore, there is an urgent need for an intelligent real-time performance testing method for solid state drives that can provide in-depth insights into the real-time performance of the hard disk under complex workloads and provide reliable performance guarantees for key application systems. Summary of the invention

[0004] In order to solve the above technical problems, the present invention proposes a real-time performance detection method and system for a solid state drive to solve at least one of the above technical problems.

[0005] To achieve the above object, the present invention provides a real-time performance detection method for a solid state drive, comprising the following steps:

[0006] Step S1: Identify the free sectors of the solid state drive and perform normal operation implantation processing of the marker blocks to obtain a plurality of normal operation implantation marker blocks;

[0007] Step S2: performing sequential data access requests for multiple normalized operation implantation mark blocks, and performing hard disk head seek tracking analysis to construct a global seek tracking trajectory;

[0008] Step S3: Calculate the theoretical access speed of the marker block for the global seek tracking trajectory, and calculate the access delay, so as to obtain the normalized access delay data of the hard disk;

[0009] Step S4: performing progressive analysis of the check blocks implanted on the solid state drive and performing hard disk load evolution, thereby generating hard disk load data for each solution;

[0010] Step S5: identifying a sudden change in load trend for the hard disk load data of each solution, and calculating the maximum operating load, thereby obtaining the real-time maximum operating load data of the solid state hard disk;

[0011] Step S6: Perform a comprehensive performance evaluation on the hard disk normalized access delay data and the solid state hard disk real-time maximum operating load data to generate a real-time performance evaluation result of the solid state hard disk.

[0012] The present invention avoids interfering with the data blocks in use by identifying the free sectors on the hard disk, ensures that the detection process will not affect normal business, implants marker blocks on the free sectors and performs normal operation, simulates the normal working state of the hard disk, and provides reliable benchmark data for subsequent performance analysis. Sequential access to the marker blocks maximizes the use of the parallel read and write capabilities of the hard disk, thereby more accurately reflecting the actual performance of the hard disk. By analyzing the head seek trajectory, the working mechanism of the hard disk is deeply understood, providing an important basis for the diagnosis of performance bottlenecks, calculating the theoretical access speed of the marker blocks, and obtaining the performance indicators of the hard disk in the best working state. At the same time, the actual access delay is calculated to reflect the performance of the hard disk under actual load, providing a comprehensive analysis for performance analysis. With the support of surface data, the working status of the hard disk under different load intensities is simulated by progressively implanting check blocks, providing basic data for subsequent load analysis, and performing evolutionary analysis on the hard disk load, which more comprehensively reflects the performance changes of the hard disk under complex working conditions, identifies the mutation points of load reduction, accurately locates the performance limit of the hard disk, provides a basis for reasonable configuration of hard disk capacity, calculates the maximum operating load of the hard disk, and provides an important reference for the selection of hard disks for business systems. The two key indicators of the normalized access delay and the maximum operating load of the hard disk are comprehensively analyzed to fully reflect the real-time performance of the hard disk. This performance evaluation method based on multi-dimensional data can more accurately diagnose the performance bottleneck of the hard disk and provide a basis for the formulation of optimization strategies.

[0013] Preferably, step S1 comprises the following steps:

[0014] Step S11: performing logic block scanning processing on the solid state drive to identify the logic block data of the solid state drive;

[0015] Step S12: Identify the free sectors of the solid state hard disk logic block data and extract the free sectors of the solid state hard disk;

[0016] Step S13: Calculating the utilization rate of each free sector of the solid state drive to obtain the space utilization rate of each free sector;

[0017] Step S14: performing normal operation implantation processing of a mark block on the solid state drive based on the space utilization rate of each free sector to obtain a plurality of normal operation implantation mark blocks.

[0018] The present invention accurately identifies the logical block data stored in the solid-state hard disk through logical block scanning processing, helps the system understand the data structure stored in the hard disk, and thus provides an accurate data basis for subsequent data operations and analysis. By identifying and extracting free sectors of the solid-state hard disk logical block data, the system can effectively identify the unoccupied space in the hard disk, and optimize the storage space utilization rate of the hard disk, improve the storage efficiency of data, calculate the utilization rate of free sectors sector by sector, and the system knows the specific space utilization of each free sector, which is very important for understanding the utilization rate of the hard disk storage space, and provides important information for subsequent storage optimization. According to the space utilization rate of the free sectors, the solid-state hard disk is subjected to normalized operation implantation processing of the marking block, creating an experimental basis for subsequent hard disk delay monitoring calculation.

[0019] Preferably, the specific steps of step S14 are:

[0020] Performing sector space distribution analysis on the free sectors of the solid state drive to generate free sector space distribution data;

[0021] Perform sector distribution topology correlation analysis on the idle sector spatial distribution data to construct a sector idle distribution topology map;

[0022] The maximum check block implantation calculation is performed based on the space utilization rate of each free sector, thereby obtaining the maximum number of check blocks implanted in each free sector;

[0023] Performing check block distribution uniformity constraint analysis according to the maximum check block implantation number of each free sector, and extracting check block implantation uniformity constraint data;

[0024] Performing optimal implantation analysis on the idle sector distribution topology map according to the uniform implantation constraint data of the check block, thereby obtaining the optimal implantation quantity for each idle sector;

[0025] The solid state drive is randomly implanted with marker blocks according to the optimal implantation quantity of each free sector, and a plurality of normalized operation implantation marker blocks are obtained.

[0026] The present invention generates free sector space distribution data by analyzing the free sectors of the solid-state hard disk, and the system understands the distribution of the free space in the hard disk, which provides basic data for subsequent optimization. On the basis of the free sector space distribution data, the sector distribution topology association analysis is performed, and the sector free distribution topology map is constructed to help visualize the structure of the hard disk space, find the correlation between sectors, and provide a basis for subsequent implantation calculations. Based on the space utilization rate of the free sectors, the maximum number of check blocks implanted in each free sector is calculated, and the maximum number of check blocks that can be accommodated is determined to provide support for data verification and redundancy. According to the maximum number of check blocks implanted, the check block distribution uniformity constraint analysis is performed, and the check block implantation uniformity constraint data is extracted to ensure the uniform distribution of the check blocks on the hard disk, thereby improving the security and reliability of the data. Based on the check block implantation uniformity constraint data, the sector free distribution topology map is optimally implanted, and the optimal implantation number of each free sector is obtained, the distribution of the check blocks is optimized, and the data reading and writing efficiency and the stability of the hard disk are improved.

[0027] Preferably, step S2 specifically comprises the following steps:

[0028] Step S21: sequentially encode multiple normalized operation implantation marker blocks to obtain an implantation marker block encoding sequence;

[0029] Step S22: performing sequential data access requests based on the implanted marker block coding sequence, and recording access request data of each marker block;

[0030] Step S23: performing hard disk head seek tracking analysis on the access request data of each marked block to generate a head seek tracking trajectory of each marked block;

[0031] Step S24: Perform time-sequential connection processing on the head seek tracking trajectory of each marking block to construct a global seek tracking trajectory.

[0032] The present invention obtains an implanted marker block coding sequence by sequentially encoding multiple normally running implanted marker blocks. Such a coding sequence determines the arrangement order of the marker blocks, providing a basis for subsequent data access requests and performance analysis. Based on the implanted marker block coding sequence, sequential data access requests are made, and the access request data of each marker block is recorded to simulate the actual data access situation, providing accurate data support for subsequent performance analysis and optimization. The hard disk head seek tracking analysis is performed on the access request data of each marker block to generate a head seek tracking trajectory for each marker block. This analysis understands the movement of the head on the hard disk and provides important information for improving data reading speed and hard disk performance. The head seek tracking trajectory of each marker block is time-connected to construct a global seek tracking trajectory. This global seek tracking trajectory helps optimize the data reading path and improve the hard disk reading efficiency and performance stability.

[0033] Preferably, step S3 specifically comprises the following steps:

[0034] Step S31: calculating the intervals between adjacent marker blocks for multiple normalized operation implanted marker blocks, and extracting the interval distances between multiple marker blocks;

[0035] Step S32: extract the access request data of each marked block to extract the start and end timestamps;

[0036] Step S33: Calculating the theoretical access speed of the marker blocks for the intervals between the multiple marker blocks according to the start and end timestamps to generate the theoretical access speed of the marker blocks;

[0037] Step S34: Calculate the access delay of the global seek tracking trajectory based on the theoretical access speed of the marker block, so as to obtain the normalized access delay data of the hard disk.

[0038] The present invention calculates the intervals between adjacent marker blocks for multiple normally operated implanted marker blocks, extracts the interval distances between multiple marker blocks, understands the spatial distribution between marker blocks, provides basic data for subsequent access speed and delay calculations, extracts the start and end timestamps of the access request data of each marker block, and these timestamp records determine the access duration of the marker block, providing a time reference for subsequent speed and delay calculations, calculates the theoretical access speeds of multiple marker blocks according to the start and end timestamps of each marker block and the interval distance between the marker blocks, understands the access speed situation between the marker blocks, and provides a basis for subsequent delay calculations, and performs access delay calculations on the global seek tracking trajectory based on the theoretical access speed of the marker blocks to obtain normalized access delay data of the hard disk. This delay data helps evaluate the access performance of the hard disk, discovers and optimizes potential delay problems, and improves the real-time performance of the hard disk.

[0039] Preferably, the specific steps of step S34 are:

[0040] The access speed of the head seek tracking track of each marked block is calculated according to the start and end timestamps to obtain the access speed parameter of each marked block;

[0041] Based on the access speed parameter of each marker block, a theoretical deviation of the theoretical access speed of the marker block is identified, and the marker block with the access speed deviation is extracted;

[0042] Calculate access delay of the marked block with access speed deviation, so as to obtain access delay data of the marked block;

[0043] Performing access delay distribution analysis on the global seek tracking trajectory according to the marker block access delay data, thereby obtaining global trajectory delay distribution data;

[0044] The global trace delay distribution data is subjected to normalized delay average calculation to obtain the hard disk normalized access delay data.

[0045] The present invention calculates the access speed of the head seek tracking trajectory through the start and end timestamps of each marker block, obtains the access speed parameters of each marker block, understands the actual access speed of each marker block, identifies the deviation between the theoretical access speed and the actual access speed of the marker block based on the access speed parameters of each marker block, extracts the marker blocks with access speed deviation, finds the marker blocks with abnormal access speed or large deviation, prepares for subsequent delay analysis, calculates the access delay of the marker blocks with access speed deviation, and obtains the access delay data of the marker blocks. This step quantifies the impact of the access speed deviation on the access delay, further analyzes the performance of the hard disk, and performs access delay distribution analysis on the global seek tracking trajectory according to the marker block access delay data to obtain the global trajectory delay distribution data, understands the overall access delay situation and distribution characteristics, performs normalized delay average calculation on the global trajectory delay distribution data to obtain the normalized access delay data of the hard disk, and can provide the average value of the normalized access delay of the hard disk, providing an important indicator for evaluating the performance of the hard disk.

[0046] Preferably, the specific steps of step S4 are:

[0047] Step S41: performing a check block progressive implantation analysis according to the maximum check block implantation quantity of each free sector, thereby obtaining a check block quantity progressive implantation scheme;

[0048] Step S42: performing a progressive implantation simulation on the solid state drive based on the progressive implantation scheme of the number of check blocks, and obtaining real-time hard drive status data of each scheme;

[0049] Step S43: Calculate the overall throughput rate of the real-time hard disk status data of each solution to generate the real-time hard disk throughput rate of each solution;

[0050] Step S44: Perform hard disk load evolution according to the real-time hard disk throughput rate of each solution, thereby generating hard disk load data for each solution.

[0051] The present invention performs a progressive implantation analysis of the number of check blocks according to the maximum number of check blocks implanted in each free sector, obtains a progressive implantation scheme for the number of check blocks, and determines the optimal implantation scheme for the number of check blocks to improve the stability and performance of the hard disk. The present invention performs a progressive implantation simulation on the solid-state hard disk based on the progressive implantation scheme for the number of check blocks, obtains real-time hard disk status data of each scheme, evaluates the impact of different schemes on hard disk performance, provides experimental data for performance tuning, calculates the overall throughput rate of the real-time hard disk status data of each scheme, generates the real-time throughput rate of the hard disk of each scheme, understands the data reading and writing capabilities of the hard disk under different schemes, and provides a basis for selecting the best scheme. According to the real-time throughput rate of the hard disk of each scheme, the hard disk load evolution analysis is performed, the hard disk load data of each scheme is generated, the load condition of the hard disk is evaluated, and potential load bottlenecks and optimization spaces are discovered.

[0052] Preferably, the specific steps of step S5 are:

[0053] Step S51: performing a time series load change analysis on the hard disk load data of each solution to generate hard disk time series load change data;

[0054] Step S52: performing trend change fitting on the hard disk time-series load change data to construct a hard disk load trend curve;

[0055] Step S53: identifying a sudden drop in the hard disk load trend curve, and marking a node where the load trend drops suddenly;

[0056] Step S54: defining the node with a sudden drop in load trend as a hard disk performance bottleneck node;

[0057] Step S55: Calculate the maximum operating load of the hard disk performance bottleneck node, so as to obtain the real-time maximum operating load data of the solid state hard disk.

[0058] The present invention generates hard disk time-series load change data by performing time-series load change analysis on the hard disk load data of each scheme, understands the change pattern of the hard disk load over time, provides a data basis for subsequent trend analysis, performs trend change fitting on the hard disk time-series load change data, constructs a hard disk load trend curve, finds the overall change trend of the load, provides a basis for identifying performance bottlenecks, identifies trend drop mutations on the hard disk load trend curve, marks load trend drop mutation nodes, captures load drop mutation points, indicates the occurrence of performance bottlenecks, defines load trend drop mutation nodes as hard disk performance bottleneck nodes, clearly identifies the location of the performance bottleneck, provides direction for subsequent performance optimization, calculates the maximum operating load of the hard disk performance bottleneck node, obtains real-time maximum operating load data of the solid-state hard disk, determines the maximum load-bearing capacity of the hard disk under performance bottleneck conditions, and provides a reference for system performance planning and load management.

[0059] Preferably, the specific steps of step S6 are:

[0060] Step S61: performing parameter standardization processing on the hard disk normalized access delay data and the solid state hard disk real-time maximum operating load data, thereby obtaining standardized access delay data and standardized real-time maximum operating load data;

[0061] Step S62: performing a comprehensive performance evaluation on the standardized access delay data and the standardized real-time maximum operating load data to generate a real-time performance evaluation result of the solid state drive;

[0062] Step S63: Optimize the real-time performance of the solid-state drive based on the real-time performance evaluation result of the solid-state drive, and build a solid-state drive performance optimization strategy.

[0063] The present invention performs parameter standardization processing on normalized access delay data of hard disks and real-time maximum operating load data of solid-state hard disks to obtain standardized access delay data and standardized real-time maximum operating load data, unifies and standardizes different types of data to facilitate subsequent performance evaluation and comparison, performs comprehensive performance evaluation on the standardized access delay data and the standardized real-time maximum operating load data, and generates real-time performance evaluation results of solid-state hard disks, which can comprehensively consider data on both access delay and operating load, provide a comprehensive evaluation of hard disk performance, optimize the real-time performance of solid-state hard disks based on the real-time performance evaluation results of solid-state hard disks, build a solid-state hard disk performance optimization strategy, optimize hard disk performance in a targeted manner according to the evaluation results, and improve the overall performance and stability of the system.

[0064] In this specification, a real-time performance detection system of a solid state drive is provided, which is used to execute the real-time performance detection method of the solid state drive as described above, including:

[0065] The marker block implantation module is used to identify the free sectors of the solid state drive and perform normal operation implantation of the marker block to obtain multiple normal operation implantation marker blocks;

[0066] The global seek module is used to perform sequential data access requests for multiple normal operation implanted marker blocks, perform hard disk head seek tracking analysis, and construct a global seek tracking trajectory;

[0067] The access delay module is used to calculate the theoretical access speed of the marked block for the global seek tracking trajectory and to calculate the access delay, thereby obtaining the normalized access delay data of the hard disk;

[0068] The hard disk load evolution module is used to perform a progressive analysis of the check block implantation of the solid-state hard disk and perform hard disk load evolution, thereby generating hard disk load data for each solution;

[0069] The maximum operating load module is used to identify the sudden change in load trend of the hard disk load data of each solution and calculate the maximum operating load, so as to obtain the real-time maximum operating load data of the solid-state hard disk;

[0070] The real-time performance evaluation module is used to conduct a comprehensive performance evaluation on the normalized access delay data of the hard disk and the real-time maximum operating load data of the solid-state hard disk to generate a real-time performance evaluation result of the solid-state hard disk.

[0071] The present invention identifies free sectors of a solid-state hard disk and then performs normalized operation implantation processing of a marker block to obtain multiple normalized operation implanted marker blocks, optimizes data distribution of the hard disk, improves data reading and writing efficiency, performs sequential data access requests on multiple normalized operation implanted marker blocks, performs hard disk head seek tracking analysis, and constructs a global seek tracking trajectory, which can reduce seek time and improve data access speed. By performing marker block theoretical access speed calculation and access delay calculation on the global seek tracking trajectory, normalized access delay data of the hard disk is obtained, the read and write speed and performance status of the hard disk are evaluated, and a check block progressive implantation analysis is performed on the solid-state hard disk. , carry out hard disk load evolution, generate hard disk load data for each solution, understand the load situation of the hard disk during use, provide data support for performance evaluation, identify the sudden change of load trend decline of the hard disk load data of each solution, calculate the maximum operating load, obtain the real-time maximum operating load data of the solid-state hard disk, determine the maximum load capacity of the hard disk, provide performance reference, conduct comprehensive performance evaluation on the normalized access delay data of the hard disk and the real-time maximum operating load data of the solid-state hard disk, generate the real-time performance evaluation results of the solid-state hard disk, fully understand the performance of the hard disk, and be able to efficiently calculate the accurate hard disk performance, providing a basis for performance optimization. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] Figure 1 A schematic diagram of the steps of a real-time performance detection method for a solid state hard disk according to the present invention;

[0073] Figure 2 Detailed implementation flow chart of step S1;

[0074] Figure 3 Detailed implementation flow chart of step S2;

[0075] Figure 4 Detailed implementation flow chart of step S3. DETAILED DESCRIPTION

[0076] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0077] The present application example provides a real-time performance detection method and system for a solid-state hard disk. The execution subject of the real-time performance detection method and system for a solid-state hard disk includes but is not limited to: mechanical equipment, data processing platform, cloud server node, network upload device, etc. equipped with the system can be regarded as a general computing node of the present application, and the data processing platform includes but is not limited to: at least one of an audio and image management system, an information management system, and a cloud data management system.

[0078] See also Figures 1 to 4 The present invention provides a real-time performance detection method for a solid state hard disk, and the real-time performance detection method for a solid state hard disk comprises the following steps:

[0079] Step S1: Identify the free sectors of the solid state drive and perform normal operation implantation processing of the marker blocks to obtain a plurality of normal operation implantation marker blocks;

[0080] Step S2: performing sequential data access requests for multiple normalized operation implantation mark blocks, and performing hard disk head seek tracking analysis to construct a global seek tracking trajectory;

[0081] Step S3: Calculate the theoretical access speed of the marker block for the global seek tracking trajectory, and calculate the access delay, so as to obtain the normalized access delay data of the hard disk;

[0082] Step S4: performing progressive analysis of the check blocks implanted on the solid state drive and performing hard disk load evolution, thereby generating hard disk load data for each solution;

[0083] Step S5: identifying a sudden change in load trend for the hard disk load data of each solution, and calculating the maximum operating load, thereby obtaining the real-time maximum operating load data of the solid state hard disk;

[0084] Step S6: Perform a comprehensive performance evaluation on the hard disk normalized access delay data and the solid state hard disk real-time maximum operating load data to generate a real-time performance evaluation result of the solid state hard disk.

[0085] The present invention avoids interfering with the data blocks in use by identifying the free sectors on the hard disk, ensures that the detection process will not affect normal business, implants marker blocks on the free sectors and performs normal operation, simulates the normal working state of the hard disk, and provides reliable benchmark data for subsequent performance analysis. Sequential access to the marker blocks maximizes the use of the parallel read and write capabilities of the hard disk, thereby more accurately reflecting the actual performance of the hard disk. By analyzing the head seek trajectory, the working mechanism of the hard disk is deeply understood, providing an important basis for the diagnosis of performance bottlenecks, calculating the theoretical access speed of the marker blocks, and obtaining the performance indicators of the hard disk in the best working state. At the same time, the actual access delay is calculated to reflect the performance of the hard disk under actual load, providing a comprehensive analysis for performance analysis. With the support of surface data, the working status of the hard disk under different load intensities is simulated by progressively implanting check blocks, providing basic data for subsequent load analysis, and performing evolutionary analysis on the hard disk load, which more comprehensively reflects the performance changes of the hard disk under complex working conditions, identifies the mutation points of load reduction, accurately locates the performance limit of the hard disk, provides a basis for reasonable configuration of hard disk capacity, calculates the maximum operating load of the hard disk, and provides an important reference for the selection of hard disks for business systems. The two key indicators of the normalized access delay and the maximum operating load of the hard disk are comprehensively analyzed to fully reflect the real-time performance of the hard disk. This performance evaluation method based on multi-dimensional data can more accurately diagnose the performance bottleneck of the hard disk and provide a basis for the formulation of optimization strategies.

[0086] In the embodiment of the present invention, refer to Figure 1 , is a schematic flow chart of the steps of a real-time performance detection method for a solid-state hard disk of the present invention. In this example, the steps of the real-time performance detection method for a solid-state hard disk include:

[0087] Step S1: Identify the free sectors of the solid state drive and perform normal operation implantation processing of the marker blocks to obtain a plurality of normal operation implantation marker blocks;

[0088] In this embodiment, a hard disk monitoring tool (such as Smartmontools or CrystalDiskInfo) is used to obtain basic information of the solid-state hard disk, including capacity, used space, and free space, and to read the SMART (Self-Monitoring, Analysis, and Reporting Technology) data of the solid-state hard disk to understand the health status and performance indicators and ensure that the hard disk is operating normally. By reading the logical partition information of the solid-state hard disk, it is identified which sectors are free. The metadata of the file system is usually used to identify unallocated sectors. A dedicated tool (such as the dd command or hdparm) is used to scan the hard disk, obtain the status of each sector and mark it as free or used, ensuring that normal read and write operations are not affected during the entire scanning process. The size and number of the mark blocks are determined. The mark block is a logical unit for recording and managing free sectors, and usually includes multiple free sectors. According to the identified free sectors, the free sectors are marked as free or used. Free sectors are grouped and formed into marker blocks. Every 512-byte free sector is aggregated into a 1MB marker block. An appropriate algorithm (such as a uniform distribution algorithm) is selected to normalize the generated marker blocks to ensure that the free sectors in each marker block are evenly distributed to avoid uneven performance. The processed marker block information is written back to the non-volatile storage area of ​​the SSD. A dedicated file system marking mechanism is used to ensure that the marker block is recognized in the management of the SSD. By reading the marker block information, it is ensured that the marker block has been successfully written and read normally, and its integrity and validity are verified. After the marker block is implanted, the performance of the SSD is monitored, including read speed, write speed, and latency, to ensure that the normalization process has no negative impact on performance. The key data and results of the entire process are recorded for subsequent analysis and optimization, and data support is provided for subsequent steps.

[0089] Step S2: performing sequential data access requests for multiple normalized operation implantation mark blocks, and performing hard disk head seek tracking analysis to construct a global seek tracking trajectory;

[0090] In this embodiment, several blocks are selected from multiple normal operation implanted mark blocks for sequential data access. The size of the block, the distribution of free sectors and their impact on performance need to be considered during the selection. Scripts or test tools (such as fio or ioping) are used to generate sequential access requests for the selected mark blocks. These requests should include read and write operations to simulate actual usage scenarios. Request scheduling strategies are designed according to access patterns to ensure that requests are sent in a sequential manner to reduce seek time. For example, access requests are initiated in the logical order of blocks. When initiating requests, the start time and end time of each request are recorded to calculate seek time. System calls (such as clock_get me) to accurately measure time, obtain the current position of the head by reading the state of the SSD controller, and record the head movement of each access request. This usually needs to be done through a low-level API or hardware interface. The head position and corresponding timestamp of each access request are recorded to form a data set of seek trajectory. All recorded seek data are integrated together and sorted by timestamp to form a complete seek tracking trajectory. The head movement pattern is subsequently analyzed, and the seek trajectory is visualized using data visualization tools (such as Matplotlib or Excel). A chart is generated to show the path of the head movement to help identify potential seek bottlenecks and performance issues.

[0091] Step S3: Calculate the theoretical access speed of the marker block for the global seek tracking trajectory, and calculate the access delay, so as to obtain the normalized access delay data of the hard disk;

[0092] In this embodiment, the global seek tracking trajectory is subdivided into multiple discrete marker blocks. For each marker block, the theoretical access speed of the marker block is calculated according to its size and the start and end timestamps of the access trajectory. The calculation formula of the theoretical access speed is: marker block size / (access end time-access start time). The extracted data is sorted to ensure that the start time, end time, seek time and accessed marker block of each request are clearly visible to facilitate subsequent calculations. For the marker blocks with large access speed deviations identified in the above steps, their actual access delay is further analyzed. By detecting the delay time in the access trajectory of these marker blocks, the access delay data of each marker block is calculated. The calculation formula of the access delay is: access end time-access start time-theoretical access time. The access delay data of these marker blocks reflects the performance of the hard disk under actual workload. The calculated access delay data of each marker block are statistically analyzed and averaged. By eliminating extreme outliers, an access delay index representing the hard disk under normal working state is obtained. This normalized access delay data more accurately reflects the actual performance of the hard disk.

[0093] Step S4: performing progressive analysis of the check blocks implanted on the solid state drive and performing hard disk load evolution, thereby generating hard disk load data for each solution;

[0094] In this embodiment, based on the obtained hard disk normalized access delay data, the maximum check block implantation capacity of each free sector is analyzed. On this basis, a series of progressive check block implantation schemes are formulated, which gradually increase from the minimum implantation number until the maximum implantation capacity of each sector is reached. These progressive schemes constitute an ordered sequence of check block implantation numbers, providing alternative schemes for subsequent load evolution analysis. For the check block implantation schemes generated above, the hard disk is simulated implantation operations in turn in a simulation environment. Under each implantation scheme, the real-time working status of the hard disk is recorded, including key indicators such as head activity, read and write bandwidth, and access delay. The real-time status data reflects the hard disk under different load intensities. Performance performance provides basic data for subsequent load evolution analysis. Based on these status data, the hard disk throughput under each load scenario is further calculated and time series analyzed. Through this throughput-based load evolution analysis, a set of performance data reflecting the hard disk under various load conditions is obtained. The hard disk status data and throughput indicators under various load scenarios obtained from the above load evolution analysis are integrated into a comprehensive hard disk load data set. The hard disk load data set covers the performance of the hard disk under ideal conditions and the dynamic performance changes under complex load conditions. The analysis method based on load evolution can more comprehensively and accurately evaluate the real-time performance of the solid-state drive, laying the foundation for subsequent comprehensive evaluation.

[0095] Step S5: identifying a sudden change in load trend for the hard disk load data of each solution, and calculating the maximum operating load, thereby obtaining the real-time maximum operating load data of the solid state hard disk;

[0096] In this embodiment, the hard disk load data under various load schemes are integrated and arranged according to time series. By analyzing these time series load data, the dynamic changes of the hard disk under different load conditions are extracted. This time series load change data provides basic support for subsequent trend identification and bottleneck analysis. Based on the above time series load change data, it is fitted and modeled using a trend analysis algorithm. Through this fitting analysis, a curve reflecting the change trend of the hard disk load is obtained. For the hard disk load trend curve constructed above, its change trend is further analyzed, and the mutation points on the curve are identified. These mutation points represent the key turning points where the hard disk load begins to show a significant decline under a certain intensity. By identifying and marking these mutation points, a key basis is provided for the subsequent performance bottleneck analysis. Finally, for the performance bottleneck nodes identified in the above steps, the maximum operating load that the hard disk can bear on these nodes is calculated. This maximum operating load data is the real-time performance upper limit achieved by the hard disk in actual work.

[0097] Step S6: Perform a comprehensive performance evaluation on the hard disk normalized access delay data and the solid state hard disk real-time maximum operating load data to generate a real-time performance evaluation result of the solid state hard disk.

[0098] In this embodiment, first, parameter standardization is performed on the hard disk normalized access delay data and real-time maximum operating load data obtained in the previous steps. The standardization method adopts the common min-max normalization or z-score standardization method to uniformly map these performance indicators to standardized values ​​between 0 and 1. Through this standardization process, the dimension differences between different indicators are eliminated, which facilitates the subsequent comprehensive evaluation. The standardized performance indicator data are integrated and analyzed through a certain comprehensive evaluation model. This comprehensive evaluation model adopts weighted summation, fuzzy synthesis and other methods to score and summarize according to the importance of different indicators. For example, the weights of access delay and maximum operating load are set to 60% and 40% respectively, and the two are combined to obtain an overall performance evaluation score. This comprehensive evaluation model needs to be combined with actual application scenarios and performance requirements to appropriately adjust the weights of each indicator. The constructed comprehensive performance evaluation model is applied to the standardized performance indicator data obtained in the early stage. Through model calculation, a comprehensive score or grade reflecting the overall real-time performance level of the hard disk is obtained. This comprehensive performance evaluation result is the real-time performance evaluation result of the solid-state hard disk to be finally obtained by this solution. This result is directly used to characterize the performance of the hard disk in actual applications and provide decision support for system designers.

[0099] In this embodiment, refer to Figure 2 , is a flowchart of detailed implementation steps of step S1. In this embodiment, the detailed implementation steps of step S1 include:

[0100] Step S11: performing logic block scanning processing on the solid state drive to identify the logic block data of the solid state drive;

[0101] Step S12: Identify the free sectors of the solid state hard disk logic block data and extract the free sectors of the solid state hard disk;

[0102] Step S13: Calculating the utilization rate of each free sector of the solid state drive to obtain the space utilization rate of each free sector;

[0103] Step S14: performing normal operation implantation processing of a mark block on the solid state drive based on the space utilization rate of each free sector to obtain a plurality of normal operation implantation mark blocks.

[0104] In this embodiment, the underlying drive interface of the solid-state hard disk is used to read the physical structure information of the hard disk, including the sector size, logical block address, etc., and a block-level scanning algorithm is used to traverse each logical block of the hard disk in turn to identify the used data blocks and free blocks, and record the usage status information of each logical block to provide basic data for subsequent free sector analysis. Based on the obtained logical block usage status, the specific situation of each used data block is further analyzed. For the used data blocks, the free sectors therein are identified by reading their contents, and the logical block addresses of these free sectors are recorded to form a free sector list of the solid-state hard disk. The idle sector list reads the content data size of each sector in turn, divides the actual data size by the sector capacity, calculates the utilization percentage of each idle sector, and records the calculation results to form a detailed idle sector utilization distribution. According to the obtained idle sector utilization distribution, the sectors with low utilization are marked, and the firmware interface of the solid-state drive is used to implant these marking information into the hard drive control system. The hard drive control system will perform normalized data scheduling and management on the corresponding logical blocks based on these markings to improve space utilization. Through multiple iterations of this process, a set of interrelated normalized operation marking blocks are formed.

[0105] In this embodiment, the specific steps of step S14 are:

[0106] Performing sector space distribution analysis on the free sectors of the solid state drive to generate free sector space distribution data;

[0107] Perform sector distribution topology correlation analysis on the idle sector spatial distribution data to construct a sector idle distribution topology map;

[0108] The maximum check block implantation calculation is performed based on the space utilization rate of each free sector, thereby obtaining the maximum number of check blocks implanted in each free sector;

[0109] Performing check block distribution uniformity constraint analysis according to the maximum check block implantation number of each free sector, and extracting check block implantation uniformity constraint data;

[0110] Performing optimal implantation analysis on the idle sector distribution topology map according to the uniform implantation constraint data of the check block, thereby obtaining the optimal implantation quantity for each idle sector;

[0111] The solid state drive is randomly implanted with marker blocks according to the optimal implantation quantity of each free sector, and a plurality of normalized operation implantation marker blocks are obtained.

[0112] In this embodiment, a list of free sectors and utilization data are obtained to ensure that the starting address and size of each sector are included. A script (such as Python) is written to traverse the free sectors, calculate the spatial distribution of each sector, and record the size, distribution position and information of adjacent sectors of each sector for subsequent analysis. According to the spatial distribution of the free sectors, a topological model is designed to determine the connection relationship between each sector. A graph theory method (such as an adjacency matrix) is used to represent the relationship between sectors. A topological graph of the free sectors is constructed using a graphics library (such as NetworkX), in which nodes represent free sectors and edges represent adjacent relationships. According to system requirements and sector space, the size of the check block (such as 512 bytes, 1024 bytes, etc.) is determined. Bytes), for each free sector, calculate the maximum number of parity blocks that can be implanted according to its size, save the maximum number of parity blocks implanted in each free sector to a file or a database, set uniformity constraints, within a specific range, the number of parity blocks should be as evenly distributed as possible, perform uniformity analysis on the number of parity blocks in each free sector, use statistical methods (such as variance, standard deviation) to evaluate the uniformity of distribution, set the calculation standard of the optimal implantation number based on the uniformity constraint data to ensure the effective distribution of the parity blocks, and calculate the optimal number of parity blocks implanted in each free sector according to the maximum number of parity blocks and the uniformity constraint.

[0113] optimal_blocks = {}

[0114] for sector in free_sectors:

[0115] # Calculate the optimal number based on uniformity and maximum number

[0116] optimal_blocks[sector['address']]=min(max_blocks[sector['address']], calculated_optimal_limit)

[0117] Determine the specific method of implanting the check blocks (such as random implantation or uniformly distributed implantation). According to the best implantation scheme, randomly implant a corresponding number of marker blocks on the free sectors of the hard disk. These marker blocks will be used as benchmark data for subsequent performance analysis. By analyzing their access characteristics, the real-time performance of the hard disk can be accurately evaluated. This marker block implantation method based on the optimized distribution of free sectors can minimize interference with normal business data and ensure the accuracy of performance evaluation.

[0118] In this embodiment, refer to Figure 3 , is a flowchart of detailed implementation steps of step S2. In this embodiment, the detailed implementation steps of step S2 include:

[0119] Step S21: sequentially encode multiple normalized operation implantation marker blocks to obtain an implantation marker block encoding sequence;

[0120] Step S22: performing sequential data access requests based on the implanted marker block coding sequence, and recording access request data of each marker block;

[0121] Step S23: performing hard disk head seek tracking analysis on the access request data of each marked block to generate a head seek tracking trajectory of each marked block;

[0122] Step S24: Perform time-sequential connection processing on the head seek tracking trajectory of each marking block to construct a global seek tracking trajectory.

[0123] In this embodiment, a plurality of marker blocks randomly implanted on the hard disk are numbered and identified to form an ordered coding sequence. This coding sequence reflects the relative position relationship of the marker blocks on the hard disk and provides a basis for subsequent sequential access requests. The numbering method adopts a simple serial number and is also encoded according to the physical position information of the marker blocks on the hard disk to better match the actual layout of the hard disk. According to the marker block coding sequence, sequential data access requests are initiated to the hard disk in turn, the coding sequence is traversed, the access request to each marker block is simulated, and the detailed information of each request (such as request time, access type, etc.) is recorded to establish a hard disk seek model. It is assumed that the head movement time is proportional to the sector spacing, and the access is traversed. Ask a request, calculate the seek trajectory of the head according to the order of requests and the address of the marker block, record the starting position, target position and required time of each seek, set connection conditions, such as connecting the seek trajectory into a complete tracking sequence according to the timestamp, traverse the seek trajectory data, connect and merge the seek trajectories of each marker block in chronological order according to the timing relationship, and construct a global seek tracking trajectory that reflects the overall access process. This global trajectory shows the head movement state of the hard disk in sequential access mode, providing a more macro and coherent perspective for performance analysis. Through the analysis of this global trajectory, the performance characteristics of the hard disk when performing sequential access are discovered, providing a basis for subsequent performance optimization.

[0124] In this embodiment, refer to Figure 4 , is a flowchart of detailed implementation steps of step S3. In this embodiment, the detailed implementation steps of step S3 include:

[0125] Step S31: calculating the intervals between adjacent marker blocks for multiple normalized operation implanted marker blocks, and extracting the interval distances between multiple marker blocks;

[0126] Step S32: extract the access request data of each marked block to extract the start and end timestamps;

[0127] Step S33: Calculating the theoretical access speed of the marker blocks for the intervals between the multiple marker blocks according to the start and end timestamps to generate the theoretical access speed of the marker blocks;

[0128] Step S34: Calculate the access delay of the global seek tracking trajectory based on the theoretical access speed of the marker block, so as to obtain the normalized access delay data of the hard disk.

[0129] In this embodiment, the underlying drive interface of the solid-state hard disk is used to read the logical addresses of multiple normalized operation marker blocks implanted previously, and the logical block distances between adjacent marker blocks are calculated to obtain a set of marker block interval distance data. These interval distances reflect the distribution of marker blocks in the physical space of the hard disk, providing a basis for subsequent access speed calculations. By monitoring the I / O operations of the hard disk, the request timestamps for accessing each marker block are recorded. For each marker block, the earliest access request time is extracted as the start timestamp, and the latest access request time is extracted as the end timestamp. These timestamp data reflect the access characteristics of the marker block under the actual workload, laying the foundation for subsequent delay analysis. Combined with the marker block interval distance and the obtained timestamp data, the theoretical access speed of each marker block is calculated. The specific calculation formula is: marker block theoretical access speed = marker block interval distance / (end timestamp - In this step, we obtain a set of theoretical access speed data of the marker blocks, which reflects the performance characteristics of the hard disk under ideal conditions. By continuously monitoring the hard disk I / O operations, we obtain the global seek access trajectory data. Combined with the calculated theoretical access speed of the marker blocks, we predict the actual delay of each seek operation. By comparing the predicted result with the actual delay, we obtain the access delay data of the hard disk under normal operating conditions. This data reflects the dynamic performance of the hard disk under actual workload and provides a basis for subsequent performance analysis.

[0130] In this embodiment, the specific steps of step S34 are:

[0131] The access speed of the head seek tracking track of each marked block is calculated according to the start and end timestamps to obtain the access speed parameter of each marked block;

[0132] Based on the access speed parameter of each marker block, a theoretical deviation of the theoretical access speed of the marker block is identified, and the marker block with the access speed deviation is extracted;

[0133] Calculate access delay of the marked block with access speed deviation, so as to obtain access delay data of the marked block;

[0134] Performing access delay distribution analysis on the global seek tracking trajectory according to the marker block access delay data, thereby obtaining global trajectory delay distribution data;

[0135] The global trace delay distribution data is subjected to normalized delay average calculation to obtain the hard disk normalized access delay data.

[0136] In this embodiment, the global seek tracking trajectory is segmented to extract the access trajectory of each marker block. The actual access time of the marker block is calculated based on the start and end timestamps of the access trajectory of each marker block. Combined with the physical storage size of the marker block, the average access speed parameters of each marker block can be calculated. These access speed parameters reflect the performance of the hard disk in sequential access under ideal conditions. The calculated actual access speed of each marker block is compared with the theoretically achievable maximum access speed. Mark the marker blocks with obvious access speed deviations as the focus of subsequent access delay analysis. Based on the identified marker blocks with access speed deviations, their actual access delays are further analyzed. By performing access trajectories on these marker blocks, The access delay data of each marked block is obtained by statistics and calculation of the row delay time. These delay data reflect the performance of the hard disk under the actual workload. The calculated access delay data of each marked block are recombined and analyzed according to their positions in the global seek trajectory. By statistically analyzing the delay distribution characteristics of each position on the global trajectory, a distribution data reflecting the overall delay situation is obtained. Finally, the obtained global trajectory delay distribution data is further analyzed and counted. By calculating the average value of the delay data and removing the influence of extreme outliers, an access delay index representing the hard disk under the normal working state is obtained. This normalized access delay data more accurately reflects the actual performance of the hard disk and provides a key basis for subsequent comprehensive performance evaluation.

[0137] In this embodiment, step S4 includes the following steps:

[0138] Step S41: performing a check block progressive implantation analysis according to the maximum check block implantation quantity of each free sector, thereby obtaining a check block quantity progressive implantation scheme;

[0139] Step S42: performing a progressive implantation simulation on the solid state drive based on the progressive implantation scheme of the number of check blocks, and obtaining real-time hard drive status data of each scheme;

[0140] Step S43: Calculate the overall throughput rate of the real-time hard disk status data of each solution to generate the real-time hard disk throughput rate of each solution;

[0141] Step S44: Perform hard disk load evolution according to the real-time hard disk throughput rate of each solution, thereby generating hard disk load data for each solution.

[0142] In this embodiment, the maximum number of implantable check blocks for each free sector is obtained according to the hard disk driver program, and the sectors are divided into different levels according to the number of implantable blocks. The average number of blocks in each level is taken as the starting implantation number of the level, and the implantation number level schemes are generated in ascending order according to the average number of blocks. The solid-state hard disk is simulated accessed using a simulation driver program, and the corresponding number of check blocks are implanted according to each sector in the scheme. During the simulated access process, the hard disk status, such as the change in the number of free blocks, is recorded in real time. The throughput is calculated according to the number of read and write times and time during the simulated access of each scheme, and the data of different time periods are unified to generate the real-time average throughput of each scheme. A regression model is established according to the historical load relationship of hard disks of the same model, and the throughput of each scheme is input into the model to predict the corresponding load level, thereby obtaining the hard disk load evolution data under each implantation scheme.

[0143] In this embodiment, step S5 includes the following steps:

[0144] Step S51: performing a time series load change analysis on the hard disk load data of each solution to generate hard disk time series load change data;

[0145] Step S52: performing trend change fitting on the hard disk time-series load change data to construct a hard disk load trend curve;

[0146] Step S53: identifying a sudden drop in the hard disk load trend curve, and marking a node where the load trend drops suddenly;

[0147] Step S54: defining the node with a sudden drop in load trend as a hard disk performance bottleneck node;

[0148] Step S55: Calculate the maximum operating load of the hard disk performance bottleneck node, so as to obtain the real-time maximum operating load data of the solid state hard disk.

[0149] In this embodiment, a time series analysis method such as FFT is used to extract the time series features of the hard disk load data under each scheme, and the time series data is rolled out for analysis, and the time domain feature vector of each segment is extracted, and all feature vectors are summarized into a load time series change feature database, and the main component feature value of the load curve is extracted from the feature database, and regression methods such as SVR are applied to fit the main curve of the load curve under each scheme, and a solid state hard disk load trend model library containing N fitting curves is constructed, and the second-order derivative calculation is performed on each curve in the model library, and the derivative is differentiated and the zero point is found, and it is marked as a load drop node, and the load drop nodes under all schemes are integrated, and the main load drop nodes are selected according to the derivative change rate. After the performance bottleneck node, the load trend will show a cliff-like download, so the node with a large drop in the load drop trend is the performance bottleneck node, which is determined to be the hard disk pressure turning point, defined as the performance bottleneck node, and the maximum operating load that the hard disk can carry on these nodes is calculated according to the identified performance bottleneck node. This maximum operating load data is the upper limit of the real-time performance reached by the hard disk in actual work.

[0150] In this embodiment, step S6 includes the following steps:

[0151] Step S61: performing parameter standardization processing on the hard disk normalized access delay data and the solid state hard disk real-time maximum operating load data, thereby obtaining standardized access delay data and standardized real-time maximum operating load data;

[0152] Step S62: performing a comprehensive performance evaluation on the standardized access delay data and the standardized real-time maximum operating load data to generate a real-time performance evaluation result of the solid state drive;

[0153] Step S63: Optimize the real-time performance of the solid-state drive based on the real-time performance evaluation result of the solid-state drive, and build a solid-state drive performance optimization strategy.

[0154] In this embodiment, parameter standardization is performed on the hard disk normalized access delay data and real-time maximum operating load data obtained in the previous steps. The standardization method adopts common min-max normalization or z-score standardization and other methods to uniformly map these performance indicators to standardized values ​​between 0 and 1. Through this standardization process, the dimensional differences between different indicators are eliminated. The obtained standardized performance indicator data are integrated and analyzed through a certain comprehensive evaluation model. This comprehensive evaluation model adopts weighted summation, fuzzy synthesis and other methods to score and summarize according to the importance of different indicators. Through this comprehensive performance evaluation, a comprehensive score or grade reflecting the overall real-time performance level of the hard disk is obtained. This comprehensive performance evaluation result is the real-time performance evaluation result of the solid-state hard disk to be finally obtained in this solution. The obtained real-time performance evaluation result of the solid-state hard disk is used as a basis for formulating a targeted performance optimization strategy. This optimization strategy includes but is not limited to: adjusting hard disk firmware parameters, optimizing data layout, and adopting dynamic hot data migration and other methods. Through the implementation of these optimization strategies, the performance of the hard disk in actual applications is further improved to meet the system's requirements for real-time performance.

[0155] In this embodiment, a real-time performance detection system for a solid state drive is provided, which is used to execute the real-time performance detection method for a solid state drive as described above, including:

[0156] The marker block implantation module is used to identify the free sectors of the solid state drive and perform normal operation implantation of the marker block to obtain multiple normal operation implantation marker blocks;

[0157] The global seek module is used to perform sequential data access requests for multiple normal operation implanted marker blocks, perform hard disk head seek tracking analysis, and construct a global seek tracking trajectory;

[0158] The access delay module is used to calculate the theoretical access speed of the marked block for the global seek tracking trajectory and to calculate the access delay, thereby obtaining the normalized access delay data of the hard disk;

[0159] The hard disk load evolution module is used to perform a progressive analysis of the check block implantation of the solid-state hard disk and perform hard disk load evolution, thereby generating hard disk load data for each solution;

[0160] The maximum operating load module is used to identify the sudden change in load trend of the hard disk load data of each solution and calculate the maximum operating load, so as to obtain the real-time maximum operating load data of the solid-state hard disk;

[0161] The real-time performance evaluation module is used to conduct a comprehensive performance evaluation on the normalized access delay data of the hard disk and the real-time maximum operating load data of the solid-state hard disk to generate a real-time performance evaluation result of the solid-state hard disk.

[0162] The present invention identifies free sectors of a solid-state hard disk and then performs normalized operation implantation processing of a marker block to obtain multiple normalized operation implanted marker blocks, optimizes data distribution of the hard disk, improves data reading and writing efficiency, performs sequential data access requests on multiple normalized operation implanted marker blocks, performs hard disk head seek tracking analysis, and constructs a global seek tracking trajectory, which can reduce seek time and improve data access speed. By performing marker block theoretical access speed calculation and access delay calculation on the global seek tracking trajectory, normalized access delay data of the hard disk is obtained, the read and write speed and performance status of the hard disk are evaluated, and a check block progressive implantation analysis is performed on the solid-state hard disk. , carry out hard disk load evolution, generate hard disk load data for each solution, understand the load situation of the hard disk during use, provide data support for performance evaluation, identify the sudden change of load trend decline of the hard disk load data of each solution, calculate the maximum operating load, obtain the real-time maximum operating load data of the solid-state hard disk, determine the maximum load capacity of the hard disk, provide performance reference, conduct comprehensive performance evaluation on the normalized access delay data of the hard disk and the real-time maximum operating load data of the solid-state hard disk, generate the real-time performance evaluation results of the solid-state hard disk, fully understand the performance of the hard disk, and be able to efficiently calculate the accurate hard disk performance, providing a basis for performance optimization.

[0163] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points, and the scope of the present invention is limited by the appended claims rather than the above description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the application documents are included in the present invention.

[0164] The above is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.

Claims

1. A real-time performance detection method for a solid state hard disk, characterized in that: The following steps are involved: Step S1: Identify the free sectors of the solid state drive and perform normal operation implantation processing of the marker blocks to obtain a plurality of normal operation implantation marker blocks; Step S2: performing sequential data access requests for multiple normalized operation implantation mark blocks, and performing hard disk head seek tracking analysis to construct a global seek tracking trajectory; Step S3: Calculate the theoretical access speed of the marker block for the global seek tracking trajectory, and calculate the access delay, so as to obtain the normalized access delay data of the hard disk; the specific steps of step S3 are: Step S31: calculating the intervals between adjacent marker blocks for multiple normalized operation implanted marker blocks, and extracting the interval distances between multiple marker blocks; Step S32: extract the access request data of each marked block to extract the start and end timestamps; Step S33: Calculating the theoretical access speed of the marker blocks for the intervals between the multiple marker blocks according to the start and end timestamps to generate the theoretical access speed of the marker blocks; Step S34: Calculate the access delay of the global seek tracking trajectory based on the theoretical access speed of the marker block, so as to obtain the normalized access delay data of the hard disk; Step S4: Perform a progressive analysis of the check block implantation on the solid state drive and perform hard disk load evolution to generate hard disk load data for each solution; the specific steps of step S4 are: Step S41: performing a check block progressive implantation analysis according to the maximum check block implantation quantity of each free sector, thereby obtaining a check block quantity progressive implantation scheme; Step S42: performing a progressive implantation simulation on the solid state drive based on the progressive implantation scheme of the number of check blocks, and obtaining real-time hard drive status data of each scheme; Step S43: Calculate the overall throughput rate of the real-time hard disk status data of each solution to generate the real-time hard disk throughput rate of each solution; Step S44: performing hard disk load evolution according to the real-time hard disk throughput rate of each solution, thereby generating hard disk load data of each solution; Step S5: identifying a sudden change in load trend for the hard disk load data of each solution, and calculating the maximum operating load, thereby obtaining the real-time maximum operating load data of the solid state hard disk; Step S6: Perform a comprehensive performance evaluation on the hard disk normalized access delay data and the solid state hard disk real-time maximum operating load data to generate a real-time performance evaluation result of the solid state hard disk.

2. The real-time performance detection method of a solid state drive according to claim 1, characterized in that: The specific steps of step S1 are: Step S11: performing logic block scanning processing on the solid state drive to identify the logic block data of the solid state drive; Step S12: Identify the free sectors of the solid state hard disk logic block data and extract the free sectors of the solid state hard disk; Step S13: Calculating the utilization rate of each free sector of the solid state drive to obtain the space utilization rate of each free sector; Step S14: performing normal operation implantation processing of a mark block on the solid state drive based on the space utilization rate of each free sector to obtain a plurality of normal operation implantation mark blocks.

3. The real-time performance detection method of a solid state drive according to claim 2, characterized in that: The specific steps of step S14 are: Performing sector space distribution analysis on the free sectors of the solid state drive to generate free sector space distribution data; Perform sector distribution topology correlation analysis on the idle sector spatial distribution data to construct a sector idle distribution topology map; The maximum check block implantation calculation is performed based on the space utilization rate of each free sector, thereby obtaining the maximum number of check blocks implanted in each free sector; Performing check block distribution uniformity constraint analysis according to the maximum check block implantation number of each free sector, and extracting check block implantation uniformity constraint data; Performing optimal implantation analysis on the idle sector distribution topology map according to the uniform implantation constraint data of the check block, thereby obtaining the optimal implantation quantity for each idle sector; The solid state drive is randomly implanted with marker blocks according to the optimal implantation quantity of each free sector, and a plurality of normalized operation implantation marker blocks are obtained.

4. The real-time performance detection method of a solid state drive according to claim 1, characterized in that: The specific steps of step S2 are: Step S21: sequentially encode multiple normalized operation implantation marker blocks to obtain an implantation marker block encoding sequence; Step S22: performing sequential data access requests based on the implanted marker block coding sequence, and recording access request data of each marker block; Step S23: performing hard disk head seek tracking analysis on the access request data of each marked block to generate a head seek tracking trajectory of each marked block; Step S24: Perform time-sequential connection processing on the head seek tracking trajectory of each marking block to construct a global seek tracking trajectory.

5. The real-time performance detection method of a solid state drive according to claim 1, characterized in that: The specific steps of step S34 are: The access speed of the head seek tracking track of each marked block is calculated according to the start and end timestamps to obtain the access speed parameter of each marked block; Based on the access speed parameter of each marker block, a theoretical deviation of the theoretical access speed of the marker block is identified, and the marker block with the access speed deviation is extracted; Calculate access delay of the marked block with access speed deviation, so as to obtain access delay data of the marked block; Performing access delay distribution analysis on the global seek tracking trajectory according to the marker block access delay data, thereby obtaining global trajectory delay distribution data; The global trace delay distribution data is subjected to normalized delay average calculation to obtain the hard disk normalized access delay data.

6. The real-time performance detection method of a solid state drive according to claim 1, characterized in that: The specific steps of step S5 are: Step S51: performing a time series load change analysis on the hard disk load data of each solution to generate hard disk time series load change data; Step S52: performing trend change fitting on the hard disk time-series load change data to construct a hard disk load trend curve; Step S53: identifying a sudden drop in the hard disk load trend curve, and marking a node where the load trend drops suddenly; Step S54: defining the node with a sudden drop in load trend as a hard disk performance bottleneck node; Step S55: Calculate the maximum operating load of the hard disk performance bottleneck node, so as to obtain the real-time maximum operating load data of the solid state hard disk.

7. The real-time performance detection method of a solid state drive according to claim 1, characterized in that: The specific steps of step S6 are: Step S61: performing parameter standardization processing on the hard disk normalized access delay data and the solid state hard disk real-time maximum operating load data, thereby obtaining standardized access delay data and standardized real-time maximum operating load data; Step S62: performing a comprehensive performance evaluation on the standardized access delay data and the standardized real-time maximum operating load data to generate a real-time performance evaluation result of the solid state drive; Step S63: Optimize the real-time performance of the solid-state drive based on the real-time performance evaluation result of the solid-state drive, and build a solid-state drive performance optimization strategy.

8. A real-time performance detection system for a solid state hard disk, characterized in that: The method for performing the real-time performance detection of a solid state drive according to claim 1 comprises: The marker block implantation module is used to identify the free sectors of the solid state drive and perform normal operation implantation of the marker block to obtain multiple normal operation implantation marker blocks; The global seek module is used to perform sequential data access requests for multiple normal operation implanted marker blocks, perform hard disk head seek tracking analysis, and construct a global seek tracking trajectory; The access delay module is used to calculate the theoretical access speed of the marked block for the global seek tracking trajectory and to calculate the access delay, thereby obtaining the normalized access delay data of the hard disk; The hard disk load evolution module is used to perform a progressive analysis of the check block implantation of the solid-state hard disk and perform hard disk load evolution, thereby generating hard disk load data for each solution; The maximum operating load module is used to identify the sudden change in load trend of the hard disk load data of each solution and calculate the maximum operating load, so as to obtain the real-time maximum operating load data of the solid-state hard disk; The real-time performance evaluation module is used to conduct a comprehensive performance evaluation on the normalized access delay data of the hard disk and the real-time maximum operating load data of the solid-state hard disk to generate a real-time performance evaluation result of the solid-state hard disk.

Citation Information

Patent Citations

  • Out-of-band function detection method and device of solid state disk and electronic equipment

    CN117953955A

  • Solid state disk performance monitoring method and system

    CN118585397A