CN105071982A - Method for rapid measurement of performance of network card under Linux - Google Patents

Method for rapid measurement of performance of network card under Linux Download PDF

Info

Publication number
CN105071982A
CN105071982A CN201510418357.6A CN201510418357A CN105071982A CN 105071982 A CN105071982 A CN 105071982A CN 201510418357 A CN201510418357 A CN 201510418357A CN 105071982 A CN105071982 A CN 105071982A
Authority
CN
China
Prior art keywords
network
network interface
test
linux
interface card
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
CN201510418357.6A
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201510418357.6A priority Critical patent/CN105071982A/en
Publication of CN105071982A publication Critical patent/CN105071982A/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/04Processing captured monitoring data, e.g. for logfile generation
    • H04L43/045Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data

Abstract

The invention discloses a method for rapid measurement of the performance of a network card under the Linux, and relates to the technology of network performance tests. The method includes: executing commands uname-a, ethtool, and ifcongig under the linux operating system, grabbing detailed information of kernel version and the network card of the Linux system, installing a drive, configuring IPs of network interfaces, and restarting the network; connecting the network card and a corresponding interface of a network tester, opening the automatic forwarding function of the network interface, and closing the firewall; and setting a corresponding network interface at a terminal of the network tester, setting test parameters of the network card according to the RFC2544 network interconnection equipment performance test standard, and conducting rapid performance tests of the network card. According to the method, the complexity of the conventional network card test method is changed, the rapid tests in complete accordance with the RFC2544 network interconnection equipment performance test standard can be realized, the test time is saved, and the test results are more comprehensive and accurate.

Description

A kind of method of Quick Measurement network interface card performance under Linux
Technical field
The present invention relates to network card performance testing technology, specifically a kind of method of Quick Measurement network interface card performance under Linux.
Background technology
Along with popularizing gradually of network application, network demand increases greatly, and the thing followed is the update of server network interface card.Because network interface card is of a great variety, between different network interface card, speed, transmission material are had nothing in common with each other, and make a big impact to all kinds of server-compatible test.In traditional server network card performance testing, the method of the network interface card distich of the identical configuration of many uses measures the bandwidth of network interface card, cause the waste of network interface card sample resource and Test Host platform, network stress test simultaneously, for up to 12-24 hour, has had a strong impact on the testing progress of network interface card.
Under (SuSE) Linux OS, the throw the net mode of card distich of the many uses of network card performance testing two Test Host platforms two is carried out, and the testing time reaches 12-24 hour, and visible traditional network card performance testing Measures compare is complicated, used time is also longer, causes the temporal waste of a large amount of manpower and materials.
Summary of the invention
The present invention is directed to the weak point of current needs and prior art development, the method for Quick Measurement network interface card performance under a kind of Linux is provided.
The method of Quick Measurement network interface card performance under a kind of Linux of the present invention, the technical scheme solving the problems of the technologies described above employing is as follows: the method for Quick Measurement network interface card performance under described Linux, linux operating system is installed in Test Host, issue orders uname-a, ethtool and ifconfig of linux operating system is utilized to capture the details of linux system kernel version and network interface card, install and drive, configure the IP of each network interface and restart network; Network interface card is connected with network tester corresponding interface, opens the automatic forwarding capability of network interface, close fire compartment wall; Then corresponding network interface is set in network tester terminal, according to RFC2544 network interconnection apparatus, network interconnection performance test standard, network interface card test parameter is set, carries out quick network card performance testing.
Preferably, by fill order uname-a, ethtool, ifconfig under linux operating system, capture the details of linux system kernel version and network interface card, according to kernel version and network interface card, respective drive is installed.
Preferably, arrange the test parameter of RFC2544 standard in network tester terminal, system carries out throughput, time delay, packet loss, back-to-back four test automatically.
Preferably, Test Host continues to carry out network card performance testing, and preserves test result, drawing data figure.
The method of Quick Measurement network interface card performance under a kind of Linux of the present invention, the beneficial effect compared with prior art had is: the method for this measurement network interface card performance, network tester connection network card is adopted to test, significantly cut down test required time, and the demand of Test Host platform and test sample can be reduced, change the complexity of traditional network card testing method, realize the quick test meeting RFC2544 network interconnection apparatus, network interconnection performance test standard completely, save the testing time, test result is accurate more comprehensively simultaneously; Be applicable to the network card performance testing under most of linux systems of current all types server, there is good universal and generalization, can more scientific, the more effective performance assessing network interface card;
Automatically carry out throughput, time delay, packet loss by we's bright Test Host system and test without the need to artificial guard back-to-back, automatic logging test results, test log and testing time, and drawing test result figure, very intuitively; Without the need to manual collection data, import form and draw datagram, Servers-all testing requirement can be met, greatly reducing the cost of testing time and human and material resources.
Accompanying drawing explanation
Accompanying drawing 1 is the flow chart of the method for Quick Measurement network interface card performance under described Linux.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, below in conjunction with specific embodiment, and with reference to accompanying drawing, the method for Quick Measurement network interface card performance under a kind of Linux of the present invention is further described.
Embodiment: the method for Quick Measurement network interface card performance under a kind of Linux described in the present embodiment, main contents comprise: in Test Host, install linux operating system, by fill order uname-a, ethtool, ifconfig under linux operating system, the details of accurate crawl linux system kernel version and network interface card, first according to kernel version and network interface card, respective drive is installed, then configures the IP of each network interface and restart network; Network interface card is connected with network tester corresponding interface, opens the automatic forwarding capability of network interface, close fire compartment wall; Then corresponding network interface is set in network tester terminal, according to RFC2544 network interconnection apparatus, network interconnection performance test standard, network interface card test parameter is set and carries out network card performance testing.
By the method for Quick Measurement network interface card performance under Linux described in the present embodiment, the throughput of main test network interface card, time delay, packet loss and back-to-back (test data caching capabilities), when arranging network interface card test parameter, different testing combination of can arranging in pairs or groups out, meets the testing requirement under all situations.
The method of Quick Measurement network interface card performance under Linux described in the present embodiment, as shown in Figure 1, its concrete implementing procedure is as follows:
The first, Linux test platform (comprise Test Host platform, install (SuSE) Linux OS on Test Host) is got out;
The second, power on Test Host start, enters (SuSE) Linux OS, uses root user to log in;
Three, fill order uname-a, ethtool, ifconfig obtain linux kernel version and tested network interface card information;
Four, the NIC driver of corresponding kernel version is installed;
Five, mate each network interface IP, restart network service, automatic forwarding capability is set and closes fire compartment wall;
Six, the test parameter of RFC2544 standard is set in network tester terminal;
Seven, start test, system carries out throughput, time delay, packet loss, back-to-back four test automatically;
Eight, Test Host continues to carry out network card performance testing, and preserves test result, draws datagram;
Nine, after network card performance testing completes, I document Spirent TestCenter4.50 Results file under check test result file.
The information such as size of giving out a contract for a project, percentage load, throughput, maximum delay, minimum-time lag, average latency, transmission frame number, frames received, packet loss, loss ratio, Packet Forwarding Rate, minimum jitter, the highest shake, average jitter, out-of-sequence, testing time are recorded in described test result file.
And by checking/var/log/messages file, if do not report an error record, then represent Test Host platform stable operation in whole test process, do not occur the anomalies such as deadlock, power down.
The method of Quick Measurement network interface card performance under the bright described Linux of we, the pressure test to network interface card can be completed in one hour, a lot of time is saved time less than the 12-24 of traditional test methods, have succinct, easy to operate, save the advantages such as manpower, also ensure the accuracy of network card performance testing simultaneously.We are bright is applicable to all processor platforms in current industry, is applicable to various (SuSE) Linux OS popular at present, has broken limitation and the complexity of traditional network card performance testing; Next improves the conventional method to network card performance testing, complexity is simplified, manually can only build test environment, installation testing instrument, and carry out test for a long time and be improved as semi-automation, only needs the shorter time just can complete test; Last test result is also more directly perceived and comprehensive, directly can weigh network interface card performance and whether reach industry internal standard.
Above-mentioned embodiment is only concrete case of the present invention; scope of patent protection of the present invention includes but not limited to above-mentioned embodiment; any claims according to the invention and any person of an ordinary skill in the technical field to its suitable change done or replacement, all should fall into scope of patent protection of the present invention.

Claims (4)

1. the method for Quick Measurement network interface card performance under a Linux, it is characterized in that, linux operating system is installed in Test Host, issue orders uname-a, ethtool and ifconfig of linux operating system is utilized to capture the details of linux system kernel version and network interface card, install and drive, configure the IP of each network interface and restart network; Network interface card is connected with network tester corresponding interface, opens the automatic forwarding capability of network interface, close fire compartment wall; Then corresponding network interface is set in network tester terminal, according to RFC2544 network interconnection apparatus, network interconnection performance test standard, network interface card test parameter is set, carries out quick network card performance testing.
2. a kind of method of Quick Measurement network interface card performance under Linux according to claim 1, it is characterized in that, by fill order uname-a, ethtool, ifconfig under linux operating system, capture the details of linux system kernel version and network interface card, according to kernel version and network interface card, respective drive is installed.
3. a kind of method of Quick Measurement network interface card performance under Linux according to claim 2, it is characterized in that, arrange the test parameter of RFC2544 standard in network tester terminal, system carries out throughput, time delay, packet loss, back-to-back four test automatically.
4. a kind of method of Quick Measurement network interface card performance under Linux according to claim 3, it is characterized in that, Test Host continues to carry out network card performance testing, and preserves test result, drawing data figure.
CN201510418357.6A 2015-07-16 2015-07-16 Method for rapid measurement of performance of network card under Linux Pending CN105071982A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510418357.6A CN105071982A (en) 2015-07-16 2015-07-16 Method for rapid measurement of performance of network card under Linux

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510418357.6A CN105071982A (en) 2015-07-16 2015-07-16 Method for rapid measurement of performance of network card under Linux

Publications (1)

Publication Number Publication Date
CN105071982A true CN105071982A (en) 2015-11-18

Family

ID=54501269

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510418357.6A Pending CN105071982A (en) 2015-07-16 2015-07-16 Method for rapid measurement of performance of network card under Linux

Country Status (1)

Country Link
CN (1) CN105071982A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450477A (en) * 2015-12-09 2016-03-30 浪潮电子信息产业股份有限公司 Method for detecting performance of network card
CN106059786A (en) * 2016-05-05 2016-10-26 浪潮电子信息产业股份有限公司 Network card performance optimizing device, system and method
CN106899454A (en) * 2017-03-06 2017-06-27 郑州云海信息技术有限公司 A kind of method and system based on automatic test RoCE performances under linux system
CN107070747A (en) * 2017-04-10 2017-08-18 广东浪潮大数据研究有限公司 A kind of method of the automatic test network interface card network connection stability under network card binding pattern
CN108965062A (en) * 2018-08-07 2018-12-07 郑州云海信息技术有限公司 A kind of network interface test method, device, equipment and the storage medium of Onboard NIC
CN109450722A (en) * 2018-10-08 2019-03-08 郑州云海信息技术有限公司 The test method of network interface card rate under a kind of linux system
CN111355636A (en) * 2020-02-23 2020-06-30 苏州浪潮智能科技有限公司 Test method and system for delay tuning of server network
CN111371654A (en) * 2020-03-18 2020-07-03 四川九州电子科技股份有限公司 Automatic testing system and method for intelligent fusion product network port
CN111786855A (en) * 2020-06-30 2020-10-16 曙光信息产业(北京)有限公司 Network card pressure testing method and device, electronic equipment and storage medium
CN114629831A (en) * 2022-03-11 2022-06-14 江苏为是科技有限公司 Network card performance test method, device, equipment and storage medium
CN116566875A (en) * 2023-06-25 2023-08-08 深圳市联瑞电子有限公司 Network card testing system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090316587A1 (en) * 2008-06-24 2009-12-24 Verizon Corporate Services Group Inc. Adaptive test system for network function and performance evaluation
CN102104502A (en) * 2009-12-18 2011-06-22 研祥智能科技股份有限公司 Ethernet equipment performance test platform based on Linux system
CN104410554A (en) * 2014-12-31 2015-03-11 浪潮电子信息产业股份有限公司 Method or testing WOL (Wake On Lan) function of server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090316587A1 (en) * 2008-06-24 2009-12-24 Verizon Corporate Services Group Inc. Adaptive test system for network function and performance evaluation
CN102104502A (en) * 2009-12-18 2011-06-22 研祥智能科技股份有限公司 Ethernet equipment performance test platform based on Linux system
CN104410554A (en) * 2014-12-31 2015-03-11 浪潮电子信息产业股份有限公司 Method or testing WOL (Wake On Lan) function of server

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450477A (en) * 2015-12-09 2016-03-30 浪潮电子信息产业股份有限公司 Method for detecting performance of network card
CN106059786A (en) * 2016-05-05 2016-10-26 浪潮电子信息产业股份有限公司 Network card performance optimizing device, system and method
CN106899454A (en) * 2017-03-06 2017-06-27 郑州云海信息技术有限公司 A kind of method and system based on automatic test RoCE performances under linux system
CN106899454B (en) * 2017-03-06 2020-10-20 苏州浪潮智能科技有限公司 Method and system for automatically testing RoCE performance based on Linux system
CN107070747B (en) * 2017-04-10 2020-05-19 苏州浪潮智能科技有限公司 Device, system and method for automatically testing network card network connection stability in network card binding mode
CN107070747A (en) * 2017-04-10 2017-08-18 广东浪潮大数据研究有限公司 A kind of method of the automatic test network interface card network connection stability under network card binding pattern
CN108965062A (en) * 2018-08-07 2018-12-07 郑州云海信息技术有限公司 A kind of network interface test method, device, equipment and the storage medium of Onboard NIC
CN109450722A (en) * 2018-10-08 2019-03-08 郑州云海信息技术有限公司 The test method of network interface card rate under a kind of linux system
CN111355636A (en) * 2020-02-23 2020-06-30 苏州浪潮智能科技有限公司 Test method and system for delay tuning of server network
CN111371654A (en) * 2020-03-18 2020-07-03 四川九州电子科技股份有限公司 Automatic testing system and method for intelligent fusion product network port
CN111371654B (en) * 2020-03-18 2022-10-14 四川九州电子科技股份有限公司 Automatic testing system and method for intelligent fusion product network port
CN111786855A (en) * 2020-06-30 2020-10-16 曙光信息产业(北京)有限公司 Network card pressure testing method and device, electronic equipment and storage medium
CN114629831A (en) * 2022-03-11 2022-06-14 江苏为是科技有限公司 Network card performance test method, device, equipment and storage medium
CN114629831B (en) * 2022-03-11 2023-10-24 江苏为是科技有限公司 Network card performance test method, device, equipment and storage medium
CN116566875A (en) * 2023-06-25 2023-08-08 深圳市联瑞电子有限公司 Network card testing system and method

Similar Documents

Publication Publication Date Title
CN105071982A (en) Method for rapid measurement of performance of network card under Linux
CN103812726B (en) Automated testing method and device for data communication equipment
CN107995068B (en) Network port testing method, equipment and computer readable storage medium
CN104394029B (en) A kind of total line detecting methods of AFDX based on hybrid channel
CN102141962A (en) Safety distributed test framework system and test method thereof
CN104536858B (en) For the method for 1553B bus communication remote terminal automatic tests
US11032126B2 (en) Diagnostic traffic generation for automatic testing and troubleshooting
CN102684946B (en) Dual-network-interface-card switching performance testing method for information integration system
US11074149B2 (en) Cloud simulation and validation system
WO2017161964A1 (en) Communication network inspection method and device, and inspection client terminal
CN104360922A (en) Method for automatically monitoring BMC working state based on ipmitool
CN105302732A (en) Automatic mobile terminal testing method and device
CN107102949B (en) Application program offline testing method and tool
CN104375914A (en) Automatic testing method for internal pressure changes of server
CN103678130A (en) Automated performance test method and platform
US20090036115A1 (en) System and method for testing gsm modules
CN102325036A (en) Fault diagnosis method for network system, system and device
CN104954081A (en) Electronic device test system and test method thereof
CN102821416A (en) System for testing abnormal interruption of wireless communication module and application method thereof
CN111786855A (en) Network card pressure testing method and device, electronic equipment and storage medium
CN106059860A (en) Method and device for testing network cards
CN112187574A (en) Method, system and storage medium for network stress testing using virtual machines
CN111130924A (en) Test method, test device and test equipment for Ethernet port of equipment
CN101442448A (en) Test system and method for knife blade server
CN106533823B (en) Automatic test system and method and recyclable sending device thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151118