天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

協(xié)議棧并行化技術(shù)的研究與實(shí)現(xiàn)

發(fā)布時(shí)間:2018-11-17 13:56
【摘要】:近年來,隨著互聯(lián)網(wǎng)技術(shù)的迅猛發(fā)展和互聯(lián)網(wǎng)用戶數(shù)量的大幅增加,網(wǎng)絡(luò)數(shù)據(jù)量呈指數(shù)型增長,對網(wǎng)絡(luò)協(xié)議處理能力提出更高的要求。在應(yīng)對高速大規(guī)模網(wǎng)絡(luò)流量時(shí),誕生于單核處理器時(shí)代的傳統(tǒng)內(nèi)核協(xié)議棧,已經(jīng)不能滿足需求。利用多核處理器并行編程技術(shù),對協(xié)議棧進(jìn)行并行化改進(jìn)是解決這一問題的有效途徑,能夠有效提升協(xié)議處理性能。本文首先分析了制約傳統(tǒng)內(nèi)核協(xié)議棧性能的主要因素,明確其性能開銷主要集中于中斷處理、內(nèi)存拷貝、協(xié)議處理和系統(tǒng)調(diào)用等方面。在對當(dāng)前存在的協(xié)議棧加速方案進(jìn)行分析之后,提出了連接級用戶態(tài)并行協(xié)議棧加速方案。在用戶態(tài)實(shí)現(xiàn)協(xié)議?梢詮母旧舷到y(tǒng)調(diào)用等協(xié)議處理開銷;以連接為基本的并行單位,能夠有效降低CPU核之間的數(shù)據(jù)同步開銷,提高多連接吞吐量。連接級用戶態(tài)并行協(xié)議棧主要包括底層包處理模塊、數(shù)據(jù)包分發(fā)器和協(xié)議處理模塊三部分。底層包處理模塊主要負(fù)責(zé)打通網(wǎng)卡到用戶空間的直接數(shù)據(jù)通路,旁路內(nèi)核協(xié)議棧,利用零拷貝技術(shù)降低了內(nèi)存拷貝與中斷處理開銷;數(shù)據(jù)包分發(fā)器通過對數(shù)據(jù)包連接四元組進(jìn)行哈希散列運(yùn)算,將同一連接的數(shù)據(jù)包分發(fā)到相同協(xié)議處理線程中進(jìn)行處理,消除了線程間對連接狀態(tài)的同步開銷;協(xié)議處理模塊負(fù)責(zé)高效地完成協(xié)議處理任務(wù),通過優(yōu)先級隊(duì)列、事件批處理等技術(shù)優(yōu)化協(xié)議處理性能,并向上層應(yīng)用程序提供訪問接口。通過實(shí)驗(yàn)證明本文設(shè)計(jì)的連接級用戶態(tài)并行協(xié)議棧能夠有效提升協(xié)議處理性能。
[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


資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/guanlilunwen/ydhl/2338038.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶01fda***提供,本站僅收錄摘要或目錄,作者需要?jiǎng)h除請E-mail郵箱bigeng88@qq.com