High-speed packet filtering device and method realized based on shunting network card and multi-core CPU (Central Processing Unit)

A packet filtering and multi-core technology, applied in multi-programming devices, data switching networks, digital transmission systems, etc., can solve problems such as system performance bottlenecks, and achieve the effect of improving performance and improving locality

Inactive Publication Date: 2012-06-13
DAWNING INFORMATION IND BEIJING
View PDF7 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The disadvantage of these technologies is that during the transmission of packets between the network card and each CPU core, software is required to distribute and merge packets, involving the exchange of multiple buffers and processes, which often becomes the performance bottleneck of the system

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
  • High-speed packet filtering device and method realized based on shunting network card and multi-core CPU (Central Processing Unit)
  • High-speed packet filtering device and method realized based on shunting network card and multi-core CPU (Central Processing Unit)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] figure 1 It is a structural diagram of the present invention, which includes a multi-core cpu system module and a distribution network card module, and the multi-core cpu system module includes a message buffer module corresponding to each CPU core. Its shunt network card module also includes a message distribution and data reading module, which is used to distribute the network traffic with the same source and destination and load balance to the message receiving buffer module corresponding to each cpu core and read each message in parallel. Data in the text buffer module.

[0020] Implementation method and process of the present invention are as follows:

[0021] (1) In the network card driver software, call the kernel function to apply for a message buffer in the local memory for each CPU core.

[0022] (2) Each process of the application service is bound to a CPU core respectively, and is connected to the message buffer corresponding to the CPU core through memory...

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 provides a high-speed packet filtering device and method realized based on a shunting network card and a multi-core CPU (Central Processing Unit). The shunting network card is a specially customized hardware which can get through transmission bottleneck of network data from the network card to each CPU core. The high-speed packet filtering method comprises the steps of: homologizing and lodging the network flow; distributing the network flow into a message reception buffer region corresponding to each CPU core in a balanced load manner and reading data in a message transmission buffer region of each core into the network card in a parallel manner; sending out the data; and starting one progress (or thread) on each core of the multi-core CPU. As the message buffer region in a local internal memory of the CPU core is used for receiving and sending data, internal memory access locality is improved. Compared with the prior art, the high-speed packet filtering device and method realized based on the shunting network card and the multi-core CPU has the advantage of improving performances of the packet filtering device.

Description

technical field [0001] The invention belongs to the field of network data processing, and in particular relates to a high-speed packet filtering device and method realized based on a distribution network card and a multi-core CPU. Background technique [0002] A packet filtering device refers to a device such as a firewall that analyzes and filters network packets. This type of device needs to process each packet in the network traffic in real time. With the popularity of the current multi-core CPU platform, many packet filtering devices are implemented based on the multi-core CPU. A multi-core packet filtering device needs to distribute network traffic to multiple CPU cores for parallel processing of sending and receiving packets. The process of traffic distribution must meet certain requirements. For example, the data of the same TCP connection must be allocated to one CPU core, and the load between CPU cores must be balance etc. [0003] The patent number is "CN20081008...

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 Applications(China)
IPC IPC(8): H04L12/56G06F9/46H04L29/12H04L12/861
Inventor 刘朝辉张英文李静窦晓光邵宗有
Owner DAWNING INFORMATION IND BEIJING
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products