A network checksum algorithm optimization method based on Feiteng platform

An optimization method and network technology, which is applied in the field of communication and computer, can solve the problems of reducing the number of checksum calculation step by step and not taking it, so as to achieve the effect of reducing delay, achieving obvious effect and improving network bandwidth

Active Publication Date: 2022-04-01
KYLIN CORP
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there is also no effective method for reducing the number of checksum stepwise additions

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 network checksum algorithm optimization method based on Feiteng platform
  • A network checksum algorithm optimization method based on Feiteng platform
  • A network checksum algorithm optimization method based on Feiteng platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are exemplary only, and are not intended to limit the scope of the present invention. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concept of the present invention.

[0030] Such as Figure 2-3 , in the embodiment of the present application, the present invention provides a network checksum algorithm optimization method based on Feiteng platform, the method includes the steps of:

[0031] S1: Determine the number of NEON instruction cycles cnt_neon and the number of assembly cycles cnt_asm;

[0032] S2: Define NEON register variables VA and VB, and initialize them to 0;

[0033] S3:...

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 discloses a network checksum algorithm optimization method based on Feiteng platform. The realization process is as follows: first load 128-bit data into NEON 128-bit registers to reduce the number of cycles; The data in the bit register is divided into 8 pieces of 16bit data to be added in pairs, and when the data stream is processed to a certain length, it is switched to arm64 assembly for processing; and then the 64bit to 16bit algorithm operation is performed. Compared with the prior art, a network checksum algorithm optimization method based on the Feiteng platform of the present invention effectively reduces the delay caused by the checksum algorithm when the network UDP receives data, thereby achieving the purpose of improving the efficiency of UDP packet data transmission, and has the advantages of It has the advantages of independent controllability, originality of realization method and obvious realization effect.

Description

technical field [0001] The invention belongs to the technical field of communication and computer, and in particular relates to a network checksum algorithm optimization method based on Feiteng platform. Background technique [0002] The domestic Phytium series processors are based on the ARM64 architecture, fully compatible with the ARMV8 instruction set, and internally implement NEON expansion instructions. This extended instruction SIMD partly makes up for the weakness of the Phytium processor in terms of CPU frequency, and can improve the speed of data-intensive application memory access and data calculation. Among them, common data-intensive applications include graphics computing, entertainment audio-visual, data verification, etc. [0003] Ethernet is the most common communication protocol standard used by existing LANs today. There are many protocols available in the transport layer. Among them, UDP is widely used in LANs because of its simple structure and low tran...

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/30G06F9/32H04L41/0896
CPCG06F9/30036G06F9/325H04L41/0896
Inventor 胡海刘正元刘云肖林逵黄锦慧李佑鸿彭灿孙立明张铎李唯实曾驰
Owner KYLIN CORP
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