Font Size: a A A

Research On Cross-protocol User-mode Proxy Technology For Data Center Networks

Posted on:2022-01-28Degree:MasterType:Thesis
Country:ChinaCandidate:M Q LiFull Text:PDF
GTID:2518306530980859Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the development of Internet technology and hardware technologies,cloud computing,big data,and other new technologies are developing rapidly.The data on the Internet is growing explosively,and various existing applications are beginning to require higher and higher supporting capacity for data centers,which puts forward new requirements for the concurrency,delay,and throughput rate of the agent system.This problem has also become the key to the improvement of data center business processing capabilities.However,because the kernel consumes system resources,it is difficult for data centers to meet the requirements of high concurrency,low latency,and high throughput at the same time.To solve the above problem,this paper proposes a usermode agent technology for cross-protocol data center networks.First of all,because the proxy server needs to process a large number of user requests,but the TCP/IP protocol based on the kernel stack is expensive to maintain the flow state and the function of the protocol stack.The kernel cannot focus on the control and scheduling of the system,and for each data packet processing requires multiple interrupts,memory copy,context switching and other operations,which have a high impact on system performance and cannot effectively improve the concurrent performance of the system.In response to this problem,this paper uses a highly concurrent user-mode protocol stack to process data packets,and uses the advantages of user-mode protocol stack,that zero copy and kernel bypass to increase the processing speed of data packets and optimize the concurrent processing capabilities of the protocol stack.The experimental results prove that in the same environment,using the user mode protocol stack can improve the concurrent processing performance.Secondly,the proxy server requests data from the application server via TCP/IP,which requires multiple copies and processing by the kernel protocol stack,which results in the throughput and delay of data transmission cannot be greatly improved.For this reason,this paper adopts the direct remote memory access protocol RDMA with high throughput and low delay,which bypasses the kernel and writes data directly to the remote memory.And it improves the throughput and delay performance of the proxy system in data transmission.Then,through the circular queue,the high-concurrency user data is organized in micro-batch processing,and transmitted through RDMA.This way combines the concurrency of the user mode protocol stack and the advantages of RDMA delay and throughput,and solves the compatibility problem of TCP/IP and RDMA.In addition,the agent system in this paper adopts the operation of separating the control plane and the data plane to isolate the data operation from the control operation.It avoiding the system's scheduling confusion,and improving the performance and reliability of the system.Experiments show that the system implemented in this paper has a significant improvement in effect compared with other methods.In general,the performance of this system is2-4 times higher than that of nginx.
Keywords/Search Tags:Kernel protocol stack, User mode protocol stack, RDMA, Data center, Agent system
PDF Full Text Request
Related items