CN100366005C - Test method for throughput capacity of IP equipment - Google Patents

Test method for throughput capacity of IP equipment Download PDF

Info

Publication number
CN100366005C
CN100366005C CNB2005101323190A CN200510132319A CN100366005C CN 100366005 C CN100366005 C CN 100366005C CN B2005101323190 A CNB2005101323190 A CN B2005101323190A CN 200510132319 A CN200510132319 A CN 200510132319A CN 100366005 C CN100366005 C CN 100366005C
Authority
CN
China
Prior art keywords
transmitted traffic
execution
throughput
minimum value
equipment
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
Application number
CNB2005101323190A
Other languages
Chinese (zh)
Other versions
CN1794670A (en
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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CNB2005101323190A priority Critical patent/CN100366005C/en
Publication of CN1794670A publication Critical patent/CN1794670A/en
Application granted granted Critical
Publication of CN100366005C publication Critical patent/CN100366005C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a test method for throughput capacity of IP equipment, which comprises: 1. a maximum value, a minimum value, precision and sending flow quantity are set corresponding to the throughput capacity; 2. measuring equipment sends data packets to the IP equipment according to the sending flow quantity; 3. the measuring equipment receives the data packets retransmitted by the IP equipment, calculates the received flow quantity and judges whether the packets are lost or not; if the packets are lost, step 4 is performed, wherein the received flow quantity is formed by that the quantity of the data packets received by the measuring equipment within unit time is divided by the theoretical maximum rate of interface types, and the data packets are retransmitted by the IP equipment; 4. whether the difference value of the sending flow quantity and the minimum value is less than the precision is judged, if the difference value is not less than the precision, step 5 is executed; 5. the maximum value is renewed to the sending flow quantity which is renewed to the receiving flow quantity, and then step 2 is executed. The test method for the throughput capacity of IP equipment, which is provided by the present invention, accelerates test convergence process, reduces test iteration number and improves test efficiency.

Description

The method of testing of IP device throughput
Technical field
The present invention relates to a kind of method of testing of IP device throughput, especially a kind of when IP device generation packet loss, set the method for testing of IP device throughput of the transmitted traffic of next round according to the reception flow of epicycle.
Background technology
IP device is the visual plant in the Network Transmission, as router, switch etc., in order to guarantee the good network transmission, need test the performance of IP device.
The throughput of IP device is the main performance index of IP device, also is that the performance of IP device is tested important component part.The throughput of IP device can be divided into absolute throughput and relative throughput, the definition of the absolute throughput of IP device is the maximum quantity of the packet that the IP device unit interval transmits under packet loss prerequisite not, but under different network environments, the throughput of IP device all might be different, and the long throughput of different simultaneously bags also is different.In order to reflect the performance of IP device accurately, introduced relative throughput, relative throughput is defined as absolute throughput and multiply by 100% divided by the theoretical maximum velocity of interface type, for example for the 1000M Ethernet interface, according to the maximum rate of signal transmission and the minimum interval of packet and packet, can calculating in theory, the maximum rate of 1000M Ethernet interface under the long situation of 64 byte packet is 1488095 packets/second.If the absolute throughput of equipment under test 64 bytes is 1200000 packets/second, then the throughput of equipment under test 64 bytes is 1200000/1488095 * 100%=80.64%.Therefore the numerical value of relative throughput is in 0~100% scope.
The testing throughput system of existing IP device, as shown in Figure 1, the user controls testing equipment by control desk, packet to the IP device transmission, after IP device is transmitted, receive and analyze the packet drop that draws the packet that receives by testing equipment, the throughput that the mode of the bag that transmits and receive data by many wheels is come test I P equipment.
Existing IP device throughput testing approach, what mostly adopt is dichotomy, the traversal method of testing with respect to from 0% to 100%, and existing dichotomy is a method of testing efficiently, can test out the throughput of IP device fast and accurately, be to adopt the most general method of testing.The flow process of this method comprises the steps: as shown in Figure 2
Step 201, set maximum, minimum value, precision and the transmitted traffic of relative throughput, wherein transmitted traffic is the quantity of data packets that sends to IP device in the testing equipment unit interval theoretical maximum velocity divided by interface type;
Step 202, described testing equipment send packet according to described transmitted traffic to described IP device
Step 203, testing equipment receive the packet that IP device is transmitted, and judge whether to take place packet loss, if execution in step 204 then, if not, then execution in step 206;
Step 204, judge described transmitted traffic and described minimum value difference whether less than precision, if then execution in step 209, if not, then execution in step 205;
Step 205, described maximum is updated to described transmitted traffic, then described transmitted traffic is updated to half of described maximum and described transmitted traffic sum, execution in step 202 then;
Step 206, judge described minimum value and described transmitted traffic difference whether less than described precision, if then execution in step 208, if not, then execution in step 207;
Step 207, described minimum value is updated to described transmitted traffic, then described transmitted traffic is updated to half of described maximum and described transmitted traffic sum, execution in step 202 then;
Step 208, described transmitted traffic is set at the relative throughput of IP device, execution in step 210 then;
Step 209, described minimum value is set at the relative throughput of IP device, execution in step 210 then;
Step 210, end.
When adopting dichotomy to test, need preestablish an initialization flow, the setting of initialization flow needs certain experience, the speed of the quality decision convergence of its setting, but generally speaking, this initialization flow all is made as 100%.As shown in table 1, it has described convergence process and iterations when testing several different relative throughput.
Table 1
Transmitted traffic and relative throughput in the table are percentage, as can be seen from the above table, dichotomy has shortened the iterations of traversal method to a certain extent greatly, but dichotomy still is not a method of testing very efficiently, exist following deficiency: in the reality test, it is very consuming time to utilize dichotomy to test, and a test event need be tested 7~8 performances that bag is long usually, each bag length all needs to carry out iteration convergence, and each pacing examination of iteration convergence all needs 30~60 seconds.Therefore, even under the condition that environment has all mixed up, the test event of a throughput also will be tested nearly half an hour, and testing efficiency is very low.
Summary of the invention
The objective of the invention is deficiency, a kind of method of testing of IP device throughput is provided, reduced iterations, improved testing efficiency by this method at above-mentioned dichotomy existence.
For achieving the above object, the invention provides a kind of method of testing of IP device throughput, this method may further comprise the steps:
Step 1, set maximum, minimum value, precision and the transmitted traffic of relative throughput, the wherein said transmitted traffic quantity of data packets that to be testing equipment send to IP device is divided by the theoretical maximum velocity of interface type;
Step 2, described testing equipment send packet according to described transmitted traffic to described IP device;
Step 3, described testing equipment receive the packet that described IP device is transmitted, calculate and receive flow, and judge whether to take place packet loss, if execution in step 4 then, if not, then execution in step 6, and wherein said reception flow is to receive the theoretical maximum velocity of the quantity of data packets of IP device forwarding divided by interface type in the testing equipment unit interval;
Step 4, judge described transmitted traffic and described minimum value difference whether less than precision, if then execution in step 9, if not, then execution in step 5;
Step 5, described maximum is updated to described transmitted traffic, then described transmitted traffic is updated to described reception flow or described transmitted traffic is updated to the poor of described reception flow and predefined adjusted value, execution in step 2 then;
Step 6, judge described minimum value and described transmitted traffic difference whether less than described precision, if then execution in step 8, if not, then execution in step 7;
Step 7, described minimum value is updated to described transmitted traffic, then described transmitted traffic is updated to half of described maximum and described transmitted traffic sum, execution in step 2 then;
Step 8, described transmitted traffic is set at the relative throughput of IP device, execution in step 10 then;
Step 9, described minimum value is set at the relative throughput of IP device, execution in step 10 then;
Step 10, end.
Wherein in described step 1, described transmitted traffic can be set at 100%.
In described step 5, described transmitted traffic can be updated to the numerical value that described reception flow deducts predefined adjusted value.
The method of testing of IP device throughput provided by the invention has been accelerated the convergence process of testing, and has reduced the iterations of test, thereby has improved testing efficiency.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Fig. 1 is the testing throughput system schematic of existing IP device;
Fig. 2 is the flow chart of existing dichotomy;
The flow chart of the method for testing of Fig. 3 IP device throughput of the present invention.
Embodiment
In the test process of reality, when testing equipment sends packet greater than the absolute throughput of IP device, the amount of the packet that IP device is successfully transmitted all compares the absolute throughput near equipment, therefore, the method of testing of IP device throughput of the present invention, also be the iteration convergence method that adopts, key is that when IP device generation packet loss, the setting of the transmitted traffic of next round is to set according to the reception flow of epicycle.
Referring to Fig. 3, it is the flow chart of the method for testing of IP device throughput of the present invention, comprises the steps:
Step 301, set maximum, minimum value, precision and the transmitted traffic of relative throughput, wherein transmitted traffic is the quantity of data packets that sends to IP device in the testing equipment unit interval theoretical maximum velocity divided by interface type;
Step 302, described testing equipment send packet according to described transmitted traffic to described IP device;
Step 303, testing equipment receive the packet that IP device is transmitted, calculate and receive flow, and judge whether to take place packet loss, if execution in step 304 then, if not, then execution in step 306, and wherein receiving flow is to receive the theoretical maximum velocity of the quantity of data packets of IP device forwarding divided by interface type in the testing equipment unit interval;
Step 304, judge described transmitted traffic and described minimum value difference whether less than precision, if then execution in step 309, if not, then execution in step 305;
Step 305, described maximum is updated to described transmitted traffic, then described transmitted traffic is updated to described reception flow or described transmitted traffic is updated to the poor of described reception flow and predefined adjusted value, execution in step 302 then;
Step 306, judge described minimum value and described transmitted traffic difference whether less than described precision, if then execution in step 308, if not, then execution in step 307;
Step 307, described minimum value is updated to described transmitted traffic, then described transmitted traffic is updated to half of described maximum and described transmitted traffic sum, execution in step 302 then, in the test of reality, three that the transmitted traffic that obtains after calculating is accurate to behind the decimal point round (promptly 10.123% becomes 10.1%);
Step 308, described transmitted traffic is set at the relative throughput of described IP device, execution in step 310 then;
Step 309, described minimum value is set at the relative throughput of described IP device, execution in step 310 then;
Step 310, end.
Transmitted traffic in the described step 301 can rule of thumb be set, and in the test of reality, generally initial transmitted traffic is set at 100%.
In the test of reality, when IP device generation packet loss, the transmitted traffic of next round can be updated to the reception flow of epicycle, or it is more a little bit smaller slightly than the reception flow of epicycle, promptly can on the reception flow of epicycle, deduct a predefined adjusted value, as: the reception flow-precision of the reception flow-1% of next round transmitted traffic=epicycle or the transmitted traffic=epicycle of next round; Three that also can be again the transmitted traffic that obtains after calculating be accurate to behind the decimal point round.
The method of the throughput by test I P equipment of the present invention has reduced the iterations of existing dichotomy, and it is more reasonable to make to the test of the throughput of IP device, has improved testing efficiency.
It should be noted last that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and scope of technical solution of the present invention.

Claims (2)

1. the method for testing of an IP device throughput is characterized in that, comprises the steps:
Step 1, set maximum, minimum value, precision and the transmitted traffic of the relative throughput of described IP device, wherein said transmitted traffic is the quantity of data packets that sends to IP device in the testing equipment unit interval theoretical maximum velocity divided by interface type;
Step 2, described testing equipment send packet according to described transmitted traffic to described IP device;
Step 3, described testing equipment receive the packet that described IP device is transmitted, calculate and receive flow, and judge whether to take place packet loss, if execution in step 4 then, if not, then execution in step 6, and wherein said reception flow is to receive the theoretical maximum velocity of the quantity of data packets of IP device forwarding divided by interface type in the testing equipment unit interval;
Step 4, judge described transmitted traffic and described minimum value difference whether less than precision, if then execution in step 9, if not, then execution in step 5;
Step 5, described maximum is updated to described transmitted traffic, then described transmitted traffic is updated to described reception flow or described transmitted traffic is updated to the poor of described reception flow and predefined adjusted value, execution in step 2 then;
Step 6, judge described minimum value and described transmitted traffic difference whether less than described precision, if then execution in step 8, if not, then execution in step 7;
Step 7, described minimum value is updated to described transmitted traffic, then described transmitted traffic is updated to half of described maximum and described transmitted traffic sum, execution in step 2 then;
Step 8, described transmitted traffic is set at the relative throughput of IP device, execution in step 10 then;
Step 9, described minimum value is set at the relative throughput of IP device, execution in step 10 then;
Step 10, end.
2. the method for testing of IP device throughput according to claim 1 is characterized in that in described step 1 transmitted traffic being set at 100%.
CNB2005101323190A 2005-12-21 2005-12-21 Test method for throughput capacity of IP equipment Active CN100366005C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101323190A CN100366005C (en) 2005-12-21 2005-12-21 Test method for throughput capacity of IP equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101323190A CN100366005C (en) 2005-12-21 2005-12-21 Test method for throughput capacity of IP equipment

Publications (2)

Publication Number Publication Date
CN1794670A CN1794670A (en) 2006-06-28
CN100366005C true CN100366005C (en) 2008-01-30

Family

ID=36805950

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101323190A Active CN100366005C (en) 2005-12-21 2005-12-21 Test method for throughput capacity of IP equipment

Country Status (1)

Country Link
CN (1) CN100366005C (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101325778B (en) * 2007-06-15 2012-10-10 中兴通讯股份有限公司 Method for measuring flow medium business service quality of WCDMA system
CN102201947B (en) 2010-03-24 2015-08-12 中兴通讯股份有限公司 Throughput method of measurement and safeguard end node
CN102143024B (en) * 2011-03-24 2013-03-13 福建星网锐捷网络有限公司 Test method, network equipment and test system of load balancing function
CN102843273B (en) * 2012-08-14 2015-03-04 瑞斯康达科技发展股份有限公司 Method and device for testing throughput of network device
CN103078767A (en) * 2012-12-31 2013-05-01 中国电子科技集团公司第四十一研究所 Method and device for testing throughput of WAN (Wide Area Network) at single port and at full wire speed
CN103236956B (en) * 2013-04-18 2016-12-28 神州数码网络(北京)有限公司 A kind of method and switch that communication apparatus is carried out testing throughput
CN103986622A (en) * 2014-05-27 2014-08-13 重庆邮电大学 Network throughput rate parallelized measuring method based on multi-core technology
CN104618183B (en) * 2015-01-22 2017-12-19 北京奥普维尔科技有限公司 A kind of RFC2544 throughput testing approach
CN107529197B (en) * 2016-06-22 2021-10-08 中兴通讯股份有限公司 Method, device and system for automatically adjusting downlink UDP (user Datagram protocol) packet flow
CN107453944B (en) * 2017-07-07 2021-04-02 台州市吉吉知识产权运营有限公司 Method and system for determining optimal test connection number of network throughput test
CN107508726A (en) * 2017-08-30 2017-12-22 成都网优力软件有限公司 A kind of apply is having the bandwidth test method and system that other software is disturbed or test equipment hardware performance is poor
CN111711546B (en) * 2020-06-17 2022-08-16 杭州安恒信息技术股份有限公司 Device throughput testing method, device, system and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1018821A1 (en) * 1999-01-08 2000-07-12 TELEFONAKTIEBOLAGET L M ERICSSON (publ) Communication device and method
CN1399453A (en) * 2002-08-22 2003-02-26 陈鸣 Test method and system of path capacity in cooperative Internet
CN1545256A (en) * 2003-11-11 2004-11-10 中兴通讯股份有限公司 Method for testing Ethernet switch stability

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1018821A1 (en) * 1999-01-08 2000-07-12 TELEFONAKTIEBOLAGET L M ERICSSON (publ) Communication device and method
CN1399453A (en) * 2002-08-22 2003-02-26 陈鸣 Test method and system of path capacity in cooperative Internet
CN1545256A (en) * 2003-11-11 2004-11-10 中兴通讯股份有限公司 Method for testing Ethernet switch stability

Also Published As

Publication number Publication date
CN1794670A (en) 2006-06-28

Similar Documents

Publication Publication Date Title
CN100366005C (en) Test method for throughput capacity of IP equipment
CN101056215B (en) A network performance measurement method and system
CA2076329C (en) Performance measurement device for a telecommunication path and method used therein
US8848582B2 (en) Method for measuring throughput and maintenance end point
US7764625B2 (en) Algorithms and estimators for summarization of unaggregated data streams
CN101699786A (en) Method, device and system for detecting packet loss
JPH1168849A (en) Traffic generator and method for deciding traffic generating function
CN108513703B (en) Network performance detection method and device
EP2668751A1 (en) Communication system, forwarding node, control device, communication control method, and program
CN106067854A (en) A kind of network quality detection method and equipment
CN101808021A (en) Fault detection method, device and system, message statistical method and node equipment
CN105099938A (en) Determining method and device of congestion window in network
CN108449408B (en) Game acceleration system based on multipath
CN101159673B (en) Arbitrary sampling method and apparatus
CN106658644A (en) Communication network routing method and device
Wang et al. FlowTrace: measuring round-trip time and tracing path in software-defined networking with low communication overhead
KR20010057434A (en) A method for routing test based on generation of random virtual networks
CN111107011A (en) Method for detecting and generating optimal path and network acceleration system
CN102843275A (en) Bandwidth detection method, device and system
CN101499936B (en) Method and arrangement for determining transmission delay differences
CN110784378B (en) Method and device for realizing accurate flow balance by using TWAMP (two way operational amplifier)
CN111490907B (en) Method and device for determining VXLAN network performance parameters
JPWO2009011020A1 (en) Packet delay characteristic measuring apparatus and method
CN112350844A (en) Method and device for data transmission
CN105162650B (en) A method of monitoring redundancy network interface card switching time

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant