Nothing Special   »   [go: up one dir, main page]

CN115757066A - Hard disk performance test method, device, equipment, storage medium and program product - Google Patents

Hard disk performance test method, device, equipment, storage medium and program product Download PDF

Info

Publication number
CN115757066A
CN115757066A CN202211458945.9A CN202211458945A CN115757066A CN 115757066 A CN115757066 A CN 115757066A CN 202211458945 A CN202211458945 A CN 202211458945A CN 115757066 A CN115757066 A CN 115757066A
Authority
CN
China
Prior art keywords
hard disk
tested
processor
test
testing
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
CN202211458945.9A
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.)
Zhongke Controllable Information Industry Co Ltd
Original Assignee
Zhongke Controllable Information Industry 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 Zhongke Controllable Information Industry Co Ltd filed Critical Zhongke Controllable Information Industry Co Ltd
Priority to CN202211458945.9A priority Critical patent/CN115757066A/en
Publication of CN115757066A publication Critical patent/CN115757066A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The application relates to a method, a device, equipment, a storage medium and a program product for testing the performance of a hard disk, wherein the method comprises the following steps: the server responds to a test instruction of the hard disk to be tested, determines a processor node to which the hard disk to be tested belongs according to configuration parameters carried in the test instruction, determines a target processor core of the hard disk to be tested from all processor cores in the processor node, and then tests the hard disk to be tested through the target processor core to obtain a performance test result of the hard disk to be tested. According to the method, the target processor core corresponding to the hard disk to be tested is determined in the processor node to which the hard disk to be tested belongs, the performance of the hard disk to be tested is tested through the target processor core, the hard disk to be tested is tested through the corresponding processor core to which the hard disk belongs, the performance of the hard disk on the server can be better obtained, and the accuracy of the performance test of the hard disk on the server is improved.

Description

Hard disk performance test method, device, equipment, storage medium and program product
Technical Field
The present application relates to the field of performance testing technologies, and in particular, to a method, an apparatus, a device, a storage medium, and a program product for testing performance of a hard disk.
Background
With the gradual maturity of solid state disk products and market development, enterprise-level solid state disks are also being driven to more widely enter the key application field of users.
Taking a logic device interface specification Solid State Disk (NVMe SSD) as an example, the application of the NVMe SSD to the server is more and more common under the push of the data center. Therefore, by testing the performance of the NVMe SSD on the server, it is important to measure the storage performance of the server.
However, the performance of the solid state disk cannot be accurately tested by the current method for testing the performance of the solid state disk.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus, a device, a storage medium, and a program product for testing the performance of a solid state disk, which can accurately test the performance of the solid state disk.
In a first aspect, the present application provides a method for testing hard disk performance, including:
responding to a test instruction of the hard disk to be tested, and determining a processor node to which the hard disk to be tested belongs according to configuration parameters carried in the test instruction;
determining a target processor core of the hard disk to be tested from all processor cores in the processor node;
and testing the hard disk to be tested through the target processor core to obtain a performance test result of the hard disk to be tested.
In the embodiment of the application, the target processor core corresponding to the hard disk to be tested is determined from the processor node to which the hard disk to be tested belongs, the performance of the hard disk to be tested is tested through the target processor core, and the hard disk to be tested is tested through the corresponding processor core to which the hard disk to be tested belongs.
In one embodiment, the configuration parameters comprise identification information of the hard disk to be tested; determining a processor node to which a hard disk to be tested belongs according to configuration parameters carried in a test instruction, wherein the method comprises the following steps:
and determining the processor node to which the hard disk to be tested belongs according to the identification information of the hard disk to be tested and the corresponding relation between the preset hard disk and the processor node.
In the embodiment of the application, the processor node to which the hard disk to be tested belongs can be determined more quickly through the preset corresponding relation between the hard disk and the processor node, and the target processor core of the hard disk to be tested can be determined from the processing node to which the hard disk belongs conveniently in the follow-up process.
In one embodiment, determining a target processor core of a hard disk to be tested from all processor cores in a processor node comprises:
acquiring priority information of all processor cores in a processor node to which a hard disk to be tested belongs;
and determining target processor cores of the hard disks to be tested in all the processor cores in the processor nodes according to the mapping relation between the preset hard disks and the number of the processor cores and the priority of each processor core.
In the embodiment of the application, the target processor cores of the hard disks to be tested are determined according to the priority information of all the processor cores in the processor node to which the hard disks to be tested belong, so that the target processor cores corresponding to the hard disks to be tested are ensured to be obtained from the processor node to which the hard disks to be tested belong, the processor cores in the processor nodes are utilized to perform performance test on the hard disks to be tested, and the accuracy of performance test results is ensured; and the target processor core of the hard disk to be tested can be quickly and accurately determined in all the processor cores in the processor node based on the priority information and the mapping relation of all the processor cores in the processor node.
In one embodiment, determining a target processor core of a hard disk to be tested in all processor cores in a processor node according to a mapping relationship between a preset hard disk and the number of processor cores and the priority of each processor core comprises:
determining the required number of target processor cores according to a mapping relation between a preset hard disk and the number of the processor cores;
and acquiring the processor cores with the same number as the required number from all the processor cores as the target processor cores of the hard disk to be tested in the order of the priority of each processor core from high to low.
In the embodiment of the application, the target processor cores with the same number as the processors required by the hard disk to be tested are determined in a priority from high to low mode, so that the hard disk to be tested can be conveniently tested through the target processor cores in the follow-up process, and the accuracy of the performance test result of the hard disk to be tested is ensured.
In one embodiment, the testing the hard disk to be tested by the target processor core to obtain a performance test result of the hard disk to be tested includes:
acquiring a test process of a hard disk to be tested;
binding the test process to a target processor core of the hard disk to be tested to obtain a test model corresponding to the hard disk to be tested;
and testing the hard disk to be tested through the test model to obtain a performance test result of the hard disk to be tested.
In the embodiment of the application, the hard disk to be tested is tested by binding the testing process to the target processor core corresponding to the hard disk to be tested, and the target processor core is the processor core in the processor node to which the hard disk to be tested belongs, so that the accuracy of the performance testing result of the hard disk to be tested is ensured.
In one embodiment, if there are a plurality of hard disks to be tested and the configuration parameters carry test mode identifiers, testing the hard disks to be tested by the target processor core includes:
determining the test mode type of the hard disk to be tested according to the test mode identification;
and testing the corresponding hard disk to be tested by adopting a testing mode corresponding to the testing mode type through the target processor core of each hard disk to be tested.
In the embodiment of the application, under the condition that the hard disks to be tested are multiple, the hard disks to be tested are tested in the pre-configured test mode, the test requirements can be met, the method is not limited to one test mode, different test modes are configured according to different requirements, the test diversity is guaranteed, and the test requirements are enriched.
In one embodiment, the method for testing the corresponding hard disk to be tested through the target processor core of each hard disk to be tested by adopting a test mode corresponding to the test mode type includes:
if the test mode is a single test mode, testing each hard disk to be tested in sequence;
and if the test mode is a parallel test mode, testing all the hard disks to be tested in parallel.
In the embodiment of the application, the test mode corresponds to a single test mode and a parallel test mode, and the hard disk to be tested is tested through the test mode, so that the test diversity is ensured, and the test requirement is enriched.
In one embodiment, the configuration parameters further include a read-write mode of the hard disk to be tested, and before the hard disk to be tested is tested by the target processor core, the method further includes:
if the read-write mode is a random read-write mode, adjusting the state of the hard disk to be tested into a random steady state; the random steady state is a steady state under a random read-write mode corresponding to the hard disk to be tested;
if the read-write mode is a sequential read-write mode, adjusting the state of the hard disk to be tested into a sequential steady state; the sequential steady state is a steady state under a sequential read-write mode corresponding to the hard disk to be tested.
In the embodiment of the application, the corresponding stable state is set through the difference of the read-write modes of the hard disks to be tested, so that the performance of the hard disks to be tested is better, and the stability and the accuracy of the performance test of the hard disks to be tested are ensured.
In a second aspect, the present application further provides a device for testing the performance of a hard disk, the device including:
the response module is used for responding to a test instruction of the hard disk to be tested and determining a processor node to which the hard disk to be tested belongs according to configuration parameters carried in the test instruction;
the determining module is used for determining a target processor core of the hard disk to be tested from all processor cores in the processor node;
and the test module is used for testing the hard disk to be tested through the target processor core so as to obtain a performance test result of the hard disk to be tested.
In a third aspect, an embodiment of the present application provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements, when executing the computer program, the steps of any one of the methods provided in the embodiment of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of any one of the methods provided in the embodiments of the first aspect.
In a fifth aspect, the present application provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of any one of the methods provided in the embodiments of the first aspect.
According to the hard disk performance testing method, the hard disk performance testing device, the hard disk performance testing equipment, the storage medium and the program product, the server responds to a testing instruction of the hard disk to be tested, determines a processor node to which the hard disk to be tested belongs according to configuration parameters carried in the testing instruction, determines a target processor core of the hard disk to be tested from all processor cores in the processor node, and then tests the hard disk to be tested through the target processor core to obtain a performance testing result of the hard disk to be tested. According to the method, the target processor core corresponding to the hard disk to be tested is determined in the processor node to which the hard disk to be tested belongs, the performance of the hard disk to be tested is tested through the target processor core, the hard disk to be tested is tested through the corresponding processor core, and the performance test result can better represent the performance of the hard disk on the server and improve the accuracy of the performance test of the hard disk on the server because the target processor core for testing the hard disk to be tested is the core in the processor node to which the hard disk to be tested belongs.
Drawings
FIG. 1 is a diagram of an application environment of a method for testing the performance of a hard disk in one embodiment;
FIG. 2 is a flowchart illustrating a method for testing hard disk performance according to an embodiment;
FIG. 3 is a schematic flowchart illustrating a method for testing hard disk performance in another embodiment;
FIG. 4 is a flowchart illustrating a method for testing hard disk performance according to another embodiment;
FIG. 5 is a flowchart illustrating a method for testing hard disk performance in another embodiment;
FIG. 6 is a flowchart illustrating a method for testing hard disk performance according to another embodiment;
FIG. 7 is a flowchart illustrating a method for testing hard disk performance in another embodiment;
FIG. 8 is a flowchart illustrating a method for testing hard disk performance in another embodiment;
FIG. 9 is a flowchart illustrating a method for testing hard disk performance according to another embodiment;
FIG. 10 is a block diagram showing the structure of a device for testing the performance of a hard disk according to an embodiment;
FIG. 11 is a diagram illustrating an internal structure of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The hard disk performance testing method provided by the embodiment of the application can be applied to the application environment shown in fig. 1. Wherein the data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104 or may be placed on the cloud or other network server. The server 104 may be implemented as a stand-alone server or a server cluster comprised of multiple servers.
In the prior art, when testing the performance of the solid state disk on the server, the processor cores need to be bound manually, and when the cores are bound, the cores in the server are only directly selected for binding, so that the test work cannot be finished efficiently and accurately.
Based on this, the embodiment of the application provides a method, an apparatus, a device, a storage medium and a program product for testing the performance of a hard disk, which can accurately test the performance of a solid state disk.
In an embodiment, as shown in fig. 2, a method for testing hard disk performance is provided, which is described by taking the application of the method to the server in fig. 1 as an example, and includes the following steps:
s201, responding to a test instruction of the hard disk to be tested, and determining a processor node to which the hard disk to be tested belongs according to configuration parameters carried in the test instruction.
The server responds to a test instruction of the hard disk to be tested, wherein the hard disk to be tested is a hard disk needing performance test, the test instruction carries configuration parameters, and the server can analyze the configuration parameters in the test instruction and determine a server node to which the hard disk to be tested belongs; the hard disk to be tested may be an NVMe SSD.
In a Non-Uniform Memory Access (NUMA) architecture, different Memory devices and a Central Processing Unit (CPU) core belong to different processor nodes (nodes), and each Node has its own Integrated Memory Controller (IMC); for example, if a server has 2 processors and 4 solid state drives, 1 processor and two solid state drives can be combined to form a processor Node (NUMA Node), and thus the server includes two processor nodes.
Optionally, one hard disk corresponds to one processor node, one processor node corresponds to one or more hard disks, at least one hard disk to be tested is provided, and if a plurality of hard disks to be tested are provided, the hard disks to be tested may belong to the same processor node or may not belong to the same processor node.
The configuration parameters comprise the hard disk to be tested and the corresponding processor node, so that the configuration parameters can be directly analyzed to obtain the processor node to which the hard disk to be tested belongs.
S202, determining target processor cores of the hard disk to be tested from all processor cores in the processor node.
Based on the determined processor node to which the hard disk to be tested belongs, determining all processor cores in the processor node to which the hard disk belongs, wherein the specific mode can be that the determined processor node to which the hard disk to be tested belongs comprises identification information of the processor node, and searching all the processor cores in the processor node through the identification information of the processor node.
The processor node comprises at least one processor, and one processor comprises at least one processor core.
Therefore, at least one processor core can be selected from all processor cores in the processor node for the hard disk to be tested, and the selected at least one processor core is determined as the target processor core of the hard disk to be tested.
Taking a processor as a CPU in a NUMA architecture as an example for explanation, wherein a processor node is a NUMA node, and a processor core is a CPU core, firstly determining a NUMA node to which a hard disk to be tested belongs according to configuration parameters carried in a test instruction, and then finding out all CPU cores under the NUMA node; and determining a CPU core corresponding to the hard disk to be tested, namely a target CPU core according to a preset selection strategy.
It should be noted that, the server stores the corresponding relationship between the processor node and the processor core to which the processor node belongs in advance, so that all the processor cores under the processor node can be determined according to the identification information of the processor node.
S203, testing the hard disk to be tested through the target processor core to obtain a performance test result of the hard disk to be tested.
After a target processor core of a hard disk to be tested is obtained, the hard disk to be tested is bound with the target processor core, then the hard disk to be tested is tested through the target processor core to obtain a performance test result of the hard disk to be tested, and the performance test result is collected into a specified file, wherein the file format can be a Comma-Separated Values (CSV) file or other file formats capable of clearly representing the performance test result.
Optionally, if the hard disk to be tested is a plurality of test hard disks, the performance test results of the plurality of test hard disks can be obtained, including a single test result file of each test hard disk or a test result file summarized by the plurality of test hard disks.
It should be noted that, the configuration parameters carried in the test instruction may further include: bandwidth (bw), queue depth (iododepth), runtime and thread number (numjobs) of a hard disk to be tested, wherein the queue depth represents Input/Output (I/O) queue depth; runtime is specified time, which indicates that when the time for completing reading and writing the data in the hard disk is less than the specified time, the test tool is finished when the reading and writing of all the data in the hard disk are completed; but when the time needed for reading and writing the data in the hard disk is longer than the designated time, the test tool is finished after running the designated time.
The performance test parameters include Input/Output Per Second (IOPS), bandwidth (BW), latency (lat), cpu _ usr, and cpusys, where IOPS is one of the main indicators for measuring disk performance, and represents the number of I/O requests that can be processed by the system in a unit time, and generally takes the number of I/O requests processed Per Second as a unit, and the I/O requests are usually read or write data operation requests; BW refers to the amount of data that can be transmitted in a fixed time, i.e., the capacity of data to be transmitted in the transmission pipeline; the delay includes an IO commit delay (slat) and an IO completion delay (clat); the CPU _ usr represents the utilization rate of the user-mode CPU, namely the percentage of the user space occupying the CPU; cpsys represents the percentage of CPU occupied by kernel space.
Based on this, the obtained performance test result includes the corresponding performance test parameters under the pre-configured parameters, so the performance test result can be displayed in the format of the table file.
According to the hard disk performance testing method, the server responds to a testing instruction of the hard disk to be tested, determines a processor node to which the hard disk to be tested belongs according to configuration parameters carried in the testing instruction, determines target processor cores of the hard disk to be tested from all processor cores in the processor node, and then tests the hard disk to be tested through the target processor cores to obtain a performance testing result of the hard disk to be tested. According to the method, the target processor core corresponding to the hard disk to be tested is determined in the processor node to which the hard disk to be tested belongs, the performance of the hard disk to be tested is tested through the target processor core, the hard disk to be tested is tested through the corresponding processor core, and the performance test result can better represent the performance of the hard disk on the server and improve the accuracy of the performance test of the hard disk on the server because the target processor core for testing the hard disk to be tested is the core in the processor node to which the hard disk to be tested belongs.
In one embodiment, the configuration parameters include identification information of the hard disk to be tested; determining a processor node to which a hard disk to be tested belongs according to configuration parameters carried in a test instruction, wherein the method comprises the following steps: and determining the processor node to which the hard disk to be tested belongs according to the identification information of the hard disk to be tested and the corresponding relation between the preset hard disk and the processor node.
The server stores the corresponding relation between the hard disk and the processor nodes, namely, the identification information of the hard disk corresponds to the identification of the processor nodes one by one, so that the processor nodes of the hard disk to be tested are determined according to the identification information of the hard disk to be tested in the configuration parameters.
Optionally, the processor node to which the hard disk to be tested belongs may be searched for according to the lspci command and the corresponding relationship between the preset hard disk and the processor node and the identification information of the hard disk to be tested.
The identification information of the hard disk to be tested can be number information and can uniquely identify the hard disk to be tested; therefore, the processor node to which the hard disk belongs can be searched through the number information of the hard disk to be tested.
The server pre-stores the corresponding relation between the processor nodes and the processor cores, so that all the processor cores can be obtained from the processor nodes to which the hard disk to be tested belongs based on the obtained processor nodes to which the hard disk to be tested belongs; specifically, all processor cores under the processor node to which the kernel-H command belongs can be found out, where the kernel tool can be used to view information such as configuration and state of the processor node of the current server.
In this embodiment, the processor node to which the hard disk to be tested belongs can be determined more quickly through the preset corresponding relationship between the hard disk and the processor node, so that it is convenient to determine the target processor core of the hard disk to be tested from the processing node to which the hard disk belongs subsequently
How to determine the target processor core of the hard disk to be tested from all the processor cores in the processor node to which the hard disk to be tested belongs is described below through an embodiment, in which, as shown in fig. 3, determining the target processor core of the hard disk to be tested from all the processor cores in the processor node includes the following steps:
s301, acquiring priority information of all processor cores in the processor node to which the hard disk to be tested belongs.
And acquiring priority information of all processor cores according to all processor cores in the processor node to which the hard disk to be tested belongs, wherein the priority information can represent the priority of the response sequence of all processor cores in the processor node.
The priority of the processor core may be determined according to the occupation state of the processor core, or may be determined according to parameter information of the processor core, for example, the parameter information may be parameters such as the cache size of each level, the core voltage, and the power consumption.
Optionally, the server allocates a core number to the processor core in each processor node, and the priority information of the processor core may also be determined according to the core number, for example, the smaller the number, the higher the priority.
It should be noted that, in the embodiment of the present application, a determination manner of priority information of all processor cores in a processor node to which a hard disk to be tested belongs is not limited.
S302, according to the mapping relation between the preset hard disk and the number of the processor cores and the priority of each processor core, determining the target processor core of the hard disk to be tested in all the processor cores in the processor node.
The server prestores mapping relationships between the hard disks and the number of the processor cores, and optionally, each hard disk corresponds to one number of the processor cores, and the number of the processor cores corresponding to each hard disk may be the same or different.
Therefore, in an embodiment, as shown in fig. 4, determining a target processor core of a hard disk to be tested in all processor cores in a processor node according to the priority of each processor core according to a mapping relationship between a preset hard disk and the number of processor cores includes the following steps:
s401, determining the required number of the target processor cores according to the mapping relation between the preset hard disk and the number of the processor cores.
The required number of the target processor cores corresponding to the hard disk to be tested is determined according to the mapping relation between the preset hard disk and the number of the processor cores, specifically, the number of the processor cores corresponding to the hard disk to be tested can be searched in the mapping relation between the preset hard disk and the number of the processor cores according to the identification information of the hard disk to be tested, and the number is the required number of the target processor cores corresponding to the hard disk to be tested.
For example, if the identifier of the hard disk to be tested is a, the number of processor cores corresponding to a is found to be 5 in the mapping relationship between the hard disk and the number of processor cores, and then the number of target processor cores required by the hard disk to be tested is 5.
S402, acquiring the processor cores with the same number as the required number from all the processor cores as target processor cores of the hard disk to be tested according to the sequence from high priority to low priority of each processor core.
And based on the obtained required number of the target processor cores corresponding to the hard disk to be tested, sequentially selecting the cores with the required number as the target processor cores of the hard disk to be tested according to the sequence from high priority to low priority in all the processor cores in the processor node to which the hard disk to be tested belongs.
For example, if 5 processor cores are needed by the hard disk to be tested, according to the sequence from high priority to low priority, 5 processor cores are sequentially obtained from all the processor cores in the processor node to which the hard disk to be tested belongs, and the 5 processor cores are the target processor cores of the hard disk to be tested.
If the hard disks to be tested are a plurality of hard disks and the hard disks are under the same processor node, acquiring the processor cores with the required number corresponding to the hard disks in sequence from high priority to low priority; optionally, if all the processor cores under the processor node are occupied, the processor cores under the processor node are acquired again according to the sequence from high priority to low priority.
The method for testing the performance of the hard disk obtains the priority information of all processor cores in the processor node to which the hard disk to be tested belongs, and determines the target processor core of the hard disk to be tested in all the processor cores in the processor node according to the priority of each processor core and the mapping relation between the preset hard disk and the number of the processor cores. The method determines a target processor core of the hard disk to be tested according to priority information of all processor cores in a processor node to which the hard disk to be tested belongs, ensures that the target processor core corresponding to the hard disk to be tested is obtained from the processor node to which the hard disk to be tested belongs, and utilizes the processor core in the processor node to perform performance test on the hard disk to be tested, thereby ensuring the accuracy of a performance test result; and the target processor core of the hard disk to be tested can be quickly and accurately determined in all the processor cores in the processor node based on the priority information and the mapping relation of all the processor cores in the processor node.
Based on the obtained target processor core corresponding to the hard disk to be tested, how to test the hard disk to be tested through the target processor core is described below through an embodiment, in an embodiment, as shown in fig. 5, the method for testing the hard disk to be tested through the target processor core to obtain a performance test result of the hard disk to be tested includes the following steps:
s501, obtaining a test process of the hard disk to be tested.
Firstly, after a server receives a test instruction of a hard disk to be tested, a performance test tool can be installed on the server to test the hard disk to be tested; specifically, a performance testing tool is installed on a server, and a testing process of a hard disk to be tested is obtained through the performance testing tool; the test process of the hard disk to be tested can be generated through the configuration parameters carried in the test instruction of the hard disk to be tested.
The performance testing tool can be an FIO tool which can be used for carrying out pressure testing and verification on the hard disk, the hard disk IO is an important index for checking the performance of the hard disk, and the performance testing tool can be divided into two categories of reading and writing according to the load condition and random reading and writing; FIO is a tool that can spawn many threads or processes and perform a specific type of I/O operation specified by a user, and is a multi-threaded IO generation tool that can generate multiple IO modes for testing the performance of a hard disk.
Optionally, the performance testing tool further comprises an iometer and an Orion, wherein the FIO is convenient to use in a Linux system, the iometer is convenient to use in a window system, and the Orion is IO testing software of an oracle, and can simulate reading and writing of an oracle database scene under the condition that the oracle database is not installed.
S502, binding the test process to a target processor core of the hard disk to be tested to obtain a test model corresponding to the hard disk to be tested.
And binding the obtained test process to a target processor core of the hard disk to be tested, wherein the test process can be bound to the target processor core of the hard disk to be tested by utilizing a nummul tool or a task set command to obtain a test model corresponding to the hard disk to be tested, one test process can be bound to one processor core, one test process can be bound to a plurality of processor cores, and in practical application, the number of the processor cores bound to one test process is not limited and can be set according to requirements.
Optionally, when the FIO tool is used to test the hard disk to be tested, the cpu _ allowed of the FIO tool may be used to bind the test process to the target processor core of the hard disk to be tested.
And S503, testing the hard disk to be tested through the test model to obtain a performance test result of the hard disk to be tested.
The target processor core processes the test process and can test the performance of the corresponding hard disk to be tested, so that the hard disk to be tested is tested through the test model to obtain a performance test result of the hard disk to be tested, and the performance test result comprises performance parameters of the hard disk to be tested.
And testing the hard disk to be tested through the test model, wherein the step of reading and/or writing data on the hard disk to be tested through the test model can obtain the input and output quantity, the bandwidth, the time delay, the cpu _ usr and the cpu _ sys of the hard disk to be tested per second.
According to the method for testing the performance of the hard disk, a test process of the hard disk to be tested is obtained, the test process is bound to a target processor core of the hard disk to be tested, a test model corresponding to the hard disk to be tested is obtained, then the hard disk to be tested is tested through the test model, and a performance test result of the hard disk to be tested is obtained. According to the method, the hard disk to be tested is tested by binding the test process to the target processor core corresponding to the hard disk to be tested, and the target processor core is the processor core in the processor node to which the hard disk to be tested belongs, so that the accuracy of the performance test result of the hard disk to be tested is ensured.
If the number of the hard disks to be tested is 1, the hard disks to be tested can be directly tested through the test model, if the number of the hard disks to be tested is multiple, the hard disks to be tested can be tested according to the test mode, and how to test the hard disks to be tested under the condition that the number of the hard disks to be tested is multiple is described below through an embodiment, in one embodiment, as shown in fig. 6, if the number of the hard disks to be tested is multiple and the configuration parameters carry test mode identifiers, the hard disks to be tested are tested through the target processor core, which includes the following steps:
s601, determining the test mode type of the hard disk to be tested according to the test mode identification.
And S602, testing the corresponding hard disk to be tested through the target processor core of each hard disk to be tested by adopting a test mode corresponding to the test mode type.
The method comprises the steps of setting a test mode identifier of a hard disk to be tested in a configuration parameter carried by a test instruction of the hard disk to be tested, and determining the test mode type of the hard disk to be tested according to the test mode identifier under the condition that a plurality of hard disks to be tested are available, and then testing the corresponding hard disk to be tested through a target processor core of each hard disk to be tested by adopting a test mode corresponding to the test mode type.
For example, the test pattern is identified as-i, which can be single and all; the test mode identification of the hard disk to be tested can be single or all, if the test mode identification is single, the test mode type of the hard disk to be tested is determined to be single test, and if the test mode identification is all, the test mode of the hard disk to be tested is determined to be parallel test.
In an embodiment, as shown in fig. 7, the testing the corresponding hard disk to be tested through the target processor core of each hard disk to be tested by using the testing mode corresponding to the testing mode type includes:
and S701, if the test mode is a single test mode, sequentially testing each hard disk to be tested.
And S702, if the test mode is a parallel test mode, testing the hard disks to be tested in parallel.
If the test mode is a single test mode, the hard disks to be tested can be tested in sequence from high priority to low priority according to the priority information of the hard disks to be tested.
And if the test mode is the parallel test mode, simultaneously testing all the hard disks to be tested.
Optionally, the test mode identifier may further include part, that is, partial test, where the test mode corresponding to the partial test is a partial test mode, that is, the partial test is performed on partial hard disks to be tested at the same time, and further, the partial test may be limited, where the limited object may be a quantity or a proportion, for example, the preset quantity of hard disks to be tested is simultaneously tested, or the preset proportion of hard disks to be tested in all hard disks to be tested is tested.
It should be noted that, in the test of the hard disk to be tested, the test model is obtained by binding the corresponding test process on the target processor core of the hard disk to be tested, and the corresponding hard disk to be tested is tested through the test model.
And testing the corresponding hard disk to be tested by adopting a test mode corresponding to the test mode type through the target processor core of each hard disk to be tested to obtain a performance test result.
If the test mode is a single test mode, the performance test result can be a single csv table file; if the test mode is a parallel test mode, the performance test result can be a summarized csv table file, if the test mode is a partial test mode, the performance test result can be a plurality of csv table files, and each partial hard disk to be tested is tested to obtain one csv table file.
According to the hard disk performance testing method, the testing mode type of the hard disk to be tested is determined according to the testing mode identification, and the corresponding hard disk to be tested is tested through the target processor core of each hard disk to be tested by adopting the testing mode corresponding to the testing mode type. In the method, each hard disk to be tested is tested in a pre-configured test mode, so that the test requirements can be met, the method is not limited to one test mode, different test modes are configured according to different requirements, and the test diversity is ensured.
Before testing the hard disk to be tested, it is also necessary to perform steady-state setting on the hard disk to be tested, in an embodiment, as shown in fig. 8, the configuration parameters further include a read-write mode of the hard disk to be tested, and before testing the hard disk to be tested through the target processor core, the embodiment includes:
s801, if the read-write mode is a random read-write mode, adjusting the state of the hard disk to be tested into a random steady state; the random steady state is a steady state under a random read-write mode corresponding to the hard disk to be tested.
S802, if the read-write mode is a sequential read-write mode, adjusting the state of the hard disk to be tested to be a sequential steady state; the sequential steady state is a steady state under a sequential read-write mode corresponding to the hard disk to be tested.
And determining the steady state setting of the hard disk to be tested by configuring the read-write mode of the hard disk to be tested in the parameters, wherein the read-write mode of the hard disk to be tested comprises a random read-write mode and a sequential read-write mode.
If the read-write mode of the hard disk to be tested is a random read-write mode, the state of the hard disk to be tested needs to be adjusted to a random steady state; the random steady-state mode is that firstly, a hard disk to be tested is emptied (Purge), and then the emptied hard disk to be tested is preprocessed, so that the hard disk to be tested enters the random steady state; in the random steady state, the preprocessing method may include performing sequential writing of preset number of turns and random writing of preset number of turns on the whole hard disk to be tested, so that the hard disk to be tested enters the random steady state, where the number of turns written in sequentially and the number of turns written in randomly may be the same or different, and the application is not limited herein.
For example, firstly, emptying the hard disk to be tested, then sequentially writing the hard disk to be tested for one circle, and then randomly writing the hard disk for two circles; or after the hard disk to be tested is emptied, the hard disk to be tested is sequentially written in for two circles, and then random writing is performed for two circles.
If the read-write mode of the hard disk to be tested is a sequential read-write mode, the state of the hard disk to be tested needs to be adjusted to a sequential steady state; the sequential steady state mode is that firstly, a hard disk to be tested is emptied (Purge), and then the emptied hard disk to be tested is preprocessed, so that the hard disk to be tested enters the sequential steady state; in the sequential steady state, the preprocessing method may include sequentially writing the preset number of turns to the whole hard disk to be tested, so that the hard disk to be tested enters the sequential steady state, where the number of turns to be written in sequentially includes at least one time, and the application is not limited herein.
For example, the hard disk to be tested is first emptied, and then two rounds of sequential writing are performed on the hard disk to be tested.
According to the method for testing the performance of the hard disk, if the read-write mode is the random read-write mode, the state of the hard disk to be tested is adjusted to be a random stable state, the random stable state is a stable state under the random read-write mode corresponding to the hard disk to be tested, and if the read-write mode is the sequential read-write mode, the state of the hard disk to be tested is adjusted to be a sequential stable state; the sequential steady state is a steady state under a sequential read-write mode corresponding to the hard disk to be tested. According to the method, the corresponding steady state is set through the difference of the read-write modes of the hard disks to be tested, so that the performance of the hard disks to be tested is better, and the stability and the accuracy of the performance test of the hard disks to be tested are ensured.
According to the embodiment of the application, a CPU under a processor node is taken according to the processor node to which the hard disk to be tested belongs, a testing process is bound to the processor core under the processor node according to the mapping relation between the hard disk and the processor core, and the performance of the hard disk to be tested on a server can be better tested through the core binding strategy; moreover, the testing tool in the embodiment of the application is an automatic tool, so that the investment of labor cost is reduced, and a tester only needs to pay attention to a testing result; the operation is simple, and the practicability is strong.
In an embodiment, as shown in fig. 9, the embodiment tests a hard disk through a hard disk performance automation test tool, where the tool can implement full automation, and only needs to input a tool operation command to obtain a performance test result of the hard disk, the embodiment includes the following steps:
s901, receiving configuration parameters and determining a hard disk to be tested according to the test parameters.
Specifically, firstly, the automatic testing tool receives configuration parameters, wherein the configuration parameters comprise a testing mode, a configuration file and a testing hard disk, and represent the testing mode, the configuration file and the testing hard disk as-i, -c and-m respectively, and the option of i is single and all, and represents a single testing mode and a parallel testing mode of the hard disk to be tested respectively; c comprises the bandwidth, read/write mode (rw), queue depth, runtime and thread number of the hard disk, and a test process can be generated according to the configuration file, so that a test model is generated; m represents the identifier of the test hard disk, defaults to all hard disks except the system disk, and can also specify a specific hard disk.
Analyzing the transmitted configuration parameters, giving an initial value, namely a default value, to the null variable, and acquiring information of all hard disks through an lsblk command and judging a system disk if-m is empty for-m parameters; and then capturing all the disk symbols of the removed system disk through an iostat command, and assigning to the tested hard disk, namely determining all the hard disks except the system disk as the hard disks to be tested if the-m parameter is empty.
The lsblk command is used for listing information of all available block devices and displaying the dependency relationship among the available block devices, wherein the block devices comprise hard disks, flash disks and the like; the iostat command is the most basic tool for checking the I/O performance on the Linux system, and is all called I/O statistics iostat which can count the activity condition of a hard disk and the service condition of a CPU.
And S902, installing a test tool and generating a test process.
The testing tool can be an FIO tool, and after the automation tool analyzes the configuration parameters, the automation tool controls the server to install the FIO tool and tests the hard disk to be tested through the FIO tool.
And S903, binding the CPU core for the hard disk to be tested according to the mapping relation between the hard disk to be tested and the CPU.
Firstly, finding out the NUMA node under which a hard disk to be tested is located through an lspci command, then finding out all the CPU under the node through a numctl-H command, selecting 4 cores from the NUMA node as the CPU cores corresponding to the hard disk to be tested according to the sequence from high to low of the priority information of the CPU cores, and if a plurality of hard disks to be tested exist and a plurality of hard disks to be tested are located under the same NUMA node, sequentially taking four CPU cores under the NUMA node; if the CPU cores under the NUMA node are used up, 4 cores may be selected from the NUMA node as the CPU cores corresponding to the hard disk to be tested again according to the order from high to low of the priority information of the CPU cores.
Alternatively, if the core under the NUMA node is occupied, the CPU core under another NUMA node may be taken out.
The method comprises the steps that 4 CPU cores are selected from one hard disk to be tested, namely the mapping relation between the hard disk to be tested and the CPUs, wherein the number of the selected CPU cores is not limited in the embodiment of the application, the number of the CPU cores corresponding to each hard disk to be tested is not limited in the embodiment of the application, and the number of the CPU cores can be specifically determined according to requirements.
And S904, adjusting the state of the hard disk to be tested to be a stable state according to the read-write mode of the hard disk to be tested.
If the read-write mode of the hard disk to be tested is random read-write, the state of the hard disk to be tested is adjusted to be a random steady state, and if the state of the hard disk to be tested is sequential read-write, the state of the hard disk to be tested is sequential read-write.
S905 judges the test mode, if the test mode is a single test mode, executes step S906, and if the test mode is a parallel test mode, executes step S908.
The test modes include a single test mode and a parallel test mode.
S906, binding the testing process for the CPU core corresponding to each hard disk to be tested to obtain the testing model of each hard disk to be tested.
And S907, testing the hard disks to be tested in sequence through the test model to obtain the performance test result of the hard disks to be tested.
And S908, binding the test process for the CPU core corresponding to each hard disk to be tested to obtain a test model of each hard disk to be tested.
And S909, testing all the hard disks to be tested in parallel through the test model to obtain the performance test results of all the hard disks to be tested.
S910, the test is finished.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the application also provides a hard disk performance testing device for realizing the hard disk performance testing method. The implementation scheme for solving the problem provided by the apparatus is similar to the implementation scheme recorded in the method, so the specific limitations in one or more embodiments of the hard disk performance testing apparatus provided below can refer to the limitations in the hard disk performance testing method in the foregoing, and details are not described here.
In one embodiment, as shown in fig. 10, there is provided a hard disk performance testing apparatus 1000, the apparatus 1000 comprising: a response module 1001, a determination module 1002, and a test module 1003, wherein:
the response module 1001 is configured to respond to a test instruction of a hard disk to be tested, and determine, according to a configuration parameter carried in the test instruction, a processor node to which the hard disk to be tested belongs;
a determining module 1002, configured to determine a target processor core of a hard disk to be tested from all processor cores in a processor node;
the testing module 1003 is configured to test the hard disk to be tested through the target processor core to obtain a performance testing result of the hard disk to be tested.
In one embodiment, the response module 1001 includes:
and the first determining unit is used for determining the processor node to which the hard disk to be tested belongs according to the identification information of the hard disk to be tested and the corresponding relation between the preset hard disk and the processor node.
In one embodiment, the determining module 1002 includes:
the first acquisition unit is used for acquiring priority information of all processor cores in a processor node to which the hard disk to be tested belongs;
and the second determining unit is used for determining target processor cores of the hard disks to be tested in all the processor cores in the processor nodes according to the mapping relation between the preset hard disks and the number of the processor cores and the priority of each processor core.
In one embodiment, the second determination unit includes:
the first determining subunit is used for determining the required number of the target processor cores according to the mapping relation between the preset hard disk and the number of the processor cores;
and the second determining subunit is used for acquiring the processor cores with the same number as the required number from all the processor cores as the target processor cores of the hard disk to be tested according to the sequence from high priority to low priority of each processor core.
In one embodiment, the test module 1003 includes:
the second acquisition unit is used for acquiring a test process of the hard disk to be tested;
the binding unit is used for binding the test process to a target processor core of the hard disk to be tested to obtain a test model corresponding to the hard disk to be tested;
and the first testing unit is used for testing the hard disk to be tested through the testing model to obtain a performance testing result of the hard disk to be tested.
In one embodiment, the test module 1003 includes:
the third determining unit is used for determining the test mode type of the hard disk to be tested according to the test mode identification;
and the second test unit is used for testing the corresponding hard disk to be tested by adopting a test mode corresponding to the test mode type through the target processor core of each hard disk to be tested.
In one embodiment, the second test unit includes:
the first testing subunit is used for sequentially testing each hard disk to be tested if the testing mode is a single testing mode;
and the second testing subunit is used for testing the hard disks to be tested in parallel if the testing mode is a parallel testing mode.
In one embodiment, the apparatus 1000 further comprises:
the first adjusting module is used for adjusting the state of the hard disk to be tested into a random stable state if the read-write mode is the random read-write mode; the random steady state is a steady state under a random read-write mode corresponding to the hard disk to be tested;
the second adjusting module is used for adjusting the state of the hard disk to be tested into a sequential steady state if the read-write mode is the sequential read-write mode; the sequential steady state is a steady state under a sequential read-write mode corresponding to the hard disk to be tested.
All or part of each module in the hard disk performance testing device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 11. The computer device includes a processor, a memory, an Input/Output interface (I/O for short), and a communication interface. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface is connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing the hard disk performance test data. The input/output interface of the computer device is used for exchanging information between the processor and an external device. The communication interface of the computer device is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a hard disk performance testing method.
Those skilled in the art will appreciate that the architecture shown in fig. 11 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, a computer device is further provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.
In the steps implemented by the processor in this embodiment, the implementation principle and technical effect are similar to those of the hard disk performance testing method described above, and are not described herein again.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
In the present embodiment, the implementation principle and technical effect of each step implemented when the computer program is executed by the processor are similar to the principle of the hard disk performance testing method described above, and are not described herein again.
In an embodiment, a computer program product is provided, comprising a computer program which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
In the present embodiment, the implementation principle and technical effect of each step implemented when the computer program is executed by the processor are similar to the principle of the hard disk performance testing method described above, and are not described herein again.
It should be noted that the data (including but not limited to data for analysis, stored data, displayed data, etc.) referred to in the present application are all information and data authorized by the user or fully authorized by each party, and the collection, use and processing of the relevant data need to comply with relevant laws and regulations and standards of relevant countries and regions.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include a Read-Only Memory (ROM), a magnetic tape, a floppy disk, a flash Memory, an optical Memory, a high-density embedded nonvolatile Memory, a resistive Random Access Memory (ReRAM), a Magnetic Random Access Memory (MRAM), a Ferroelectric Random Access Memory (FRAM), a Phase Change Memory (PCM), a graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), for example. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (12)

1. A method for testing the performance of a hard disk is characterized by comprising the following steps:
responding to a test instruction of a hard disk to be tested, and determining a processor node to which the hard disk to be tested belongs according to configuration parameters carried in the test instruction;
determining a target processor core of the hard disk to be tested from all processor cores in the processor node;
and testing the hard disk to be tested through the target processor core to obtain a performance test result of the hard disk to be tested.
2. The method of claim 1, wherein the configuration parameters include identification information of the hard disk to be tested; the determining the processor node to which the hard disk to be tested belongs according to the configuration parameters carried in the test instruction includes:
and determining the processor node to which the hard disk to be tested belongs according to the identification information of the hard disk to be tested and the corresponding relation between the preset hard disk and the processor node.
3. The method of claim 1 or 2, wherein determining the target processor core of the hard disk to be tested from all processor cores in the processor node comprises:
acquiring priority information of all processor cores in a processor node to which the hard disk to be tested belongs;
and determining target processor cores of the hard disk to be tested in all the processor cores in the processor nodes according to the mapping relation between the preset hard disk and the number of the processor cores and the priority of each processor core.
4. The method as claimed in claim 3, wherein the determining, according to the mapping relationship between the preset hard disk and the number of processor cores and the priority of each processor core, the target processor core of the hard disk to be tested among all the processor cores in the processor node comprises:
determining the required number of the target processor cores according to a mapping relation between a preset hard disk and the number of the processor cores;
and acquiring the processor cores with the same number as the required number from all the processor cores as target processor cores of the hard disk to be tested according to the sequence of the priorities of the processor cores from high to low.
5. The method according to claim 1 or 2, wherein the testing the hard disk to be tested by the target processor core to obtain a performance test result of the hard disk to be tested comprises:
acquiring a test process of the hard disk to be tested;
binding the test process to a target processor core of the hard disk to be tested to obtain a test model corresponding to the hard disk to be tested;
and testing the hard disk to be tested through the test model to obtain a performance test result of the hard disk to be tested.
6. The method according to claim 1 or 2, wherein if there are a plurality of hard disks to be tested and the configuration parameter carries a test pattern identifier, the testing the hard disks to be tested by the target processor core includes:
determining the test mode type of the hard disk to be tested according to the test mode identification;
and testing the corresponding hard disk to be tested by adopting a test mode corresponding to the test mode type through the target processor core of each hard disk to be tested.
7. The method of claim 6, wherein the testing the hard disk to be tested through the target processor core of each hard disk to be tested by using the testing mode corresponding to the testing mode type comprises:
if the test mode is a single test mode, sequentially testing each hard disk to be tested;
and if the test mode is a parallel test mode, testing the hard disks to be tested in parallel.
8. The method according to claim 1 or 2, wherein the configuration parameters further include a read-write mode of the hard disk to be tested, and before the hard disk to be tested is tested by the target processor core, the method further includes:
if the read-write mode is a random read-write mode, adjusting the state of the hard disk to be tested to be a random steady state; the random steady state is a steady state under a random read-write mode corresponding to the hard disk to be tested;
if the read-write mode is a sequential read-write mode, adjusting the state of the hard disk to be tested to be a sequential steady state; and the sequential steady state is a steady state under a sequential read-write mode corresponding to the hard disk to be tested.
9. A hard disk performance testing device, the device comprising:
the response module is used for responding to a test instruction of the hard disk to be tested and determining a processor node to which the hard disk to be tested belongs according to configuration parameters carried in the test instruction;
the determining module is used for determining a target processor core of the hard disk to be tested from all processor cores in the processor node;
and the test module is used for testing the hard disk to be tested through the target processor core so as to obtain a performance test result of the hard disk to be tested.
10. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 8.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 8.
12. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 8.
CN202211458945.9A 2022-11-17 2022-11-17 Hard disk performance test method, device, equipment, storage medium and program product Pending CN115757066A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211458945.9A CN115757066A (en) 2022-11-17 2022-11-17 Hard disk performance test method, device, equipment, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211458945.9A CN115757066A (en) 2022-11-17 2022-11-17 Hard disk performance test method, device, equipment, storage medium and program product

Publications (1)

Publication Number Publication Date
CN115757066A true CN115757066A (en) 2023-03-07

Family

ID=85334047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211458945.9A Pending CN115757066A (en) 2022-11-17 2022-11-17 Hard disk performance test method, device, equipment, storage medium and program product

Country Status (1)

Country Link
CN (1) CN115757066A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115831214A (en) * 2023-02-15 2023-03-21 四川华鲲振宇智能科技有限责任公司 Initialization mode automatic adjustment method based on solid state hard disk writing performance test result
CN116244129A (en) * 2023-03-09 2023-06-09 中科可控信息产业有限公司 Memory performance testing method and device and computer equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109448777A (en) * 2018-11-12 2019-03-08 郑州云海信息技术有限公司 A kind of test method and device of NVME solid state hard disk
CN111309535A (en) * 2020-02-14 2020-06-19 苏州浪潮智能科技有限公司 Method and system for testing hard disk in server, electronic equipment and storage medium
CN111666184A (en) * 2020-06-29 2020-09-15 腾讯科技(深圳)有限公司 Solid state drive SSD hard disk test method and device and electronic equipment
CN111752779A (en) * 2020-06-12 2020-10-09 苏州浪潮智能科技有限公司 Hard disk performance test optimization method and device
CN112069003A (en) * 2020-08-21 2020-12-11 苏州浪潮智能科技有限公司 Hard disk performance test method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109448777A (en) * 2018-11-12 2019-03-08 郑州云海信息技术有限公司 A kind of test method and device of NVME solid state hard disk
CN111309535A (en) * 2020-02-14 2020-06-19 苏州浪潮智能科技有限公司 Method and system for testing hard disk in server, electronic equipment and storage medium
CN111752779A (en) * 2020-06-12 2020-10-09 苏州浪潮智能科技有限公司 Hard disk performance test optimization method and device
CN111666184A (en) * 2020-06-29 2020-09-15 腾讯科技(深圳)有限公司 Solid state drive SSD hard disk test method and device and electronic equipment
CN112069003A (en) * 2020-08-21 2020-12-11 苏州浪潮智能科技有限公司 Hard disk performance test method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115831214A (en) * 2023-02-15 2023-03-21 四川华鲲振宇智能科技有限责任公司 Initialization mode automatic adjustment method based on solid state hard disk writing performance test result
CN116244129A (en) * 2023-03-09 2023-06-09 中科可控信息产业有限公司 Memory performance testing method and device and computer equipment
CN116244129B (en) * 2023-03-09 2024-08-23 中科可控信息产业有限公司 Memory performance testing method and device and computer equipment

Similar Documents

Publication Publication Date Title
CN108133732B (en) Performance test method, device and equipment of flash memory chip and storage medium
CN115757066A (en) Hard disk performance test method, device, equipment, storage medium and program product
CN110532187B (en) HDFS throughput performance testing method, system, terminal and storage medium
CN113867644B (en) Disk array optimization method, disk array optimization device, computer equipment and storage medium
CN116662214B (en) Hard disk garbage recycling method, device, system and medium based on fio
CN116719675B (en) Hard disk wear testing method, device and medium
CN115129572B (en) Performance test method, device, equipment and medium
CN114490375A (en) Method, device and equipment for testing performance of application program and storage medium
CN115981980A (en) System performance testing method, apparatus, device, medium, and program product
CN112148226A (en) Data storage method and related device
CN109634524B (en) Data partition configuration method, device and equipment of data processing daemon
Cordingly et al. Function memory optimization for heterogeneous serverless platforms with cpu time accounting
CN108572914B (en) Method and device for generating log for pressure test
CN110727399B (en) Storage array management method and device
CN110990207B (en) BPS memory test method, system, terminal and storage medium based on Whitley platform
CN111986726A (en) File reading performance testing method, device, equipment and storage medium
CN114661249B (en) Data storage method and device, computer equipment and storage medium
CN108701091A (en) Chance memory for dynamic workload is finely tuned
CN116578410A (en) Resource management method, device, computer equipment and storage medium
CN114168456A (en) Front-end performance automatic testing method based on 3D-GIS
CN114090357A (en) Hard disk performance test method and device, electronic equipment and storage medium
CN112000430A (en) HCI storage performance optimization method, device, equipment and storage medium
US8359456B2 (en) Generating random addresses for verification of distributed computerized devices
CN118152136A (en) Cluster capacity expansion storage allocation method, device, equipment, medium and program product
CN110740099B (en) Data flow control method and device

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