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

A DPDK-based message processing method and computer equipment

A computer equipment and message processing technology, which is applied in the computer field, can solve the problems of low efficiency of sending and receiving messages in the kernel state space, the problem of network card availability, etc., and achieve the effect of improving sending and receiving efficiency, avoiding switching and system calls, and high-speed sending and receiving

Active Publication Date: 2021-01-05
HUAWEI TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The embodiment of the present application provides a DPDK-based message processing method and computer equipment to solve the problem of network card versatility caused by the network card that needs the kernel mode to support a specific driver when the user mode adopts the DPDK mode in the prior art or adopts a common The problem of low efficiency of sending and receiving messages in the kernel space caused by the driven network card

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
  • A DPDK-based message processing method and computer equipment
  • A DPDK-based message processing method and computer equipment
  • A DPDK-based message processing method and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In the embodiments of the present application, the terms "first" and "second" are used for description purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Thus, a feature defined as "first" and "second" may explicitly or implicitly include one or more of these features. In the description of the present application, unless otherwise specified, "plurality" means two or more.

[0047] The embodiment of the present application provides a computer device 10, such as figure 1 As shown, it includes: a processor 101 , a memory 102 , a network card 103 and a bus 104 , and the processor 101 , the memory 102 and the network card 103 communicate with each other through the bus 104 . The memory 102 stores: an operating system (Operating System, OS) 105 and an application program 106 .

[0048] Wherein, the processor 101 is a calculation core (Core) and a control core (Control ...

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

Embodiments of the invention disclose a DPDK-based message processing method and computer equipment, relate to the technical field of computers, and aim at solving the problem of network card universality caused by the reason that kernel modes are required to support network cards with specific drives when user mode spaces adopt a DPDK manner or the problem that the message reception / transmissionefficiency of kernel mode spaces is relatively low as network cards adopt common drives. The method is applied in the computer equipment. The computer equipment is installed with an operation system,wherein the operation system comprises a user mode space and a kernel mode space; the user mode space is provided with a data plane development kit DPDK reception / transmission interface; the kernel mode space is provided with a network card reception / transmission module; and a queue is arranged between the DPDK reception / transmission interface and the network card reception / transmission module. The method comprises the step of transmitting messages to network cards or receiving messages from the network cards by the DPDK reception / transmission interface and the network card reception / transmission module through queue transmission. The method is applied in the process of receiving messages from network cards or transmitting messages to the network cards by the computer equipment.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a DPDK-based message processing method and computer equipment. Background technique [0002] With the need of high-speed data forwarding, a data plane development kit (Data Plan Develop Kit, DPDK) technology emerges as the times require. DPDK technology is a message processing framework based on the data plane developed by Intel (INTEL). DPDK can support fast forwarding of data. It is a library and driver set for fast processing of messages on the X86 platform. In most cases, it works in the Linux user mode space , is widely used in the development of Layer 2 or Layer 3 forwarding functions. In order to cooperate with the Linux user mode space to use the DPDK method for fast data forwarding, the Linux kernel mode space needs to be able to realize high-speed data transmission and reception from the network card. An optional solution in the prior art is to use a n...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/54
CPCG06F9/544G06F9/545G06F9/546H04L47/50
Inventor 张海波李晓李力军
Owner HUAWEI TECH CO LTD
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