Network packet receiving and sending path optimization method and device and storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- BEIJING KEDONG ELECTRIC POWER CONTROL SYST
- Publication Date
- 2022-01-28
Smart Images

Figure 1 
Figure 2
Abstract
Description
technical field
[0001] The invention relates to a method, a device and a storage medium for optimizing a network sending and receiving packet path, and belongs to the technical field of network optimization. Background technique
[0002] When the network receives the packet, it is first cached in the ringbuffer, and then cached in the socket after being processed by the protocol stack, and finally the user obtains the data packet through a system call. When the network sends a contract, the user caches the data in the socket through the system call, and then caches the data in the ringbuffer after being processed by the protocol stack, and finally sends the contract through the network card. Because the network sends and receives packets, it must be processed by the protocol stack, and memory copying is also involved during the processing, which affects the performance of data sending and receiving. Contents of the invention
[0003] The purpose of the present invention i...