CN102170376B - A method for measuring mapping performance of access switch router in identification-based universal network - Google Patents

A method for measuring mapping performance of access switch router in identification-based universal network Download PDF

Info

Publication number
CN102170376B
CN102170376B CN201110103801.7A CN201110103801A CN102170376B CN 102170376 B CN102170376 B CN 102170376B CN 201110103801 A CN201110103801 A CN 201110103801A CN 102170376 B CN102170376 B CN 102170376B
Authority
CN
China
Prior art keywords
switch router
access switch
mapping
port
access
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.)
Expired - Fee Related
Application number
CN201110103801.7A
Other languages
Chinese (zh)
Other versions
CN102170376A (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.)
Beijing Jiaotong University
Original Assignee
Beijing Jiaotong University
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 Beijing Jiaotong University filed Critical Beijing Jiaotong University
Priority to CN201110103801.7A priority Critical patent/CN102170376B/en
Publication of CN102170376A publication Critical patent/CN102170376A/en
Application granted granted Critical
Publication of CN102170376B publication Critical patent/CN102170376B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A method for measuring mapping performance of access switch router in identification-based universal network relates to the measurement of the mapping performance of the access switch router in the identification-based universal network through testing a maximum capacity of an address pool and measuring one or more performances indexes of mapping rate, mapping delay and maximum mapping rate. The invention also comprises a testing method for the performance indexes. The method in the invention provides a feasible solution for assessing the mapping performance of the access switch router in the identification-based universal network and is of great importance to the selection and arrangement of the access switch routers in practice.

Description

A kind of method of weighing integrated identification network access switch router mapping performance
Technical field
The invention belongs to technical field of the computer network, relate to a kind of method of weighing integrated identification network access switch router mapping performance.
Background technology
Integrated identification network comprises core net and Access Network two parts.Core net is the main part of integrated network, uses switching and routing mark in core net, completes routing according to broad sense switching and routing agreement theory and algorithm.Access Network function realizes by accessing switch router.Access switch router is introduced access identification (RNC-ID) analytic mapping theory, completes access and is identified to the conversion that switching and routing identifies.In addition, Access Network also comprises terminal, and terminal is related network and user's tie, comprises all kinds of servers, terminal computer, mobile terminal etc.
Integrated identification network is divided into Netcom and two aspects of Pervasive Service.Router in integrated identification network belongs to Netcom's layer equipment, is the hinge of internet, the forwarding of packets that it provides and route identification process performance is directly had influence on to the performance of whole network.Router in the core net of integrated identification network comprises broad sense switch router and access switch router two class routing devices.Broad sense switch router is the router being operated in core network, and its major function is according to the Route Distinguisher in data message, carries out routing and forwarding data packets in core net.Access switch router is the edge router of core network, is the access point of user network Access Core Network, is responsible for the mobile networks' such as various fixed terminals, mobile terminal, fixed network and mobile subnetwork access.Its major function is to safeguard the mapping relations of access mark and Route Distinguisher, is the user assignment access mark of access, and the access of user's packet is identified and replaces with Route Distinguisher and transmit in core net.
In integrated identification network, access switch router is related to the mapping that separates between the user access control of whole Access Network and Access Network and core net, directly has influence on the communication quality of whole integrated identification network; The access switch router that realization access is identified to the mapping function between Route Distinguisher is the transport hub between Access Network and core net.Therefore it is very necessary, weighing integrated identification network access switch router mapping performance.
Because integrated identification network adopts mark mapping mechanism, be different from traditional TCP/IP network, and the access switch router in integrated identification network is also different from the route exchange device in traditional TCP/IP network, therefore the access switch router in integrated identification network cannot be weighed its performance with the performance balancing method of router in traditional TCP/IP network.
Network in the research and development of, the method for weighing key equipment performance is indispensable, but also there is no a kind of method of concrete measurement integrated identification network access switch router performance at present.Owing to cannot knowing integrated identification network access switch router mapping performance, just cannot set it as the foundation of selecting and disposing access switch router.In actual deployment, cannot select according to number of users, subscriber traffic or class of business the access switch router of proper property rank, cannot well meet consumers' demand.Therefore, designing a kind of method of weighing integrated identification network access switch router mapping performance is necessary to the mapping performance of assessment integrated identification network access switch router.
Summary of the invention
The object of the invention is to, a kind of method of weighing integrated identification network access switch router mapping performance is provided, can directly reflect the performance of the separation mapping that accesses switch router.
Another object of the present invention is, a kind of method of weighing integrated identification network access switch router mapping performance is provided, mapping capacity to access switch router, the measurement that is mapped to power, mapping speed and shines upon the several aspects of throughput, as the foundation of selecting and disposing access switch router.
In order to achieve the above object, the following technical scheme of employing of the present invention:
A kind of method of weighing integrated identification network access switch router mapping performance, weigh the mapping performance of integrated identification network access switch router by address pool heap(ed) capacity, address pool heap(ed) capacity is the number of the maximum Route Distinguisher that holds the in the situation that of packet loss not of the Route Distinguisher address pool of access switch router, and address pool heap(ed) capacity can be supported the maximum terminal quantity of access for weighing access switch router.
The method of described measurement integrated identification network access switch router mapping performance, also comprise the mapping performance of weighing integrated identification network access switch router by mapping rate, mapping rate is in the time that access mark quantity reaches the capacity in pond, current address, the access switch router entry number that success is shone upon under certain Bao Changyi fixed load accounts for the percentage of answering map entry number, and mapping rate completes the success rate that separates mapping for weighing access switch router under certain Bao Changyi fixed load.
The method of described measurement integrated identification network access switch router mapping performance, also comprise the mapping performance that postpones to weigh integrated identification network access switch router by mapping, it is access switch router shared time of mapping process under certain Bao Changyi fixed load that mapping postpones, and mapping postpones to complete for weighing access switch router handle packet the speed of mapping.
The method of described measurement integrated identification network access switch router mapping performance, also comprise the mapping performance that shines upon speed measurement integrated identification network access switch router by maximum, when the mapping rate that maximum mapping speed is access switch router is 100%, the maximum quantity that can complete mapping (enum) data bag under certain bag is long in the unit interval, maximum mapping speed completes the maximum of map amount for weighing the access switch router unit interval.
The method of described measurement integrated identification network access switch router mapping performance, also comprise the mapping performance that shines upon speed measurement integrated identification network access switch router by maximum, when the mapping rate that maximum mapping speed is access switch router is 100%, the maximum quantity that completes mapping (enum) data bag under certain bag is long in unit interval, maximum mapping speed completes the maximum of map amount for weighing the access switch router unit interval.
The method of described measurement integrated identification network access switch router mapping performance, pond, test address heap(ed) capacity comprises the following steps:
The quantity of Route Distinguisher in the address pool of configuration access switch router;
The first port of test instrumentation connects the access interface of access switch router;
The main frame with different access marks that the first port simulation of test instrumentation is identical from route identification number amount in the address pool of access switch router;
The second port of test instrumentation connects the routed port of access switch router;
The routed port of an access switch router of the second port simulation of test instrumentation, the mapping (enum) data bag sending for receiving tested access switch router, this port has the Route Distinguisher different from tested access switch router routed port;
According to the mapping relations configuration of the second port of test instrumentation, set the opposite end mapping table of tested access switch router;
Set up whole Route Distinguisher and the mapping relations that access mark in the address pool that accesses switch router;
The first port of test instrumentation sends test data stream to the access interface of access switch router;
Access switch router checks that whether test data stream has packet loss, if while there is packet loss, reduces the Route Distinguisher quantity in address pool; If there is not packet loss, increase the Route Distinguisher quantity in address pool;
Repeat above-mentioned steps, obtain accessing the number of the maximum Route Distinguisher that switch router address pool holds the in the situation that of packet loss not, the number of this Route Distinguisher is access switch router address pool heap(ed) capacity.
Described method, test mapping rate comprises the following steps:
Configuration access switch router address pool capacity, address pool capacity is less than or equal to described address pool heap(ed) capacity;
The first port of test instrumentation connects the access interface of access switch router;
The main frame with different access marks that the first port simulation of test instrumentation is identical from route identification number amount in the address pool of access switch router;
The second port of test instrumentation connects the routed port of access switch router;
The routed port of an access switch router of the second port simulation of test instrumentation, this port has the Route Distinguisher different from tested access switch router;
According to the mapping relations configuration of the second port of test instrumentation, set the opposite end mapping table of tested access switch router;
Set up whole Route Distinguisher and the mapping relations that access mark in the address pool that accesses switch router;
The first port of test instrumentation sends the test data stream of specifying bag long to the access interface of access switch router;
Access switch router checks whether test data stream has packet loss, obtains the quantity of the test data stream that does not occur packet loss;
Calculate the ratio that does not occur the number of data streams of packet loss and the access switch router address pool capacity of setting, obtain accessing the mapping rate of switch router under this bag is long.
Described method, test mapping postpones to comprise the following steps:
Configuration access switch router address pool capacity, address pool capacity is less than or equal to described address pool heap(ed) capacity;
The first port of test instrumentation connects the access interface of access switch router;
The main frame with different access marks that the first port simulation of test instrumentation is identical from route identification number amount in the address pool of access switch router;
The second port of test instrumentation connects the routed port of access switch router;
The routed port of an access switch router of the second port simulation of test instrumentation, this port has the Route Distinguisher different from tested access switch router;
According to the mapping relations configuration of the second port of test instrumentation, set the opposite end mapping table of tested access switch router;
Set up whole Route Distinguisher and the mapping relations that access mark in the address pool that accesses switch router;
The first port of test instrumentation sends the test data stream with timestamp to the access interface of access switch router;
Calculate access switch router transmitting time stamp and the time interval that time of reception stabs, obtain accessing the bulk delay of switch router;
Configuration access switch router, will all access mark and be configured to without mapping status;
The port of test instrumentation sends the test data stream with timestamp to the access interface of access switch router;
Calculating access switch router transmitting time stamp and the time interval that time of reception stabs, obtain accessing the storage forwarding delay of switch router;
It is poor that the bulk delay of calculating access switch router and storage forwarding postpone, and obtains accessing the mapping of switch router under this bag is long and postpone.
Described method, the maximum mapping of test speed comprises the following steps:
Configuration access switch router address pool capacity, address pool capacity is less than or equal to described address pool heap(ed) capacity;
The first port of test instrumentation connects the access interface of access switch router;
The main frame with different access marks that the first port simulation of test instrumentation is identical from route identification number amount in the address pool of access switch router;
The second port of test instrumentation connects the routed port of access switch router;
The routed port of an access switch router of the second port simulation of test instrumentation, this port has the Route Distinguisher different from tested access switch router;
According to the mapping relations configuration of the second port of test instrumentation, set the opposite end mapping table of tested access switch router;
Set up whole Route Distinguisher and the mapping relations that access mark in the address pool that accesses switch router.
The first port of test instrumentation sends the test data stream of specifying bag long to the access interface of access switch router;
Access switch router checks whether test data stream has packet loss, if there is packet loss, changing down; If there is not packet loss, advance the speed;
Repeat to send test data stream and judge whether the step of packet loss, obtain accessing the maximum test data flow rate of switch router in the situation that of packet loss not, this test data flow rate is that the long lower maximum of this bag is shone upon speed.
Beneficial effect of the present invention is:
The present invention crosses that pond, test address heap(ed) capacity, mapping rate, mapping postpone, four performance index of maximum mapping speed all, to selecting and dispose access switch router important in inhibiting in reality.The test result of mapping performance not only can be weighed the mapping performance level of access switch router, as the graduate foundation in district; In actual deployment, select the access switch router of proper property rank according to number of users, subscriber traffic or class of business, can either well meet consumers' demand, can save again the cost of deployment.
Accompanying drawing explanation
Fig. 1 is that the present invention accesses switch router mapping performance test all-purpose topological diagram.
Fig. 2 is the flow chart of steps of pond, test address of the present invention heap(ed) capacity.
Fig. 3 is the flow chart of steps that the present invention tests mapping rate.
Fig. 4 is that the present invention tests the flow chart of steps that mapping postpones.
Fig. 5 is the flow chart of steps that the present invention tests maximum mapping speed.
Embodiment
Below in conjunction with drawings and Examples, summary of the invention of the present invention is further described.
The invention provides a kind of method of weighing integrated identification network access switch router mapping performance, define the mapping performance index of access switch router, comprise that address pool heap(ed) capacity, mapping rate, mapping postpone, maximum mapping speed, and the method for testing for above-mentioned performance index has been proposed, for the mapping performance of weighing integrated identification network access switch router provides a kind of feasible scheme.
Performance index of the present invention are defined as follows:
Address pool heap(ed) capacity: the number of the maximum Route Distinguisher that to be the Route Distinguisher address pool that refers to an access switch router can hold the in the situation that of packet loss not.Each access switch router is all preserved and has been safeguarded a Route Distinguisher address pool, is used to the access mark accessing terminal to distribute with it the Route Distinguisher of mapping mutually, and the address pool heap(ed) capacity of the access switch router of different hardware configurations is different.If the access mark quantity of the equipment that access switch router need to access has exceeded its address pool heap(ed) capacity simultaneously, will cause distributing Route Distinguisher for the access mark that exceeds part, cause accessing.Therefore, the address pool heap(ed) capacity of access switch router has determined the maximum terminal quantity that it can support access.In when test, address pool maximum capacity is larger, shows that the number of access terminals that tested access switch router can support is more, stronger to the ability of access support.
Mapping rate: refer to that the entry number that access switch router can successfully be shone upon under certain Bao Changyi fixed load accounts for the percentage of answering map entry number in the time that access mark quantity reaches the capacity in pond, current address.Mapping rate mainly reflects that access switch router separates the performance of mapping in running at full capacity situation, and mapping rate can be weighed access switch router and under steady load, complete the success rate that separates mapping.In the time of test, reflect radiance rate value and more approach 100%, show that tested access switch router is higher to the mapping disposal ability under this flow load.The computational methods of mapping rate are: the access mark quantity that success is shone upon is divided by Route Distinguisher capacity in address pool, as the formula (1).
,
Figure GDA00003295809200061
Mapping postpones: be to refer to an access switch router shared time of mapping process under certain Bao Changyi fixed load.The reason that mapping postpones generation has two: the one, and the sequence of operations completing when mapping, as inquiry opposite end mapping table, inquiry mark mapping server, separation mapping etc. expend certain hour; The 2nd, the delay that packet is queued up and produced in the buffer queue that separates mapping.Mapping delay completes the speed of mapping for weighing access switch router handle packet, mapping length of delay is less, shows that tested access switch router is processed the speed of shining upon faster.The computational methods that mapping postpones are: access switch router bulk delay deducts storage forwarding and postpones, as the formula (2).
Mapping delay=bulk delay-storage forwarding postpones (2)
Wherein, access switch router bulk delay refers to that access interface that first bit of packet enters access switch router leaves the time of the routed port that accesses switch router to last bit; The time of through the routed port of access switch router, package forward being gone out after storage forwarding delay refers to and shone upon.
Maximum mapping speed: be the mapping rate that refers to an access switch router while being 100%, can complete the maximum quantity of mapping (enum) data bag in the unit interval under certain bag is long.The unit of measurement of maximum mapping speed is the number-of-packet of mapping per second.Maximum mapping speed completes the maximum of map amount for weighing the access switch router unit interval, it is one of basic parameter of describing access switch router performance quality, maximum mapping rate value is larger, shows that the tested access switch router data volume that can shine upon per second under test pack is long is larger.An access switch router may provide multiple access interface and routed port, and maximum mapping speed is divided into following two kinds according to test granularity difference:
1, the maximum mapping of complete machine speed
The maximum mapping of complete machine speed is to refer to an access switch router complete machine mapping ability.Conventionally the maximum mapping of complete machine speed is less than the summation of the maximum mapping of all of the port speed.
2, the maximum mapping of port speed
The maximum mapping of port speed is to refer to an access the mapping ability of certain access interface of switch router to certain routed port, and these two ports are phase same rate port conventionally.Relation between position and the port at the maximum mapping of port speed and port place is relevant.
The present invention is a kind of weighs the method for integrated identification network access switch router mapping performance, comprises pond, test address heap(ed) capacity, and measure that mapping rate, mapping postpone, one or more in the several performance index of maximum mapping speed.
Shown in Figure 1, for the present invention accesses switch router mapping performance test all-purpose topological diagram.In the core net of integrated identification network, be provided with access switch router 11 and test instrumentation 12, test instrumentation 12 is for carrying out routing performance test to access switch router 11, and wherein, access switch router 11 comprises access interface a and routed port b; Test instrumentation 12 comprises the first port and the second port, and the first port connects the access interface a of access switch router 11, and the second port connects the access interface b of access switch router 11; The second port of test instrumentation 12 is for simulating the routed port of an access switch router, this port has the Route Distinguisher different from tested access switch router 11 routed ports, sets the opposite end mapping table of tested access switch router 11 according to the configuration of the second port.The first port of test instrumentation 12 is for simulating the main frame with different access marks identical from accessing switch router 11 address pool route identification number amounts.
Shown in Figure 2, be the flow chart of steps of pond, test address of the present invention heap(ed) capacity.The method of pond, test address heap(ed) capacity comprises following step:
S21: the quantity of Route Distinguisher in the address pool of configuration access switch router.
S22: the first port of test instrumentation connects the access interface of access switch router.
S23: the main frame with different access marks that the first port simulation of test instrumentation is identical from route identification number amount in the address pool of access switch router.
S24: the routed port of an access switch router of the second port simulation of test instrumentation, the mapping (enum) data bag sending for receiving tested access switch router, this port has the Route Distinguisher different from tested access switch router routed port.
S25: according to the mapping relations configuration of the second port of test instrumentation, set the opposite end mapping table of tested access switch router.
S26: set up whole Route Distinguisher and the mapping relations that access mark in the address pool that accesses switch router.
S27: the first port of test instrumentation sends test data stream to the access interface a of access switch router.
At the first port of test instrumentation 12, generate a test data stream for every mapping relations, all test data flow rate sums are less than or equal to and access 10% of the port a of switch router 11 and the port speed smaller value of port b.The bag length of each test data stream packets is between 512 byte to 1024 bytes.
S28: access switch router checks that whether test data stream has packet loss, if while there is packet loss, reduces the Route Distinguisher quantity in address pool; If there is not packet loss, increase the Route Distinguisher quantity in address pool.
S29: continue execution step S22 to S28, repeat simulation access mark, set up mapping relations and send the step that test data flows, and judge whether packet loss, carry out the adjustment of the Route Distinguisher quantity in address pool, the number that obtains accessing the maximum Route Distinguisher that switch router address pool can hold the in the situation that of packet loss not, the number of this Route Distinguisher is exactly address pool heap(ed) capacity.
When increasing the Route Distinguisher quantity in address pool and sending after test data stream, until find packet loss, the Route Distinguisher quantity increasing before the Route Distinguisher quantity in address pool is address pool heap(ed) capacity; When reducing the Route Distinguisher quantity in address pool and sending after test data stream, until find not packet loss, Route Distinguisher quantity is now address pool heap(ed) capacity.
Shown in Figure 3, for the present invention tests the flow chart of steps of mapping rate.The method of test mapping rate comprises following step:
S30: take the address pool heap(ed) capacity that accesses switch router as foundation, configure suitable access switch router address pool capacity, described address pool capacity is less than or equal to address pool heap(ed) capacity.
S31: the first port of test instrumentation connects the access interface of access switch router.
S32: the main frame with different access marks that the first port simulation of test instrumentation is identical from route identification number amount in the address pool of access switch router.
S33: the second port of test instrumentation connects the routed port of access switch router.
S34: the routed port of an access switch router of the second port simulation of test instrumentation, the mapping (enum) data bag sending for receiving tested access switch router, this port has the Route Distinguisher different from tested access switch router routed port.S35: according to the mapping relations configuration of the second port of test instrumentation, set the opposite end mapping table of tested access switch router.
S36: set up whole Route Distinguisher and the mapping relations that access mark in the address pool that accesses switch router.
S37: the first port of test instrumentation sends the test data stream of specifying bag length and load to the access interface of access switch router.
At the first port of test instrumentation 12, generate a test data stream for every mapping relations, the bag of setting test stream packets is long, and bag is long between 64 byte to 1518 bytes.The speed that all test data streams that send are added together is load, selected between the access port a of switch router 11 and 1% to 100% of the port speed smaller value of port b.
S38: access switch router checks whether test data stream has packet loss, obtains the quantity of the test data stream that does not occur packet loss.
S39: calculate the ratio that does not occur the number of data streams of packet loss and the access switch router address pool capacity of setting, obtain the mapping rate under and load long at this bag, do not occur that the number of data streams of packet loss is the access mark quantity of successfully mapping.
Figure GDA00003295809200091
Shown in Figure 4, for the present invention tests the flow chart of steps that mapping postpones.The method that test mapping postpones comprises following step:
S401: take the address pool heap(ed) capacity that accesses switch router as foundation, configure suitable access switch router address pool capacity, described address pool capacity is less than or equal to address pool heap(ed) capacity.
S402: the first port of test instrumentation connects the access interface of access switch router.
S403: the main frame with different access marks that the first port simulation of test instrumentation is identical from route identification number amount in the address pool of access switch router.
S404: the second port of test instrumentation connects the routed port of access switch router.
S405: the routed port of an access switch router of the second port simulation of test instrumentation, the mapping (enum) data bag sending for receiving tested access switch router, this port has the Route Distinguisher different from tested access switch router routed port.
S406: according to the mapping relations configuration of the second port of test instrumentation, set the opposite end mapping table of tested access switch router.
S407: set up whole Route Distinguisher and the mapping relations that access mark in the address pool that accesses switch router.
S408: the first port of test instrumentation sends the test data stream with timestamp to the access interface a of access switch router.
At the first port of test instrumentation 12, generate a test data stream for every mapping relations, in test data stream with timestamp.The bag of setting test stream packets is long, and bag is long between 64 byte to 1518 bytes.The speed that all test data streams that send are added together is load, selected between the access port a of switch router 11 and 1% to 100% of the port speed smaller value of port b.
S409: calculate access switch router transmitting time stamp and the time interval that time of reception stabs, obtain accessing the bulk delay of switch router.
S410: configuration access switch router, will all access mark and be configured to without mapping status.
S411: the first port of test instrumentation sends the test data stream with timestamp to the access interface a of access switch router.
At the first port of test instrumentation 12, generate a test data stream for every mapping relations, in test data stream with timestamp.The bag of setting test stream packets is long, and bag is long between 64 byte to 1518 bytes.The speed that all test data streams that send are added together, selected between the access port a of switch router 11 and 1% to 100% of the port speed smaller value of port b.
S412: calculating access switch router transmitting time stamp and the time interval that time of reception stabs, obtain accessing the storage forwarding delay of switch router.
S413: it is poor that the bulk delay of calculating access switch router and storage forwarding postpone, the mapping obtaining under this bag length and load postpones., mapping delay=bulk delay-storage forwarding postpones.
Shown in Figure 5, for the present invention tests maximum flow chart of steps of shining upon speed.The method of the maximum mapping of test speed comprises following step:
The present embodiment is to test the method that the maximum mapping of complete machine speed is the maximum mapping of example explanation test speed.
S50: take the address pool heap(ed) capacity that accesses switch router as foundation, configure suitable access switch router address pool capacity.Described address pool capacity is less than or equal to address pool heap(ed) capacity.
S51: the first port of test instrumentation connects the access interface of access switch router.
S52: the main frame with different access marks that the first port simulation of test instrumentation is identical from route identification number amount in the address pool of access switch router.
S53: the second port of test instrumentation connects the routed port of access switch router.
S54: the routed port of an access switch router of the second port simulation of test instrumentation, the mapping (enum) data bag sending for receiving tested access switch router, this port has the Route Distinguisher different from tested access switch router routed port.
S55: according to the mapping relations configuration of the second port of test instrumentation, set the opposite end mapping table of tested access switch router.
S56: set up whole Route Distinguisher and the mapping relations that access mark in the address pool that accesses switch router.
S57: the first port of test instrumentation sends the test data stream of specifying bag long to the access interface a of access switch router.
At the first port of test instrumentation 12, generate a test data stream for every mapping relations, the bag of setting test stream packets is long, and bag is long between 64 byte to 1518 bytes.The initial rate that sends test data stream is 50% of the access port a of switch router 11 and the port speed smaller value of port b.
S58: access switch router checks whether test data stream has packet loss, if there is packet loss, changing down; If there is not packet loss, advance the speed.
S59: repeating step S57 to S58, obtain accessing the maximum test data flow rate of switch router in the situation that of packet loss not, test data flow rate is now the long lower maximum of this bag and shines upon speed.
In the time there is not packet loss, increase and send the speed of test data stream and whether check packet loss, until find packet loss, this speed before advancing the speed is that the long lower maximum of this bag is shone upon speed; In the time there is packet loss, reduce and send the speed of test data stream and whether check packet loss, until find not packet loss, speed be now the long lower maximum of this bag shine upon speed.
Address pool heap(ed) capacity to access switch router, mapping rate, mapping postpone and maximum measurement of shining upon the several performance index of speed, to selecting and dispose access switch router important in inhibiting in reality.The test result of mapping performance not only can be weighed the mapping performance level of access switch router, as the graduate foundation in district; And, in actual deployment, need to select according to number of users, subscriber traffic or class of business the access switch router of proper property rank, not only can be good at meeting consumers' demand, can save again the cost of deployment.

Claims (8)

1. weigh the method for integrated identification network access switch router mapping performance for one kind, it is characterized in that, weigh the mapping performance of integrated identification network access switch router by address pool heap(ed) capacity, address pool heap(ed) capacity is the number of the maximum Route Distinguisher that holds the in the situation that of packet loss not of the Route Distinguisher address pool of access switch router, and address pool heap(ed) capacity can be supported the maximum terminal quantity of access for weighing access switch router;
Testing described address pool heap(ed) capacity comprises the following steps:
The quantity of Route Distinguisher in the address pool of S21 configuration access switch router;
The first port of S22 test instrumentation connects the access interface of access switch router;
The main frame with different access marks that the first port simulation of S23 test instrumentation is identical from route identification number amount in the address pool of access switch router;
The second port of S24 test instrumentation connects the routed port of access switch router, the routed port of an access switch router of the second port simulation of test instrumentation, the mapping (enum) data bag sending for receiving tested access switch router, this port has the Route Distinguisher different from tested access switch router routed port;
S25, according to the mapping relations configuration of the second port of test instrumentation, sets the opposite end mapping table of tested access switch router;
S26 sets up whole Route Distinguisher and the mapping relations that access mark in the address pool that accesses switch router;
The first port of S27 test instrumentation sends test data stream to the access interface of access switch router;
S28 access switch router checks that whether test data stream has packet loss, if while there is packet loss, reduces the Route Distinguisher quantity in address pool; If there is not packet loss, increase the Route Distinguisher quantity in address pool;
Continue to carry out above-mentioned steps S22 to S28, obtain accessing the number of the maximum Route Distinguisher that switch router address pool can hold the in the situation that of packet loss not, the number of this Route Distinguisher is exactly address pool heap(ed) capacity.
2. the method for measurement integrated identification network access switch router mapping performance according to claim 1, it is characterized in that, also comprise the mapping performance of weighing integrated identification network access switch router by mapping rate, mapping rate is in the time that access mark quantity reaches the capacity in pond, current address, the access switch router entry number that success is shone upon under certain Bao Changyi fixed load accounts for the percentage of answering map entry number, and mapping rate completes the success rate that separates mapping for weighing access switch router under certain Bao Changyi fixed load.
3. the method for measurement integrated identification network access switch router mapping performance according to claim 1 and 2, it is characterized in that, also comprise the mapping performance that postpones to weigh integrated identification network access switch router by mapping, it is access switch router shared time of mapping process under certain Bao Changyi fixed load that mapping postpones, and mapping postpones to complete for weighing access switch router handle packet the speed of mapping.
4. the method for measurement integrated identification network access switch router mapping performance according to claim 1 and 2, it is characterized in that, also comprise the mapping performance that shines upon speed measurement integrated identification network access switch router by maximum, when the mapping rate that maximum mapping speed is access switch router is 100%, the maximum quantity that can complete mapping (enum) data bag under certain bag is long in the unit interval, maximum mapping speed completes the maximum of map amount for weighing the access switch router unit interval.
5. the method for measurement integrated identification network access switch router mapping performance according to claim 3, it is characterized in that, also comprise the mapping performance that shines upon speed measurement integrated identification network access switch router by maximum, when the mapping rate that maximum mapping speed is access switch router is 100%, the maximum quantity that completes mapping (enum) data bag under certain bag is long in unit interval, maximum mapping speed completes the maximum of map amount for weighing the access switch router unit interval.
6. method according to claim 2, is characterized in that, test mapping rate comprises the following steps:
Configuration access switch router address pool capacity, address pool capacity is less than or equal to described address pool heap(ed) capacity;
The first port of test instrumentation connects the access interface of access switch router;
The main frame with different access marks that the first port simulation of test instrumentation is identical from route identification number amount in the address pool of access switch router;
The second port of test instrumentation connects the routed port of access switch router;
The routed port of an access switch router of the second port simulation of test instrumentation, this port has the Route Distinguisher different from tested access switch router;
According to the mapping relations configuration of the second port of test instrumentation, set the opposite end mapping table of tested access switch router;
Set up whole Route Distinguisher and the mapping relations that access mark in the address pool that accesses switch router;
The first port of test instrumentation sends the test data stream of specifying bag long to the access interface of access switch router;
Access switch router checks whether test data stream has packet loss, obtains the quantity of the test data stream that does not occur packet loss;
Calculate the ratio that does not occur the number of data streams of packet loss and the access switch router address pool capacity of setting, obtain accessing the mapping rate of switch router under this bag is long.
7. method according to claim 3, is characterized in that, test mapping postpones to comprise the following steps:
Configuration access switch router address pool capacity, address pool capacity is less than or equal to described address pool heap(ed) capacity;
The first port of test instrumentation connects the access interface of access switch router;
The main frame with different access marks that the first port simulation of test instrumentation is identical from route identification number amount in the address pool of access switch router;
The second port of test instrumentation connects the routed port of access switch router;
The routed port of an access switch router of the second port simulation of test instrumentation, this port has the Route Distinguisher different from tested access switch router;
According to the mapping relations configuration of the second port of test instrumentation, set the opposite end mapping table of tested access switch router;
Set up whole Route Distinguisher and the mapping relations that access mark in the address pool that accesses switch router;
The first port of test instrumentation sends the test data stream with timestamp to the access interface of access switch router;
Calculate access switch router transmitting time stamp and the time interval that time of reception stabs, obtain accessing the bulk delay of switch router;
Configuration access switch router, will all access mark and be configured to without mapping status;
The port of test instrumentation sends the test data stream with timestamp to the access interface of access switch router;
Calculating access switch router transmitting time stamp and the time interval that time of reception stabs, obtain accessing the storage forwarding delay of switch router;
It is poor that the bulk delay of calculating access switch router and storage forwarding postpone, and obtains accessing the mapping of switch router under this bag is long and postpone.
8. method according to claim 4, is characterized in that, the maximum mapping of test speed comprises the following steps:
Configuration access switch router address pool capacity, address pool capacity is less than or equal to described address pool heap(ed) capacity;
The first port of test instrumentation connects the access interface of access switch router;
The main frame with different access marks that the first port simulation of test instrumentation is identical from route identification number amount in the address pool of access switch router;
The second port of test instrumentation connects the routed port of access switch router;
The routed port of an access switch router of the second port simulation of test instrumentation, this port has the Route Distinguisher different from tested access switch router;
According to the mapping relations configuration of the second port of test instrumentation, set the opposite end mapping table of tested access switch router;
Set up whole Route Distinguisher and the mapping relations that access mark in the address pool that accesses switch router;
The first port of test instrumentation sends the test data stream of specifying bag long to the access interface of access switch router;
Access switch router checks whether test data stream has packet loss, if there is packet loss, changing down; If there is not packet loss, advance the speed;
Repeat to send test data stream and judge whether the step of packet loss, obtain accessing the maximum test data flow rate of switch router in the situation that of packet loss not, this test data flow rate is that the long lower maximum of this bag is shone upon speed.
CN201110103801.7A 2011-04-25 2011-04-25 A method for measuring mapping performance of access switch router in identification-based universal network Expired - Fee Related CN102170376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110103801.7A CN102170376B (en) 2011-04-25 2011-04-25 A method for measuring mapping performance of access switch router in identification-based universal network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110103801.7A CN102170376B (en) 2011-04-25 2011-04-25 A method for measuring mapping performance of access switch router in identification-based universal network

Publications (2)

Publication Number Publication Date
CN102170376A CN102170376A (en) 2011-08-31
CN102170376B true CN102170376B (en) 2014-05-28

Family

ID=44491360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110103801.7A Expired - Fee Related CN102170376B (en) 2011-04-25 2011-04-25 A method for measuring mapping performance of access switch router in identification-based universal network

Country Status (1)

Country Link
CN (1) CN102170376B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954205A (en) * 2015-07-22 2015-09-30 上海斐讯数据通信技术有限公司 Soft routing performance test method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111447630A (en) * 2020-02-13 2020-07-24 中国电信股份有限公司成都分公司 Rating method based on router performance difference

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119312A (en) * 2007-09-13 2008-02-06 北京交通大学 Method for implementing integrated network mobile switch management

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119312A (en) * 2007-09-13 2008-02-06 北京交通大学 Method for implementing integrated network mobile switch management

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
支持普适服务的一体化网络研究;董平等;《电子学报》;20070430;第35卷(第4期);第599至606页 *
董平等.支持普适服务的一体化网络研究.《电子学报》.2007,第35卷(第4期),

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954205A (en) * 2015-07-22 2015-09-30 上海斐讯数据通信技术有限公司 Soft routing performance test method
CN104954205B (en) * 2015-07-22 2018-03-27 上海斐讯数据通信技术有限公司 A kind of soft routing performance method of testing

Also Published As

Publication number Publication date
CN102170376A (en) 2011-08-31

Similar Documents

Publication Publication Date Title
CN107370676A (en) Fusion QoS and load balancing demand a kind of route selection method
Wang et al. Implementation of multipath network virtualization with SDN and NFV
CA2287765C (en) Router device and cut-through path control method for realizing load balancing at intermediate routers
CN106130913A (en) A kind of multi-operator is the route selecting method of many WAN mouth router based on strategy in the case of accessing
CN109905280B (en) Simulation method and system for mobile satellite network
CN103297282A (en) Network delay measuring device and method
CN101986648A (en) Negotiation method, device and network device of TCP option
CN105681125A (en) Method for counting traffic of virtual machine extranet of cloud platform
CN109005126A (en) The processing method and equipment of data flow
CN102170376B (en) A method for measuring mapping performance of access switch router in identification-based universal network
CN106027397B (en) A kind of distributed measurement device network communication method of star-like expansion
CN102801586B (en) Method and device for automatically testing quality of service (QoS) granularity and precision
CN113141279B (en) Switch mesh test system and method
CN104508633A (en) Virtualized open wireless services software architecture
KR101985266B1 (en) Method and Apparatus for Selecting Packet Handler Function
CN101478480B (en) Method and apparatus for implementing load balance
CN105245467A (en) Dynamic access method for router
CN103973598B (en) Realize the dynamic bandwidth adjustment system and method that gateway QoS is ensured
CN113036930A (en) Power grid data communication management system
Sequeira et al. Empirically characterizing the buffer behaviour of real devices
CN101582884A (en) System and method for 3G data packet reorganization based on FPGA
CN110784378A (en) Method and device for realizing accurate flow balance by using TWAMP (two way operational amplifier)
CN107231318A (en) Switching at runtime control to providing multiple Internet services for home network
CN101018187B (en) A multi-link transfer device for supporting Ethernet business access
CN105450710B (en) Method for establishing the direct communication of user to user in gateway

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140528

Termination date: 20170425