ZBLOG

近年随着信息技术的快速发展,高并发场景的网络应用逐渐多元化,海量网络流量给 承载业务的网络设备带来了巨大的挑战,对网络流量处理性能提出了更高的要求。针对提 高网络流量处理性能这一核心问题,本文主要从提升单个网络设备的网络流量处理能力和 集群流量分发机制两个大方面进行研究。 首先,针对单个网络设备的网络流量处理能力问题,本文从软件层面采用 DPDK 技术 对单个网络设备的网络流量处理能力进行提升,又进一步针对 DPDK 技术没有协议栈,不 支持 OSI 模型四层以上协议业务的问题,本文根据 ...

In recent years, with the rapid development of information technology, network applications in high-concurrency scenarios have become increasingly diversified. Massive network traffic has brought tremendous challenges to the network devices that support business operations and placed higher demands on network traffic processing performance. To address the core issue of improving network traffic processing performance, this paper focuses on two main aspects: improving the network traffic processing capability of a single network device and optimizing the cluster traffic distribution mechanism.

Firstly, to address the problem of the network traffic processing capability of a single device, this paper uses DPDK technology at the software level to enhance it. Furthermore, due to DPDK’s lack of a protocol stack and not supporting OSI model layer-four or above protocol services, this paper designs and implements a user-space protocol stack based on DPDK’s technical characteristics and provides a set of interface functions. Developers can use DPDK technology for TCP and UDP data communication by calling corresponding interface functions.

Secondly, to address the problem of cluster traffic distribution mechanisms, this paper proposes a dynamic weighted feedback load balancing algorithm for performance optimization. This algorithm periodically collects information such as backend network device CPU utilization rate, memory utilization rate, disk I/O and network bandwidth utilization rates and sets load distribution strategies based on current backend device status. Using this algorithm allows for updates in load allocation methods based on current time periods when networks are in different states. The application and porting of Nginx were used for performance testing on both the user-space protocol stack designed in this paper as well as the dynamic weighted feedback algorithm using response time and actual concurrency numbers as performance test indicators. Experimental results show that our proposed user-space protocol stack and dynamic weighted feedback algorithm significantly improve network packet processing performance.

Finally, we applied our user-space protocol stack along with our dynamic weighted feedback load balancing algorithm to a data forwarding module in a signaling detection and parsing project. Results showed that applying our designed user-space protocol stack along with our dynamic weighted feedback load balancing algorithm effectively improved the efficiency of signaling detection and parsing business operations in the project.

This paper focuses on two aspects: improving network traffic processing capabilities of a single device and optimizing the cluster traffic distribution mechanism. We design a user-space protocol stack based on DPDK technology and propose a dynamic weighted feedback load balancing algorithm, both of which were applied to a data forwarding module in a signaling detection and parsing project. The experiments demonstrate that our research method is reasonable and effective, significantly improving network packet processing performance and the efficiency of signaling detection and parsing business operations.

本站部分文章来源于网络,版权归原作者所有,如有侵权请联系站长删除。
转载请注明出处:https://sdn.0voice.com/?id=1070

分享:
扫描分享到社交APP
上一篇
下一篇
发表列表
游客 游客
此处应有掌声~
评论列表

还没有评论,快来说点什么吧~

联系我们

在线咨询: 点击这里给我发消息

微信号:3007537140

上班时间: 10:30-22:30

关注我们
x

注册

已经有帐号?