CN109639534A - A kind of method, apparatus and computer storage medium of test network transmission performance - Google Patents

A kind of method, apparatus and computer storage medium of test network transmission performance Download PDF

Info

Publication number
CN109639534A
CN109639534A CN201910026037.4A CN201910026037A CN109639534A CN 109639534 A CN109639534 A CN 109639534A CN 201910026037 A CN201910026037 A CN 201910026037A CN 109639534 A CN109639534 A CN 109639534A
Authority
CN
China
Prior art keywords
ofed
message
network
transmission performance
server
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.)
Granted
Application number
CN201910026037.4A
Other languages
Chinese (zh)
Other versions
CN109639534B (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.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks 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 Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN201910026037.4A priority Critical patent/CN109639534B/en
Publication of CN109639534A publication Critical patent/CN109639534A/en
Application granted granted Critical
Publication of CN109639534B publication Critical patent/CN109639534B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • 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/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays

Abstract

The invention discloses the method, apparatus and computer storage medium of a kind of test network transmission performance, to solve the not high enough technical problem of the efficiency of test network transmission performance existing in the prior art, accuracy.It include: that after obtaining the default class and affiliated class method that the configuration parameter based on server itself generates, default class and class method are synchronized to other servers of data center;Or receive the default class and affiliated class method of other server syncs;It calls class method to generate the first OFED message, and is sent to the network equipment of connection, make that the network equipment of connection adds its device identification in the first OFED message and network transmission performance information obtains the 2nd OFED message and forwards;And the 3rd OFED message that the network equipment of connection is sent is received, the 4th OFED message is obtained after adding corresponding device identification and network transmission performance information, and be sent to display equipment to show corresponding device identification and network transmission performance information.

Description

A kind of method, apparatus and computer storage medium of test network transmission performance
Technical field
The present invention relates to network technique field more particularly to a kind of method, apparatus and calculating of test network transmission performance Machine storage medium.
Background technique
Remote direct data access (Remote Direct Memory Access, RDMA) is several in a kind of solutions network According to transmission, there are the technologies of larger delay.
RDMA directly accesses network middle remote host memory by providing, and data is made not need to calculate during transmission Machine operating system and processor interference achieve the purpose that reduce network delay to reduce the expense of system resource.It uses The network of RDMA technology can provide high-throughput, reduce delay, so being widely used the clusters of machines in data center In.
Although RDMA technology is widely used, the big data platform under RDMA scene lacks a kind of high Effect, accurate RDMA transmission performance test, measure.
In existing RDMA transmission performance test method, it can usually be surveyed using IXIA and two kinds of TC commercial testers Examination, but carry out concurrent data transfer high bandwidth performance test under, often exist the transmission abnormalities such as delay, packet loss the case where, And it can not check.
In consideration of it, how efficiently, accurately test the transmission performance of network, becomes one and urgently to be resolved ask Topic.
Summary of the invention
The present invention provides the method, apparatus and computer storage medium of a kind of test network transmission performance, existing to solve There is the technical problem that the efficiency of test network transmission performance, accuracy are not high enough present in technology.
In a first aspect, in order to solve the above technical problems, the embodiment of the present invention provides a kind of test network transmission performance test Method, in each server for including applied to the data center based on RDMA, the data center further includes that connection is each The technical solution of the network equipment of server, this method is as follows:
It, will be described default after obtaining the default class and affiliated class method that the configuration parameter based on server itself generates Class and the class method are synchronized to other servers that the data center includes;Alternatively, receiving the data center and including Other server syncs default class and affiliated class method;
It calls the class method to generate the first OFED message, and is sent to the network equipment of connection, so that the connection The network equipment adds device identification and the network transmission performance letter of the network equipment of the connection in the first OFED message Breath obtains the 2nd OFED message, forwards the 2nd OFED message;And
The 3rd OFED message that the network equipment of the connection is sent is received, adds itself in the 3rd OFED message Device identification and network transmission performance information after obtain the 4th OFED message, the 4th OFED message is sent to display and is set It is standby, so that the display equipment shows device identification and network transmission performance information that the 4th OFED message carries.
It, will be described after obtaining the default class and affiliated class method that the configuration parameter based on server itself generates Default class and the class method are synchronized to other servers that the data center includes;Alternatively, receiving the data center Including other server syncs default class and affiliated class method;Class method is called to generate the first OFED message, concurrently The network equipment of connection is given, so that the equipment that the network equipment of connection adds the network equipment of connection in the first OFED message Mark and network transmission performance information obtain the 2nd OFED message, forward the 2nd OFED message;And it receives the network of connection and sets The 3rd OFED message that preparation is sent obtains after adding the device identification and network transmission performance information of itself in the 3rd OFED message To the 4th OFED message, the 4th OFED message is sent to display equipment, so that display equipment shows that the 4th OFED message carries Device identification and network transmission performance information.To allow server to avoid installation driving manually, configure the numerous of test environment Trivial operation makes the server in data center be able to carry out batch-automated deployment and test, and then improves test network biography The efficiency and accuracy of defeated performance, while also ing save network operation cost and human cost.Also, by by server itself Device identification and network transmission performance information be added to the 3rd OFED message, after generating the 4th OFED message, allow and receive The display equipment of 4th message can be intuitively displayed out the network transmission of each network equipment and server that data center includes Performance information enables staff to grasp the network transmission performance of each network equipment and server in time.
Optionally, the class method includes that configuration parameter acquisition methods, parameter initialization method and test assignment update number According to transmission method, the class method is called to generate the first OFED message, and is sent to the network equipment of connection, specifically included:
The configuration parameter acquisition methods are called, the parameter value of the configuration parameter is obtained;
The parameter initialization method is called, corresponding configuration parameter is initialized according to the parameter value of the configuration parameter;
The test assignment is called to update data transmission method, according to each five yuan in pre-set five-tuple list Group information generates corresponding first OFED message, and is sent to the network equipment of connection.
Optionally, it is obtained after the device identification and network transmission performance information of itself are added in the 3rd OFED message 4th OFED message, specifically includes:
It calls the test assignment to update data transmission method, determines the bandwidth information of itself;
Itself device identification, the bandwidth information, the third are added in the setting field of the 3rd OFED message The receiving time and sending time of OFED message, obtain the 4th OFED message.
Optionally, the class method further includes closing test method, the method also includes:
The closing test method is called, whether monitoring test period expires;
If the test period expires, network transmission performance test is terminated.
Second aspect is applied to be based on RDMA the embodiment of the invention provides a kind of method of test network transmission performance Data center packet each network equipment in, the data center further includes server connect with each network equipment, this The technical solution of method is as follows:
The first OFED message that other network equipments that the server or the data center for receiving connection include are sent;
The device identification and network transmission performance information that itself is added in the first OFED message, obtain the 2nd OFED Message;
Forward the 2nd OFED message.
Optionally, the device identification and network transmission performance information that itself is added in the first OFED message, obtain 2nd OFED message, specifically includes:
Determine the bandwidth information of itself;
Itself device identification, the bandwidth information, described first are added in the setting field of the first OFED message The receiving time and sending time of OFED message, obtain the 2nd OFED message.
Optionally, the method also includes:
The 2nd OFED message is sent to display equipment, so that the display equipment shows that the 2nd OFED is carried Device identification and network transmission performance information.
The third aspect is applied to be based on RDMA the embodiment of the invention provides a kind of device of test network transmission performance Data center include each server in, the data center further includes the network equipment for connecting each server, the dress It sets and includes:
Synchronization unit, the default class and affiliated class method generated for obtaining the configuration parameter based on server itself Afterwards, the default class and the class method are synchronized to other servers that the data center includes;Alternatively, described in receiving The default class for other server syncs that data center includes and affiliated class method;
Call unit for calling the class method to generate the first OFED message, and is sent to the network equipment of connection, with The network equipment of the connection is set to add device identification and the net of the network equipment of the connection in the first OFED message Network transmission performance information obtains the 2nd OFED message, forwards the 2nd OFED message;And
Receiving unit, the 3rd OFED message that the network equipment for receiving the connection is sent, in the 3rd OFED The 4th OFED message is obtained after adding the device identification and network transmission performance information of itself in message, the 4th OFED is reported Text is sent to display equipment, so that the display equipment shows device identification and network transmission that the 4th OFED message carries Performance information.
Optionally, the class method includes that configuration parameter acquisition methods, parameter initialization method and test assignment update number According to transmission method, the call unit is sent to the network of connection for calling the class method to generate the first OFED message Equipment is specifically used for:
The configuration parameter acquisition methods are called, the parameter value of the configuration parameter is obtained;
The parameter initialization method is called, corresponding configuration parameter is initialized according to the parameter value of the configuration parameter;
The test assignment is called to update data transmission method, according to each five yuan in pre-set five-tuple list Group information generates corresponding first OFED message, and is sent to the network equipment of connection.
Optionally, the device identification and network that the receiving unit is used to add itself in the 3rd OFED message pass The 4th OFED message is obtained after defeated performance information, is specifically used for:
It calls the test assignment to update data transmission method, determines the bandwidth information of itself;
Itself device identification, the bandwidth information, the third are added in the setting field of the 3rd OFED message The receiving time and sending time of OFED message, obtain the 4th OFED message.
Optionally, the class method further includes closing test method, and the call unit is also used to:
The closing test method is called, whether monitoring test period expires;
If the test period expires, network transmission performance test is terminated.
Fourth aspect is applied to be based on RDMA the embodiment of the invention provides a kind of device of test network transmission performance Data center packet each network equipment in, the data center further includes server connect with each network equipment, this Device includes:
Receiving unit, other network equipments for receiving the server connected or the data center includes are sent First OFED message;
Adding unit, device identification and network transmission performance for adding itself in the first OFED message are believed Breath, obtains the 2nd OFED message;
Retransmission unit, for forwarding the 2nd OFED message.
Optionally, the adding unit is specifically used for:
Determine the bandwidth information of itself;
Itself device identification, the bandwidth information, described first are added in the setting field of the first OFED message The receiving time and sending time of OFED message, obtain the 2nd OFED message.
Optionally, the retransmission unit is also used to:
The 2nd OFED message is sent to display equipment, so that the display equipment shows that the 2nd OFED is carried Device identification and network transmission performance information.
5th aspect, the embodiment of the present invention also provide a kind of device of test network transmission performance, comprising:
At least one processor, and
The memory being connect at least one described processor;
Wherein, the memory is stored with the instruction that can be executed by least one described processor, described at least one The instruction that device is stored by executing the memory is managed, the method as described in above-mentioned first aspect or second aspect is executed.
6th aspect, the embodiment of the present invention also provide a kind of computer readable storage medium, comprising:
The computer-readable recording medium storage has computer instruction, when the computer instruction is run on computers When, so that computer executes the method as described in above-mentioned first aspect or second aspect.
The technical solution in said one or multiple embodiments through the embodiment of the present invention, the embodiment of the present invention at least have There is following technical effect:
In embodiment provided by the invention, by obtain the default class that configuration parameter based on server itself generates with And after affiliated class method, the default class and the class method are synchronized to other services that the data center includes Device;Alternatively, receiving the default class and affiliated class method for other server syncs that the data center includes;Call class side Method generates the first OFED message, and is sent to the network equipment of connection, so that the network equipment of connection is in the first OFED message The device identification and network transmission performance information for adding the network equipment of connection obtain the 2nd OFED message, forwarding the 2nd OFED report Text;And the 3rd OFED message that the network equipment of connection is sent is received, the equipment mark of itself is added in the 3rd OFED message Know and obtain the 4th OFED message after network transmission performance information, the 4th OFED message is sent to display equipment, so that display Equipment shows the device identification and network transmission performance information that the 4th OFED message carries.To allow server to avoid manual peace The troublesome operation of environment is tested in dress driving, configuration, and the server in data center is made to be able to carry out batch-automated deployment and survey Examination, and then improves the efficiency and accuracy of test network transmission performance, at the same also a save network operation cost and manpower at This.Also, by the way that the device identification of server itself and network transmission performance information are added to the 3rd OFED message, the is generated After four OFED messages, the display equipment for receiving the 4th message is allowed, can be intuitively displayed out each net that data center includes The network transmission performance information of network equipment and server, enables staff to grasp the network of each network equipment and server in time Transmission performance.
Detailed description of the invention
Fig. 1 is a kind of flow chart of test network transmission performance method provided in an embodiment of the present invention;
Fig. 2 is the structural schematic diagram of BGP extended community attribute in the embodiment of the present invention;
Fig. 3 is the flow chart of another test network transmission performance method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of test network transmission performance device provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another test network transmission performance device provided in an embodiment of the present invention.
Specific embodiment
Implementation column of the present invention provides the method, apparatus and computer storage medium of a kind of test network transmission performance, with solution The not high enough technical problem of the efficiency of test network transmission performance certainly existing in the prior art, accuracy.
In order to solve the above technical problems, general thought is as follows for technical solution in the embodiment of the present application:
A kind of method of test network transmission performance is provided, each service for including applied to the data center based on RDMA In device, data center further includes the network equipment for connecting each server, this method comprises: obtaining matching based on server itself After the default class and affiliated class method of setting parameter generation, the default class and the class method are synchronized to the data Other servers that center includes;Alternatively, receiving default class and the institute for other server syncs that the data center includes The class method of category;It calls class method to generate the first OFED message, and is sent to the network equipment of connection, so that the network of connection is set The device identification of the standby network equipment that connection is added in the first OFED message and network transmission performance information obtain the 2nd OFED Message forwards the 2nd OFED message;And the 3rd OFED message that the network equipment of connection is sent is received, it is reported in the 3rd OFED The 4th OFED message is obtained after adding the device identification and network transmission performance information of itself in text, the 4th OFED message is sent Display equipment is given, so that display equipment shows device identification and network transmission performance information that the 4th OFED message carries.
In order to better understand the above technical scheme, below by attached drawing and specific embodiment to technical solution of the present invention It is described in detail, it should be understood that the specific features in the embodiment of the present invention and embodiment are to the detailed of technical solution of the present invention Thin explanation, rather than the restriction to technical solution of the present invention, in the absence of conflict, the embodiment of the present invention and embodiment In technical characteristic can be combined with each other.
Referring to FIG. 1, the embodiment of the present invention provides a kind of method of test network transmission performance, applied to based on RDMA's In each server that data center includes, data center further includes the network equipment for connecting each server, the place of this method Reason process is as follows.
Step 101:, will after obtaining the default class and affiliated class method that the configuration parameter based on server itself generates Default class and class method are synchronized to other servers that data center includes;Alternatively, receiving other clothes that data center includes Business device synchronous default class and affiliated class method.
In the data center of RDMA, by the parameter configuration of any one server (assuming that it is referred to as current server) After complete, default class and affiliated class method can be generated according to the configuration parameter of the current server itself, and will preset Class and class method are synchronized to other servers that data center includes, and other servers is allowed to receive default class and class method Afterwards, it in batches configures other servers to and current server configuration parameter having the same.
Certainly, if current server is the server for receiving default class and class method, current server only need to be according to pre- If class and class method itself will be configured to the server for having same configuration parameter with other servers.
Default class and class method are being synchronized to other servers that data center includes, or is receiving data center and includes After the default class of other server syncs and affiliated class method, step 102 can be executed.
Step 102: it calls class method to generate the first OFED message, and is sent to the network equipment of connection, so that connection The network equipment adds the device identification of the network equipment of connection in the first OFED message and network transmission performance information obtains To the 2nd OFED message, the 2nd OFED message is forwarded.
Specifically, class method includes that configuration parameter acquisition methods, parameter initialization method and test assignment more new data pass Transmission method, server are sent to the network equipment of connection by calling class method to generate the first OFED message, specific to call Class method includes:
Call configuration option acquisition methods obtain the parameter value of configuration parameter;
Call parameters initial method initializes corresponding configuration parameter according to the parameter value of configuration parameter;
It calls test assignment to update data transmission method, is believed according to each five-tuple in pre-set five-tuple list Breath generates corresponding first OFED message, and is sent to the network equipment of connection.
Call parameters initial method carry out parameter initialization, can be, but not limited to include RoCE module parameter initialize with And GID table clause setting.
For example, if parameter value is set as " 0 ", driver is by all GID ropes in the initialization of RoCE module parameter Draw and is associated with RoCEv1;If parameter value is set as " 2 ", driver by all GID indexes be associated with RoCEv2 ( Firmware v2.32.5100 is supported in connectx-3Pro);If parameter value is set as " 4 ", driver is by all GID ropes Draw and be associated with RoCEv1 and RoCEv2, this is that the single entry of each RoCE version (supports firmware in connectx-3Pro v2.34.5000)。
If RoCE mode value is in connectx-3Pro: while supporting RoCEv1 and RoCEv2
Under default situations, all GID indexes are associated with RoCEv1 and RoCEv2 by driver, therefore, RoCE editions each This has an entry.
GID table clause is arranged, as soon as whenever configuration IP address on an ethernet device in the port NIC, It will create a GID table clause.Each entry in the GID table of the port RoCE includes following field: GID value, GID type, The network equipment.
After call parameters initial method completes the parameter value initialization of configuration parameter, test assignment can be called to update Data transmission method, and corresponding first OFED is generated according to each five-tuple information in pre-set five-tuple list and is reported Text, and request the network equipment that the first OFED message is sent to connection by source port.
Specifically, five-tuple information includes: source port, destination port, source IP address, purpose IP address, protocol number.
After the first OFED message is sent to the network equipment of connection by server, the network equipment of connection is first The device identification and network transmission performance information that the network equipment of connection is added in OFED message obtain the 2nd OFED message and (use In the first OFED message for indicating newly to be added to device identification and network transmission performance information), and continue to forward the 2nd OFED report Text gives next network equipment or server, and next network equipment is also by its device identification and net as the network equipment connected Network transmission performance information is added in the OFED message received, and is forwarded, until the destination IP of the first OFED message The corresponding server in location.
Wherein, network transmission performance information includes at least one of network delay (IB_LAT), network bandwidth (IB_BW) Information.
For example, being held by the timer configured according to port change frequency, interval time when sending the first OFED message Row updates and MTU periodic modification five-tuple information, to generate the first different OFED messages.It is with RDMA data transfer bandwidth For 100% (for example can go to 46G or so in S6510 exchange interface 50G, receive and dispatch mouth 25G), detailed test parameter is as follows:
It calls Rdma_post_send (), Rdma_post_recv () function, inherits default class AbstractOFEDClient, and the data flow transmission method in default class AbstractOFEDClient is called, it is specific to call Mode is as follows:
Client:ib_write_bw--report_gbits 11.162.243.156--ib-dev=mlx5_bond_ 0--ib-port=1--port=10000-D 1-x 3--tclass=136--mtu=1024--run_infinitely- q300;
Wherein, Client is the network equipment of connection, and ib_write_bw represents data type;Report_gbits transmission IP address;Ib-dev network card equipment type and parameter;The class model that Tclass transmission is called;Mtu is transmission unit, for being arranged Data length;Run_infinitely-q is data stream port variation.
Server:ib_write_bw--report_gbits--ib-dev=mlx5_bond_0--ib-port=1-x 3--port=10000-D 1--tclass=136--mtu=1024--run_infinitely-q 300&;
Wherein, Server is server, and ib_write_bw represents data type;Report_gbits transmitting IP address; Ib-dev network card equipment type and parameter;The class model that Tclass transmission is called;Length is arranged in Mtu transmission unit;run_ The variation of infinitely-q driving data flow port.
According to configuration parameter as above, the first OFED message that default class AbstractOFEDClient can be called is generated, is kept away Exempt from every server to repeat to configure, wherein the test index of network transmission performance includes network delay (IB_LAT), network bandwidth (IB_BW) at least one fed back.
IB_BW, IB_LAT of server generate unique identification according to the URL and current time stamp of the first OFED message Flag, flag include bandwidth and delay statistical information, be encapsulated in BGP extended community attribute and data center it is end-to-end between Transmission makes the network equipment that the device identification of itself and network performance information are added to the according to the requirement in extended community attribute In one OFED message, the 2nd OFED message is obtained.It should be noted that for a network equipment, it is received OFED message is accordingly to be regarded as the first OFED message, itself device identification and delay statistics letter are added to the OFED message received After breath, obtained message is accordingly to be regarded as the 2nd OFED message.
Refer to the structural schematic diagram that Fig. 2 is BGP extended community attribute, type value (including the Type of extended community attribute High and Type low) in 0xC0-0xCF be that experimental extension uses, therefore this secondary design flag extended community attribute its type Being worth is C0, flag range [0x1,0xFFFFFF], and unique identification flag is encapsulated in Value, format TLV.
Server can not only call class method to generate the first OFED message, can also receive the network equipment transmission of connection OFED message, the message can be defined as the 3rd OFED message, and the 3rd OFED message can be other services from data center It is that device initially issues, then reach after the network equipment forwards.After receiving the 3rd OFED message, step 103 can be performed.
Step 103: receiving the 3rd OFED message that the network equipment of connection is sent, add itself in the 3rd OFED message Device identification and network transmission performance information after obtain the 4th OFED message, the 4th OFED message is sent to display equipment, So that display equipment shows device identification and network transmission performance information that the 4th OFED message carries.
Specifically, server calls test assignment updates data transmission method, the bandwidth information of itself is determined;And in third When the setting field of OFED message adds the device identification of itself, bandwidth information, the receiving time and transmission of the 3rd OFED message Between, obtain the 4th OFED message.
Wherein, setting field can be, but not limited to as extended community attribute field;When by the reception of the 3rd OFED message Between and sending time absolute value of the difference, can determine the delay of server.
After server obtains the 4th message, the 4th OFED message is sent to display equipment, so that display equipment is shown The device identification and network transmission performance information that 4th OFED message carries.Wherein, it is dedicated to can be the server for display equipment Display equipment, be also possible to the shared display equipment of each server in data center, it is not limited here.
The device identification and network transmission performance information carried in 4th OFED message can be the message and be forwarded process The all-network equipment of middle process and the device identification of server and network transmission performance information, display equipment can show this The network transmission performance information of a little network equipments and server, display equipment can receive multiple 4th OFED messages, thus It can be intuitively displayed out the network transmission performance information of each network equipment and server that data center includes.
Optionally, class method further includes closing test method, and server closes test method by calling, monitoring test week Whether the phase expires;If test period expires, network transmission performance test is terminated.
Referring to FIG. 3, the embodiment of the present invention provides a kind of method of test network transmission performance, applied to based on RDMA's In each network equipment that data center includes, data center further includes the server connecting with each network equipment, this method Treatment process it is as follows.
Step 301: the first OFED that other network equipments that the server or data center for receiving connection include are sent Message.
Step 302: adding itself device identification and network transmission performance information in the first OFED message, obtain second OFED message.
Specifically, requirement of the network equipment according to the BGP extended community attribute in the first OFED message, determines the band of itself Wide information;And the device identification of adding itself in the setting field of the first OFED message, bandwidth information, the first OFED message connect Between time receiving and sending time, the 2nd OFED message is obtained.
After obtaining the 2nd OFED message, step 203 can be executed.
Step 303: the 2nd OFED message of forwarding.
2nd OFED message is transmitted to next network equipment by the network equipment, and next network equipment is made to repeat step 301 ~step 303.It is to be appreciated that received 2nd OFED message is considered as this hair for next network equipment The first OFED message in bright embodiment, when equipment of itself mark and network transmission performance information are added to by next network equipment After the OFED message received, obtained message is considered as the 2nd OFED message in the embodiment of the present invention.
Optionally, the 2nd OFED message is sent to display equipment, so that display equipment shows setting for the 2nd OFED carrying Standby mark and network transmission performance information.
2nd OFED message can also be sent to display equipment by the network equipment, make to show that equipment can display real-time network and set Standby device identification and network transmission performance information.
Based on the same inventive concept, a kind of device of test network transmission performance is provided in one embodiment of the invention, is applied In each server that the data center based on RDMA includes, the data center further includes the network for connecting each server The specific embodiment of equipment, the test network transmission performance method of the device can be found in the embodiment of the method part of server side Description, overlaps will not be repeated, refers to Fig. 4, which includes:
Synchronization unit 401, the default class and affiliated class generated for obtaining the configuration parameter based on server itself After method, the default class and the class method are synchronized to other servers that the data center includes;Alternatively, receiving The default class for other server syncs that the data center includes and affiliated class method;
Call unit 402, for calling the class method to generate the first OFED message, and the network for being sent to connection is set It is standby, so that the network equipment of the connection adds the device identification of the network equipment of the connection in the first OFED message The 2nd OFED message is obtained with network transmission performance information, forwards the 2nd OFED message;And
Receiving unit 403, the 3rd OFED message that the network equipment for receiving the connection is sent, in the third The 4th OFED message is obtained after adding the device identification and network transmission performance information of itself in OFED message, by the described 4th OFED message is sent to display equipment, so that the display equipment shows the device identification and net that the 4th OFED message carries Network transmission performance information.
Optionally, the class method includes that configuration parameter acquisition methods, parameter initialization method and test assignment update number According to transmission method, the call unit 402 is used for:
It calls the class method to generate the first OFED message, and is sent to the network equipment of connection, be specifically used for:
The configuration parameter acquisition methods are called, the parameter value of the configuration parameter is obtained;
The parameter initialization method is called, corresponding configuration parameter is initialized according to the parameter value of the configuration parameter;
The test assignment is called to update data transmission method, according to each five yuan in pre-set five-tuple list Group information generates corresponding first OFED message, and is sent to the network equipment of connection.
Optionally, the receiving unit 403 is used to add device identification and the net of itself in the 3rd OFED message The 4th OFED message is obtained after network transmission performance information, is specifically used for:
It calls the test assignment to update data transmission method, determines the bandwidth information of itself;
Itself device identification, the bandwidth information, the third are added in the setting field of the 3rd OFED message The receiving time and sending time of OFED message, obtain the 4th OFED message.
Optionally, the class method further includes closing test method, and the call unit 402 is also used to:
The closing test method is called, whether monitoring test period expires;
If the test period expires, network transmission performance test is terminated.
Based on the same inventive concept, a kind of device of test network transmission performance is provided in one embodiment of the invention, is applied In each network equipment of data center's packet based on RDMA, the data center further includes connecting with each network equipment The specific embodiment of server, the test network transmission performance method of the device can be found in the embodiment of the method for network equipment side Partial description, overlaps will not be repeated, refers to Fig. 5, which includes:
Receiving unit 501, other network equipments hair for receiving the server connected or the data center includes The first OFED message sent;
Adding unit 502, for adding itself device identification and network transmission performance in the first OFED message Information obtains the 2nd OFED message;
Retransmission unit 503, for forwarding the 2nd OFED message.
Optionally, the adding unit 502 is specifically used for:
Determine the bandwidth information of itself;
Itself device identification, the bandwidth information, described first are added in the setting field of the first OFED message The receiving time and sending time of OFED message, obtain the 2nd OFED message.
Optionally, the retransmission unit 503 is also used to:
The 2nd OFED message is sent to display equipment, so that the display equipment shows that the 2nd OFED is carried Device identification and network transmission performance information.
Based on the same inventive concept, a kind of device of test network transmission performance is provided in the embodiment of the present invention, comprising: At least one processor, and
The memory being connect at least one described processor;
Wherein, the memory is stored with the instruction that can be executed by least one described processor, described at least one The instruction that device is stored by executing the memory is managed, the test network of server side as described above or network equipment side is executed Transmission performance method.
Based on the same inventive concept, the embodiment of the present invention also mentions a kind of computer readable storage medium, comprising:
The computer-readable recording medium storage has computer instruction, when the computer instruction is run on computers When, so that computer executes the test network transmission performance method of server side as described above or network equipment side.
In embodiment provided by the invention, by obtain the default class that configuration parameter based on server itself generates with And after affiliated class method, the default class and the class method are synchronized to other services that the data center includes Device;Alternatively, receiving the default class and affiliated class method for other server syncs that the data center includes;Call class side Method generates the first OFED message, and is sent to the network equipment of connection, so that the network equipment of connection is in the first OFED message The device identification and network transmission performance information for adding the network equipment of connection obtain the 2nd OFED message, forwarding the 2nd OFED report Text;And the 3rd OFED message that the network equipment of connection is sent is received, the equipment mark of itself is added in the 3rd OFED message Know and obtain the 4th OFED message after network transmission performance information, the 4th OFED message is sent to display equipment, so that display Equipment shows the device identification and network transmission performance information that the 4th OFED message carries.To allow server to avoid manual peace The troublesome operation of environment is tested in dress driving, configuration, and the server in data center is made to be able to carry out batch-automated deployment and survey Examination, and then improves the efficiency and accuracy of test network transmission performance, at the same also a save network operation cost and manpower at This.Also, by the way that the device identification of server itself and network transmission performance information are added to the 3rd OFED message, the is generated After four OFED messages, the display equipment for receiving the 4th message is allowed, can be intuitively displayed out each net that data center includes The network transmission performance information of network equipment and server, enables staff to grasp the network of each network equipment and server in time Transmission performance.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as the production of method, system or computer program Product.Therefore, in terms of the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and hardware Embodiment form.Moreover, it wherein includes computer available programs generation that the embodiment of the present invention, which can be used in one or more, The meter implemented in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of code The form of calculation machine program product.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, equipment (system) and computer program product Flowchart and/or the block diagram describe.It should be understood that can be realized by computer program instructions in flowchart and/or the block diagram The combination of process and/or box in each flow and/or block and flowchart and/or the block diagram.It can provide these calculating Processing of the machine program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices Device is to generate a machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute For realizing the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram Device.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (11)

1. a kind of method of test network transmission performance, in each server for including applied to the data center based on RDMA, The data center further includes the network equipment for connecting each server, which is characterized in that the described method includes:
After obtaining the default class and affiliated class method that configuration parameter based on server itself generates, by the default class with And the class method is synchronized to other servers that the data center includes;Alternatively, receiving its that the data center includes The default class of its server sync and affiliated class method;
It calls the class method to generate the first OFED message, and is sent to the network equipment of connection, so that the network of the connection Equipment adds the device identification of the network equipment of the connection in the first OFED message and network transmission performance information obtains To the 2nd OFED message, the 2nd OFED message is forwarded;And
The 3rd OFED message that the network equipment of the connection is sent is received, adds setting for itself in the 3rd OFED message The 4th OFED message is obtained after standby mark and network transmission performance information, the 4th OFED message is sent to display equipment, So that the display equipment shows device identification and network transmission performance information that the 4th OFED message carries.
2. the method as described in claim 1, which is characterized in that at the beginning of the class method includes configuration parameter acquisition methods, parameter Beginning method and test assignment update data transmission method, and the class method is called to generate the first OFED message, and the company of being sent to The network equipment connect, specifically includes:
The configuration parameter acquisition methods are called, the parameter value of the configuration parameter is obtained;
The parameter initialization method is called, corresponding configuration parameter is initialized according to the parameter value of the configuration parameter;
It calls the test assignment to update data transmission method, is believed according to each five-tuple in pre-set five-tuple list Breath generates corresponding first OFED message, and is sent to the network equipment of connection.
3. method according to claim 2, which is characterized in that add the device identification of itself in the 3rd OFED message With the 4th OFED message is obtained after network transmission performance information, specifically include:
It calls the test assignment to update data transmission method, determines the bandwidth information of itself;
Itself device identification, the bandwidth information, the 3rd OFED are added in the setting field of the 3rd OFED message The receiving time and sending time of message, obtain the 4th OFED message.
4. method a method according to any one of claims 1-3, which is characterized in that the class method further includes closing test method, institute State method further include:
The closing test method is called, whether monitoring test period expires;
If the test period expires, network transmission performance test is terminated.
5. a kind of method of test network transmission performance, each network equipment for including applied to the data center based on RDMA In, the data center further includes the server connecting with each network equipment, which is characterized in that the described method includes:
The first of other network equipments transmission that the server or the data center for receiving connection include
OFED message;
The device identification and network transmission performance information that itself is added in the first OFED message obtain the 2nd OFED report Text;
Forward the 2nd OFED message.
6. method as claimed in claim 5, which is characterized in that add the device identification of itself in the first OFED message With network transmission performance information, the 2nd OFED message is obtained, is specifically included:
Determine the bandwidth information of itself;
Itself device identification, the bandwidth information, the first OFED are added in the setting field of the first OFED message The receiving time and sending time of message, obtain the 2nd OFED message.
7. such as method described in claim 5 or 6, which is characterized in that the method also includes:
The 2nd OFED message is sent to display equipment, so that the display equipment shows setting for the 2nd OFED carrying Standby mark and network transmission performance information.
8. a kind of device of test network transmission performance, in each server for including applied to the data center based on RDMA, The data center further includes the network equipment for connecting each server, which is characterized in that described device includes:
Synchronization unit, after obtaining the default class and affiliated class method that the configuration parameter based on server itself generates, The default class and the class method are synchronized to other servers that the data center includes;Alternatively, receiving the number According to the default class and affiliated class method of other server syncs that center includes;
Call unit for calling the class method to generate the first OFED message, and is sent to the network equipment of connection, so that institute State connection the network equipment added in the first OFED message connection the network equipment device identification and network pass Defeated performance information obtains the 2nd OFED message, forwards the 2nd OFED message;And
Receiving unit, the 3rd OFED message that the network equipment for receiving the connection is sent, in the 3rd OFED message The 4th OFED message is obtained after the device identification and network transmission performance information of middle addition itself, the 4th OFED message is sent out Display equipment is given, so that the display equipment shows the device identification and network transmission performance that the 4th OFED message carries Information.
9. a kind of device of test network transmission performance, in each network equipment applied to data center's packet based on RDMA, The data center further includes the server connecting with each network equipment, which is characterized in that described device includes:
Receiving unit, for receive connection server or the data center include other network equipments send first OFED message;
Adding unit is obtained for adding itself device identification and network transmission performance information in the first OFED message To the 2nd OFED message;
Retransmission unit, for forwarding the 2nd OFED message.
10. a kind of device of test network transmission performance characterized by comprising
At least one processor, and
The memory being connect at least one described processor;
Wherein, the memory is stored with the instruction that can be executed by least one described processor, at least one described processor By executing the instruction of the memory storage, the method according to claim 1 to 7 is executed.
11. a kind of computer readable storage medium, it is characterised in that:
The computer-readable recording medium storage has computer instruction, when the computer instruction is run on computers, So that computer executes such as method of any of claims 1-7.
CN201910026037.4A 2019-01-11 2019-01-11 Method, device and computer storage medium for testing network transmission performance Active CN109639534B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910026037.4A CN109639534B (en) 2019-01-11 2019-01-11 Method, device and computer storage medium for testing network transmission performance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910026037.4A CN109639534B (en) 2019-01-11 2019-01-11 Method, device and computer storage medium for testing network transmission performance

Publications (2)

Publication Number Publication Date
CN109639534A true CN109639534A (en) 2019-04-16
CN109639534B CN109639534B (en) 2021-03-02

Family

ID=66061807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910026037.4A Active CN109639534B (en) 2019-01-11 2019-01-11 Method, device and computer storage medium for testing network transmission performance

Country Status (1)

Country Link
CN (1) CN109639534B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021169256A1 (en) * 2020-02-29 2021-09-02 华为技术有限公司 Method and device for network performance detection, and network device
CN113824612A (en) * 2021-09-22 2021-12-21 深圳创维数字技术有限公司 Network equipment compatibility testing method, terminal equipment and storage medium
CN114586320A (en) * 2019-10-14 2022-06-03 华为技术有限公司 Network node and method for network telemetry
CN114978959A (en) * 2022-05-27 2022-08-30 西安电子科技大学 Network equipment performance test method and device
WO2023155475A1 (en) * 2022-02-16 2023-08-24 华为技术有限公司 Network measurement method and apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101304345A (en) * 2008-06-26 2008-11-12 北京邮电大学 Interposition type measurement node for self-organization network and measurement method thereof
CN107493238A (en) * 2016-06-13 2017-12-19 华为技术有限公司 A kind of method for controlling network congestion, equipment and system
CN107888500A (en) * 2017-11-03 2018-04-06 东软集团股份有限公司 Message forwarding method and device, storage medium, electronic equipment
CN108351860A (en) * 2015-11-20 2018-07-31 微软技术许可有限责任公司 The distributed storage devices based on RDMA of low latency
CN108718269A (en) * 2018-05-18 2018-10-30 新华三技术有限公司 Message processing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101304345A (en) * 2008-06-26 2008-11-12 北京邮电大学 Interposition type measurement node for self-organization network and measurement method thereof
CN108351860A (en) * 2015-11-20 2018-07-31 微软技术许可有限责任公司 The distributed storage devices based on RDMA of low latency
CN107493238A (en) * 2016-06-13 2017-12-19 华为技术有限公司 A kind of method for controlling network congestion, equipment and system
CN107888500A (en) * 2017-11-03 2018-04-06 东软集团股份有限公司 Message forwarding method and device, storage medium, electronic equipment
CN108718269A (en) * 2018-05-18 2018-10-30 新华三技术有限公司 Message processing method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114586320A (en) * 2019-10-14 2022-06-03 华为技术有限公司 Network node and method for network telemetry
WO2021169256A1 (en) * 2020-02-29 2021-09-02 华为技术有限公司 Method and device for network performance detection, and network device
CN113824612A (en) * 2021-09-22 2021-12-21 深圳创维数字技术有限公司 Network equipment compatibility testing method, terminal equipment and storage medium
WO2023155475A1 (en) * 2022-02-16 2023-08-24 华为技术有限公司 Network measurement method and apparatus
CN114978959A (en) * 2022-05-27 2022-08-30 西安电子科技大学 Network equipment performance test method and device
CN114978959B (en) * 2022-05-27 2024-01-23 西安电子科技大学 Performance test method and device for network equipment

Also Published As

Publication number Publication date
CN109639534B (en) 2021-03-02

Similar Documents

Publication Publication Date Title
CN109639534A (en) A kind of method, apparatus and computer storage medium of test network transmission performance
US11843535B2 (en) Key performance indicators (KPI) for tracking and correcting problems for a network-under-test
US20210328856A1 (en) Scalability, fault tolerance and fault management for twamp with a large number of test sessions
US9858137B2 (en) Network test system
CN102984028B (en) The method of mobile terminal remote integrated test
CN105721318B (en) The method and apparatus of network topology are found in a kind of software defined network SDN
EP3257199B1 (en) Service performance monitoring in a virtualized communication network
CN105553943B (en) Pass transmission method, screen transmission method, equipment and the data transmission system of screen software
US9935818B1 (en) Diagnostic traffic generation for automatic testing and troubleshooting
CN103416022B (en) Throughput testing approach and system in service in distribution router/exchange board structure
CN107544837B (en) Cloud service equipment performance data acquisition system, method and device
CN103856361A (en) Method and system for realizing remote debugging
CN106302017B (en) The small capaciated flow network velocity-measuring system of high concurrent and method
CN106533803B (en) CPE configuration method and device based on TR069 agreement
CN110381071A (en) A kind of message transmitting method, device and send method, apparatus
CN110187948A (en) Method, system, medium and the server of real-time monitoring cloud desktop running environment
CN109714124B (en) Time synchronization system and method for test system
CN114024598B (en) Forwarding interface test method and device
CN106972904B (en) A kind of method and system that clock is synchronous
CN109067922A (en) A kind of data transmission method and device
CN102438007B (en) Virtual bus module organization method of radar terminal
CN114363427A (en) Method for acquiring information of host equipment in real time based on browser
CN112134750A (en) Network time protocol pressure test method and device
CN103546513B (en) The method and device of communication between a kind of customer terminal webpage
CN107835109B (en) Method and system for testing packet transport network defined by software

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
GR01 Patent grant
GR01 Patent grant