[go: up one dir, main page]

CN107402858A - A kind of application method and device of FIO testing tools - Google Patents

A kind of application method and device of FIO testing tools Download PDF

Info

Publication number
CN107402858A
CN107402858A CN201710647752.0A CN201710647752A CN107402858A CN 107402858 A CN107402858 A CN 107402858A CN 201710647752 A CN201710647752 A CN 201710647752A CN 107402858 A CN107402858 A CN 107402858A
Authority
CN
China
Prior art keywords
test
testing
test result
parameter
fio
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.)
Pending
Application number
CN201710647752.0A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710647752.0A priority Critical patent/CN107402858A/en
Publication of CN107402858A publication Critical patent/CN107402858A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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/2247Verification or detection of system hardware configuration
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/2268Logging of test results
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/26Functional testing
    • G06F11/263Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers

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)
  • Electrically Operated Instructional Devices (AREA)

Abstract

本发明公开了一种FIO测试工具的使用方法,该方法的步骤包括:根据所需的测试内容设置相应的测试参数以及FIO测试工具所具有的测试方法;将测试参数作为执行测试方法时的参数,并通过执行测试方法以得到测试结果;将测试结果进行组合并展示。可以理解的是,将结果数据进行组合展示相比于逐条展示结果数据避免了用户人工记录结果数据的复杂操作,更加方便用户进行数据之间的比对以及后续对于测试的分析,提高了测试效率的同时提高了用户的体验感。此外,FIO测试工具的使用装置同样具有上述效果。

The invention discloses a method for using a FIO test tool. The steps of the method include: setting the corresponding test parameters and the test method of the FIO test tool according to the required test content; using the test parameters as parameters when executing the test method , and obtain the test results by executing the test method; combine and display the test results. It is understandable that, compared with displaying the result data one by one, combining and displaying the result data avoids the complicated operation of manual recording of the result data by the user, and is more convenient for the user to compare the data and analyze the test later, and improves the test efficiency. While improving the user experience. In addition, the device for using the FIO test tool also has the above effects.

Description

一种FIO测试工具的使用方法及装置A method and device for using a FIO testing tool

技术领域technical field

本发明涉及硬件测试领域,特别是涉及一种FIO测试工具的使用方法及装置。The invention relates to the field of hardware testing, in particular to a method and device for using a FIO testing tool.

背景技术Background technique

FIO是一个I/O标准测试的硬件压力测试工具,最新版本的FIO能支持多达24种不同类型的I/O引擎。FIO几乎支持所有的存储描述参数,可以定制多种测试模式,并且支持块设备和文件系统测试。正是由于FIO强大的功能而被广泛的应用于标准测试、QA、验证测试等。FIO is a hardware stress testing tool for I/O standard testing. The latest version of FIO can support up to 24 different types of I/O engines. FIO supports almost all storage description parameters, can customize multiple test modes, and supports block device and file system tests. It is because of the powerful functions of FIO that it is widely used in standard testing, QA, verification testing, etc.

由于FIO是以命令行的形式进行操作的,因此用户需要根据所需要测试的内容逐条输入测试命令并得到相应的测试结果。但是测试得到的数据之间往往存在有一定的关联,用户逐条获取测试得到的数据很难对于整体的测试情况有一个全面的了解,当用户想进行相关数的比对时,就需要将之前测试得到的数据通过人工的方式记录下来或是翻阅之前输入命令所得到的结果,但是当进行比对的数据较多时,上述方法会大大增加用户使用FIO测试工具进行测试的复杂程度进而降低测试效率,并且用户的整体体验感较差。Since FIO operates in the form of a command line, the user needs to input test commands one by one according to the content to be tested and get the corresponding test results. However, there is often a certain correlation between the data obtained from the test. It is difficult for the user to obtain the data obtained from the test one by one to have a comprehensive understanding of the overall test situation. The obtained data is manually recorded or read the results obtained by inputting commands before, but when there is a lot of data for comparison, the above method will greatly increase the complexity of the user's testing using the FIO testing tool and reduce the testing efficiency. And the overall user experience is poor.

由此可见,提供一种FIO测试工具的使用方法,以降低用户使用FIO测试工具进行测试数据获取时的复杂程度,提高测试效率以及用户的整体体验感,是本领域技术人员亟待解决的问题。It can be seen that it is an urgent problem to be solved by those skilled in the art to provide a method for using the FIO test tool to reduce the complexity of the user when using the FIO test tool to obtain test data, improve the test efficiency and the overall experience of the user.

发明内容Contents of the invention

本发明的目的是提供一种FIO测试工具的使用方法及装置,更加方便用户进行数据之间的比对以及后续对于测试的分析,提高测试效率的同时提高用户的体验感。The purpose of the present invention is to provide a method and device for using a FIO test tool, which is more convenient for users to perform data comparison and subsequent test analysis, improve test efficiency and improve user experience.

为解决上述技术问题,本发明提供一种FIO测试工具的使用方法,包括:In order to solve the above technical problems, the present invention provides a method for using the FIO test tool, including:

根据所需的测试内容设置相应的测试参数以及FIO测试工具所具有的测试方法;Set the corresponding test parameters and test methods of the FIO test tool according to the required test content;

将测试参数作为执行测试方法时的参数,并通过执行测试方法以得到测试结果;Use the test parameters as the parameters when executing the test method, and obtain the test result by executing the test method;

将测试结果进行组合并展示。Combine and display test results.

优选的,在通过执行测试方法以得到测试结果后,该方法进一步包括:Preferably, after obtaining the test result by executing the test method, the method further includes:

将测试结果写入到文件中。Write test results to a file.

优选的,文件具体为CSV文件。Preferably, the file is specifically a CSV file.

优选的,测试参数具体包括:Preferably, the test parameters specifically include:

读写比例参数、块大小参数以及队列深度参数。Read and write scale parameters, block size parameters, and queue depth parameters.

优选的,该方法进一步包括:Preferably, the method further comprises:

设定测试结果的阈值;Setting thresholds for test results;

相应的,在通过执行测试方法以得到测试结果后,该方法进一步包括:Correspondingly, after the test result is obtained by executing the test method, the method further includes:

判断测试结果是否符合阈值;Determine whether the test result meets the threshold;

如果是,则执行将测试结果进行组合并展示的步骤,If yes, perform the steps of combining and displaying the test results,

否则,提示错误信息。Otherwise, an error message will be prompted.

优选的,将测试结果进行组合并展示具体为:Preferably, the test results are combined and displayed as follows:

通过使用minimal参数以及awk命令将测试结果进行组合并展示。Combine and display the test results by using the minimal parameter and the awk command.

此外,本发明还提供一种FIO测试工具的使用装置,包括:In addition, the present invention also provides a device for using a FIO testing tool, including:

参数设置模块,用于根据所需的测试内容设置相应的测试参数以及FIO测试工具所具有的测试方法;The parameter setting module is used to set the corresponding test parameters and the test methods of the FIO test tool according to the required test content;

测试执行模块,用于将测试参数作为执行测试方法时的参数,并通过执行测试方法以得到测试结果;The test execution module is used to use the test parameters as parameters when executing the test method, and obtain the test result by executing the test method;

组合展示模块,用于将测试结果进行组合并展示。The combination display module is used to combine and display the test results.

优选的,该装置进一步包括:Preferably, the device further comprises:

结果写入模块,用于将测试结果写入到文件中。The result writing module is used to write test results to a file.

优选的,该装置进一步包括:Preferably, the device further comprises:

判断模块,用于判断测试结果是否符合阈值,如果是,则调用组合展示模块,Judgment module, used to judge whether the test result meets the threshold, if yes, call the combined display module,

否则,调用错误提示模块;Otherwise, call the error prompt module;

错误提示模块,用于提示错误信息。The error prompt module is used to prompt error information.

本发明所提供的FIO测试工具的使用方法,根据用户所需要进行测试的内容设置测试所使用的FIO测试工具的测试方法以及相应的参数,执行测试方法并得到测试的结果数据,在得到结果数据后将结果数据进行组合并展示。可以理解的是,将结果数据进行组合展示相比于逐条展示结果数据避免了用户人工记录结果数据的复杂操作,更加方便用户进行数据之间的比对以及后续对于测试的分析,提高了测试效率的同时提高了用户的体验感。此外,本发明还提供一种FIO测试工具的使用装置,与上述的方法对应,有益效果如上所述。The using method of the FIO test tool provided by the present invention, the test method and the corresponding parameters of the FIO test tool used in the test are set according to the content of the test required by the user, the test method is executed and the result data of the test is obtained, and the result data is obtained The resulting data are then combined and displayed. It is understandable that, compared with displaying the result data one by one, combining and displaying the result data avoids the complicated operation of manual recording of the result data by the user, and is more convenient for the user to compare the data and analyze the test later, and improves the test efficiency. While improving the user experience. In addition, the present invention also provides a device for using the FIO test tool, corresponding to the above method, and the beneficial effect is as above.

附图说明Description of drawings

为了更清楚地说明本发明实施例,下面将对实施例中所需要使用的附图做简单的介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the embodiments of the present invention more clearly, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. As far as people are concerned, other drawings can also be obtained based on these drawings on the premise of not paying creative work.

图1为本发明实施例提供的一种FIO测试工具的使用方法的流程图;Fig. 1 is the flowchart of the using method of a kind of FIO test tool provided by the embodiment of the present invention;

图2为本发明实施例提供的另一种FIO测试工具的使用方法的流程图;Fig. 2 is the flow chart of another kind of FIO testing tool usage method that the embodiment of the present invention provides;

图3为本发明实施例提供的一种FIO测试工具的使用装置结构图。FIG. 3 is a structural diagram of a device for using a FIO testing tool provided by an embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下,所获得的所有其他实施例,都属于本发明保护范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本发明的核心是提供一种FIO测试工具的使用方法及装置,更加方便用户进行数据之间的比对以及后续对于测试的分析,提高了测试效率的同时提高了用户的体验感。The core of the present invention is to provide a method and device for using a FIO test tool, which is more convenient for users to compare data and conduct subsequent test analysis, improves test efficiency and improves user experience.

为了使本技术领域的人员更好地理解本发明方案,下面结合附图和具体实施方式对本发明作进一步的详细说明。In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

实施例一Embodiment one

图1为本发明实施例提供的一种FIO测试工具的使用方法的流程图。请参考图1,FIO测试工具的使用方法的具体步骤包括:FIG. 1 is a flowchart of a method for using a FIO testing tool provided by an embodiment of the present invention. Please refer to Figure 1, the specific steps of using the FIO test tool include:

步骤S10:根据所需的测试内容设置相应的测试参数以及FIO测试工具所具有的测试方法。Step S10: Set corresponding test parameters and test methods of the FIO test tool according to the required test content.

可以理解的是,FIO测试工具通过不同的命令执行与其相关的测试操作,并且由于每一个执行命令都有对应的测试参数,因此可以根据用户所需要进行的测试内容设定执行命令与测试参数。需要说明的是,由于测试命令的选择只关系到后续测试结果的内容,因此测试命令可以为多个可以互不相关,在此不做具体限定。It can be understood that the FIO test tool executes related test operations through different commands, and since each execution command has a corresponding test parameter, the execution command and test parameters can be set according to the test content required by the user. It should be noted that, since the selection of the test command is only related to the content of the subsequent test result, there may be multiple test commands which may be independent of each other, and no specific limitation is made here.

步骤S11:将测试参数作为执行测试方法时的参数,并通过执行测试方法以得到测试结果。Step S11: use the test parameters as parameters when executing the test method, and obtain the test result by executing the test method.

本步骤的目的是,执行测试方法进而得到测试结果,需要注意的是,即使是使用同样的测试方法,测试参数不同,测试结果也有所区别。因此用户可以采用多种测试中有代表性的参数数据作为测试参数,进而得到的测试结果能够更加全面以及准确,并且可以为后续对于测试的分析提供更有利的数据基础。The purpose of this step is to execute the test method to obtain the test results. It should be noted that even if the same test method is used, the test results are different with different test parameters. Therefore, users can use representative parameter data in various tests as test parameters, and the test results obtained can be more comprehensive and accurate, and can provide a more favorable data basis for subsequent test analysis.

步骤S12:将测试结果进行组合并展示。Step S12: Combine and display the test results.

本步骤中,将所得到的数据进行组合并展示,能够使用户更加全面系统的了解在不同测试参数情况下或不同测试方面的测试结果,所展示的内容更方便用户进行后续的使用,并且避免了用户进行测试结果记录的复杂步骤。In this step, combining and displaying the obtained data can enable users to more comprehensively and systematically understand the test results under different test parameters or different test aspects, and the displayed content is more convenient for users to use in the future, and avoids It eliminates the complicated steps for users to record test results.

本发明所提供的FIO测试工具的使用方法,根据用户所需要进行测试的内容设置测试所使用的FIO测试工具的测试方法以及相应的参数,执行测试方法并得到测试的结果数据,在得到结果数据后将结果数据进行组合并展示。可以理解的是,将结果数据进行组合展示相比于逐条展示结果数据避免了用户人工记录结果数据的复杂操作,更加方便用户进行数据之间的比对以及后续对于测试的分析,提高了测试效率的同时提高了用户的体验感。The using method of the FIO test tool provided by the present invention, the test method and the corresponding parameters of the FIO test tool used in the test are set according to the content of the test required by the user, the test method is executed and the result data of the test is obtained, and the result data is obtained The resulting data are then combined and displayed. It is understandable that, compared with displaying the result data one by one, combining and displaying the result data avoids the complicated operation of manual recording of the result data by the user, and is more convenient for the user to compare the data and analyze the test later, and improves the test efficiency. While improving the user experience.

实施例二Embodiment two

图2为本发明实施例提供的另一种FIO测试工具的使用方法的流程图。图2中步骤S10-S12与图1相同,在此不再赘述。FIG. 2 is a flow chart of another method for using the FIO testing tool provided by the embodiment of the present invention. Steps S10-S12 in FIG. 2 are the same as those in FIG. 1, and will not be repeated here.

如图2所示,作为一种优选的实施方式,在通过执行测试方法以得到测试结果后,该方法进一步包括:As shown in Figure 2, as a preferred embodiment, after the test method is executed to obtain the test result, the method further includes:

步骤S20:将测试结果写入到文件中。Step S20: Write the test result into a file.

可以理解的是,将测试结果写入文件的目的在于,方便用户对于测试结果的后续的多次使用,另外当设备出现故障时可以通过获取文件中的测试结果分析故障原因,进而能对设备故障进行更快速的处理。It is understandable that the purpose of writing the test results into the file is to facilitate the subsequent multiple use of the test results by the user. In addition, when the device fails, the cause of the failure can be analyzed by obtaining the test results in the file, and then the device failure can be detected. for faster processing.

在上述实施例的基础上,作为一种优选的实施方式,文件具体为CSV文件。On the basis of the foregoing embodiments, as a preferred implementation manner, the file is specifically a CSV file.

需要说明的是,CSV文件能够由任意数目的记录组成,记录间以换行符分隔,每条记录由字段组成,字段间的分隔符是其它字符或字符串,也可以使用制表符,因此CSV文件所展现的数据更为规范,并且对于数据的展示清晰,便于查看。通常,所有记录都有完全相同的字段序列,都是纯文本文件,因此可兼容性更高。It should be noted that a CSV file can be composed of any number of records, separated by newlines, each record is composed of fields, and the separators between fields are other characters or strings, tabs can also be used, so CSV The data displayed in the file is more standardized, and the display of the data is clear and easy to view. Typically, all records have the exact same sequence of fields and are plain text files, so compatibility is higher.

在上述实施例的基础上,作为一种优选的实施方式,测试参数具体包括:On the basis of the foregoing embodiments, as a preferred implementation manner, the test parameters specifically include:

读写比例参数、块大小参数以及队列深度参数。Read and write scale parameters, block size parameters, and queue depth parameters.

由于读写能力是硬件设备很重要的一项性能,而与硬件读写能力相关的参数主要为读写比例、块大小以及队列深度,因此将测试参数设置为上述三种参数并采取多种有代表性的数值进行测试能够更全面的展示出硬件设备的主要性能。Since the read and write ability is a very important performance of hardware equipment, and the parameters related to the hardware read and write ability are mainly the read and write ratio, block size and queue depth, so the test parameters are set to the above three parameters and a variety of effective Testing with representative values can more comprehensively demonstrate the main performance of hardware devices.

如图2所示,作为一种优选的实施方式,该方法进一步包括:As shown in Figure 2, as a preferred embodiment, the method further includes:

步骤S21:设定测试结果的阈值。Step S21: Setting the threshold of the test result.

相应的,在通过执行测试方法以得到测试结果后,该方法进一步包括:Correspondingly, after the test result is obtained by executing the test method, the method further includes:

步骤S22:判断测试结果是否符合阈值,Step S22: judging whether the test result meets the threshold,

如果是,则执行步骤S12,If yes, execute step S12,

否则,执行步骤S23。Otherwise, execute step S23.

步骤S23:提示错误信息。Step S23: Prompting error information.

需要说明的是,步骤S21可以在使用阈值前的任意步骤前进行,当然也可以与使用阈值前的任意步骤同时执行,在此不做具体限定。It should be noted that step S21 may be performed before any step before the threshold is used, and of course it may be performed simultaneously with any step before the threshold is used, which is not specifically limited here.

可以理解的是,在测试时可能出现测试结果与预期结果相差过大的情况,因此需要在出现上述情况时提示错误信息以及时告知用户,以便用户分析上述情况的发生原因并进行相应处理。It is understandable that the test result may differ greatly from the expected result during the test, so it is necessary to prompt an error message and inform the user in time when the above situation occurs, so that the user can analyze the cause of the above situation and deal with it accordingly.

在上述实施例的基础上,作为一种优选的实施方式,将测试结果进行组合并展示具体为:On the basis of the above examples, as a preferred implementation mode, the test results are combined and shown as follows:

通过使用minimal参数以及awk命令将测试结果进行组合并展示。Combine and display the test results by using the minimal parameter and the awk command.

需要说明的是,使用minimal参数以及awk命令能够将测试结果以分号间隔并空行输出,因此更加方便用户对测试数据进行分类查看。It should be noted that using the minimal parameter and the awk command can output the test results separated by semicolons and blank lines, so it is more convenient for users to classify and view the test data.

实施例三Embodiment three

在上文中对于FIO测试工具的使用方法的实施例进行了详细的描述,本发明还提供一种与该方法对应的FIO测试工具的使用装置,由于装置部分的实施例与方法部分的实施例相互对应,因此装置部分的实施例请参见方法部分的实施例的描述,这里暂不赘述。The embodiment of the method for using the FIO test tool has been described in detail above, and the present invention also provides a device for using the FIO test tool corresponding to the method, because the embodiments of the device part and the embodiments of the method part are mutually Correspondingly, for the embodiment of the device part, please refer to the description of the embodiment of the method part, and details will not be repeated here.

图3为本发明实施例提供的一种FIO测试工具的使用装置结构图。本发明实施例提供的FIO测试工具的使用装置,具体包括:FIG. 3 is a structural diagram of a device for using a FIO testing tool provided by an embodiment of the present invention. The device for using the FIO test tool provided by the embodiment of the present invention specifically includes:

参数设置模块10,用于根据所需的测试内容设置相应的测试参数以及FIO测试工具所具有的测试方法。The parameter setting module 10 is used to set corresponding test parameters and test methods of the FIO test tool according to the required test content.

测试执行模块11,用于将测试参数作为执行测试方法时的参数,并通过执行测试方法以得到测试结果。The test execution module 11 is configured to use the test parameters as parameters when executing the test method, and obtain the test result by executing the test method.

组合展示模块12,用于将测试结果进行组合并展示。The combined display module 12 is used for combining and displaying the test results.

本发明所提供的FIO测试工具的使用装置,根据用户所需要进行测试的内容设置测试所使用的FIO测试工具的测试方法以及相应的参数,执行测试方法并得到测试的结果数据,在得到结果数据后将结果数据进行组合并展示。可以理解的是,将结果数据进行组合展示相比于逐条展示结果数据避免了用户人工记录结果数据的复杂操作,更加方便用户进行数据之间的比对以及后续对于测试的分析,提高了测试效率的同时提高了用户的体验感。The device for using the FIO test tool provided by the present invention sets the test method and corresponding parameters of the FIO test tool used in the test according to the content of the test required by the user, executes the test method and obtains the result data of the test, and obtains the result data The resulting data are then combined and displayed. It is understandable that, compared with displaying the result data one by one, combining and displaying the result data avoids the complicated operation of manual recording of the result data by the user, and is more convenient for the user to compare the data and analyze the test later, and improves the test efficiency. While improving the user experience.

在实施例三的基础上,该装置还包括:On the basis of embodiment three, the device also includes:

结果写入模块,用于将测试结果写入到文件中。The result writing module is used to write test results to a file.

在实施例三的基础上,该装置还包括:On the basis of embodiment three, the device also includes:

判断模块,用于判断测试结果是否符合阈值,如果是,则调用组合展示模块,Judgment module, used to judge whether the test result meets the threshold, if yes, call the combined display module,

否则,调用错误提示模块;Otherwise, call the error prompt module;

错误提示模块,用于提示错误信息。The error prompt module is used to prompt error information.

以上对本发明所提供的一种FIO测试工具的使用方法及装置进行了详细介绍。说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以对本发明进行若干改进和修饰,这些改进和修饰也落入本发明权利要求的保护范围内。The usage method and device of a FIO test tool provided by the present invention have been introduced in detail above. Each embodiment in the description is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for the related information, please refer to the description of the method part. It should be pointed out that for those skilled in the art, without departing from the principles of the present invention, some improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the protection scope of the claims of the present invention.

还需要说明的是,在本说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that in this specification, relative terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations There is no such actual relationship or order between the operations. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.

Claims (9)

  1. A kind of 1. application method of FIO testing tools, it is characterised in that including:
    According to method of testing possessed by the required corresponding test parameter of test curriculum offering and FIO testing tools;
    Using the test parameter as parameter when performing the method for testing, and by performing the method for testing to be surveyed Test result;
    The test result is combined and shown.
  2. 2. according to the method for claim 1, it is characterised in that it is described by performing the method for testing to be tested As a result after, this method further comprises:
    The test result is written in file.
  3. 3. according to the method for claim 2, it is characterised in that the file is specially csv file.
  4. 4. method according to claim 1 or 2, it is characterised in that the test parameter specifically includes:
    Read and write scale parameter, block size parameter and queue depth's parameter.
  5. 5. method according to claim 1 or 2, it is characterised in that this method further comprises:
    Set the threshold value of the test result;
    Accordingly, it is described by performing the method for testing to obtain test result after, this method further comprises:
    Judge whether the test result meets the threshold value;
    If it is, the step of test result is combined and shown is performed,
    Otherwise, error message is prompted.
  6. 6. method according to claim 1 or 2, it is characterised in that described that the test result is combined and shown Specially:
    The test result is combined and shown by using minimal parameters and awk orders.
  7. A kind of 7. use device of FIO testing tools, it is characterised in that including:
    Parameter setting module, for being had according to the required corresponding test parameter of test curriculum offering and FIO testing tools Some method of testings;
    Testing execution module, for using the test parameter as parameter when performing the method for testing, and by performing Method of testing is stated to obtain test result;
    Display module is combined, for the test result to be combined and show.
  8. 8. device according to claim 7, it is characterised in that the device further comprises:
    As a result writing module, for the test result to be written in file.
  9. 9. device according to claim 7, it is characterised in that the device further comprises:
    Judge module, for judging whether the test result meets the threshold value, if it is, calling the combination displaying mould Block,
    Otherwise, call error reminding module;
    The miscue module, for prompting error message.
CN201710647752.0A 2017-08-01 2017-08-01 A kind of application method and device of FIO testing tools Pending CN107402858A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710647752.0A CN107402858A (en) 2017-08-01 2017-08-01 A kind of application method and device of FIO testing tools

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710647752.0A CN107402858A (en) 2017-08-01 2017-08-01 A kind of application method and device of FIO testing tools

Publications (1)

Publication Number Publication Date
CN107402858A true CN107402858A (en) 2017-11-28

Family

ID=60401196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710647752.0A Pending CN107402858A (en) 2017-08-01 2017-08-01 A kind of application method and device of FIO testing tools

Country Status (1)

Country Link
CN (1) CN107402858A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100125767A1 (en) * 2008-11-18 2010-05-20 Industrial Technology Research Institute Method for testing reliability of solid-state storage medium
CN103514957A (en) * 2012-06-15 2014-01-15 北京百度网讯科技有限公司 SSD testing method and system thereof
CN104317684A (en) * 2014-09-28 2015-01-28 浪潮电子信息产业股份有限公司 A method for synchronously and automatically testing the bandwidth and transmission rate of multiple USB interfaces
CN106685727A (en) * 2017-01-11 2017-05-17 郑州云海信息技术有限公司 A Screening Design Scheme for Performance Test Data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100125767A1 (en) * 2008-11-18 2010-05-20 Industrial Technology Research Institute Method for testing reliability of solid-state storage medium
CN103514957A (en) * 2012-06-15 2014-01-15 北京百度网讯科技有限公司 SSD testing method and system thereof
CN104317684A (en) * 2014-09-28 2015-01-28 浪潮电子信息产业股份有限公司 A method for synchronously and automatically testing the bandwidth and transmission rate of multiple USB interfaces
CN106685727A (en) * 2017-01-11 2017-05-17 郑州云海信息技术有限公司 A Screening Design Scheme for Performance Test Data

Similar Documents

Publication Publication Date Title
CN107516510B (en) Automatic voice testing method and device for intelligent equipment
US8645912B2 (en) System and method for use in replaying software application events
CN111209185B (en) Keyword-based automated testing method and computer-readable storage medium
US20150074648A1 (en) Software defect verification
US10162742B2 (en) System and method for end to end performance response time measurement based on graphic recognition
CN106133537A (en) A kind of FPGA function module emulation verification method and system thereof
CN106502895A (en) A kind of automatic test information generation device and method
CN107885628A (en) A kind of method of testing, device and the equipment of magnetic disc i/o performance
CN107391378A (en) The generation method and device of a kind of test script
CN110134609A (en) Enterprise-level web application system page method for testing performance, device and medium
CN107729238A (en) A kind of plug-in unit adjustment method, system, device and computer-readable recording medium
CN107908513A (en) A kind of test method, device and the equipment of storage medium and storage device performance
CN101742531A (en) Method and device for storing test data
CN105243013A (en) Software testing method and system
CN106959919A (en) Method for testing software and device based on test path figure
CN111008140B (en) Cross-platform UI (user interface) automatic testing method and device
CN103913672A (en) Satellite low-frequency interface automatic testing system
CN108959078A (en) A kind of end Windows automatic software test method and system
CN108268362A (en) A kind of method and device that curve graph is drawn under NVcaffe frames
CN107608841A (en) Hard disk test document generating method, device, equipment and readable storage medium storing program for executing
CN115952079A (en) Method and system for recording mobile application automation behaviors and analyzing and positioning defects
CN107402858A (en) A kind of application method and device of FIO testing tools
CN107679567A (en) A kind of code copies Activity recognition methods, devices and systems
JP2007025497A (en) Education support program and education support device
CN107885648A (en) A kind of method and apparatus for generating test report

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171128