CN111290895A - Method, device, equipment and medium for testing IO performance of server - Google Patents
Method, device, equipment and medium for testing IO performance of server Download PDFInfo
- Publication number
- CN111290895A CN111290895A CN202010071060.8A CN202010071060A CN111290895A CN 111290895 A CN111290895 A CN 111290895A CN 202010071060 A CN202010071060 A CN 202010071060A CN 111290895 A CN111290895 A CN 111290895A
- Authority
- CN
- China
- Prior art keywords
- test
- fio
- testing
- performance
- tool
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 487
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000004590 computer program Methods 0.000 claims description 14
- 230000000007 visual effect Effects 0.000 claims description 7
- 238000011056 performance test Methods 0.000 claims description 4
- 238000009434 installation Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 6
- 238000004458 analytical method Methods 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000000059 patterning Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000009662 stress testing Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection 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/221—Detection 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 buses, lines or interfaces, e.g. stuck-at or open line faults
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The application discloses a method, a device, equipment and a medium for testing IO performance of a server, wherein the method comprises the following steps: initializing a graphical test interface; acquiring a FIO test parameter configuration instruction monitored by the graphical test interface; carrying out test parameter configuration of the FIO test tool according to the FIO test parameter configuration instruction; starting the FIO testing tool to test the local IO performance to obtain a corresponding test result; and storing the test result, and visually displaying the test result according to a preset graphical style. Therefore, the usability of the FIO test tool can be improved through the graphical test interface, the test result is displayed in a graphical mode, the test result is convenient to observe and analyze, the test result is automatically stored, the test result is convenient to derive, and the operation is simple.
Description
Technical Field
The present disclosure relates to the field of server testing technologies, and in particular, to a method, an apparatus, a device, and a medium for testing IO performance of a server.
Background
With the development of storage technology, the storage space of the required storage system is larger and larger, and reaches the PB level (1PB ═ 2)10TB=250B) At the same time, the storage system also presents a performance bottleneck. For storage systems, the three most important performance indicators are typically IOPS (Input/Output Operations Per Second), throughput, and latency. IOPS is the number of read and write times per second of the storage system, throughput is the amount of read and write data per second, and latency is the IO operation slaveThe time elapsed from the start of the request to the receipt of the acknowledgement. In order to test the IO performance of the system and verify whether the performance has a bottleneck in actual development, an IO performance test tool is used for testing. FIO is a very good tool for testing server IOPS's for stress testing and verification of hard disks, and supports 13 different I/O engines, including sync, mmap, libaio, posixaio, SG v3, splice, null, network, syslet, guasi, sola, etc. The FIO testing tool can support multi-thread and multi-process IO testing, and a user can customize different IO behaviors such as sequential reading and writing, random reading and writing and the like only by configuring parameters and monitor the performance of the IO behaviors.
When the FIO testing tool is used for carrying out the IO performance test of the server, a use instruction and a plurality of corresponding parameters need to be input, when the parameters are input, an official document needs to be referred for inputting, the obtained testing result or log is displayed in a pure character mode, and the official document needs to be referred when the testing result is analyzed, so that the FIO testing tool is low in usability and the testing result is inconvenient to analyze. In addition, the test results need to be collected manually for storage, and when the number of test result files is large, the collection of the test results is very inconvenient.
Disclosure of Invention
In view of this, an object of the present application is to provide a method, an apparatus, a device, and a medium for testing IO performance of a server, which can improve usability of an FIO testing tool through a graphical testing interface, perform graphical style display on a testing result, facilitate observation and analysis of the testing result, automatically store the testing result, facilitate export of the testing result, and are simple to operate. The specific scheme is as follows:
in a first aspect, the present application discloses a server IO performance testing method, applied to a server, including:
initializing a graphical test interface;
acquiring a FIO test parameter configuration instruction monitored by the graphical test interface;
carrying out test parameter configuration of the FIO test tool according to the FIO test parameter configuration instruction;
starting the FIO testing tool to test the local IO performance to obtain a corresponding test result;
and storing the test result, and visually displaying the test result according to a preset graphical style.
Optionally, before initializing the graphical test interface, the method further includes:
detecting whether the FIO test tool is installed locally;
if the FIO testing tool is installed locally, judging whether the version of the FIO testing tool meets the requirements of a local testing environment;
and if the version of the FIO testing tool does not meet the requirement of the local testing environment, displaying the prompting message that the corresponding version of the FIO testing tool is not applicable.
Optionally, the obtaining of the configuration instruction of the FIO test parameters monitored by the graphical test interface includes:
acquiring FIO test parameter configuration instructions which are monitored by the graphical test interface and correspond to different tasks;
correspondingly, the starting the FIO test tool to test the local IO performance to obtain a corresponding test result, including:
and starting the FIO testing tool to test the local IO performance corresponding to different tasks to obtain corresponding testing results.
Optionally, the starting the FIO testing tool to test the local IO performance to obtain a corresponding test result further includes:
and storing the test logs, and summarizing the test logs by using an xls table.
Optionally, the storing the test result includes:
in the current task execution process, storing the obtained test result in real time;
or after the current task is finished, storing all the test results corresponding to the current task.
Optionally, after storing the test result, the method further includes:
receiving a test result search request;
retrieving target data from the test result according to the test result search request;
and visually displaying the target data.
Optionally, the visually displaying the test result according to a preset graphical style includes:
and visually displaying the target parameters in the test result by using a change curve.
In a second aspect, the present application discloses a server IO performance testing apparatus, which is applied to a server, and includes:
the initialization module is used for initializing the graphical test interface;
the instruction acquisition module is used for acquiring a FIO test parameter configuration instruction monitored by the graphical test interface;
the parameter configuration module is used for configuring the test parameters of the FIO test tool according to the FIO test parameter configuration instruction;
the test tool starting module is used for starting the FIO test tool to test the local IO performance to obtain a corresponding test result;
the storage module is used for storing the test result;
and the visual display module is used for visually displaying the test result according to a preset graphical style.
In a third aspect, the application discloses a server IO performance testing device, including:
a memory and a processor;
wherein the memory is used for storing a computer program;
the processor is configured to execute the computer program to implement the server IO performance testing method disclosed above.
In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the server IO performance testing method disclosed above.
Therefore, the graphical test interface is initialized firstly; then, acquiring an FIO test parameter configuration instruction monitored by the graphical test interface, and configuring test parameters of an FIO test tool according to the FIO test parameter configuration instruction; starting the FIO test tool to test the local IO performance to obtain a corresponding test result; and then storing the test result, and visually displaying the test result according to a preset graphical style. From this it can be seen that this application needs initialize graphical test interface earlier, then acquires after the FIO test parameter configuration instruction that graphical test interface monitored, according to FIO test parameter configuration instruction carries out the test parameter configuration of FIO testing tool, then starts FIO testing tool tests local IO performance, obtains corresponding test result, and right test result is saved and is right according to predetermineeing graphical pattern the test result carries out visual display, can improve FIO testing tool ease of use through graphical test interface like this, carries out graphical pattern to the test result and shows, is convenient for observe and analyze the test result, carries out automatic storage to the test result, is convenient for derive the test result, and easy operation.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a server IO performance testing method disclosed in the present application;
FIG. 2 is a graph showing the results of a conventional test;
FIG. 3 is a flowchart of a specific method for testing IO performance of a server according to the present disclosure;
FIG. 4 is a flowchart of a specific method for testing IO performance of a server according to the present disclosure;
FIG. 5 is a schematic diagram of a graphical test interface structure disclosed herein;
fig. 6 is a schematic structural diagram of a server IO performance testing apparatus disclosed in the present application;
FIG. 7 is a block diagram of an IO performance testing apparatus of a server according to the disclosure;
fig. 8 is a diagram of a server structure disclosed in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
At present, when an FIO testing tool is used for carrying out server IO performance testing, a use instruction and a plurality of corresponding parameters need to be input, when the parameters are input, an official document needs to be referred for inputting, the obtained testing result or log is displayed in a pure character mode, and the official document needs to be referred when the testing result is analyzed, so that the FIO testing tool is low in usability and the testing result is inconvenient to analyze. In addition, the test results need to be collected manually for storage, and when the number of test result files is large, the collection of the test results is very inconvenient. In view of this, the present application provides a method for testing IO performance of a server, which can improve usability of an FIO test tool through a graphical test interface, perform graphical style display on a test result, facilitate observation and analysis of the test result, automatically store the test result, facilitate derivation of the test result, and is simple in operation.
Referring to fig. 1, an embodiment of the present application discloses a server IO performance testing method, which is applied to a server, and the method includes:
step S11: and initializing a graphical test interface.
Because in the prior art, when a user utilizes the FIO test tool to perform the IO performance test of the server, the user needs to input a corresponding use instruction and each parameter, such as rw (read-write mode), size (test file size), numjobs (test thread), runtime (test time), and the like, and the test result is displayed in pure text, as shown in fig. 2, so that the FIO test tool is not easy to use, a special graphical test interface is designed in the application, so that the test parameter input of the FIO test tool and the display of the test result and the like can be performed through the graphical test interface, and the parameters on the graphical test interface can be displayed in a classified manner and in a partition manner, and corresponding remarks are added, thereby facilitating the user to perform the parameter input.
In a specific implementation process, the graphical test interface needs to be initialized first. When a new task test is performed each time, the graphical test interface needs to be initialized first, specifically, test parameters are initialized, so that a user can input new parameters.
Step S12: and acquiring a FIO test parameter configuration instruction monitored by the graphical test interface.
It can be understood that after the graphical test interface is initialized, the FIO test parameter configuration instructions monitored by the graphical test interface need to be acquired. Specifically, after the user inputs parameters through the graphical test interface, the graphical test interface monitors an FIO test parameter configuration instruction, so as to perform corresponding parameter configuration.
Step S13: and configuring the test parameters of the FIO test tool according to the FIO test parameter configuration instruction.
It can be understood that after the FIO test parameter configuration instruction is obtained, the test parameter configuration of the FIO test tool needs to be performed according to the FIO test parameter configuration instruction.
Step S14: and starting the FIO testing tool to test the local IO performance to obtain a corresponding test result.
And after the test parameter configuration of the FIO test tool is completed, starting the FIO test tool to test the local IO performance to obtain a corresponding test result. Specifically, the FIO test tool may be started in a graphical operation mode to test the local IO performance, so as to obtain a corresponding test result. After the test result is obtained, the FIO test tool also needs to be shut down through the patterning operation mode. For example, the FIO test tool can be activated by clicking a corresponding button in the graphical test interface in the graphical operation mode.
Step S15: and storing the test result, and visually displaying the test result according to a preset graphical style.
It can be understood that after the test result is obtained, the test result needs to be stored, and the test result needs to be visually displayed according to a preset graphical style. For example, the target parameters in the test results are displayed in a variation curve.
Therefore, the graphical test interface is initialized firstly; then, acquiring an FIO test parameter configuration instruction monitored by the graphical test interface, and configuring test parameters of an FIO test tool according to the FIO test parameter configuration instruction; starting the FIO test tool to test the local IO performance to obtain a corresponding test result; and then storing the test result, and visually displaying the test result according to a preset graphical style. From this it can be seen that this application needs initialize graphical test interface earlier, then acquires after the FIO test parameter configuration instruction that graphical test interface monitored, according to FIO test parameter configuration instruction carries out the test parameter configuration of FIO testing tool, then starts FIO testing tool tests local IO performance, obtains corresponding test result, and right test result is saved and is right according to predetermineeing graphical pattern the test result carries out visual display, can improve FIO testing tool ease of use through graphical test interface like this, carries out graphical pattern to the test result and shows, is convenient for observe and analyze the test result, carries out automatic storage to the test result, is convenient for derive the test result, and easy operation.
Referring to fig. 3, an embodiment of the present application discloses a specific server IO performance testing method, which is applied to a server, and the method includes:
step S201: it is detected whether the FIO test tool is installed locally.
In a specific implementation process, it is required to first detect whether a FIO test tool is installed locally, so that the FIO test tool can be used to test local IO performance.
Step S202: and if the FIO testing tool is installed locally, judging whether the version of the FIO testing tool meets the requirements of a local testing environment.
It is understood that, after detecting whether the FIO testing tool is installed locally, if the FIO testing tool is installed locally, it is determined whether the version of the FIO testing tool meets the local testing environment requirements. And if the FIO test tool is not installed locally, displaying a corresponding installation page so that a user can install the FIO test tool locally.
Step S203: and if the version of the FIO testing tool does not meet the requirement of the local testing environment, displaying the prompting message that the corresponding version of the FIO testing tool is not applicable.
When the FIO testing tool is detected to be installed locally, if the version of the FIO testing tool does not meet the requirement of a local testing environment, displaying prompt information that the corresponding FIO testing tool is not applicable to the version. The displaying of the prompt information that the corresponding FIO test tool version is not applicable further includes: and displaying a corresponding installation page so that the user can uninstall the installed FIO testing tool and reinstall the FIO testing tool of which the version meets the requirements of the local testing environment. If the version of the FIO test tool meets the local test environment requirements, the FIO test tool can be used normally. Specifically, when the version of the FIO test tool does not meet the local test environment requirement, a corresponding installation page is displayed, so that the user can uninstall the installed FIO test tool, select an installation path of the FIO test tool, and reinstall the FIO test tool of which the version meets the local test environment requirement. And if the installation path is empty, creating the installation path by a user or automatically so as to install the FIO testing tool with the version meeting the requirements of the local testing environment.
Step S204: and initializing a graphical test interface.
Step S205: and acquiring a FIO test parameter configuration instruction monitored by the graphical test interface.
It can be understood that the FIO test parameter configuration instructions monitored by the graphical test interface need to be obtained, where the FIO test parameter configuration instructions monitored by the graphical test interface may include FIO test parameter configuration instructions corresponding to different tasks.
Step S206: and configuring the test parameters of the FIO test tool according to the FIO test parameter configuration instruction.
In a specific implementation process, after the FIO test parameter configuration instruction is obtained, the test parameter configuration of the FIO test tool needs to be performed according to the FIO test parameter configuration instruction. When the FIO test parameter configuration instruction includes FIO test parameter configuration instructions corresponding to different tasks, test parameters of the FIO test tool corresponding to the different tasks need to be configured. Specifically, FIO test parameter configuration instructions corresponding to different tasks may be stored first, after the current task is finished, test parameters of a FIO test tool of a next task are configured automatically according to the FIO test parameter configuration instructions, and the FIO test tool is started to execute test tasks until all tasks are executed.
Step S207: and starting the FIO testing tool to test the local IO performance to obtain a corresponding test result.
After the configuration of the test parameters of the FIO test tool is completed, the FIO test tool needs to be started to test the local IO performance, so as to obtain a corresponding test result. When the FIO test parameter configuration instruction includes a FIO test parameter configuration instruction corresponding to a different task, the starting of the FIO test tool tests the local IO performance to obtain a corresponding test result, including: and starting the FIO testing tool to test the local IO performance corresponding to different tasks to obtain corresponding testing results. Specifically, the FIO test tool is started to perform serial processing on different tasks.
After obtaining the test result, the method further comprises: and storing the test logs, and summarizing the test logs by using an xls table. After the current task is finished, whether all the test tasks are finished or not needs to be judged, and if not, the next task is executed.
Step S208: and storing the test result, and visually displaying the test result according to a preset graphical style.
In a specific implementation process, after the test result is obtained, the test result needs to be stored, and the test result is visually displayed according to a preset graphical style. The storing the test result includes: in the current task execution process, storing the obtained test result in real time; or after the current task is finished, storing all the test results corresponding to the current task. Specifically, the obtained test results may be stored in real time during the execution of the current task, or all the test results corresponding to the current task may be stored after the current task is finished. After storing the test results, exporting the test results is facilitated. Wherein, the visually displaying the test result according to a preset graphical style comprises: and visually displaying the target parameters in the test result by using a change curve.
Step S209: a test result search request is received.
After the test result is stored, a test result search request can be received, so that target data can be output according to the test result search request.
Step S210: and retrieving target data from the test result according to the test result search request.
It will be appreciated that, after receiving the test result search request, target data is retrieved from the test results in accordance with the test result search request. For example, when a certain parameter in the test result needs to be viewed, the corresponding parameter may be searched from the test result.
Step S211: and visually displaying the target data.
After the target data is retrieved from the test result, the target data needs to be visually displayed for the user to observe and analyze.
Referring to fig. 4, a flowchart of a server IO performance testing method is shown. Firstly, judging whether the version of an FIO test tool in a current test environment meets the requirement by a graphical test interface, if so, directly entering a graphical operation mode, if not, selecting an installation path of the FIO test tool, judging whether the installation path is empty, if not, automatically installing the FIO test tool, if so, creating the path and automatically installing the FIO test tool, and after automatically installing the FIO test tool, starting to enter the graphical operation mode, starting/closing the automatically installed FIO test tool to perform corresponding test, storing/exporting test data, processing the test data and performing visual display. Wherein, the test data is also the test result.
Fig. 5 is a schematic diagram showing a structure of a graphical test interface. The graphical test interface comprises: the device comprises an initialization module, a version detection module, an installation module, a test module, a data storage module and an output module. The initialization module is used for initializing the graphical test interface; the version detection module is used for detecting whether a local FIO test tool is installed and whether the version of the current FIO test tool meets the requirements of the current test environment; the installation module is used for installing a corresponding FIO test tool when the FIO test tool is not installed locally and/or the version of the current FIO test tool does not meet the requirement of the current test environment; the test module is used for testing parameter configuration; the data storage module is used for storing the test result, summarizing the log, exporting the test result and the like; and the output module is used for visually displaying the graphical test result according to a preset graphical style and searching the test result.
Referring to fig. 6, an embodiment of the present application discloses a server IO performance testing apparatus, which is applied to a server, and includes:
the initialization module 11 is used for initializing a graphical test interface;
the instruction obtaining module 12 is configured to obtain a configuration instruction of the FIO test parameters monitored by the graphical test interface;
the parameter configuration module 13 is configured to perform test parameter configuration of the FIO test tool according to the FIO test parameter configuration instruction;
the test tool starting module 14 is configured to start the FIO test tool to test the local IO performance, so as to obtain a corresponding test result;
the storage module 15 is used for storing the test result;
and the visual display module 16 is used for visually displaying the test result according to a preset graphical style.
Therefore, the graphical test interface is initialized firstly; then, acquiring an FIO test parameter configuration instruction monitored by the graphical test interface, and configuring test parameters of an FIO test tool according to the FIO test parameter configuration instruction; starting the FIO test tool to test the local IO performance to obtain a corresponding test result; and then storing the test result, and visually displaying the test result according to a preset graphical style. From this it can be seen that this application needs initialize graphical test interface earlier, then acquires after the FIO test parameter configuration instruction that graphical test interface monitored, according to FIO test parameter configuration instruction carries out the test parameter configuration of FIO testing tool, then starts FIO testing tool tests local IO performance, obtains corresponding test result, and right test result is saved and is right according to predetermineeing graphical pattern the test result carries out visual display, can improve FIO testing tool ease of use through graphical test interface like this, carries out graphical pattern to the test result and shows, is convenient for observe and analyze the test result, carries out automatic storage to the test result, is convenient for derive the test result, and easy operation.
Further, referring to fig. 7, an embodiment of the present application further discloses a server IO performance testing device, including: a processor 21 and a memory 22.
Wherein the memory 22 is used for storing a computer program; the processor 21 is configured to execute the computer program to implement the method for testing the IO performance of the server disclosed in the foregoing embodiment.
For a specific process of the method for testing IO performance of the server, reference may be made to corresponding contents disclosed in the foregoing embodiments, which are not described herein again.
Further, referring to fig. 8, which is a schematic structural diagram of a server 20 provided in the embodiment of the present application, the server 20 can implement the steps of the server IO performance testing method described in the foregoing embodiment.
In general, the server 20 in the present embodiment includes: a processor 21 and a memory 22.
The processor 21 may include one or more processing cores, such as a four-core processor, an eight-core processor, and so on. The processor 21 may be implemented by at least one hardware of a DSP (digital signal processing), an FPGA (field-programmable gate array), and a PLA (programmable logic array). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a GPU (graphics processing unit) which is responsible for rendering and drawing images to be displayed on the display screen. In some embodiments, the processor 21 may include an AI (artificial intelligence) processor for processing a calculation operation related to machine learning.
In some embodiments, the server 20 may also include a display screen 23, an input/output interface 24, a communication interface 25, sensors 26, a power supply 27, and a communication bus 28.
Those skilled in the art will appreciate that the configuration shown in FIG. 8 is not limiting to server 20 and may include more or fewer components than those shown.
Further, an embodiment of the present application further discloses a computer-readable storage medium for storing a computer program, where the computer program is executed by a processor to implement the server IO performance testing method disclosed in any of the foregoing embodiments.
For a specific process of the method for testing IO performance of the server, reference may be made to corresponding contents disclosed in the foregoing embodiments, which are not described herein again.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of other elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The server IO performance testing method, device, equipment and medium provided by the present application are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (10)
1. A server IO performance test method is applied to a server and comprises the following steps:
initializing a graphical test interface;
acquiring a FIO test parameter configuration instruction monitored by the graphical test interface;
carrying out test parameter configuration of the FIO test tool according to the FIO test parameter configuration instruction;
starting the FIO testing tool to test the local IO performance to obtain a corresponding test result;
and storing the test result, and visually displaying the test result according to a preset graphical style.
2. The method for testing the IO performance of the server according to claim 1, wherein before initializing the graphical test interface, the method further comprises:
detecting whether the FIO test tool is installed locally;
if the FIO testing tool is installed locally, judging whether the version of the FIO testing tool meets the requirements of a local testing environment;
and if the version of the FIO testing tool does not meet the requirement of the local testing environment, displaying the prompting message that the corresponding version of the FIO testing tool is not applicable.
3. The method for testing the IO performance of the server according to claim 1, wherein the obtaining of the configuration instruction of the FIO test parameters monitored by the graphical test interface includes:
acquiring FIO test parameter configuration instructions which are monitored by the graphical test interface and correspond to different tasks;
correspondingly, the starting the FIO test tool to test the local IO performance to obtain a corresponding test result, including:
and starting the FIO testing tool to test the local IO performance corresponding to different tasks to obtain corresponding testing results.
4. The method for testing the IO performance of the server according to claim 1, wherein the step of starting the FIO testing tool to test the IO performance of the local IO device to obtain the corresponding test result further comprises:
and storing the test logs, and summarizing the test logs by using an xls table.
5. The method for server IO performance testing according to claim 1, wherein the storing the test result includes:
in the current task execution process, storing the obtained test result in real time;
or after the current task is finished, storing all the test results corresponding to the current task.
6. The method for testing the IO performance of the server according to claim 1, further comprising, after storing the test result:
receiving a test result search request;
retrieving target data from the test result according to the test result search request;
and visually displaying the target data.
7. The method for testing the IO performance of the server according to any one of claims 1 to 6, wherein the visually displaying the test result according to a preset graphical style includes:
and visually displaying the target parameters in the test result by using a change curve.
8. The utility model provides a server IO capability test device which characterized in that is applied to the server, includes:
the initialization module is used for initializing the graphical test interface;
the instruction acquisition module is used for acquiring a FIO test parameter configuration instruction monitored by the graphical test interface;
the parameter configuration module is used for configuring the test parameters of the FIO test tool according to the FIO test parameter configuration instruction;
the test tool starting module is used for starting the FIO test tool to test the local IO performance to obtain a corresponding test result;
the storage module is used for storing the test result;
and the visual display module is used for visually displaying the test result according to a preset graphical style.
9. A server IO performance testing device, comprising:
a memory and a processor;
wherein the memory is used for storing a computer program;
the processor is configured to execute the computer program to implement the server IO performance testing method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the server IO performance testing method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010071060.8A CN111290895A (en) | 2020-01-21 | 2020-01-21 | Method, device, equipment and medium for testing IO performance of server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010071060.8A CN111290895A (en) | 2020-01-21 | 2020-01-21 | Method, device, equipment and medium for testing IO performance of server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111290895A true CN111290895A (en) | 2020-06-16 |
Family
ID=71029193
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010071060.8A Withdrawn CN111290895A (en) | 2020-01-21 | 2020-01-21 | Method, device, equipment and medium for testing IO performance of server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111290895A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112380085A (en) * | 2020-12-08 | 2021-02-19 | 吉林大学 | All-round automatic disk testing tool |
CN115129572A (en) * | 2022-07-29 | 2022-09-30 | 苏州浪潮智能科技有限公司 | Performance test method, device, equipment and medium |
-
2020
- 2020-01-21 CN CN202010071060.8A patent/CN111290895A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112380085A (en) * | 2020-12-08 | 2021-02-19 | 吉林大学 | All-round automatic disk testing tool |
CN115129572A (en) * | 2022-07-29 | 2022-09-30 | 苏州浪潮智能科技有限公司 | Performance test method, device, equipment and medium |
CN115129572B (en) * | 2022-07-29 | 2024-06-28 | 苏州浪潮智能科技有限公司 | Performance test method, device, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6279154B1 (en) | Apparatus and method for an install system for third party applications | |
US20070245339A1 (en) | Creating documentation screenshots on demand | |
US8752023B2 (en) | System, method and program product for executing a debugger | |
CN104268473B (en) | Method and device for detecting application programs | |
CN111639018B (en) | Memory leakage detection method and device | |
CN107193747B (en) | Code testing method and device and computer equipment | |
KR20170102880A (en) | Application installation/uninstallation across multiple systems | |
CN111290895A (en) | Method, device, equipment and medium for testing IO performance of server | |
CN111666201A (en) | Regression testing method, device, medium and electronic equipment | |
CN112363884A (en) | Method and system for testing memory performance of domestic operating system | |
CN111966603A (en) | Memory leak detection method and device, readable storage medium and electronic equipment | |
CN111045926B (en) | Application program jamming detection method, device, medium and electronic equipment | |
US20030043208A1 (en) | Dynamic menu system | |
CN108009039B (en) | Terminal information recording method, device, storage medium and electronic equipment | |
CN105446785A (en) | Method and system for unloading application program | |
CN115481025A (en) | Script recording method and device for automatic test, computer equipment and medium | |
CN113805861B (en) | Code generation method based on machine learning, code editing system and storage medium | |
CN114020717A (en) | Method, device, equipment and medium for acquiring performance data of distributed storage system | |
CN110609750A (en) | Method and system for automatically analyzing deadlock of embedded equipment | |
CN111124423A (en) | Multi-platform-based compiling detection method, device, server and medium | |
CN104503872B (en) | Method and device for testing system performance of terminal equipment | |
US20240232060A9 (en) | Information processing system with intelligent program smoke testing | |
CN110659089A (en) | Boarder application recommendation method, equipment and storage medium | |
CN113900928B (en) | IO load automatic test method and device | |
CN112380106B (en) | One-stop processor performance test extensible system facing UOS |
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: 20200616 |