Unlock instant, AI-driven research and patent intelligence for your innovation.

Method, device and system for forwarding network data message

A data message and network data technology, applied in the field of computer communication, can solve the problems of software implementation complexity, performance impact, incomplete parallelism, etc., and achieve the effects of reducing CPU cache jitter, improving performance, and reducing the use of locks

Active Publication Date: 2016-05-04
NEUSOFT CORP
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] But after really understanding the working principle and implementation process of the RPS module, it is not difficult to find that its current implementation has a serious shortcoming: it cannot support the topology with network address translation
[0013] 1. Resources related to data flow need to be protected by locking, which brings complexity to software implementation
At the same time, due to mutual exclusion of locks, multi-cores cannot be completely parallelized, resulting in performance loss
[0014] 2. Data packets are frequently processed on different CPUs, resulting in CPU cache jitter and further affecting performance

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
  • Method, device and system for forwarding network data message
  • Method, device and system for forwarding network data message
  • Method, device and system for forwarding network data message

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0036] In order to solve the problem in the prior art that the RPS module cannot allocate data packets in the same data stream to the same CPU for processing in the NAPT / NAT scenario, the present invention constructs keywords and establishes a NAT conversion relationship table, and queries NAT conversion The relationship table allocates the data packets of the same data flow to the same CPU for processing, thereby ensuring that the data packets in the same data flow are allocated to the same CPU for processing, reducing the use of locks and CPU cache jitter.

[0037] figure 2 The flow of the method for forwarding network data packets according to the present invention is shown.

[0038] Such as figure 2 As shown, when the RPS module receives the data stream, it obtains the quintuple information of the data message according to the data mes...

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 present invention provides a method, device and system for forwarding network data messages, wherein the method includes: obtaining data messages in the data stream according to the received data stream; performing NAT according to the first data message in the data stream Policy matching, establish a NAT conversion relationship table; determine other data packets except the first data packet according to the quintuple information before and after conversion of other data packets except the first data packet in the data stream and the NAT conversion relationship table The text corresponds to the forwarded CPU. Through the present invention, in the scenario of NAPT / NAT or not, it can ensure that the data messages in the same data flow are allocated to the same CPU for processing, reducing the use of locks and CPU? Cache jitter improves network forwarding performance.

Description

technical field [0001] The present invention relates to the technical field of computer communication, and more specifically, to a method, device and system for forwarding network data messages. Background technique [0002] RPS (ReceivePacketSteering) is a software simulation hardware network card multi-queue technology, through the Hash classification of IP data flow, the data packets of the same IP flow are allocated to the same CPU for processing, and the soft interrupt of the network protocol stack is realized Load balancing on multiple CPUs greatly improves the performance of single-queue NIC multi-CPU network forwarding devices. [0003] But after really understanding the working principle and implementation process of the RPS module, it is not difficult to find that its current implementation has a serious shortcoming: it cannot support the topology with network address translation. [0004] Network Address Translation (NAT for short) is a translation technology tha...

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): H04L12/741H04L29/12H04L45/74
Inventor 韩伟李恕海刘军
Owner NEUSOFT CORP