協(xié)議棧并行化技術(shù)的研究與實(shí)現(xiàn)
[Abstract]:In recent years, with the rapid development of Internet technology and the large increase in the number of Internet users, the amount of network data increases exponentially, which puts forward higher requirements for the ability of network protocol processing. When dealing with high speed and large scale network traffic, the traditional kernel protocol stack born in the era of single core processor can no longer meet the demand. Using parallel programming technology of multi-core processors to improve the protocol stack parallelization is an effective way to solve this problem and can effectively improve the performance of protocol processing. This paper first analyzes the main factors that restrict the performance of the traditional kernel protocol stack, and clarifies that the performance overhead is mainly focused on interrupt processing, memory copy, protocol processing and system call. After analyzing the existing protocol stack acceleration scheme, a connection level user state parallel protocol stack acceleration scheme is proposed. The implementation of the protocol stack in the user state can fundamentally eliminate the processing overhead of the protocols such as system call, and taking the connection as the basic parallel unit can effectively reduce the data synchronization overhead between the CPU cores and improve the throughput of multiple connections. The connection level user state parallel protocol stack consists of three parts: the underlying packet processing module, the packet distributor and the protocol processing module. The underlying packet processing module is mainly responsible for opening the direct data path from the network card to the user space, bypassing the kernel protocol stack, and using zero-copy technology to reduce the memory copy and interrupt processing overhead. The packet distributor distributes the same connection data packet to the same protocol processing thread by hash operation on the packet connection quaternion, which eliminates the synchronization overhead of the connection state between the threads. Protocol processing module is responsible for efficiently completing protocol processing tasks, optimizing protocol processing performance through priority queue and event batch, and providing access interface to upper application programs. The experiments show that the parallel protocol stack designed in this paper can effectively improve the performance of the protocol.
【學(xué)位授予單位】:西安電子科技大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP393.04
【相似文獻(xiàn)】
相關(guān)期刊論文 前10條
1 李威;殷志堅(jiān);;ZLIP TCP/IP協(xié)議棧在嵌入式系統(tǒng)中的應(yīng)用[J];單片機(jī)與嵌入式系統(tǒng)應(yīng)用;2013年12期
2 謝雪松,胡長陽;基于驅(qū)動(dòng)程序的協(xié)議棧設(shè)計(jì)[J];電子工程師;2000年04期
3 郝京宇,黃建華,賈風(fēng)根;協(xié)議棧的實(shí)現(xiàn)方法[J];計(jì)算機(jī)工程;2004年14期
4 何友鳴,郭凱紅;協(xié)議棧內(nèi)部非阻塞通信的一種實(shí)現(xiàn)策略[J];計(jì)算機(jī)系統(tǒng)應(yīng)用;2005年08期
5 李偉;;基于協(xié)議棧的移動(dòng)性技術(shù)對比分析[J];江蘇通信技術(shù);2006年06期
6 王;;楊斌;;Linux TCP/IP協(xié)議棧的設(shè)計(jì)及實(shí)現(xiàn)特點(diǎn)[J];云南民族大學(xué)學(xué)報(bào)(自然科學(xué)版);2007年01期
7 宋麗華;張曉彤;王沁;郭艷飛;;嵌入式協(xié)議棧可重構(gòu)性分析與設(shè)計(jì)實(shí)現(xiàn)[J];計(jì)算機(jī)科學(xué);2007年09期
8 李慶江;;基于LwIP協(xié)議棧的嵌入式Web服務(wù)器的設(shè)計(jì)及實(shí)現(xiàn)[J];山東輕工業(yè)學(xué)院學(xué)報(bào)(自然科學(xué)版);2008年04期
9 孟浩;;一種通用嵌入式Web服務(wù)器精簡協(xié)議棧的設(shè)計(jì)與實(shí)現(xiàn)[J];科技資訊;2008年34期
10 徐宏U,
本文編號:2338038
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/2338038.html