Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

X86 platform network port performance test method and device based on DPDK technology

A test method, X86 technology, applied in the direction of electrical components, structured data retrieval, transmission system, etc., can solve the problems of difficulty in getting started, single capability of DPDK framework, etc., and achieve the effect of improving test efficiency

Pending Publication Date: 2022-04-08
BEIJING GEMOTECH INTELLIGENT TECH
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] For background development, the capabilities provided by the DPDK framework itself are relatively simple. For example, if you want to use DPDK, you must implement basic functions such as ARP and IP layers, which is difficult to get started.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • X86 platform network port performance test method and device based on DPDK technology
  • X86 platform network port performance test method and device based on DPDK technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] see figure 1 , Embodiment 1 of the present invention provides a method for testing network port performance of an X86 platform based on DPDK technology, comprising the following steps:

[0039] S1. Obtain the port name and the PCI bus number of the tested network port, and generate a corresponding relationship table between the PCI bus number and the port name;

[0040] S2. Use the DPDK script to perform PCI binding, and UP the two ports used to send and receive data;

[0041] S3. Use the data sending and receiving tool to send and receive data to the two ports for sending and receiving data, count the data actually sent and received by the two ports in each sending and receiving process, update the total amount of data, and write it into the log file in real time;

[0042] S4. Analyze whether the number of packet loss and the packet loss rate are within the preset standard within the preset time period. If it exceeds the preset standard, it is judged that the test fails...

Embodiment 2

[0064] see figure 2 , Embodiment 2 of the present invention also provides a DPDK-based X86 platform network port performance test device, including:

[0065] The relationship table processing unit 1 is used to obtain the port name and the PCI bus number of the tested network port, and generate a corresponding relationship table between the PCI bus number and the port name;

[0066] DPDK script processing unit 2, uses DPDK script to perform PCI binding, and UP processes two ports for sending and receiving data;

[0067] The data transceiving unit 3 is used to transmit and receive data to the two ports for transmitting and receiving data through the data transceiving tool;

[0068] The data statistics unit 4 is used to count the data actually sent and received by the two ports in each sending and receiving process, update the total amount of data, and write the log file in real time;

[0069] The network port performance judgment unit 5 is used to analyze whether the packet l...

Embodiment 3

[0078] Embodiment 3 of the present invention provides a non-transitory computer-readable storage medium, in which the program code of the X86 platform network port performance testing method based on DPDK technology is stored, and the program code includes a method for executing Instructions of the method for testing network port performance of an X86 platform based on DPDK technology in Embodiment 1 or any possible implementation thereof.

[0079] The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server, a data center, etc. integrated with one or more available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a solid state disk (SolidState Disk, SSD)) and the like.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an X86 platform network port performance test method and device based on a DPDK technology, and the method comprises the steps: obtaining a port name and a PCI bus number of a tested network port, and generating a corresponding relation table of the PCI bus number and the port name; performing PCI binding by using a DPDK script, and performing UP processing on two ports for receiving and transmitting data; performing data receiving and transmitting on two ports for receiving and transmitting data through a data receiving and transmitting tool, counting data actually received and transmitted by the two ports in each receiving and transmitting process, updating the total amount of the data, and writing the data into a log file in real time; analyzing whether the packet loss quantity and the packet loss rate are in a preset standard in a preset time period, and if the packet loss quantity and the packet loss rate exceed the preset standard, judging that the test fails and the network port performance is unqualified; and if yes, determining that the test is successful and the network port performance is qualified. According to the method, the flow, the success rate and the packet loss rate of the two ports in a period of time can be automatically counted, the test efficiency of the network port function is greatly improved, and a sufficient basis is provided for the network port performance.

Description

technical field [0001] The invention relates to a method and a device for testing network port performance of an X86 platform based on DPDK technology, and belongs to the technical field of network port performance testing. Background technique [0002] The traffic that the Internet and other Internets must carry continues to grow and change. Today, the widespread use of the real-time responsive World Wide Web and the increased use of audio, graphics, and video are driving increased demand for quality of service. In response to this growth, the TCP / IP architecture has evolved QoS to support various types of traffic with various quality of service requirements. [0003] The data plane is one of the three planes of the QoS framework. It undertakes the mechanism of directly operating on the data flow, such as queue management, queue scheduling, and congestion avoidance of packets in communication, and plays a vital role in improving the efficiency of network communication. On...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L43/0817H04L43/50G06F16/28
Inventor 赵玉珍王潇濛
Owner BEIJING GEMOTECH INTELLIGENT TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products