CN113742145A - Method, system, equipment and storage medium for testing performance of solid state disk - Google Patents

Method, system, equipment and storage medium for testing performance of solid state disk Download PDF

Info

Publication number
CN113742145A
CN113742145A CN202110838301.1A CN202110838301A CN113742145A CN 113742145 A CN113742145 A CN 113742145A CN 202110838301 A CN202110838301 A CN 202110838301A CN 113742145 A CN113742145 A CN 113742145A
Authority
CN
China
Prior art keywords
test
solid state
performance
state disk
disk
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202110838301.1A
Other languages
Chinese (zh)
Inventor
贾祥玉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202110838301.1A priority Critical patent/CN113742145A/en
Publication of CN113742145A publication Critical patent/CN113742145A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3037Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a memory, e.g. virtual memory, cache
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment

Abstract

The invention provides a method, a system, equipment and a storage medium for testing the performance of a solid state disk, wherein the method comprises the following steps: reading a workload configuration information set of each performance test in an appointed table under an appointed directory; carrying out first test on a bare disk of the solid state disk according to the workload configuration information set; creating a file system on the solid state disk, mounting the file system to a specified path, and performing a second test on the file system according to the working load configuration information set; and comparing and analyzing the test results of the first test and the second test to determine the performance of the solid state disk. The invention carries out comprehensive and automatic test on various performance items of the NVMe SSD under a bare disk and various file systems by using various tools, has rich and comprehensive test configuration items, full-automatic test process, automatic collection, drawing, analysis and comparison of test results, time and labor saving and clear results.

Description

Method, system, equipment and storage medium for testing performance of solid state disk
Technical Field
The present invention relates to the field of testing, and more particularly, to a method, system, device, and storage medium for testing performance of a solid state disk.
Background
With the rapid development of information technology, data is increasing explosively, NVMe (Non-Volatile Memory standard) SSD (Solid State Drive) has become the mainstream enterprise-level data storage carrier, performance is one of the most important bases for determining the superiority and inferiority of NVMe SSD, testing methods of performance baselines by various manufacturers are different, configurations such as testing tools, data preprocessing methods, performance testing workloads (workloads) have great influence on performance testing results, and it is desired to perform comprehensive baseline testing on configurations of different performance testing tools and different performance testing workloads, and huge testing configuration Workload, testing execution Workload, testing analysis Workload, and the like are generated, so that one can automatically read testing configurations, automatically complete testing performance index testing, NVMe SSD performance index testing, NVMe SSD performance index testing, and the like, An automatic test system for automatically collecting test results and automatically completing drawing analysis becomes an urgent problem which needs to be solved at present.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, a system, a computer device, and a computer readable storage medium for testing performance of a solid state disk, where the method performs a full-scale automatic test on various performance items of an NVMe SSD in a bare disk and various file systems by using multiple tools, the test configuration items are rich and comprehensive, the test process is full-automatic, the test results are automatically collected, plotted, analyzed, and compared, so that time and labor are saved, and the results are clear.
Based on the above purpose, an aspect of the embodiments of the present invention provides a method for testing performance of a solid state disk, including the following steps: reading a workload configuration information set of each performance test in an appointed table under an appointed directory; carrying out first test on a bare disk of the solid state disk according to the workload configuration information set; creating a file system on the solid state disk, mounting the file system to a specified path, and performing a second test on the file system according to the working load configuration information set; and comparing and analyzing the test results of the first test and the second test to determine the performance of the solid state disk.
In some embodiments, the method further comprises: and defining a workload configuration file, a log storage file path, a test result saving file and a mounting path.
In some embodiments, the method further comprises: and initializing a configuration test result excel table, defining each item header, and storing test result information into the corresponding cell.
In some embodiments, the method further comprises: setting the size of the solid state disk block as a first size, setting the queue depth as a first depth, and performing full disk sequential writing for a first number of times; and setting the size of the solid state disk block to be a second size, setting the queue depth to be a second depth, and performing full disk random writing for a second number of times.
In another aspect of the embodiments of the present invention, a system for testing performance of a solid state disk is provided, including: the configuration file reading module is used for reading a workload configuration information set of each performance test in a specified table under a specified directory; the bare disk performance testing module is configured to perform a first test on a bare disk of the solid state disk according to the workload configuration information set; the file system performance testing module is configured to create a file system on the solid state disk, mount the file system to a specified path, and perform a second test on the file system according to the workload configuration information set; and the test result comparison module is configured to compare and analyze the test results of the first test and the second test to determine the performance of the solid state disk.
In some embodiments, the system further comprises a common module configured to: and defining a workload configuration file, a log storage file path, a test result saving file and a mounting path.
In some embodiments, the system further comprises a test result saving module configured to: and initializing a configuration test result excel table, defining each item header, and storing test result information into the corresponding cell.
In some embodiments, the system further comprises a pre-processing initialization module configured to: setting the size of the solid state disk block as a first size, setting the queue depth as a first depth, and performing full disk sequential writing for a first number of times; and setting the size of the solid state disk block to be a second size, setting the queue depth to be a second depth, and performing full disk random writing for a second number of times.
In another aspect of the embodiments of the present invention, there is also provided a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method as above.
In a further aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, in which a computer program for implementing the above method steps is stored when the computer program is executed by a processor.
The invention has the following beneficial technical effects: various performance items of the NVMe SSD under a bare disk and various file systems are comprehensively and automatically tested by using various tools, test configuration items are rich and comprehensive, the test process is full-automatic, test results are automatically collected, drawn, analyzed and compared, time and labor are saved, and results are clear.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
Fig. 1 is a schematic diagram of an embodiment of a method for testing performance of a solid state disk according to the present invention;
FIG. 2 is a schematic diagram of an embodiment of a system for testing performance of a solid state disk provided in the present invention;
FIG. 3 is a schematic diagram of a hardware structure of an embodiment of a computer apparatus for testing performance of a solid state disk provided in the present invention;
FIG. 4 is a schematic diagram of an embodiment of a computer storage medium for testing performance of a solid state disk according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In a first aspect of the embodiments of the present invention, an embodiment of a method for testing performance of a solid state disk is provided. Fig. 1 is a schematic diagram illustrating an embodiment of a method for testing performance of a solid state disk provided in the present invention. As shown in fig. 1, the embodiment of the present invention includes the following steps:
s1, reading the workload configuration information set of each performance test in the specified table under the specified directory;
s2, performing a first test on the bare disk of the solid state disk according to the workload configuration information set;
s3, creating a file system on the solid state disk, mounting the file system to a specified path, and performing a second test on the file system according to the workload configuration information set; and
and S4, comparing and analyzing the test results of the first test and the second test to determine the performance of the solid state disk.
In some embodiments, the method further comprises: defining log file names, classifying the log into DEBUG, INFO, WARNING and ERROR, and setting the output format of the log as follows: year-month-day-hour: dividing into: second-filename-test account-log rating: and specific log information.
And reading the workload configuration information set of each performance test in a specified table under a specified directory. The openpyxl can be used for reading performance configuration workload information of each row and each column in a specified excel file specified sheet table under a specified directory.
In some embodiments, the method further comprises: and defining a workload configuration file, a log storage file path, a test result saving file and a mounting path. That is, a workload configuration file is defined, a log (log) storage file path is defined, a result storage file is defined, and a mount path is defined.
In some embodiments, the method further comprises: and initializing a configuration test result excel table, defining each item header, and storing test result information into the corresponding cell. The openpyxl can be used for initializing and configuring a test result excel table, defining each item header, and storing the test result information into the corresponding cell.
In some embodiments, the method further comprises: setting the size of the solid state disk block as a first size, setting the queue depth as a first depth, and performing full disk sequential writing for a first number of times; and setting the size of the solid state disk block to be a second size, setting the queue depth to be a second depth, and performing full disk random writing for a second number of times. Specifically, the method comprises the following steps: low level formatting as 4K LBAF; unloading the driver and then loading the driver; acquiring SSD SN (Serial Number) information; acquiring SSD Capacity information; acquiring SSD LBAF information; acquiring SSD Firmware version information; obtaining smart-log (intelligent log) information; acquiring identity controller (identity controller) information; acquiring identity namespace information; acquiring OS Version information; acquiring OS Kernel information; performing full disk sequential writing 4 times on the SSD, with BS (BlockSize) 128K and Iodepth 128; the SSD is written 1 times randomly on a full disc with BS 4K and Iodepth 1.
And carrying out first test on the bare disk of the solid state disk according to the workload configuration information set. Outputting corresponding log information; reading various performance test workload configuration information sets; analyzing the configuration information of each performance test workload; calling a testing tool (fio or vbench), filling each item of parsed workload configuration information, and starting a performance test; after the performance test is finished, storing a test result into a cell corresponding to a sheet page corresponding to the excel table; and calling a unittest framework, circularly testing each Workload of each test item (bandwidth, Input/Output Per Second (Input/Output Per Second), and time delay), and storing a test result after the test is finished.
And creating a file system on the solid state disk, mounting the file system to a specified path, and performing a second test on the file system according to the workload configuration information set. Outputting corresponding log information; reading various performance test workload configuration information sets; analyzing the configuration information of each performance test workload; performing file system creation operation on the SSD; mounting the file system to a specified mount path; calling a testing tool (fio or vbench), filling each item of parsed workload configuration information, and starting a performance test; after the performance test is finished, storing a test result into a cell corresponding to a sheet page corresponding to the excel table; and calling a unittest framework, circularly testing each Workload of each test item (bandwidth, Input/Output Per Second (Input/Output Per Second), and time delay), and storing a test result after the test is finished.
And comparing and analyzing the test results of the first test and the second test. Reading an input test result excel table to be compared; and comparing the uniform test items of the same sheet of different excel tables, storing the uniform test items into the same sheet, and drawing a columnar comparison graph.
According to the embodiment of the invention, various performance items of the NVMe SSD under a bare disk and various file systems are comprehensively and automatically tested by using various tools, the test configuration items are rich and comprehensive, the test process is full-automatic, the test results are automatically collected, drawn, analyzed and compared, time and labor are saved, and the results are clear.
It should be particularly noted that, the steps in the embodiments of the method for testing the performance of the solid state disk described above may be mutually intersected, replaced, added, and deleted, and therefore, the method for testing the performance of the solid state disk by these reasonable permutation and combination transformations shall also belong to the scope of the present invention, and shall not limit the scope of the present invention to the embodiments.
In view of the foregoing, a second aspect of the embodiments of the present invention provides a system for testing performance of a solid state disk. As shown in fig. 2, the system 200 includes the following modules: a configuration file reading module (getWorkload) which is configured for reading a workload configuration information set of each performance test in a specified table under a specified directory; a bare disk performance test module (deviceTest) configured to perform a first test on a bare disk of the solid state disk according to the workload configuration information set; a file system performance test module (filesystemest) configured to create a file system on the solid state disk, mount the file system to a specified path, and perform a second test on the file system according to the workload configuration information set; and a test result comparison module (plotResult) configured to compare and analyze the test results of the first test and the second test to determine the performance of the solid state disk.
In some embodiments, the system further comprises a logging module (getLogger) configured to: defining log file names, classifying the log into DEBUG, INFO, WARNING and ERROR, and setting the output format of the log as follows: year-month-day-hour: dividing into: second-filename-test account-log rating: and specific log information.
In some embodiments, the system further comprises a public module (public) configured to: and defining a workload configuration file, a log storage file path, a test result saving file and a mounting path.
In some embodiments, the system further comprises a test result saving module (saveseult) configured to: and initializing a configuration test result excel table, defining each item header, and storing test result information into the corresponding cell. The openpyxl can be used for initializing and configuring a test result excel table, defining each item header, and storing the test result information into the corresponding cell.
In some embodiments, the system further comprises a pre-processing initialization module (testInit) configured to: setting the size of the solid state disk block as a first size, setting the queue depth as a first depth, and performing full disk sequential writing for a first number of times; and setting the size of the solid state disk block to be a second size, setting the queue depth to be a second depth, and performing full disk random writing for a second number of times. Specifically, the method comprises the following steps: low level formatting to 4 KLBAF; unloading the driver and then loading the driver; acquiring SSD SN (Serial Number) information; acquiring SSD Capacity information; acquiring SSD LBAF information; acquiring SSD Firmware version information; obtaining smart-log (intelligent log) information; acquiring identity controller (identity controller) information; acquiring identity namespace information; acquiring OS Version information; acquiring OS Kernel information; performing full disk sequential writing 4 times on the SSD, with BS (BlockSize) 128K and Iodepth 128; the SSD is written 1 times randomly on a full disc with BS 4K and Iodepth 1.
And the bare disk performance test module (deviceTest) is configured to perform a first test on the bare disk of the solid state disk according to the workload configuration information set. Calling a log module and outputting corresponding log information; calling a configuration file reading module, and reading various performance test workload configuration information sets; calling ddt module, analyzing each item of performance test workload configuration information; calling a testing tool (fio or vbench), filling each item of parsed workload configuration information, and starting a performance test; after the performance test is finished, calling a test result storage module to store the test result into a cell corresponding to a sheet page corresponding to the excel sheet; and calling a unittest frame, circularly testing each Workload of each test item (bandwidth, IOPS and time delay), and storing a test result after the test is finished.
And the file system performance test module (filesystemest) is configured to create a file system on the solid state disk, mount the file system to a specified path, and perform a second test on the file system according to the workload configuration information set. Calling a log module and outputting corresponding log information; calling a configuration file reading module, and reading various performance test workload configuration information sets; calling ddt module, analyzing each item of performance test workload configuration information; performing file system creation operation on the SSD; mounting the file system to a mount path specified by the public module; calling a testing tool (fio or vbench), filling each item of parsed workload configuration information, and starting a performance test; after the performance test is finished, calling a test result storage module to store the test result into a cell corresponding to a sheet page corresponding to the excel sheet; and calling a unittest frame, circularly testing each Workload of each test item (bandwidth, IOPS and time delay), and storing a test result after the test is finished.
In some embodiments, the system further comprises a performance testing main scenario invocation module (main) configured to: importing modules such as getLogger, saveResult, testInit, deviceTest, filesystemest and the like; reference to the unittest framework; reading each item of information of the SSD before testing, and storing a 'test _ info' sheet page of a test result excel table; calling RunDeviceTestByFio, and performing various performance tests on the SSD bare disk by using the fio; calling RunDeviceTestByVdbench, and performing various performance tests on the SSD bare disk by using vdbech; calling RunFileTestByFio, and performing various performance tests on various file systems of the SSD by using the fio; calling RunFileTestByVdbech, and testing various performances of various file systems of the SSD by using vdbech; after the test is completed, an iopsConsistencyPlot method is called to carry out drawing analysis on the IOPS data consistency.
And the test result comparison module (plotResult) is configured to compare and analyze the test results of the first test and the second test to determine the performance of the solid state disk. Introducing modules such as openpyxl and matplotlib; reading an input test result excel table to be compared; and comparing the uniform test items of the same sheet of different excel tables, storing the uniform test items into the same sheet, and drawing a columnar comparison graph.
The embodiment of the invention can automatically read the test configuration, automatically complete the performance index test of the NVMe SSD, automatically collect the test result and automatically complete drawing analysis; performance testing tools used include "Fio" and "Vdbech"; the tested performance indexes comprise bandwidth, IOPS, Latency, data consistency and the like; the test result expression form comprises an excel table, a histogram, a curve graph and other forms; according to the scheme, various performance items of the NVMe SSD under a bare disk and various file systems are comprehensively and automatically tested by using various tools, test configuration items are rich and comprehensive, the test process is full-automatic, test results are automatically collected, drawn, analyzed and compared, time and labor are saved, and results are clear and clear.
In view of the above object, a third aspect of the embodiments of the present invention provides a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions being executable by the processor to perform the steps of: s1, reading the workload configuration information set of each performance test in the specified table under the specified directory; s2, performing a first test on the bare disk of the solid state disk according to the workload configuration information set; s3, creating a file system on the solid state disk, mounting the file system to a specified path, and performing a second test on the file system according to the workload configuration information set; and S4, comparing and analyzing the test results of the first test and the second test to determine the performance of the solid state disk.
In some embodiments, the method further comprises: and defining a workload configuration file, a log storage file path, a test result saving file and a mounting path.
In some embodiments, the method further comprises: and initializing a configuration test result excel table, defining each item header, and storing test result information into the corresponding cell.
In some embodiments, the method further comprises: setting the size of the solid state disk block as a first size, setting the queue depth as a first depth, and performing full disk sequential writing for a first number of times; and setting the size of the solid state disk block to be a second size, setting the queue depth to be a second depth, and performing full disk random writing for a second number of times.
According to the embodiment of the invention, various performance items of the NVMe SSD under a bare disk and various file systems are comprehensively and automatically tested by using various tools, the test configuration items are rich and comprehensive, the test process is full-automatic, the test results are automatically collected, drawn, analyzed and compared, time and labor are saved, and the results are clear.
Fig. 3 is a schematic diagram of a hardware structure of an embodiment of the computer device for testing performance of a solid state disk according to the present invention.
Taking the device shown in fig. 3 as an example, the device includes a processor 301 and a memory 302.
The processor 301 and the memory 302 may be connected by a bus or other means, such as the bus connection in fig. 3.
The memory 302 is a non-volatile computer-readable storage medium, and can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the method for testing the performance of a solid state disk in the embodiment of the present application. The processor 301 executes various functional applications and data processing of the server by running the nonvolatile software programs, instructions and modules stored in the memory 302, that is, the method for testing the performance of the solid state disk of the above method embodiment is implemented.
The method for testing the performance of the solid state disk comprises the following steps: reading a workload configuration information set of each performance test in an appointed table under an appointed directory; carrying out first test on a bare disk of the solid state disk according to the workload configuration information set; creating a file system on the solid state disk, mounting the file system to a specified path, and performing a second test on the file system according to the working load configuration information set; and comparing and analyzing the test results of the first test and the second test to determine the performance of the solid state disk.
In some embodiments, the method further comprises: and defining a workload configuration file, a log storage file path, a test result saving file and a mounting path.
In some embodiments, the method further comprises: and initializing a configuration test result excel table, defining each item header, and storing test result information into the corresponding cell.
In some embodiments, the method further comprises: setting the size of the solid state disk block as a first size, setting the queue depth as a first depth, and performing full disk sequential writing for a first number of times; and setting the size of the solid state disk block to be a second size, setting the queue depth to be a second depth, and performing full disk random writing for a second number of times.
The memory 302 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the method of testing the performance of the solid state disk, and the like. Further, the memory 302 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 302 optionally includes memory located remotely from processor 301, which may be connected to a local module via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Computer instructions 303 corresponding to one or more methods for testing the performance of the solid state disk are stored in the memory 302, and when executed by the processor 301, perform the method for testing the performance of the solid state disk in any of the above-described method embodiments.
Any embodiment of the computer device executing the method for testing the performance of the solid state disk can achieve the same or similar effects as any corresponding method embodiment.
The present invention also provides a computer-readable storage medium storing a computer program which, when executed by a processor, performs the method of testing the performance of a solid state disk as described above.
The method for testing the performance of the solid state disk comprises the following steps: reading a workload configuration information set of each performance test in an appointed table under an appointed directory; carrying out first test on a bare disk of the solid state disk according to the workload configuration information set; creating a file system on the solid state disk, mounting the file system to a specified path, and performing a second test on the file system according to the working load configuration information set; and comparing and analyzing the test results of the first test and the second test to determine the performance of the solid state disk.
In some embodiments, the method further comprises: and defining a workload configuration file, a log storage file path, a test result saving file and a mounting path.
In some embodiments, the method further comprises: and initializing a configuration test result excel table, defining each item header, and storing test result information into the corresponding cell.
In some embodiments, the method further comprises: setting the size of the solid state disk block as a first size, setting the queue depth as a first depth, and performing full disk sequential writing for a first number of times; and setting the size of the solid state disk block to be a second size, setting the queue depth to be a second depth, and performing full disk random writing for a second number of times.
Fig. 4 is a schematic diagram of an embodiment of a computer storage medium for testing performance of a solid state disk according to the present invention. Taking the computer storage medium as shown in fig. 4 as an example, the computer readable storage medium 401 stores a computer program 402 which, when executed by a processor, performs the method as described above.
Finally, it should be noted that, as one of ordinary skill in the art can appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program to instruct related hardware, and the program of the method for testing the performance of a solid state disk may be stored in a computer readable storage medium, and when executed, may include the processes of the embodiments of the methods as described above. The storage medium of the program may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (10)

1. A method for testing the performance of a solid state disk is characterized by comprising the following steps:
reading a workload configuration information set of each performance test in an appointed table under an appointed directory;
carrying out first test on a bare disk of the solid state disk according to the workload configuration information set;
creating a file system on the solid state disk, mounting the file system to a specified path, and performing a second test on the file system according to the working load configuration information set; and
and comparing and analyzing the test results of the first test and the second test to determine the performance of the solid state disk.
2. The method of claim 1, further comprising:
and defining a workload configuration file, a log storage file path, a test result saving file and a mounting path.
3. The method of claim 1, further comprising:
and initializing a configuration test result excel table, defining each item header, and storing test result information into the corresponding cell.
4. The method of claim 1, further comprising:
setting the size of the solid state disk block as a first size, setting the queue depth as a first depth, and performing full disk sequential writing for a first number of times; and
and setting the size of the solid state hard disk block as a second size and the queue depth as a second depth, and performing full disk random writing for a second number of times.
5. A system for testing performance of a solid state disk, comprising:
the configuration file reading module is used for reading a workload configuration information set of each performance test in a specified table under a specified directory;
the bare disk performance testing module is configured to perform a first test on a bare disk of the solid state disk according to the workload configuration information set;
the file system performance testing module is configured to create a file system on the solid state disk, mount the file system to a specified path, and perform a second test on the file system according to the workload configuration information set; and
and the test result comparison module is configured to compare and analyze the test results of the first test and the second test to determine the performance of the solid state disk.
6. The system of claim 5, further comprising a common module configured to:
and defining a workload configuration file, a log storage file path, a test result saving file and a mounting path.
7. The system of claim 5, further comprising a test result saving module configured to:
and initializing a configuration test result excel table, defining each item header, and storing test result information into the corresponding cell.
8. The system of claim 5, further comprising a pre-processing initialization module configured to:
setting the size of the solid state disk block as a first size, setting the queue depth as a first depth, and performing full disk sequential writing for a first number of times; and
and setting the size of the solid state hard disk block as a second size and the queue depth as a second depth, and performing full disk random writing for a second number of times.
9. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method of any one of claims 1 to 4.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN202110838301.1A 2021-07-23 2021-07-23 Method, system, equipment and storage medium for testing performance of solid state disk Withdrawn CN113742145A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110838301.1A CN113742145A (en) 2021-07-23 2021-07-23 Method, system, equipment and storage medium for testing performance of solid state disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110838301.1A CN113742145A (en) 2021-07-23 2021-07-23 Method, system, equipment and storage medium for testing performance of solid state disk

Publications (1)

Publication Number Publication Date
CN113742145A true CN113742145A (en) 2021-12-03

Family

ID=78729133

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110838301.1A Withdrawn CN113742145A (en) 2021-07-23 2021-07-23 Method, system, equipment and storage medium for testing performance of solid state disk

Country Status (1)

Country Link
CN (1) CN113742145A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114385877A (en) * 2022-03-23 2022-04-22 北京得瑞领新科技有限公司 Visual processing method and system of test process and computer readable medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114385877A (en) * 2022-03-23 2022-04-22 北京得瑞领新科技有限公司 Visual processing method and system of test process and computer readable medium
CN114385877B (en) * 2022-03-23 2022-06-03 北京得瑞领新科技有限公司 Visual processing method and system of test process and computer readable medium

Similar Documents

Publication Publication Date Title
CN108197306B (en) SQL statement processing method and device, computer equipment and storage medium
CN110750458A (en) Big data platform testing method and device, readable storage medium and electronic equipment
CN110515795B (en) Big data component monitoring method and device and electronic equipment
CN106682036A (en) Data exchange system and exchange method thereof
CN113688288B (en) Data association analysis method, device, computer equipment and storage medium
CN104850480A (en) Method and device for testing performance of hard disk of high-density storage server
CN115662489A (en) Hard disk test method and device, electronic equipment and storage medium
CN113742145A (en) Method, system, equipment and storage medium for testing performance of solid state disk
US11151013B2 (en) Systems and methods for performance evaluation of input/output (I/O) intensive enterprise applications
CN111625407B (en) SSD performance test method and related components
KR102635847B1 (en) Apparatus and method for application test automation
CN107885644A (en) It is a kind of based on the method that BIOS default values are quickly checked under linux system
CN111177119A (en) Database-based full-data comparison method, device, equipment and storage medium
CN115757174A (en) Database difference detection method and device
CN112765170B (en) Embedded time sequence data management method and device
CN109728929B (en) Test method, test device and storage medium
CN111367699B (en) Method, system, device and medium for processing error information
CN109947365B (en) Distributed storage data verification method and device
CN113535575A (en) Benchmark testing method and device for basic environment of software and hardware product
US10922249B2 (en) Input/output control code filter
ANDOR et al. NoSQL Database Performance Benchmarking-A Case Study
CN113608906B (en) Cloud computing memory address segment anomaly test method, system, terminal and storage medium
CN111241437B (en) Data processing method, device, server side and storage medium
CN114546692A (en) Fault classification method and device of solid state disk, storage medium and computer equipment
CN115408235A (en) Database analysis method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20211203