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

Method for realizing IPv4 GRE message load balancing based on Flow Director

A packet load and balancing technology, applied in the Internet field, can solve the problem of not being able to give full play to the performance of the network card

Active Publication Date: 2021-04-30
JIANGSU FUTURE NETWORKS INNOVATION
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

As a result, after data packets are encapsulated with GRE, the performance of the network card cannot be fully utilized.

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 for realizing IPv4 GRE message load balancing based on Flow Director
  • Method for realizing IPv4 GRE message load balancing based on Flow Director
  • Method for realizing IPv4 GRE message load balancing based on Flow Director

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The present invention will be described in detail below in conjunction with the accompanying drawings and embodiments, but this should not be used as a limitation to the protection scope of the present application.

[0032] Generic Routing Encapsulation GRE is a general routing encapsulation protocol used to encapsulate another network protocol on top of any network layer. The GRE packet structure is as follows: figure 1 shown.

[0033] For an IPv4 network, the Delivery Header includes an Ethernet frame header and an IPv4 packet header.

[0034] The method for implementing load balancing of IPv4 GRE packets based on Flow Director includes two parts: the sending end sends packets and the receiving end receives packets.

[0035] Such as image 3 Shown: the sending part of the message sent by the sending end includes the following steps:

[0036] Step 1.1: The sender application calculates the hash value according to the type of the payload message.

[0037] Step 1.2:...

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 method for realizing IPv4 GRE message load balancing based on Flow Director. The method comprises two parts of sending a message by a sending end and receiving the message by a receiving end. The message sending part of the sending end comprises the following steps: a sending end application program calculating a hash value according to the type of a payload message; writing the hash value into an identification field in a Definition Header IP message header; and sending the message to a network card and sending the message out from the queue. And the message receiving part of the receiving end comprises the following parts: a receiving end application program needing to initialize a Flow Director function of a network card, and setting a mapping relationship between a marking field and a hardware queue in an IP message header; and after receiving the GRE message, the network card sending the data message to a specified queue according to the mapping relationship. And the application program can receive the message from the queue for further processing. According to the invention, the multi-queue function of the network card can be fully utilized, and the processing performance of the data message is improved; and meanwhile, the same data stream is sent to the same queue to be processed and the data message is orderly processed.

Description

technical field [0001] The invention relates to the Internet field, in particular to a method for realizing IPv4 GRE packet load balancing based on Flow Director. Background technique [0002] GRE (Generic Routing Encapsulation, general routing encapsulation), is a general routing encapsulation protocol, used to encapsulate another network protocol on top of any network layer. The GRE packet structure is as follows: figure 1 shown. [0003] For an IPv4 network, the Delivery Header includes an Ethernet frame header and an IPv4 packet header. [0004] After the network card receives the IPv4 data packet, it will perform the RSS operation according to the 5-tuple of source IP, destination IP, source port number, destination port number, and protocol number in the packet. The hash value calculated by RSS of the same data flow is the same , are sent to the same queue by the network card for processing, so as to ensure the orderly processing of the data flow. [0005] For GRE ...

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/803H04L12/46
CPCH04L47/125H04L12/4633
Inventor 关洪涛谭航张玉军胡德强王阳刘军凯
Owner JIANGSU FUTURE NETWORKS INNOVATION