Network checksum algorithm optimization method based on Feiteng platform

An optimization method and network technology, applied in the data exchange network, address formation of the next instruction, calculation, etc., can solve the problem of not taking, reduce the number of calculation checksum gradually adding, reduce delay, improve network bandwidth, achieve significant results

Active Publication Date: 2021-04-06
KYLIN CORP
View PDF10 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there is also no effective method for r

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
  • Network checksum algorithm optimization method based on Feiteng platform
  • Network checksum algorithm optimization method based on Feiteng platform
  • 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 combination 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 a Feiteng platform, and the method comprises the steps: firstly loading 128bit data into an NEON 128-bit register, so as to reduce the number of cycles; dividing the data in the NEON 128-bit register into eight 16-bit data by adopting an NEON vector pairwise addition instruction for pairwise addition, and switching to arc64 assembly for processing when the data stream is processed to a certain length; and then carrying out 64-bit to 16-bit algorithm operation. Compared with the prior art, the network checksum algorithm optimization method based on the Feiteng platform effectively reduces time delay caused by a checksum algorithm when a network UDP receives data, thereby achieving the purpose of improving the UDP packet data transmission efficiency, and has the advantages of autonomous controllability, originality of an implementation mode, obvious implementation effect and the like.

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
IPC IPC(8): G06F9/30G06F9/32H04L12/24
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