Font Size: a A A

Research Of Traffic Dynamic Load Balancing Technology Based On DPDK

Posted on:2018-11-07Degree:MasterType:Thesis
Country:ChinaCandidate:K LiFull Text:PDF
GTID:2428330566997405Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
With the continuous development of Internet technology,the data center network and the backbone of the national network traffic scale is also growing rapidly,and the traditional load balancing method is no longer suitable for the current high-speed network environment.In terms of load balancing,hardware performance is constantly improving,but mass flow rate and the malicious traffic have great influence on the multi-core processor load balancing,and there are a lot of problems in processing of large-scale data packets in the Linux system,including the data copy from the application layer to the system layer,data system interrupt handling,context switching and so on.Therefore,load balancing is an urgent problem for multi-core processors.In this paper,a dynamic multiple Hash based on DPDK platform is proposed to solve the problem of unbalanced traffic allocation in multi-core processors better.By using the characteristics of the DPDK platform to reduce the overhead caused by the system greatly,DPDK mainly provide a high-performance I/O development kit for the application layer in forms of basic software library.DPDK uses the characteristics of the following several aspects to support the optimization of data packet processing,so as to accelerate the processing of packet rate: First,using the support of large page cache to improve memory access efficiency.Second,using the UIO to provide support for the drivers in application space,and reduce the number of messages copied in user space and application space repeatedly.Third,using the affinity of Linux to bind the control thread and each data thread to different cores of the multi-core processor,to reduce the thread in each CPU kernel scheduling.Fourth,providing a memory pool and a no lock ring cache queue to speed up memory access efficiency.By combining the static and dynamic methods to balance the load of the multi-core processor,and makes full use of the performance of the multi-core processor.This paper is divided into three parts: Firstly,using the underlying framework provided by DPDK to achieve the basic transceiver function.Secondly,designing a model of traffic load balancing,which uses the I/O logic kernel(I/O Lcore)and the work kernel(Worker Lcore).The I/O logical kernel is used to process messages from different network interface card,and the Worker logic kernel is used to execute the specify application processing.The Worker logic kernel completely ignores the I/O processing of the message,and uses DPDK to provide a ring buffered queue interface to exchange messages with the I/O kernel.Thirdly,propose a load balancing algorithm which combines dynamic and static state.For the load balancing method of multi-core,dpdk is supported through network performance,using RSS and FDIR methods for individual treatment.This part modifies the original RSS algorithm of DPDK,and implements the symmetric RSS algorithm.Combined with the dynamic evaluation method,the dynamic adjustment of multiple Hash is proposed.
Keywords/Search Tags:DPDK, Hash, load balancing, multi-core processing
PDF Full Text Request
Related items