Font Size: a A A

The Design And Implementation Of Software Message Preservation Module Based On DPDK Platform

Posted on:2021-04-26Degree:MasterType:Thesis
Country:ChinaCandidate:X LiFull Text:PDF
GTID:2428330647950844Subject:Engineering
Abstract/Summary:PDF Full Text Request
At the beginning of the popularization phase,the network was only used in a small area,and the requirements for concurrency and response time were not high.However,with the development of transformation technology,the scope of the network is used more and more.Then the concurrency and response time requirements of the business processing process are becoming higher and higher,which cause lots of continuous problems.As an interconnection layer device,the switch is mainly responsible for message storage,forwarding and service processing.The current switches mainly use a multi-core processor for the message receiving process.At the same time,lots of business needs cause the huge amount of data processing operations for the switch equipment,so the switch must use multi-core forwarding technology to distribute the packets,and this technology often causes the packets to be out of order and lose packets.In addition,when the number of packets is sufficient,it will cause the switch equipment to freeze,performance degradation or even restart.For the process of the switch processing the message,the order preservation process of the message is the minimum and most basic requirement of the service.The so-called message order preservation refers to the process of exchanging data packets in the process of the service processing of the switch to ensure that the order of receiving the packets at the device's input port and the sequence of sending the packets at the out port are the same.Therefore,in order to deal with this kind of problem,a message order preservation module that can run under multi-core conditions is very necessary.Based on this kind of status,this paper puts forward the idea of software message order preservation module design based on DPDK platform.The platform is used to improve user space efficient packet message processing under the intel processor architecture.Compared with the traditional linux system network data packet processing flow,the platform supports the use and drive of library functions at the user layer,and provides a convenient function of self-defining user protocol stack.The main work of this article is to design and implement the message order preservation process in the DPDK platform,and replace the DPDK order preservation module in the message processing process of the original flow-binding-core model in the switch operating system,and finally put the switch device into the actual routing environment for the related business testing and use.In addition,this model improves the performance of the switch system while completing the order preservation function.These improvements are reflected in relevant indicators such as cpu usage and order preservation.In the process of research and design,this paper solves the problems of the order preservation of original flow-binding-core model by introducing DPDK order preservation module into the switch device.The problems are when facing with a large number of business messages accessing the device,the message will be lost,out of order or the performance of the device is greatly reduced.And at the same time,when the cpu of the switch device is overloaded,it can maintain order and ensure that high-priority packets are received first.By designing a new data structure to ensure that the performance of the system is not affected by flood attacks,a load balancing method is designed to improve the anti-interference ability of the entire system.Finally,this paper puts the switch equipment using the DPDK message order preservation module into the actual production environment.The report shows that the switch equipment using the new module can solve a variety of actual business needs,which is also more obvious than the flow-binding-core model on the aspect of performance improvement.This article has completed all the functions and tests of the above order preservation module,and replaced the DPDK order preservation module with the original order preservation model of the switch equipment,and put the equipment into the production environment for automated testing,reset detection,business communication testing and code redundancy detection.The results show that the module has a positive effect.It has been officially put into production use and commercial use.
Keywords/Search Tags:DPDK platform, switch equipment, message order preservation, performance improvement
PDF Full Text Request
Related items