Solid state drive performance testing method, device, equipment and readable storage medium

Through parallel testing and automated control of multiple testing machines, the problem of time-consuming and labor-consuming solid-state drive performance testing and error in result statistics is solved, and efficient results statistics of simultaneous testing of multiple solid-state drives are achieved.

CN113821389BActive Publication Date: 2024-08-27MEMORIGHT (WUHAN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110962781.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-20
Publication Date
2024-08-27
Estimated Expiration
2041-08-20

AI Technical Summary

Technical Problem

Existing SSD performance testing methods are time-consuming and labor-intensive, with low testing efficiency and error-prone result statistics, especially when multiple SSDs are tested simultaneously.

Method used

Multiple testing machines are used for parallel testing. By obtaining the sequence of performance testing tools of each testing machine, each testing machine is controlled to test in turn, the test logs and results are obtained, and the decision is made whether to continue using the next test based on log integrity and limiting conditions. Tool, statistics of final test results.

Benefits of technology

It improves the efficiency of solid-state drive performance testing, reduces the need for manual monitoring, reduces the error rate, and enables efficient statistics of results of simultaneous testing of multiple solid-state drives.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113821389B
    Figure CN113821389B
Patent Text Reader

Abstract

The present invention provides a performance test method, device, equipment and readable storage medium for a solid-state hard disk, the method comprising: starting multiple test machines; obtaining the test sequence of multiple performance test tools contained in each test machine, testing the solid-state hard disk according to the test sequence, obtaining a first test log and a first test result; if the first test log is incomplete, determining whether to continue testing the solid-state hard disk; if the first test log is complete, initializing the solid-state hard disk, and then continuing to test the solid-state hard disk, obtaining a second test log and a second test result; and so on, counting the test results of the solid-state hard disk. Through the present invention, multiple test machines are started to test the solid-state hard disks connected to the multiple test machines, and the test results are counted, which solves the problems of time-consuming and labor-intensive, low test efficiency and error-prone statistics of test results when performing performance testing on solid-state hard disks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computers, and in particular to a performance testing method, device, equipment and readable storage medium for a solid state hard disk. Background Art

[0002] As the data storage volume, storage scale, and performance requirements of the Internet of Things, big data, and cloud storage continue to increase, the performance of storage products has received more and more attention. In the existing SSD performance tests, there are some industry-standard performance test tools to evaluate the performance of corresponding storage products, and there are also performance test tools developed by various storage suppliers and end customers to evaluate the performance of corresponding storage products.

[0003] However, the performance test and result statistics of solid-state drives are mostly performed manually, and each test machine is connected to a solid-state drive. When the performance of multiple solid-state drives needs to be tested, multiple storage products can be tested in sequence by one test machine or multiple test machines can be used to test multiple solid-state drives.

[0004] If multiple SSDs are tested sequentially using one test machine, it will take a lot of time and the test efficiency will be low. If multiple test machines are used to test multiple SSDs, additional manual monitoring of the test machines is required, which requires a lot of labor and the statistics of the test results are prone to errors. Summary of the invention

[0005] The main purpose of the present invention is to provide a performance testing method, device, equipment and readable storage medium for a solid-state hard disk, aiming to solve the problems of time-consuming and labor-intensive, low testing efficiency and error-prone statistics of test results when performing performance testing on a solid-state hard disk.

[0006] In a first aspect, the present invention provides a method for testing the performance of a solid state drive, comprising the following steps:

[0007] Start multiple test machines, each of which is connected to a solid state drive;

[0008] Obtaining a test sequence of multiple performance testing tools included in each test machine, and controlling a first performance testing tool ranked first to test the solid-state drive according to the test sequence, and obtaining a first test log and a first test result;

[0009] Check whether the first test log is complete;

[0010] If the first test log is incomplete, determining whether to control the second performance test tool ranked second to continue testing the solid state drive according to the limiting conditions of the first performance test tool;

[0011] If the first test log is complete, the solid state drive is initialized, and then the second performance test tool ranked second is controlled to continue testing the solid state drive to obtain a second test log and a second test result;

[0012] And so on, the test results of the solid-state drives by multiple performance test tools included in each test machine are counted.

[0013] Optionally, the step of controlling the first performance testing tool that ranks first to test the solid state drive includes:

[0014] Obtain the test parameters of the first performance testing tool that ranks first, and test the solid state drive according to the test parameters of the first performance testing tool, wherein the test parameters include: test time, test range, test queue depth, test transfer size, and test cycle number.

[0015] Optionally, the step of controlling the first performance test tool that ranks first to test the solid state drive and obtaining the first test log includes:

[0016] Obtain the maximum number of retests N of the first performance testing tool, control the first performance testing tool ranked first to test the solid-state drive, obtain the test log, and if the test log is incomplete, control the first performance testing tool to retest the solid-state drive;

[0017] If the test log is still incomplete when the first performance testing tool re-tests the solid-state drive for the Nth time, the test log obtained by testing the solid-state drive for the Nth time is used as the first test log;

[0018] If the test log is complete when the first performance testing tool retests the solid state drive for the Mth time, the test log obtained by testing the solid state drive for the Mth time is used as the first test log, where N and M are positive integers and M is less than N.

[0019] Optionally, the step of judging whether to control the second performance testing tool ranked second to continue testing the solid state drive according to the limiting condition of the first performance testing tool includes:

[0020] If the limiting condition of the first performance testing tool is to suspend subsequent tests, the second performance testing tool ranked second will not be controlled to continue testing the solid state drive;

[0021] If the limiting condition of the first performance testing tool is to continue the subsequent test, the second performance testing tool ranked second is controlled to continue testing the solid state drive.

[0022] Optionally, if the first test log is complete, the step of initializing the solid state drive includes:

[0023] If the first test log is complete, determining whether the absolute value of the difference between the first test result and the database benchmark information is greater than a preset value;

[0024] If it is greater than the preset value, the first performance test tool is controlled to retest the solid state drive and then initialize the solid state drive;

[0025] If it is not greater than the preset value, the solid state drive will be initialized.

[0026] Optionally, if the value is greater than a preset value, the step of controlling the first performance testing tool to retest the solid state drive includes:

[0027] Obtaining a maximum retesting number N of the first performance testing tool, and if the first test result is greater than a preset value, controlling the first performance testing tool to retest the solid state drive;

[0028] If the first performance test tool re-tests the solid-state drive for the Nth time and the first test result is still greater than the preset value, the test result obtained by testing the solid-state drive for the Nth time is used as the first test result, and the second performance test tool ranked second after the solid-state drive is initialized is controlled to continue testing the solid-state drive;

[0029] If the first performance testing tool re-tests the solid-state hard drive for the Mth time and the test result is not greater than the preset value, the test result obtained by testing the solid-state hard drive for the Mth time is used as the first test result, and the second performance testing tool that is ranked second after the solid-state hard drive is initialized is controlled to continue testing the solid-state hard drive, wherein N and M are positive integers, and M is less than N.

[0030] Optionally, after the step of controlling the second performance testing tool ranked second to continue testing the solid state drive and obtaining a second test log and a second test result, the step further includes:

[0031] Check whether the second test log is complete;

[0032] If the second test log is incomplete, determining whether to control the third performance test tool ranked third to continue testing the solid state drive according to the limiting condition of the second performance test tool;

[0033] If the second test log is complete, the solid state drive is initialized, and then the third performance test tool ranked third is controlled to continue testing the solid state drive to obtain a third test log and a third test result.

[0034] In a second aspect, the present invention further provides a performance test device for a solid state hard disk, the performance test device for a solid state hard disk comprising:

[0035] Startup module: used to start multiple test machines, each of which is connected to a solid-state drive;

[0036] A first control module: used to obtain the test sequence of multiple performance test tools included in each test machine, and according to the test sequence, control the first performance test tool ranked first to test the solid state drive, and obtain a first test log and a first test result;

[0037] Detection module: used to detect whether the first test log is complete;

[0038] A judgment module: used for judging whether to control the second performance test tool ranked second to continue testing the solid state drive according to the limiting conditions of the first performance test tool if the first test log is incomplete;

[0039] The second control module is used to initialize the solid state drive if the first test log is complete, and then control the second performance test tool that ranks second to continue testing the solid state drive, and obtain the second test log and the second test result;

[0040] Statistics module: used to calculate the test results of the solid-state hard disk by multiple performance test tools included in each test machine.

[0041] In a third aspect, the present invention also provides a performance testing device for a solid-state hard disk, the performance testing device for the solid-state hard disk comprising a processor, a memory, and a performance testing program for the solid-state hard disk stored in the memory and executable by the processor, wherein when the performance testing program for the solid-state hard disk is executed by the processor, the steps of the performance testing method for the solid-state hard disk as described above are implemented.

[0042] In a fourth aspect, the present invention further provides a readable storage medium, on which a performance test program for a solid state hard disk is stored, wherein when the performance test program for the solid state hard disk is executed by a processor, the steps of the performance test method for the solid state hard disk as described above are implemented.

[0043] In the present invention, multiple test machines are started, each of which is connected to a solid-state hard disk; the test order of multiple performance test tools contained in each test machine is obtained, and according to the test order, the first performance test tool ranked first is controlled to test the solid-state hard disk, and the first test log and the first test result are obtained; whether the first test log is complete is detected; if the first test log is incomplete, whether the second performance test tool ranked second is controlled to continue to test the solid-state hard disk according to the limiting conditions of the first performance test tool; if the first test log is complete, the solid-state hard disk is initialized, and then the second performance test tool ranked second is controlled to continue to test the solid-state hard disk, and the second test log and the second test result are obtained; and so on, the test results of the multiple performance test tools contained in each test machine on the solid-state hard disk are counted. Through the present invention, multiple test machines are started to test the solid-state hard disks connected to the multiple test machines, and the test results are counted, which solves the problems of time and labor consumption, low test efficiency and error-prone statistics of test results when the performance test of the solid-state hard disk is performed. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 A schematic diagram of the hardware structure of a solid state drive performance test device involved in an embodiment of the present invention;

[0045] Figure 2 A schematic diagram of a flow chart of a first embodiment of a method for testing the performance of a solid state drive of the present invention;

[0046] Figure 3 It is a functional module diagram of the first embodiment of the performance testing device for a solid state drive of the present invention.

[0047] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0048] 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.

[0049] In a first aspect, an embodiment of the present invention provides a performance testing device for a solid state drive.

[0050] Reference Figure 1 , Figure 1The hardware structure diagram of the performance test equipment of the solid-state hard disk involved in the embodiment of the present invention is shown in FIG. In the embodiment of the present invention, the performance test equipment of the solid-state hard disk may include a processor 1001 (e.g., a central processing unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components; the user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (such as a wireless fidelity WIreless-FIdelity, WI-FI interface); the memory 1005 may be a high-speed random access memory (random access memory, RAM), or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may optionally be a storage device independent of the aforementioned processor 1001. Those skilled in the art will understand that Figure 1 The hardware structure shown in the figure does not constitute a limitation of the present invention, and may include more or less components than those shown in the figure, or combine certain components, or arrange the components differently.

[0051] Continue to refer to Figure 1 , Figure 1 The memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a performance test program for a solid state drive. The processor 1001 may call the performance test program for a solid state drive stored in the memory 1005 and execute the performance test method for a solid state drive provided in an embodiment of the present invention.

[0052] In a second aspect, an embodiment of the present invention provides a method for testing the performance of a solid state drive.

[0053] In one embodiment, referring to Figure 2 , Figure 2 FIG. 1 is a flow chart of a first embodiment of a method for testing the performance of a solid state drive according to the present invention. Figure 2 As shown, the performance test method of the solid state drive includes the following steps:

[0054] S10: starting multiple test machines, each of which is connected to a solid state drive;

[0055] In this embodiment, the identifications of multiple test machines are obtained, and the test machines corresponding to the identifications are started, and the identifications include the name, number or model of the test machine. Each test machine is connected to a solid state drive, that is, each time a test machine is started, a solid state drive can be tested.

[0056] S20: Obtain the test sequence of multiple performance testing tools included in each test machine, and control the first performance testing tool ranked first to test the solid state drive according to the test sequence, and obtain a first test log and a first test result;

[0057] In this embodiment, each test machine includes multiple performance testing tools, and multiple performance testing tools can be used to test multiple aspects of the performance of the solid-state drive. The test order of the multiple performance testing tools included in each test machine is obtained, and the first performance testing tool ranked first is started, and the test parameters of the first performance testing tool when testing the solid-state drive are obtained and the solid-state drive is initialized to reduce the test error, and then the first performance testing tool is controlled to test the solid-state drive. After the test is completed, the first test log and the first test result are obtained. When the appearance of a keyword is detected, it indicates that the test is over. Among them, the keywords include: ERROR, FAIL, PASS or Success.

[0058] Furthermore, in one embodiment, the step of controlling the first performance testing tool ranked first to test the solid state drive includes:

[0059] Obtain the test parameters of the first performance testing tool that ranks first, and test the solid state drive according to the test parameters of the first performance testing tool, wherein the test parameters include: test time, test range, test queue depth, test transfer size, and test cycle number.

[0060] In this embodiment, if the first performance testing tool is CrystaIDiskMark, then the test parameters of the first performance testing tool CrystaIDiskMark when testing the solid-state hard disk are obtained. The solid-state hard disk is initialized, and according to the test parameters, the first performance testing tool CrystaIDiskMark is controlled to test the solid-state hard disk. During the test, the test parameters are selected and controlled through the Python automation function. Among them, the test parameters include: the test time, the test range, the test queue depth, the test transfer size, and the test cycle number. It is easy to think that the first testing tool in this embodiment and the method of selecting and controlling the test parameters are for reference only and are not limited.

[0061] Furthermore, in one embodiment, the step of controlling the first performance testing tool ranked first to test the solid state drive and obtaining the first test log includes:

[0062] Obtain the maximum number of retests N of the first performance testing tool, control the first performance testing tool ranked first to test the solid-state drive, obtain the test log, and if the test log is incomplete, control the first performance testing tool to retest the solid-state drive;

[0063] If the test log is still incomplete when the first performance testing tool re-tests the solid-state drive for the Nth time, the test log obtained by testing the solid-state drive for the Nth time is used as the first test log;

[0064] If the test log is complete when the first performance testing tool retests the solid state drive for the Mth time, the test log obtained by testing the solid state drive for the Mth time is used as the first test log, where N and M are positive integers and M is less than N.

[0065] In this embodiment, the maximum number of retests N of the first performance testing tool is obtained. If the maximum number of retests of the first performance testing tool is 5 times, when the first performance testing tool is controlled to retest the solid-state hard disk, if the test log obtained by the first retest is complete, the test log obtained by the first retest is used as the first test log, and the solid-state hard disk is not retested; if the test log obtained by the first retest is incomplete, a second retest is performed. If the test log obtained by the second retest is complete, the test log obtained by the second retest is used as the first test log, and the solid-state hard disk is not retested; if the test log obtained by the second retest is incomplete, a third retest is performed. Similarly, if the test log obtained by the fifth retest is complete during the fifth retest, the test log obtained by the fifth retest is used as the first test log, and the SSD is not retested; if the test log obtained by the fifth retest is still incomplete, the test log obtained by the fifth retest is used as the first test log, and the SSD is not retested. It is easy to imagine that in this embodiment, the maximum number of retests of the first performance test tool is for reference only and is not limited here.

[0066] S30: Check whether the first test log is complete;

[0067] In this embodiment, a log file is generated during the process of the performance testing tool testing the solid state drive. If an error occurs during the test, the obtained log is incomplete; if no error occurs during the test, the obtained test log is complete.

[0068] S40: If the first test log is incomplete, determining whether to control the second performance test tool ranked second to continue testing the solid state drive according to the limiting condition of the first performance test tool;

[0069] In this embodiment, as described in step S20, when the test log is incomplete, it is necessary to control the first performance testing tool to retest the solid-state drive. If the maximum number of retests of the first performance testing tool is 5 times and the test log obtained by the fifth retest is still incomplete, the test log obtained by the fifth retest is used as the first test log. Then, the limiting condition of the first performance testing tool is determined. If the limiting condition of the first performance testing tool is to suspend subsequent tests, the second performance testing tool ranked second is not controlled to continue testing the solid-state drive. If the limiting condition of the first performance testing tool is to continue subsequent tests, the second performance testing tool ranked second is controlled to continue testing the solid-state drive.

[0070] Furthermore, in one embodiment, the step of determining whether to control the second performance testing tool ranked second to continue testing the solid state drive according to the limiting condition of the first performance testing tool includes:

[0071] If the limiting condition of the first performance testing tool is to suspend subsequent tests, the second performance testing tool ranked second will not be controlled to continue testing the solid state drive;

[0072] If the limiting condition of the first performance testing tool is to continue the subsequent test, the second performance testing tool ranked second is controlled to continue testing the solid state drive.

[0073] In this embodiment, if the limiting condition of the first performance testing tool is to suspend subsequent tests, the second performance testing tool ranked second will not be controlled to continue testing the solid-state drive. The test machine where the first performance testing tool is located completes the performance test of the solid-state drive, and obtains a test report generated based on the first test result obtained by the first performance testing tool testing the solid-state drive.

[0074] If the limiting condition of the first performance testing tool is to continue the subsequent test, the second performance testing tool ranked second is controlled to continue testing the solid state drive, and the second performance testing tool initializes the solid state drive before continuing to test the solid state drive to reduce errors.

[0075] S50: If the first test log is complete, the solid state drive is initialized, and then the second performance test tool ranked second is controlled to continue testing the solid state drive to obtain a second test log and a second test result;

[0076] In this embodiment, if the first test log obtained is complete, it means that the first performance test tool did not make any error during the test process. At this time, after the SSD is initialized, the test parameters of the second performance test tool that ranks second when testing the SSD are obtained, and the second performance test tool is controlled to continue testing the SSD according to the test parameters of the second performance test tool when testing the SSD. After the test is completed, the second test log and the second test result are obtained.

[0077] Further, in one embodiment, if the first test log is complete, the step of initializing the solid state drive includes:

[0078] S501: If the first test log is complete, determine whether the absolute value of the difference between the first test result and the database benchmark information is greater than a preset value;

[0079] In this embodiment, if the first test log is complete, the database reference information is 85, and the preset value is 5, when the first test result is 80, the absolute value of the difference between the first test result and the database reference information is not greater than the preset value; when the first test result is 76, the absolute value of the difference between the first test result and the database reference information is greater than the preset value. It is easy to imagine that the parameters in this embodiment are for reference only and are not limited here.

[0080] S502: If the value is greater than a preset value, control the first performance test tool to retest the solid state drive and then initialize the solid state drive;

[0081] In this embodiment, if the absolute value of the difference between the first test result and the database benchmark information is greater than a preset value, the maximum number of retests of the first performance test tool is obtained, and the first performance test tool is controlled to retest the solid-state drive. If the maximum number of retests of the first performance test tool is 5 times, and during the fifth retest, the absolute value of the difference between the first test result and the database benchmark information is still greater than the preset value, the test result of the fifth retest is used as the first test result, and the solid-state drive is initialized.

[0082] Further, in one embodiment, if the value is greater than a preset value, the step of controlling the first performance testing tool to retest the solid state drive includes:

[0083] Obtaining a maximum retesting number N of the first performance testing tool, and if the first test result is greater than a preset value, controlling the first performance testing tool to retest the solid state drive;

[0084] If the first performance test tool re-tests the solid-state drive for the Nth time and the first test result is still greater than the preset value, the test result obtained by testing the solid-state drive for the Nth time is used as the first test result, and the second performance test tool ranked second after the solid-state drive is initialized is controlled to continue testing the solid-state drive;

[0085] If the first performance testing tool re-tests the solid-state hard drive for the Mth time and the test result is not greater than the preset value, the test result obtained by testing the solid-state hard drive for the Mth time is used as the first test result, and the second performance testing tool that is ranked second after the solid-state hard drive is initialized is controlled to continue testing the solid-state hard drive, wherein N and M are positive integers, and M is less than N.

[0086] In this embodiment, the maximum number of retests N of the first performance testing tool is obtained. If the maximum number of retests of the first performance testing tool is 5, if the first test result is not greater than the preset value when the first performance testing tool retests the solid-state hard disk for the first time, the test result obtained when the solid-state hard disk is retested for the first time is used as the first test result. If the first test result is greater than the preset value when the first performance testing tool retests the solid-state hard disk for the first time, the solid-state hard disk is retested for the second time. Similarly, if the first test result is still greater than the preset value when the first performance testing tool retests the solid-state hard disk for the fifth time, the test result obtained when the solid-state hard disk is retested for the fifth time is used as the first test result.

[0087] S503: If it is not greater than the preset value, the solid state drive is initialized.

[0088] In this embodiment, if the absolute value of the difference between the first test result and the database benchmark information is not greater than the preset value, the first performance test tool ends the performance test of the solid state drive, initializes the solid state drive to reduce subsequent test errors, and starts the second performance test tool.

[0089] S60: And so on, the test results of the solid state drives by multiple performance test tools included in each test machine are counted.

[0090] In this embodiment, all test results obtained when the multiple performance test tools included in each test machine test the solid-state hard disk are counted, and the database is updated according to the test results and a corresponding test report is generated. Furthermore, the parameters of the solid-state hard disk are obtained, and the required performance test results of the solid-state hard disk are determined from the performance test results of multiple solid-state hard disks according to the parameters of the solid-state hard disk. The performance parameters of the solid-state hard disk include the model, number, and capacity information of the solid-state hard disk.

[0091] In this embodiment, multiple test machines are started, each of which is connected to a solid-state hard disk; the test order of multiple performance test tools contained in each test machine is obtained, and according to the test order, the first performance test tool ranked first is controlled to test the solid-state hard disk, and the first test log and the first test result are obtained; whether the first test log is complete is detected; if the first test log is incomplete, whether to control the second performance test tool ranked second to continue to test the solid-state hard disk is determined according to the limiting conditions of the first performance test tool; if the first test log is complete, the solid-state hard disk is initialized, and then the second performance test tool ranked second is controlled to continue to test the solid-state hard disk, and the second test log and the second test result are obtained; and so on, the test results of the solid-state hard disk by the multiple performance test tools contained in each test machine are counted. Through this embodiment, multiple test machines are started to test the solid-state hard disks connected to the multiple test machines, and the test results are counted, which solves the problems of time-consuming and labor-intensive, low test efficiency and error-prone statistics of test results when performing performance testing on solid-state hard disks.

[0092] Furthermore, in one embodiment, after the step of controlling the second performance testing tool ranked second to continue testing the solid state drive and obtaining the second test log and the second test result, the method further includes:

[0093] Check whether the second test log is complete;

[0094] If the second test log is incomplete, determining whether to control the third performance test tool ranked third to continue testing the solid state drive according to the limiting condition of the second performance test tool;

[0095] If the second test log is complete, the solid state drive is initialized, and then the third performance test tool ranked third is controlled to continue testing the solid state drive to obtain a third test log and a third test result.

[0096] In this embodiment, after obtaining the second test log and the second test result, the second test log is checked. If the second test log is incomplete, it is necessary to control the second performance testing tool to retest the solid-state drive. If the maximum number of retests of the second performance testing tool is 5 times and the test log obtained by the fifth retest is still incomplete, the test log obtained by the fifth retest is used as the second test log. Then, the limiting conditions of the second performance testing tool are determined. If the limiting conditions of the second performance testing tool are to suspend subsequent tests, the third performance testing tool ranked third is not controlled to continue testing the solid-state drive. If the limiting conditions of the second performance testing tool are to continue subsequent tests, the third performance testing tool ranked third is controlled to continue testing the solid-state drive.

[0097] If the acquired second test log is complete, it means that the second performance test tool did not make any error during the test. At this time, after the SSD is initialized, the test parameters of the third performance test tool ranked third when testing the SSD are acquired, and the third performance test tool is controlled to continue testing the SSD according to the test parameters of the third performance test tool when testing the SSD. After the test is completed, the third test log and the third test result are acquired.

[0098] In a third aspect, an embodiment of the present invention further provides a performance testing device for a solid state drive.

[0099] In one embodiment, referring to Figure 3 , Figure 3 Schematic diagram of the functional modules of the first embodiment of the performance testing device for a solid state hard disk of the present invention. Figure 3 As shown, the performance test device of the solid state drive includes:

[0100] Startup module 10: used to start multiple test machines, each of which is connected to a solid state drive;

[0101] The first control module 20 is used to obtain the test sequence of multiple performance test tools included in each test machine, and according to the test sequence, control the first performance test tool ranked first to test the solid state drive, and obtain the first test log and the first test result;

[0102] Detection module 30: used to detect whether the first test log is complete;

[0103] The judgment module 40 is used to judge whether to control the second performance test tool ranked second to continue testing the solid state drive according to the limiting conditions of the first performance test tool if the first test log is incomplete;

[0104] The second control module 50 is used to initialize the solid state drive if the first test log is complete, and then control the second performance test tool that is ranked second to continue testing the solid state drive, and obtain the second test log and the second test result;

[0105] Statistics module 60: used to, by analogy, count the test results of the solid state hard disks by the multiple performance test tools included in each test machine.

[0106] Furthermore, in one embodiment, the first control module 20 is used to:

[0107] Obtain the test parameters of the first performance testing tool that ranks first, and test the solid state drive according to the test parameters of the first performance testing tool, wherein the test parameters include: test time, test range, test queue depth, test transfer size, and test cycle number.

[0108] Furthermore, in one embodiment, the first control module 20 is further configured to:

[0109] Obtain the maximum number of retests N of the first performance testing tool, control the first performance testing tool ranked first to test the solid-state drive, obtain the test log, and if the test log is incomplete, control the first performance testing tool to retest the solid-state drive;

[0110] If the test log is still incomplete when the first performance testing tool re-tests the solid-state drive for the Nth time, the test log obtained by testing the solid-state drive for the Nth time is used as the first test log;

[0111] If the test log is complete when the first performance testing tool retests the solid state drive for the Mth time, the test log obtained by testing the solid state drive for the Mth time is used as the first test log, where N and M are positive integers and M is less than N.

[0112] Furthermore, in one embodiment, the determination module 40 is used to:

[0113] If the limiting condition of the first performance testing tool is to suspend subsequent tests, the second performance testing tool ranked second will not be controlled to continue testing the solid state drive;

[0114] If the limiting condition of the first performance testing tool is to continue the subsequent test, the second performance testing tool ranked second is controlled to continue testing the solid state drive.

[0115] Furthermore, in one embodiment, the second control module 50 is used to:

[0116] If the first test log is complete, determining whether the absolute value of the difference between the first test result and the database benchmark information is greater than a preset value;

[0117] If it is greater than the preset value, the first performance test tool is controlled to retest the solid state drive and then initialize the solid state drive;

[0118] If it is not greater than the preset value, the solid state drive will be initialized.

[0119] Furthermore, in one embodiment, the second control module 50 is further configured to:

[0120] Obtaining a maximum retesting number N of the first performance testing tool, and if the first test result is greater than a preset value, controlling the first performance testing tool to retest the solid state drive;

[0121] If the first performance test tool re-tests the solid-state drive for the Nth time and the first test result is still greater than the preset value, the test result obtained by testing the solid-state drive for the Nth time is used as the first test result, and the second performance test tool ranked second after the solid-state drive is initialized is controlled to continue testing the solid-state drive;

[0122] If the first performance testing tool re-tests the solid-state hard drive for the Mth time and the test result is not greater than the preset value, the test result obtained by testing the solid-state hard drive for the Mth time is used as the first test result, and the second performance testing tool that is ranked second after the solid-state hard drive is initialized is controlled to continue testing the solid-state hard drive, wherein N and M are positive integers, and M is less than N.

[0123] Furthermore, in one embodiment, the performance testing device for a solid state drive further includes a third control module, which is used to:

[0124] Check whether the second test log is complete;

[0125] If the second test log is incomplete, determining whether to control the third performance test tool ranked third to continue testing the solid state drive according to the limiting condition of the second performance test tool;

[0126] If the second test log is complete, the solid state drive is initialized, and then the third performance test tool ranked third is controlled to continue testing the solid state drive to obtain the third test log and the third test result;

[0127] Among them, the functional implementation of each module in the above-mentioned solid-state hard disk performance testing device corresponds to the various steps in the above-mentioned solid-state hard disk performance testing method embodiment, and its functions and implementation processes are no longer repeated here one by one.

[0128] In a fourth aspect, an embodiment of the present invention further provides a readable storage medium.

[0129] The readable storage medium of the present invention stores a performance test program for a solid state drive, wherein when the performance test program for the solid state drive is executed by a processor, the steps of the performance test method for the solid state drive described above are implemented.

[0130] Among them, the method implemented when the performance test program of the solid state drive is executed can refer to the various embodiments of the performance test method of the solid state drive of the present invention, and will not be repeated here.

[0131] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0132] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0133] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present invention.

[0134] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for testing the performance of a solid state drive, characterized in that: The performance testing method of the solid state drive comprises: Start multiple test machines, each of which is connected to a solid state drive; Obtaining a test sequence of multiple performance testing tools included in each test machine, and controlling a first performance testing tool ranked first to test the solid-state drive according to the test sequence, and obtaining a first test log and a first test result; Check whether the first test log is complete; If the first test log is incomplete, determining whether to control the second performance test tool ranked second to continue testing the solid state drive according to the limiting conditions of the first performance test tool; If the first test log is complete, the solid state drive is initialized, and then the second performance test tool ranked second is controlled to continue testing the solid state drive to obtain a second test log and a second test result; And so on, the test results of the solid-state drives by multiple performance test tools included in each test machine are counted.

2. The performance testing method of a solid state drive according to claim 1, wherein: The step of controlling the first performance testing tool that ranks first to test the solid state drive comprises: Obtain the test parameters of the first performance testing tool that ranks first, and test the solid state drive according to the test parameters of the first performance testing tool, wherein the test parameters include: test time, test range, test queue depth, test transfer size, and test cycle number.

3. The performance testing method of a solid state drive according to claim 1, wherein: The step of controlling the first performance test tool that ranks first to test the solid state drive and obtaining the first test log includes: Obtain the maximum number of retests N of the first performance testing tool, control the first performance testing tool ranked first to test the solid-state drive, obtain the test log, and if the test log is incomplete, control the first performance testing tool to retest the solid-state drive; If the test log is still incomplete when the first performance testing tool re-tests the solid-state drive for the Nth time, the test log obtained by testing the solid-state drive for the Nth time is used as the first test log; If the test log is complete when the first performance testing tool retests the solid state drive for the Mth time, the test log obtained by testing the solid state drive for the Mth time is used as the first test log, where N and M are positive integers and M is less than N.

4. The performance testing method of a solid state drive according to claim 1, wherein: The step of judging whether to control the second performance testing tool ranked second to continue testing the solid state drive according to the limiting condition of the first performance testing tool comprises: If the limiting condition of the first performance testing tool is to suspend subsequent tests, the second performance testing tool ranked second will not be controlled to continue testing the solid state drive; If the limiting condition of the first performance testing tool is to continue the subsequent test, the second performance testing tool ranked second is controlled to continue testing the solid state drive.

5. The performance testing method of a solid state drive according to claim 1, wherein: If the first test log is complete, the step of initializing the solid state drive includes: If the first test log is complete, determining whether the absolute value of the difference between the first test result and the database benchmark information is greater than a preset value; If it is greater than the preset value, the first performance test tool is controlled to retest the solid state drive and then initialize the solid state drive; If it is not greater than the preset value, the solid state drive will be initialized.

6. The performance testing method of a solid state drive according to claim 5, characterized in that: If the value is greater than the preset value, the step of controlling the first performance testing tool to retest the solid state drive comprises: Obtaining a maximum retesting number N of the first performance testing tool, and if the first test result is greater than a preset value, controlling the first performance testing tool to retest the solid state drive; If the first performance test tool re-tests the solid-state drive for the Nth time and the first test result is still greater than the preset value, the test result obtained by testing the solid-state drive for the Nth time is used as the first test result, and the second performance test tool ranked second after the solid-state drive is initialized is controlled to continue testing the solid-state drive; If the first performance testing tool re-tests the solid-state hard drive for the Mth time and the test result is not greater than the preset value, the test result obtained by testing the solid-state hard drive for the Mth time is used as the first test result, and the second performance testing tool that is ranked second after the solid-state hard drive is initialized is controlled to continue testing the solid-state hard drive, wherein N and M are positive integers, and M is less than N.

7. The performance testing method of a solid state drive according to claim 1, wherein: After the step of controlling the second performance test tool ranked second to continue testing the solid state drive and obtaining a second test log and a second test result, the method further includes: Check whether the second test log is complete; If the second test log is incomplete, determining whether to control the third performance test tool ranked third to continue testing the solid state drive according to the limiting condition of the second performance test tool; If the second test log is complete, the solid state drive is initialized, and then the third performance test tool ranked third is controlled to continue testing the solid state drive to obtain a third test log and a third test result.

8. A performance testing device for a solid state hard disk, characterized in that: The performance testing device of the solid state hard disk comprises: Startup module: used to start multiple test machines, each of which is connected to a solid-state drive; A first control module: used to obtain the test sequence of multiple performance test tools included in each test machine, and according to the test sequence, control the first performance test tool ranked first to test the solid state drive, and obtain a first test log and a first test result; Detection module: used to detect whether the first test log is complete; A judgment module: used for judging whether to control the second performance test tool ranked second to continue testing the solid state drive according to the limiting conditions of the first performance test tool if the first test log is incomplete; The second control module is used to initialize the solid state drive if the first test log is complete, and then control the second performance test tool that ranks second to continue testing the solid state drive, and obtain the second test log and the second test result; Statistics module: used to calculate the test results of the solid-state hard disk by multiple performance test tools included in each test machine.

9. A performance test device for a solid state drive, characterized in that: The performance testing device of the solid-state hard disk comprises a processor, a memory, and a performance testing program of the solid-state hard disk stored in the memory and executable by the processor, wherein when the performance testing program of the solid-state hard disk is executed by the processor, the steps of the performance testing method of the solid-state hard disk as described in any one of claims 1 to 7 are implemented.

10. A readable storage medium, characterized in that: The readable storage medium stores a performance test program for the solid state drive, wherein when the performance test program for the solid state drive is executed by the processor, the steps of the performance test method for the solid state drive as described in any one of claims 1 to 7 are implemented.