CN107666416B - Iperf test result judgment system - Google Patents
Iperf test result judgment system Download PDFInfo
- Publication number
- CN107666416B CN107666416B CN201710801329.1A CN201710801329A CN107666416B CN 107666416 B CN107666416 B CN 107666416B CN 201710801329 A CN201710801329 A CN 201710801329A CN 107666416 B CN107666416 B CN 107666416B
- Authority
- CN
- China
- Prior art keywords
- test
- unit
- iperf
- test result
- network bandwidth
- 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.)
- Active
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 104
- 238000000034 method Methods 0.000 claims abstract description 7
- 238000011056 performance test Methods 0.000 claims description 6
- 238000012545 processing Methods 0.000 abstract description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
- H04L43/0894—Packet rate
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides an iperf test result judgment system, which comprises: the file path selection unit is used for selecting an iperf test file; a parameter input unit, including a network bandwidth input module for inputting the theoretical network bandwidth of the corresponding server, a standard theoretical ratio input module for inputting the standard theoretical ratio of the test result, and a thread input module for inputting the thread mode of the test; the calculation unit is connected with the parameter input unit and is used for calculating the product of the theoretical network bandwidth input by the parameter input unit and the standard theoretical ratio of the test result; and the judging unit is used for judging the iperf test result. The method avoids the use of a line-by-line searching mode for the iperf test file, saves a large amount of data processing and analyzing time, can optimize the test to a certain extent, saves manpower, and further improves the test efficiency.
Description
Technical Field
The invention relates to the field of network performance testing, in particular to an iperf test result judgment system.
Background
The iperf is an open-source TCP/IP and UDP/IP performance measuring tool, can provide statistical information such as network throughput rate, vibration, packet loss rate, maximum segment and maximum transmission unit size and the like, and can be used for testing network performance and positioning network bottleneck. In the network test of the server, iperf is a standard test tool, the test time is more than 24H, and in the test process, one record is stored in a test result file every second. Therefore, the data size of the iperf test result file is large. In the prior art, the test result is analyzed by searching the iperf test file line by line, so that the analysis is relatively complex and the test efficiency is restricted.
Therefore, the invention provides an iperf test result judging system which is used for solving the problem that test result analysis is inconvenient due to the fact that data volume of an iperf test result file is large.
Disclosure of Invention
The technical problem to be solved by the invention is to provide an iperf test result judgment system for improving the analysis efficiency of an iperf test result file, thereby achieving the purposes of optimizing the test, saving labor and improving the test efficiency.
In order to solve the above technical problem, the present invention provides an iperf test result determination system, including:
the system comprises a file path selection unit, a network performance test unit and a server management unit, wherein the file path selection unit is used for selecting an iperf test file, and the iperf test file is a test result file of a network performance test performed on a corresponding server in advance through iperf test software;
a parameter input unit, including a network bandwidth input module for inputting the theoretical network bandwidth of the corresponding server, a standard theoretical ratio input module for inputting the standard theoretical ratio of the test result, and a thread input module for inputting the thread mode of the test;
the calculation unit is connected with the parameter input unit and used for acquiring the theoretical network bandwidth input by the parameter input unit and the standard theoretical ratio of the test result and calculating the product of the currently acquired theoretical network bandwidth and the standard theoretical ratio of the test result;
and the judging unit is respectively connected with the file path selecting unit, the parameter input unit and the calculating unit and is used for traversing the iperf test file selected by the file path selecting unit based on the tested thread mode input by the parameter input unit, correspondingly acquiring the test record of each second corresponding to the tested thread mode, comparing the actually measured network bandwidth corresponding to the test record of each second with the product calculated by the calculating unit in size, and giving a corresponding judging result according to the result of size comparison.
The method for giving the corresponding judgment result according to the result of the size comparison comprises the following steps:
when the actually measured network bandwidth in the current second is greater than or equal to the product calculated by the calculating unit, the result is judged to be passed; otherwise, judging that the test is failed.
Wherein, the theoretical network bandwidth is any one of 1G, 10G, 25G and 100G.
The network bandwidth input module inputs the theoretical network bandwidth in the form of single selection or pull-down menu.
Wherein the standard theoretical ratio is any one of 90%, 80%, 70% and 50%.
The standard theoretical ratio input module inputs the standard theoretical ratio of the test result in a single-item selection or pull-down menu mode.
Wherein, the thread mode of the test is any one of single thread and multithreading.
The thread input module inputs the thread mode of the test in a form of single item selection or pull-down menu.
The iperf test result judging system also comprises a display unit, wherein the display unit is connected with the judging unit and used for displaying the judging result given by the judging unit.
Compared with the prior art, the invention has the advantages that:
the method avoids the use of a line-by-line searching mode for the iperf test file, saves a large amount of data processing and analyzing time, can optimize the test to a certain extent, saves manpower, and further can improve the test efficiency.
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
Fig. 1 is a schematic structural block diagram of the iperf test result determination system according to the present invention.
Detailed Description
In order to make the technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings.
Fig. 1 is a specific embodiment of the iperf test result determination system according to the present invention. In this embodiment, the iperf test result determination system includes: the system comprises a file path selection unit, a network performance test unit and a server management unit, wherein the file path selection unit is used for selecting an iperf test file, and the iperf test file is a test result file of a network performance test performed on a corresponding server in advance through iperf test software; a parameter input unit, including a network bandwidth input module for inputting the theoretical network bandwidth of the corresponding server, a standard theoretical ratio input module for inputting the standard theoretical ratio of the test result, and a thread input module for inputting the thread mode of the test; the calculation unit is connected with the parameter input unit and used for acquiring the theoretical network bandwidth input by the parameter input unit and the standard theoretical ratio of the test result and calculating the product of the currently acquired theoretical network bandwidth and the standard theoretical ratio of the test result; and the judging unit is respectively connected with the file path selecting unit, the parameter input unit and the calculating unit and is used for traversing the iperf test file selected by the file path selecting unit based on the tested thread mode input by the parameter input unit, correspondingly acquiring the test record of each second corresponding to the tested thread mode, comparing the actually measured network bandwidth corresponding to the test record of each second with the product calculated by the calculating unit in size, and giving a corresponding judging result according to the result of size comparison. The iperf test result judging system also comprises a display unit connected with the judging unit and used for displaying the judging result given by the judging unit. The method for giving the corresponding judgment result according to the result of the size comparison comprises the following steps: when the actually measured network bandwidth in the current second is greater than or equal to the product calculated by the calculating unit, the result is judged to be passed; otherwise, judging that the test is failed.
In this embodiment, the theoretical network bandwidth is any one of 1G, 10G, 25G and 100G, the standard theoretical ratio is any one of 90%, 80%, 70% and 50%, and the thread mode of the test is any one of single thread and multi-thread.
In this embodiment, the network bandwidth input module inputs the theoretical network bandwidth in a single-choice manner, the standard theoretical ratio input module inputs the standard theoretical ratio of the test result in a single-choice manner, and the thread input module inputs the thread mode of the test in a single-choice manner. Specifically, in this embodiment, the theoretical network bandwidth is as four single options of 1G, 10G, 25G and 100G, the standard theoretical ratio is as four single options of 90%, 80%, 70% and 50%, and the thread mode of the test is two single options of single thread and multiple thread.
When the invention is used, an iperf test file is selected through the file path selection unit, then the corresponding theoretical network bandwidth, the standard theoretical ratio of the test result and the thread mode of the test are input through the parameter input unit in a single-item selection mode, then the product of the currently input theoretical network bandwidth and the standard theoretical ratio of the test result is calculated through the calculation unit, finally, the corresponding judgment result is given under the control of the judgment unit, and the judgment result is displayed through the display unit. Therefore, the method avoids the use of a line-by-line searching mode for the iperf test file, saves a large amount of data processing and analyzing time, can optimize the test to a certain extent, saves manpower, and further improves the test efficiency.
Specifically, in the present embodiment, when the determination result given by the determination unit is that the test fails, the determination unit is configured to control to output a data bandwidth result of the test corresponding to the current second, and control to output a word "far"; when the judgment result given by the judgment unit is that the test is passed, the judgment unit controls to output the word 'PASS'. Furthermore, when the judgment result given by the judgment unit is that the test fails, the display unit displays the data bandwidth result of the test corresponding to the current second and displays a word of 'FALL'; when the judgment result given by the judgment unit is that the test is passed, the word of PASS is displayed by the display unit.
The above embodiments are only for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may be modified or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (9)
1. An iperf test result determination system, comprising:
the system comprises a file path selection unit, a network performance test unit and a server management unit, wherein the file path selection unit is used for selecting an iperf test file, and the iperf test file is a test result file of a network performance test performed on a corresponding server in advance through iperf test software;
a parameter input unit, including a network bandwidth input module for inputting the theoretical network bandwidth of the corresponding server, a standard theoretical ratio input module for inputting the standard theoretical ratio of the test result, and a thread input module for inputting the thread mode of the test;
the calculation unit is connected with the parameter input unit and used for acquiring the theoretical network bandwidth input by the parameter input unit and the standard theoretical ratio of the test result and calculating the product of the currently acquired theoretical network bandwidth and the standard theoretical ratio of the test result;
and the judging unit is respectively connected with the file path selecting unit, the parameter input unit and the calculating unit and is used for traversing the iperf test file selected by the file path selecting unit based on the tested thread mode input by the parameter input unit, correspondingly acquiring the test record of each second corresponding to the tested thread mode, comparing the actually measured network bandwidth corresponding to the test record of each second with the product calculated by the calculating unit in size, and giving a corresponding judging result according to the result of size comparison.
2. The iperf test result determining system according to claim 1, wherein the method of giving the corresponding determination result according to the result of the size comparison comprises:
when the actually measured network bandwidth in the current second is greater than or equal to the product calculated by the calculating unit, the result is judged to be passed; otherwise, judging that the test is failed.
3. The iperf test result determination system according to claim 1 or 2, wherein the theoretical network bandwidth is any one of 1G, 10G, 25G, and 100G.
4. The iperf test result determining system of claim 3, wherein the network bandwidth input module inputs the theoretical network bandwidth in a form of a single selection or a pull-down menu.
5. The iperf test result determination system according to claim 1 or 2, wherein the standard theoretical ratio is any one of 90%, 80%, 70%, and 50%.
6. The iperf test result determining system according to claim 5, wherein the standard theoretical ratio input module inputs the standard theoretical ratio of the test result in a form of a single selection or a pull-down menu.
7. The iperf test result determination system according to claim 1 or 2, wherein the thread mode of the test is any one of a single thread and a multi-thread.
8. The iperf test result determining system of claim 7, wherein the thread input module inputs the thread mode of the test in the form of a single selection or a pull-down menu.
9. The iperf test result determination system according to claim 1 or 2, further comprising a display unit connected to the determination unit for displaying the determination result given by the determination unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710801329.1A CN107666416B (en) | 2017-09-07 | 2017-09-07 | Iperf test result judgment system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710801329.1A CN107666416B (en) | 2017-09-07 | 2017-09-07 | Iperf test result judgment system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107666416A CN107666416A (en) | 2018-02-06 |
CN107666416B true CN107666416B (en) | 2020-09-29 |
Family
ID=61097928
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710801329.1A Active CN107666416B (en) | 2017-09-07 | 2017-09-07 | Iperf test result judgment system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107666416B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111817925B (en) * | 2020-09-02 | 2020-12-04 | 广东省新一代通信与网络创新研究院 | Test method and system for high transmission rate |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102740332A (en) * | 2012-05-31 | 2012-10-17 | 青岛海信移动通信技术股份有限公司 | Mobile terminal test method and test device |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8612599B2 (en) * | 2011-09-07 | 2013-12-17 | Accenture Global Services Limited | Cloud service monitoring system |
CN103812712B (en) * | 2012-11-05 | 2018-10-26 | 深圳市共进电子股份有限公司 | The test method and system of throughput of network device |
CN103544103A (en) * | 2013-09-02 | 2014-01-29 | 烟台中科网络技术研究所 | Method and system for test, simulation and concurrence of software performance |
CN106775968A (en) * | 2016-11-29 | 2017-05-31 | 上海斐讯数据通信技术有限公司 | A kind of server test method, apparatus and system |
CN107124236A (en) * | 2017-04-24 | 2017-09-01 | 安徽戎智科技有限公司 | A kind of receiver performance indication test method based on script |
-
2017
- 2017-09-07 CN CN201710801329.1A patent/CN107666416B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102740332A (en) * | 2012-05-31 | 2012-10-17 | 青岛海信移动通信技术股份有限公司 | Mobile terminal test method and test device |
Also Published As
Publication number | Publication date |
---|---|
CN107666416A (en) | 2018-02-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3211831B1 (en) | N-tiered end user response time eurt breakdown graph for problem domain isolation | |
CN107341098B (en) | Software performance testing method, platform, equipment and storage medium | |
US20200374306A1 (en) | Network traffic anomaly detection method, apparatus, computer device and storage medium | |
CN107547309B (en) | Automatic testing method and device for security gateway performance | |
US8291388B2 (en) | System, method and program for executing a debugger | |
US10843084B2 (en) | Method and system for gathering time-varying metrics | |
KR20190060547A (en) | Method of Deriving and Visualizing the Causes of Process Malfunctions Through Machine Learning Model In Data Imbalance Environment | |
CN103716209B (en) | A kind of tunnel concurrent test system and equipment | |
CN113127356A (en) | Pressure measurement method and device, electronic equipment and storage medium | |
CN107168844A (en) | A kind of method and device of performance monitoring | |
JP2022545666A (en) | LC problem diagnosis from pressure traces using machine learning | |
CN104123397A (en) | Automatic test device and method for Web page | |
CN107666416B (en) | Iperf test result judgment system | |
CN111797008B (en) | Automatic verification method, equipment and storage medium for mobile terminal embedded point data | |
CN110943887B (en) | Probe scheduling method, device, equipment and storage medium | |
US10284435B2 (en) | Method to visualize end user response time | |
CN115509931A (en) | System-based performance test method and device, electronic equipment and storage medium | |
CN108521571B (en) | SDI chip automatic detection method and device, storage medium and terminal | |
CN115952098A (en) | Performance test tuning scheme recommendation method and system | |
CN114095394B (en) | Network node fault detection method and device, electronic equipment and storage medium | |
CN115904388A (en) | Application program protocol analysis method, device, equipment and storage medium | |
CN110971483B (en) | Pressure testing method and device and computer system | |
CN106855843B (en) | Performance analysis method and device of Web system | |
CN107453944B (en) | Method and system for determining optimal test connection number of network throughput test | |
CN106855840B (en) | System CPU analysis 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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200820 Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province Applicant after: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd. Address before: 450000 Henan province Zheng Dong New District of Zhengzhou City Xinyi Road No. 278 16 floor room 1601 Applicant before: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |