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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com