摘要
文章介绍了通过多种优化方式在极低的包错误率情况下实现基于UDP的高速数据传输。结果表明,支持传输大的数据包是获得良好性能的关键参数,使用较大的数据包包长从而降低数据包率,会有效较低CPU负载。此外针对UDP数据传输的优化主要还包括调整网络缓冲区、调整接收数据队列长度、调整线程优先级、锁定应用程序核心等方式。
This paper describes how high-speed UDP based data transmission with very low packet error ratios was achieved.The results show that supporting the transmission of large data packets is a key parameter to obtain good performance.Using larger data packet to reduce the data packet rate will effectively lower the CPU load.In addition,the optimizations of UDP data transmission in this paper mainly includes adjusting the network buffer,adjusting the length of the receiving data queue,adjusting the thread affinity,core locality.
作者
宋克
SONG Ke(The 715th Research Institute of China Shipbuilding Corporation,Hangzhou 310000,China)
出处
《数字通信世界》
2021年第7期85-86,共2页
Digital Communication World