CN109379249A - A method of monitoring network interface card can bear maximum packet sending speed - Google Patents

A method of monitoring network interface card can bear maximum packet sending speed Download PDF

Info

Publication number
CN109379249A
CN109379249A CN201811153842.5A CN201811153842A CN109379249A CN 109379249 A CN109379249 A CN 109379249A CN 201811153842 A CN201811153842 A CN 201811153842A CN 109379249 A CN109379249 A CN 109379249A
Authority
CN
China
Prior art keywords
packet
client
sending speed
network interface
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
CN201811153842.5A
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.)
Fujian Star Software Co Ltd
Original Assignee
Fujian Star Software 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 Fujian Star Software Co Ltd filed Critical Fujian Star Software Co Ltd
Priority to CN201811153842.5A priority Critical patent/CN109379249A/en
Publication of CN109379249A publication Critical patent/CN109379249A/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
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • 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
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of method that monitoring network interface card can bear maximum packet sending speed, include the following steps: that one first process and one second process is arranged in step S1, client;Step S2, client configures network interface card parameter;Step S3, the first process drives agent side to send packet data to client forward direction poll according to network interface card parameters remote;Step S4, whether the second process monitoring client generates packet loss phenomenon, if not generating packet loss phenomenon, enters step S3;If generating packet loss phenomenon, S5 is entered step;Step S5, last packet sending speed and network interface card parameter when according to generation packet loss phenomenon send packet data to client forward direction to poll, generate packet loss phenomenon, maximum packet sending speed can be born using last packet sending speed as network interface card.The present invention has the advantages that the testing efficiency of maximum packet sending speed, test accuracy can be born by improving network interface card.

Description

A method of monitoring network interface card can bear maximum packet sending speed
Technical field
The present invention relates to computer fields, refer in particular to a kind of method that monitoring network interface card can bear maximum packet sending speed.
Background technique
It is deployed in different network environments, is caused due to Method of Database Secure Audit product and targeting database server Method of Database Secure Audit product needs the long-range packet data for receiving Method of Database Secure Audit product.In order to the maximum extent The operational efficiency for improving Method of Database Secure Audit product needs to build an excellent network environment, but in deployment database When security audit product, the maximum hair that can reasonably bear can not be often set for different targeting database servers Packet rate, to avoid the production when receiving targeting database server and sending packet data of Method of Database Secure Audit product as far as possible Raw packet loss phenomenon.
Currently, the prior art often can only it is one-side statistics targeting database server end network interface card packet sending speed, Or the packet receiving rate of the network interface card at Method of Database Secure Audit product end, and the network interface card at test database security audit product end can be held By maximum packet sending speed, need to clear up network environment, related test parameters of manual configuration network interface card etc., this test side manually There are following problems for method: testing procedure is complicated, working efficiency is low, test accuracy is not high.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of method that monitoring network interface card can bear maximum packet sending speed, Maximum packet sending speed can be born for automatic test network interface card, to improve testing efficiency, test accuracy.
The present invention is implemented as follows: a kind of method that monitoring network interface card can bear maximum packet sending speed, the method includes Following steps:
Step S1, one first process and one second process is arranged in client;
Step S2, client configures network interface card parameter;
Step S3, the first process drives agent side to send to client forward direction poll and seals according to client NIC parameters remote Bag data;
Step S4, the packet receiving rate of the second process monitoring client NIC, while monitoring whether to generate packet loss phenomenon, if not Packet loss phenomenon is generated, S3 is entered step;If generating packet loss phenomenon, S5 is entered step;
Step S5, according to when generating packet loss phenomenon last packet sending speed and network interface card parameter to client forward direction poll Send packet data;
Step S6, the packet receiving rate of the second process monitoring client NIC, while monitoring whether to generate packet loss phenomenon, if not Packet loss phenomenon is generated, then enters step S5;If generating packet loss phenomenon, S7 is entered step;
Step S7, last packet sending speed when to generate packet loss phenomenon can bear maximum as client NIC and give out a contract for a project speed Rate, and the packet sending speed that client NIC at this time can bear maximum packet sending speed and agent side is recorded to the number of client According in library, and stop the operation of the first process and one second process.
Further, in the step S2, the client NIC parameter includes originating packet rate, a first gradient together Value and one second gradient value.
Further, the step S3 specifically:
First process foundation originates packet sending speed and first gradient value remote boot server agent side to client forward direction poll Send packet data.
Further, the step S5 specifically:
The luxuriant last packet sending speed according to when generating packet loss phenomenon of first process and the second gradient value are rectified to client Packet data is sent to poll.
The present invention has the advantages that
1, by the first process of setting and the second process, realize that automatic test client NIC can bear maximum and give out a contract for a project Rate improves testing efficiency;
2, by setting starting packet sending speed, first gradient value and the second gradient value, and given out a contract for a project using positive poll Mode improves the accuracy of test;
3, by determining that client NIC can bear maximum packet sending speed, so that CPU can the processing reception of reasonable distribution resource The packet data arrived avoids the waste of cpu resource.
Detailed description of the invention
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the flow chart for the method that a kind of monitoring network interface card of the present invention can bear maximum packet sending speed.
Specific embodiment
It please referring to shown in Fig. 1, a kind of monitoring network interface card of the present invention can bear the preferred embodiment of the method for maximum packet sending speed, Include the following steps:
Step S1, one first process and one second process is arranged in client (Client);Client is database security The deployment end of audit product;By the first process of setting and the second process, realize that automatic test network interface card can bear maximum hair Packet rate improves testing efficiency;
Step S2, client configures network interface card parameter;
Step S3, the first process drives agent side (Agent) to client forward direction wheel according to client NIC parameters remote It askes and sends packet data;Agent side is the deployment end of targeting database server;
Step S4, the packet receiving rate of the second process monitoring client NIC, while monitoring whether to generate packet loss phenomenon, if not Packet loss phenomenon is generated, S3 is entered step;If generating packet loss phenomenon, S5 is entered step;
Step S5, according to when generating packet loss phenomenon last packet sending speed and network interface card parameter to client forward direction poll Send packet data;
Step S6, the packet receiving rate of the second process monitoring client NIC, while monitoring whether to generate packet loss phenomenon, if not Packet loss phenomenon is generated, then enters step S5;If generating packet loss phenomenon, S7 is entered step;
Step S7, last packet sending speed when to generate packet loss phenomenon can bear maximum as client NIC and give out a contract for a project speed Rate, and the packet sending speed that client NIC at this time can bear maximum packet sending speed and agent side is recorded to the number of client According in library, and stop the operation of the first process and one second process;By determining that network interface card can bear maximum packet sending speed, so that CPU can reasonable distribution resource handle the packet data that receives, avoid the waste of cpu resource.
In the step S2, the client NIC parameter includes originating packet rate, a first gradient value and one together Second gradient value;By the first process of setting and the second process, realize that automatic test network interface card can bear maximum packet sending speed, Improve testing efficiency.
The step S3 specifically:
First process foundation originates packet sending speed and first gradient value remote boot server agent side to client forward direction poll Send packet data.
The step S5 specifically:
The luxuriant last packet sending speed according to when generating packet loss phenomenon of first process and the second gradient value are rectified to client Packet data is sent to poll.
The working principle of the invention:
One first process and one second process is arranged in client, and configures starting packet sending speed as 500Mbps, the first ladder Angle value is 50Mbps and the second gradient value is 10Mbps;First process remote boot server agent side from packet sending speed be 500Mbps Start to send packet data to client, and is incremented by 50Mbps every time;The packet receiving rate of second process monitoring client NIC And whether packet loss phenomenon is generated, packet loss phenomenon is generated when packet sending speed is 1000Mbps, is with last packet sending speed Based on 950Mbps, incremental 10Mbps sends packet data to client every time, the client when packet sending speed is 980Mbps Network interface card generates packet loss phenomenon, then is that network interface card can bear maximum and give out a contract for a project with the packet sending speed of last packet sending speed, that is, 970Mbps Rate, and by the packet sending speed that client NIC at this time can bear maximum packet sending speed 970Mbps and agent side record to In the database of client, and stop the operation of the first process and one second process.
In conclusion the present invention has the advantages that
1, by the first process of setting and the second process, realize that automatic test client NIC can bear maximum and give out a contract for a project Rate improves testing efficiency;
2, by setting starting packet sending speed, first gradient value and the second gradient value, and given out a contract for a project using positive poll Mode improves the accuracy of test;
3, by determining that client NIC can bear maximum packet sending speed, so that CPU can the processing reception of reasonable distribution resource The packet data arrived avoids the waste of cpu resource.
Although specific embodiments of the present invention have been described above, those familiar with the art should be managed Solution, we are merely exemplary described specific embodiment, rather than for the restriction to the scope of the present invention, it is familiar with this The technical staff in field should be covered of the invention according to modification and variation equivalent made by spirit of the invention In scope of the claimed protection.

Claims (4)

1. a kind of method that monitoring network interface card can bear maximum packet sending speed, it is characterised in that: described method includes following steps:
Step S1, one first process and one second process is arranged in client;
Step S2, client configures network interface card parameter;
Step S3, the first process drives agent side to send package number to client forward direction poll according to client NIC parameters remote According to;
Step S4, the packet receiving rate of the second process monitoring client NIC, while monitoring whether to generate packet loss phenomenon, if not generating Packet loss phenomenon enters step S3;If generating packet loss phenomenon, S5 is entered step;
Step S5, last packet sending speed and network interface card parameter when according to generation packet loss phenomenon are sent to client forward direction poll Packet data;
Step S6, the packet receiving rate of the second process monitoring client NIC, while monitoring whether to generate packet loss phenomenon, if not generating Packet loss phenomenon then enters step S5;If generating packet loss phenomenon, S7 is entered step;
Step S7, last packet sending speed when to generate packet loss phenomenon can bear maximum packet sending speed as client NIC, And the packet sending speed that client NIC at this time can bear maximum packet sending speed and agent side is recorded to the data of client In library, and stop the operation of the first process and one second process.
2. a kind of method that monitoring network interface card can bear maximum packet sending speed as described in claim 1, it is characterised in that: the step In rapid S2, the client NIC parameter includes originating packet rate, a first gradient value and one second gradient value together.
3. a kind of method that monitoring network interface card can bear maximum packet sending speed as claimed in claim 2, it is characterised in that: the step Rapid S3 specifically:
First process is sent according to starting packet sending speed and first gradient value remote boot server agent side to client forward direction poll Packet data.
4. a kind of method that monitoring network interface card can bear maximum packet sending speed as claimed in claim 2, it is characterised in that: the step Rapid S5 specifically:
The luxuriant last packet sending speed according to when generating packet loss phenomenon of first process and the second gradient value are to client forward direction wheel It askes and sends packet data.
CN201811153842.5A 2018-09-30 2018-09-30 A method of monitoring network interface card can bear maximum packet sending speed Pending CN109379249A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811153842.5A CN109379249A (en) 2018-09-30 2018-09-30 A method of monitoring network interface card can bear maximum packet sending speed

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811153842.5A CN109379249A (en) 2018-09-30 2018-09-30 A method of monitoring network interface card can bear maximum packet sending speed

Publications (1)

Publication Number Publication Date
CN109379249A true CN109379249A (en) 2019-02-22

Family

ID=65403208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811153842.5A Pending CN109379249A (en) 2018-09-30 2018-09-30 A method of monitoring network interface card can bear maximum packet sending speed

Country Status (1)

Country Link
CN (1) CN109379249A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557607A (en) * 2009-05-15 2009-10-14 东南大学 Method for controlling transmission of sink nodes in wireless sensor network
CN102811142A (en) * 2011-06-01 2012-12-05 中国石油集团长城钻探工程有限公司 Telemetry speed measuring method
CN104954205A (en) * 2015-07-22 2015-09-30 上海斐讯数据通信技术有限公司 Soft routing performance test method
CN105577475A (en) * 2015-12-28 2016-05-11 上海瀚之友信息技术服务有限公司 Automatic performance test system and method
US20180097731A1 (en) * 2016-10-05 2018-04-05 Fujitsu Limited Communication apparatus and method of communication
CN108092837A (en) * 2016-11-21 2018-05-29 腾讯科技(深圳)有限公司 Network communication quality detection method tests the speed server and network tests the speed plug-in unit

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557607A (en) * 2009-05-15 2009-10-14 东南大学 Method for controlling transmission of sink nodes in wireless sensor network
CN102811142A (en) * 2011-06-01 2012-12-05 中国石油集团长城钻探工程有限公司 Telemetry speed measuring method
CN104954205A (en) * 2015-07-22 2015-09-30 上海斐讯数据通信技术有限公司 Soft routing performance test method
CN105577475A (en) * 2015-12-28 2016-05-11 上海瀚之友信息技术服务有限公司 Automatic performance test system and method
US20180097731A1 (en) * 2016-10-05 2018-04-05 Fujitsu Limited Communication apparatus and method of communication
CN108092837A (en) * 2016-11-21 2018-05-29 腾讯科技(深圳)有限公司 Network communication quality detection method tests the speed server and network tests the speed plug-in unit

Similar Documents

Publication Publication Date Title
US10148540B2 (en) System and method for anomaly detection in information technology operations
US9037896B2 (en) Root cause analysis in a sensor-actuator fabric of a connected environment
US20190108111A1 (en) Bit error rate prediction
EP2849384B1 (en) Approximate matching method and related device, and communication system
US20030093244A1 (en) Network metric system
US20050060403A1 (en) Time-based correlation of non-translative network segments
KR102148757B1 (en) Method and apparatus for transmitting/receiving data in a communication system
US12120002B2 (en) Method and apparatus for detecting anomaly of traffic of internet of things device based on automata
EP3791543B1 (en) Packet programmable flow telemetry profiling and analytics
US20140280825A1 (en) Identifying network flows under network address translation
CN105406976A (en) Weak password checking method and system
WO2017202166A1 (en) Message transmission method, sending device and storage medium
Shim et al. Application traffic classification using payload size sequence signature
Sundaresan et al. TCP congestion signatures
CN108154230A (en) The monitoring method and monitoring device of deep learning processor
Piet et al. Ggfast: Automating generation of flexible network traffic classifiers
CN109379249A (en) A method of monitoring network interface card can bear maximum packet sending speed
CN105790978A (en) Network manager communication message processing method and device, server and main control board
CN116614481A (en) Multimedia data transmission method, device, equipment and storage medium
CN103685316B (en) A kind of audit processing method of network transmission file
Ji et al. Automatic reverse engineering of private flight control protocols of UAVs
US8433784B2 (en) Traffic generator with enhanced burst modeling feature
Clemm et al. Network-programmable operational flow profiling
D'Antonio et al. Flow selection techniques
Patil et al. Survey of synthetic traffic generators

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: 20190222

RJ01 Rejection of invention patent application after publication