CN110572298A - FC card-oriented automatic read-write performance testing method, system and equipment - Google Patents

FC card-oriented automatic read-write performance testing method, system and equipment Download PDF

Info

Publication number
CN110572298A
CN110572298A CN201910754789.2A CN201910754789A CN110572298A CN 110572298 A CN110572298 A CN 110572298A CN 201910754789 A CN201910754789 A CN 201910754789A CN 110572298 A CN110572298 A CN 110572298A
Authority
CN
China
Prior art keywords
card
test
read
data
write performance
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
CN201910754789.2A
Other languages
Chinese (zh)
Inventor
亓浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Wave Intelligent Technology Co Ltd
Original Assignee
Suzhou Wave Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Wave Intelligent Technology Co Ltd filed Critical Suzhou Wave Intelligent Technology Co Ltd
Priority to CN201910754789.2A priority Critical patent/CN110572298A/en
Publication of CN110572298A publication Critical patent/CN110572298A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides an FC card-oriented automatic read-write performance test method, system and device, which adopts automatic test of a plurality of performance test software to obtain comprehensive FC card read-write performance data; adopting multi-point performance coverage test, automatically discriminating valid data and forming a data table, and automatically calculating the read-write performance data of each card on the basis of a certain data volume; through the integration of the read-write performance data of a plurality of FC cards, a data analysis chart is automatically generated, the cards with outstanding performance and insufficient performance can be quickly distinguished, and relevant test documents are output, so that the automatic test of the read-write performance test of the FC cards is completed.

Description

FC card-oriented automatic read-write performance testing method, system and equipment
Technical Field
The invention relates to the technical field of computers, in particular to an FC card-oriented automatic read-write performance testing method, system and device.
Background
In the cloud computing era, mass data needs to be written and read, and FC (Fiber Channel) has the advantages of both Channel and network, high bandwidth, high reliability, high stability, electromagnetic interference resistance and the like, can provide very stable and reliable optical Fiber connection, and is easy to construct a large-scale data transmission and communication network.
To construct a fiber optic network connection, an FC card is an indispensable hardware device. The FC card is also called an optical network card, entitled fibre channel hba. The transport protocol is a fibre channel protocol and is typically connected to a fibre channel switch by a fibre optic cable. The interface types are divided into optical and electrical ports. The optical port generally performs data transmission through an optical fiber cable, the interface modules generally include SFP (transmission rate 2Gb/s) and GBIC (1Gb/s), and the corresponding interfaces are SC and LC. The interface type of the electrical port is typically DB9 pin or HSSDC.
in the development, production and use links of the FC card, the read-write performance of the FC card is tested. The conventional FC card read-write performance test is basically manual test, the test efficiency is low, the test times are few, effective test results are few, and effective FC card read-write performance test data cannot be obtained rapidly in a large scale.
Disclosure of Invention
In view of the above problems, an object of the present invention is to provide an FC card-oriented method, system and device for automatically testing read/write performance, which can quickly identify cards with outstanding performance and insufficient performance, and output related test documents to complete the automatic test of FC card read/write performance test.
in order to achieve the purpose, the invention is realized by the following technical scheme: an FC card-oriented automatic read-write performance test method comprises the following steps:
sequentially running a plurality of test scripts of preset performance test software on each FC card to be tested to obtain the read-write performance data of the FC card;
integrating the read-write performance data of the FC card to generate a data analysis chart;
Screening abnormal points on the data analysis graph, and obtaining test documents of abnormal FC cards corresponding to the abnormal points;
and acquiring the read-write performance data of the abnormal FC card through the test document of the abnormal FC card.
Further, the step of sequentially running a plurality of test scripts of the preset performance test software on each FC card to be tested to obtain the read-write performance data of the FC card includes the steps of:
S21: taking one server as an Initiator end and one server as a Target end, and inserting the FC card to be tested into a slot stored by the Target end;
s22: connecting an FC card on an Initiator end server with an FC card to be tested stored on a Target end by using optical fibers, building an FC network and establishing connection;
s23: sequentially running a plurality of test scripts of preset performance test software through a performance test script command to generate an FC card read-write performance test report;
s24: monitoring the acquisition of a test report of the reading and writing performance of the FC card of the Initiator end server, judging whether the test report of the reading and writing performance of the FC card is less than a preset test number n, if so, executing a step S23, otherwise, entering a step S25;
s25: capturing the content of a FC card read-write performance test report, discriminating valid data and forming a data table, automatically calculating the average value of the FC card read-write performance data in various scenes on the basis of n test data, and storing the average value into a performance data table established by each card according to the test scene;
S26: and repeating the steps S21-S25 to obtain the read-write performance test data table of each FC card.
further, the step S22 further includes: storage pool, volume and LUN mappings are established by scripting commands.
further, the integrating the read-write performance data of the FC card to generate the data analysis graph includes the following steps:
S41: extracting a read-write performance test data table of the FC card, and extracting performance data of each card in different scenes to form performance data tables of the FC card in different scenes;
S42: and generating performance data analysis diagrams under different scenes according to the performance data tables of the FC card under different scenes.
Further, the performance data analysis graph adopts a line graph or a bar graph.
Further, the screening abnormal points on the data analysis graph, and obtaining the test document of the abnormal FC card corresponding to the abnormal points includes:
analyzing the performance data analysis graphs in different scenes, acquiring abnormal points of performance values, determining abnormal FC cards according to the FC card numbers of the abnormal points, the test scenes and the difference value of all FC card test data average values, and outputting test documents of the abnormal FC cards.
Correspondingly, the invention also discloses an FC card-oriented automatic read-write performance test system, which comprises:
The execution module is used for sequentially running a plurality of test scripts of preset performance test software on each FC card to be tested to acquire the read-write performance data of the FC card;
the data processing module is used for integrating the read-write performance data of the FC card and generating a data analysis chart;
the data screening module is used for screening abnormal points on the data analysis graph and acquiring test documents of the abnormal FC cards corresponding to the abnormal points;
and the reading module is used for acquiring the read-write performance data of the abnormal FC card through the test document of the abnormal FC card.
Correspondingly, the invention also discloses an FC card-oriented automatic read-write performance test device, which comprises:
A memory for storing a computer program;
and the processor is used for realizing the steps of the FC card-oriented automatic read-write performance testing method when the computer program is executed.
Compared with the prior art, the invention has the beneficial effects that: the invention provides an FC card-oriented automatic read-write performance testing method, system and device, which adopts automatic testing of a plurality of performance testing software to obtain comprehensive FC card read-write performance data; adopting multi-point performance coverage test, automatically discriminating valid data and forming a data table, and automatically calculating the read-write performance data of each card on the basis of a certain data volume; by integrating the read-write performance data of a plurality of FC cards, a data analysis chart (a line chart, a bar chart and the like) is automatically generated, the cards with outstanding performance and insufficient performance can be quickly discriminated, and relevant test documents are output, so that the automatic test of the read-write performance test of the FC cards is completed.
The invention can quickly obtain enough test data to be obtained, and has flexible test mode and easy realization.
Therefore, compared with the prior art, the invention has prominent substantive features and remarkable progress, and the beneficial effects of the implementation are also obvious.
drawings
in order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a method according to a first embodiment of the present invention.
FIG. 2 is a flow chart of a method according to a second embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a test environment constructed in the second embodiment of the present invention.
Fig. 4 is a system configuration diagram of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made with reference to the accompanying drawings.
the first embodiment is as follows:
As shown in fig. 1, an FC card-oriented automatic read-write performance testing method includes the following steps:
s101: and sequentially running a plurality of preset test scripts of the performance test software on each FC card to be tested to obtain the read-write performance data of the FC card.
s102: and integrating the read-write performance data of the FC card to generate a data analysis chart.
s103: and screening abnormal points on the data analysis graph, and obtaining a test document of the abnormal FC card corresponding to the abnormal points.
s104: and acquiring the read-write performance data of the abnormal FC card through the test document of the abnormal FC card.
the embodiment provides an FC card-oriented automatic read-write performance test method, which comprises the steps of firstly, adopting automatic test of a plurality of performance test software to obtain comprehensive FC card read-write performance data; and the multi-point performance coverage test is adopted, effective data are automatically discriminated and a data table is formed, and the read-write performance data of each card is automatically calculated on the basis of a certain data volume. And then, automatically generating a data analysis chart by integrating the read-write performance data of a plurality of FC cards, quickly identifying the cards with outstanding performance and insufficient performance, and outputting related test documents to finish the automatic test of the read-write performance test of the FC cards.
Example two:
as shown in fig. 2, an FC card-oriented automatic read-write performance testing method includes the following steps:
s201: and taking one server as an Initiator end and one server as a Target end, and inserting the FC card to be tested into a slot stored in the Target end.
S202: and connecting the FC card on the Initiator end server and the FC card to be tested on the Target end storage by using optical fibers, building an FC network and establishing connection.
S203: storage pool, volume and LUN mappings are established by scripting commands.
through the steps, the construction of the test environment is completed, and the specific structure of the test environment is shown in fig. 3.
S204: and sequentially operating a plurality of test scripts of the preset performance test software through the performance test script command to generate an FC card read-write performance test report.
S205: monitoring the acquisition of the FC card read-write performance test report of the Initiator server, judging whether the FC card read-write performance test report is less than a preset test number n, if so, executing a step S204, otherwise, entering a step S206.
S206: capturing the content of the FC card read-write performance test report, screening effective data and forming a data table, automatically calculating the average value of the FC card read-write performance data in various scenes on the basis of n test data, and storing the average value into a performance data table established by each card according to the test scene.
s207: and repeating the steps S201 to S206 to obtain a read-write performance test data table of each FC card.
S208: and extracting a read-write performance test data table of the FC card, and extracting performance data of each card in different scenes to form performance data tables of the FC card in different scenes.
S209: and generating performance data analysis diagrams under different scenes according to the performance data tables of the FC card under different scenes.
Wherein, the performance data analysis chart adopts a line chart or a bar chart.
s210: analyzing the performance data analysis graphs in different scenes, acquiring abnormal points of performance values, determining abnormal FC cards according to the FC card numbers of the abnormal points, the test scenes and the difference value of all FC card test data average values, and outputting test documents of the abnormal FC cards.
The abnormal points of the performance numerical values comprise points with outstanding performance and insufficient performance, and can be visually represented in a line graph or a bar graph, and if the difference value between the numerical value of the point and the average value of the test data of all the FC cards in the corresponding test scene exceeds a preset threshold value, the FC card corresponding to the abnormal point can be determined to be an abnormal FC card.
S211: and acquiring the read-write performance data of the abnormal FC card through the test document of the abnormal FC card.
by executing the steps of the method, a tester can directly obtain FC card read-write performance test information with outstanding performance and insufficient performance through related test documents, and comparison test of multiple FC cards and performance test of single FC card and multiple software and multiple scenes are completed.
Correspondingly, as shown in fig. 4, the present invention also discloses an FC card oriented automatic read-write performance test system, which includes:
The execution module is used for sequentially running a plurality of test scripts of preset performance test software on each FC card to be tested to acquire the read-write performance data of the FC card;
the data processing module is used for integrating the read-write performance data of the FC card and generating a data analysis chart;
The data screening module is used for screening abnormal points on the data analysis graph and acquiring test documents of the abnormal FC cards corresponding to the abnormal points;
and the reading module is used for acquiring the read-write performance data of the abnormal FC card through the test document of the abnormal FC card.
Correspondingly, the invention also discloses an FC card-oriented automatic read-write performance test device, which comprises:
A memory for storing a computer program;
and the processor is used for realizing the steps of the FC card-oriented automatic read-write performance testing method when the computer program is executed.
those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention. The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the description in the method embodiment.
In the embodiments provided by the present invention, it should be understood that the disclosed system, system and method can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit.
the invention is further described with reference to the accompanying drawings and specific embodiments. It should be understood that these examples are for illustrative purposes only and are not intended to limit the scope of the present invention. Further, it should be understood that various changes or modifications of the present invention may be made by those skilled in the art after reading the teaching of the present invention, and these equivalents also fall within the scope of the present application.

Claims (8)

1. an FC card-oriented automatic read-write performance test method is characterized by comprising the following steps:
Sequentially running a plurality of test scripts of preset performance test software on each FC card to be tested to obtain the read-write performance data of the FC card;
integrating the read-write performance data of the FC card to generate a data analysis chart;
screening abnormal points on the data analysis graph, and obtaining test documents of abnormal FC cards corresponding to the abnormal points;
and acquiring the read-write performance data of the abnormal FC card through the test document of the abnormal FC card.
2. the FC card-oriented automatic read-write performance testing method according to claim 1, wherein the step of sequentially running a plurality of test scripts of preset performance testing software on each FC card to be tested to obtain read-write performance data of the FC card comprises the steps of:
S21: taking one server as an Initiator end and one server as a Target end, and inserting the FC card to be tested into a slot stored by the Target end;
S22: connecting an FC card on an Initiator end server with an FC card to be tested stored on a Target end by using optical fibers, building an FC network and establishing connection;
S23: sequentially running a plurality of test scripts of preset performance test software through a performance test script command to generate an FC card read-write performance test report;
S24: monitoring the acquisition of a test report of the reading and writing performance of the FC card of the Initiator end server, judging whether the test report of the reading and writing performance of the FC card is less than a preset test number n, if so, executing a step S23, otherwise, entering a step S25;
s25: capturing the content of a FC card read-write performance test report, discriminating valid data and forming a data table, automatically calculating the average value of the FC card read-write performance data in various scenes on the basis of n test data, and storing the average value into a performance data table established by each card according to the test scene;
S26: and repeating the steps S21-S25 to obtain the read-write performance test data table of each FC card.
3. the FC card oriented automatic read-write performance testing method according to claim 2, wherein the step S22 further includes: storage pool, volume and LUN mappings are established by scripting commands.
4. The FC card-oriented automatic read-write performance testing method according to claim 2, wherein the integrating of the read-write performance data of the FC card to generate the data analysis graph comprises the following steps:
S41: extracting a read-write performance test data table of the FC card, and extracting performance data of each card in different scenes to form performance data tables of the FC card in different scenes;
S42: and generating performance data analysis diagrams under different scenes according to the performance data tables of the FC card under different scenes.
5. The FC card-oriented automatic read-write performance testing method according to claim 4, wherein the performance data analysis graph is a line graph or a bar graph.
6. The FC card-oriented automatic read-write performance testing method according to claim 4, wherein the identifying abnormal points on the data analysis graph and the obtaining of the test document of the abnormal FC card corresponding to the abnormal points comprise: analyzing the performance data analysis graphs in different scenes, acquiring abnormal points of performance values, determining abnormal FC cards according to the FC card numbers of the abnormal points, the test scenes and the difference value of all FC card test data average values, and outputting test documents of the abnormal FC cards.
7. The utility model provides an automatic read-write performance test system towards FC card which characterized in that still includes:
the execution module is used for sequentially running a plurality of test scripts of preset performance test software on each FC card to be tested to acquire the read-write performance data of the FC card;
The data processing module is used for integrating the read-write performance data of the FC card and generating a data analysis chart;
the data screening module is used for screening abnormal points on the data analysis graph and acquiring test documents of the abnormal FC cards corresponding to the abnormal points;
And the reading module is used for acquiring the read-write performance data of the abnormal FC card through the test document of the abnormal FC card.
8. the utility model provides an automatic read-write performance test equipment towards FC card which characterized in that includes:
A memory for storing a computer program;
a processor, configured to implement the steps of the FC card oriented automatic read-write performance testing method according to any one of claims 1 to 6 when executing the computer program.
CN201910754789.2A 2019-08-15 2019-08-15 FC card-oriented automatic read-write performance testing method, system and equipment Pending CN110572298A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910754789.2A CN110572298A (en) 2019-08-15 2019-08-15 FC card-oriented automatic read-write performance testing method, system and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910754789.2A CN110572298A (en) 2019-08-15 2019-08-15 FC card-oriented automatic read-write performance testing method, system and equipment

Publications (1)

Publication Number Publication Date
CN110572298A true CN110572298A (en) 2019-12-13

Family

ID=68775447

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910754789.2A Pending CN110572298A (en) 2019-08-15 2019-08-15 FC card-oriented automatic read-write performance testing method, system and equipment

Country Status (1)

Country Link
CN (1) CN110572298A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024113780A1 (en) * 2022-12-01 2024-06-06 苏州元脑智能科技有限公司 Fc link management method, apparatus and device, and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140237115A1 (en) * 2011-04-27 2014-08-21 Netapp, Inc. Method and system for securely capturing workloads at a live network for replaying at a test network
CN205829909U (en) * 2016-07-29 2016-12-21 四川天邑康和通信股份有限公司 A kind of test system of GPON light cat
US9647905B1 (en) * 2012-12-21 2017-05-09 EMC IP Holding Company LLC System and method for optimized management of statistics counters, supporting lock-free updates, and queries for any to-the-present time interval
CN109639523A (en) * 2018-12-12 2019-04-16 天津市康凯特软件科技有限公司 The batch-automated test macro of light cat and test method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140237115A1 (en) * 2011-04-27 2014-08-21 Netapp, Inc. Method and system for securely capturing workloads at a live network for replaying at a test network
US9647905B1 (en) * 2012-12-21 2017-05-09 EMC IP Holding Company LLC System and method for optimized management of statistics counters, supporting lock-free updates, and queries for any to-the-present time interval
CN205829909U (en) * 2016-07-29 2016-12-21 四川天邑康和通信股份有限公司 A kind of test system of GPON light cat
CN109639523A (en) * 2018-12-12 2019-04-16 天津市康凯特软件科技有限公司 The batch-automated test macro of light cat and test method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024113780A1 (en) * 2022-12-01 2024-06-06 苏州元脑智能科技有限公司 Fc link management method, apparatus and device, and readable storage medium

Similar Documents

Publication Publication Date Title
CN111737127B (en) Method and apparatus for testing map services
CN101394646B (en) Software test method and system
CN111563014B (en) Interface service performance test method, device, equipment and storage medium
CN107391325B (en) Hard disk test method and device and terminal
CN106294222A (en) A kind of method and device determining PCIE device and slot corresponding relation
US10204702B2 (en) Testing a storage network
CN103970646A (en) Automatic analysis method and system for operation sequence
CN115878394A (en) Memory test method and device, electronic equipment and storage medium
CN110572298A (en) FC card-oriented automatic read-write performance testing method, system and equipment
CN115827436A (en) Data processing method, device, equipment and storage medium
US10352999B2 (en) Logic analyzer for evaluating an electronic product, method of retrieving data of the same, and method of performance testing
US20140325285A1 (en) Serial attached scsi expander and method for debugging faults thereof
CN109299051A (en) A kind of performance data files management method and relevant apparatus
CN103995765B (en) A kind of LED control card Auto-Test System and method
CN103605479B (en) Data file wiring method and system, data file read method and system
CN109920468B (en) Method and system for verifying SSD performance in steady state
CN117033099A (en) Pressure testing method, system and device for system hard disk and storage medium
CN108021478B (en) Robustness testing method for graphics processor
CN115617629A (en) Storage array performance test method and system, electronic equipment and storage medium
CN115687406A (en) Sampling method, device and equipment of call chain data and storage medium
CN112035373B (en) Method, device, server and medium for testing basic test script
CN113868137A (en) Method, device and system for processing buried point data and server
CN114238335A (en) Buried point data generation method and related equipment thereof
CN113568980A (en) Block chain information monitoring method, device, equipment and storage medium
CN203117966U (en) Multi-instrument identification circuit and interface

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

Application publication date: 20191213

RJ01 Rejection of invention patent application after publication