IE網(wǎng)絡(luò)測(cè)速的實(shí)現(xiàn)及操作
本文選題:流量生成 切入點(diǎn):軟硬件協(xié)同 出處:《湖北工業(yè)大學(xué)》2017年碩士論文 論文類型:學(xué)位論文
【摘要】:網(wǎng)絡(luò)測(cè)試又是保證整個(gè)網(wǎng)絡(luò)系統(tǒng)的設(shè)備與功能以及運(yùn)行狀態(tài)的手段。在網(wǎng)絡(luò)測(cè)試中,流量生成是至關(guān)重要的一項(xiàng)技術(shù),結(jié)果的正確性誤差程度均決定于此。網(wǎng)絡(luò)技術(shù)不斷發(fā)展,日新月異,網(wǎng)絡(luò)數(shù)據(jù)交換速率越來(lái)越快,對(duì)精度的要求越來(lái)越高,流量越來(lái)越大,對(duì)于一個(gè)萬(wàn)兆級(jí)的網(wǎng)絡(luò)來(lái)說(shuō),現(xiàn)在已有的測(cè)試方法都難以滿足需要。所以,面對(duì)新形勢(shì)下的新需求,研究針對(duì)以萬(wàn)兆級(jí)網(wǎng)絡(luò)為代表的高速網(wǎng)絡(luò)的測(cè)試方法,是十分迫切和必須的。在進(jìn)行網(wǎng)絡(luò)測(cè)試時(shí),流量可以來(lái)源于回放,真正的流量是被根據(jù)不斷回放歷史捕捉到的一些數(shù)據(jù)來(lái)實(shí)現(xiàn)的;同時(shí),還可以對(duì)流量進(jìn)行模擬,這種并非還原真實(shí),而是根據(jù)統(tǒng)計(jì)到的特點(diǎn),自主的模仿出一些流量。兩種方法沒(méi)有很確定的優(yōu)劣之分,只是在某些給定的條件下,某一方會(huì)有優(yōu)勢(shì)。在分析了上述目前廣泛應(yīng)用的兩種方法,論文對(duì)基于FPGA對(duì)兩種方案進(jìn)行了修正與改進(jìn),詳細(xì)的描述如下:1、根據(jù)已有的回放的方案,加入硬件因素,形成軟硬件聯(lián)動(dòng)的方案。該方案理論上解決了以萬(wàn)兆級(jí)網(wǎng)絡(luò)為代表的高速網(wǎng)絡(luò)的流量生成問(wèn)題。此方法將回放中的文件大小提高到了GB級(jí),現(xiàn)有的方法只有64MB,這有賴于FPGA與主機(jī)存儲(chǔ)優(yōu)勢(shì)的結(jié)合。為提高底層數(shù)據(jù)傳輸速度,采用了輪詢的方式,并利用映射優(yōu)化內(nèi)存訪問(wèn)。同時(shí)從新設(shè)計(jì)了傳輸引擎,實(shí)現(xiàn)網(wǎng)絡(luò)與主機(jī)本地?cái)?shù)據(jù)交換速度達(dá)到16Gbps。此外,結(jié)合隨機(jī)存取硬盤和主機(jī)內(nèi)存的特點(diǎn),還設(shè)計(jì)了幾種新的回放方式:無(wú)拷貝利用靜態(tài)緩沖的回放,基于隨機(jī)存取硬盤的高速GB級(jí)回放模式和已經(jīng)達(dá)到TB級(jí)的針對(duì)硬盤的低俗回放。對(duì)內(nèi)存的優(yōu)化使得數(shù)據(jù)拷貝有了將近70%的性能提高。在誤差控制方面,利用FPGA設(shè)計(jì)基于令牌的方案,大大提高精度,相對(duì)誤差不超過(guò)10E-5.2、結(jié)合硬件特點(diǎn)改進(jìn)流量模擬的方法,先分析網(wǎng)絡(luò)中的數(shù)據(jù)的特征,根據(jù)各部件自身所特有的功能,最終形成一種標(biāo)志各部件的特征序列流,最后根據(jù)已有的特征序列,利用FPGA模擬生成流量數(shù)據(jù)。并且設(shè)計(jì)了對(duì)用戶友好的借口,流的配置根據(jù)具體的動(dòng)態(tài)與靜態(tài)的特征描述確定。用戶可以自主的配置數(shù)據(jù)頭部不超過(guò)256字節(jié)的基于各種網(wǎng)絡(luò)協(xié)議的數(shù)據(jù)包格式。相關(guān)測(cè)試結(jié)果表明此方案能正確穩(wěn)定的運(yùn)行,實(shí)現(xiàn)了模擬萬(wàn)兆級(jí)網(wǎng)絡(luò)流量數(shù)據(jù)的預(yù)期功能。
[Abstract]:Network testing is also a means to ensure the equipment, function and running state of the whole network system. In network testing, traffic generation is a very important technology, and the degree of correctness and error of the result is determined by it. With each passing day, the network data exchange rate is faster and faster, the demand for accuracy is higher and higher, the traffic is increasing, for a network of ten thousand megabytes, the existing testing methods are difficult to meet the needs. Under the new situation, it is very urgent and necessary to study the test method of high-speed network, which is represented by the multi-megabyte network. In the network testing, the traffic can come from playback. Real traffic is realized based on some data captured in the history of playback; at the same time, traffic can be simulated, not to restore reality, but according to the characteristics of statistics. Independently mimic some of the flow. There is no definite difference between the two methods, but under certain given conditions, one party will have an advantage. This paper modifies and improves the two schemes based on FPGA. The detailed description is as follows: 1. According to the existing playback scheme, the hardware factor is added. The scheme solves the problem of traffic generation in high speed network represented by ten thousand megabytes network theoretically. This method increases the file size in playback to GB level. The existing methods are only 64MB, which depends on the combination of FPGA and host storage advantages. In order to improve the speed of data transmission, polling is adopted and memory access is optimized by mapping. At the same time, a new transport engine is designed. The speed of local data exchange between network and host can reach 16Gbps.In addition, combining the characteristics of random access hard disk and host memory, several new playback methods are designed: the playback with no copy and static buffering. High speed GB playback mode based on random access hard disk and low standard playback for hard disk that has reached TB level. The optimization of memory improves the performance of data copy by nearly 70%. In error control, Using FPGA to design token based scheme, the accuracy is greatly improved, the relative error is not more than 10E-5.2. the method of traffic simulation is improved by combining the characteristics of hardware. Firstly, the characteristics of data in network are analyzed, according to the special function of each component itself, Finally, a characteristic sequence flow is formed to mark each component. Finally, according to the existing feature sequence, the traffic data is generated by FPGA simulation, and a user-friendly excuse is designed. The configuration of the stream is determined according to the specific dynamic and static characteristic description. The user can independently configure the data packet format based on various network protocols with data header not exceeding 256 bytes. The related test results show that the scheme can run correctly and stably. The expected function of simulating the network traffic data of ten thousand megabytes is realized.
【學(xué)位授予單位】:湖北工業(yè)大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2017
【分類號(hào)】:TP393.06
【相似文獻(xiàn)】
相關(guān)期刊論文 前10條
1 AnilTelikepalli;數(shù)據(jù)包處理方法和解決方案[J];今日電子;2002年07期
2 齊建業(yè);余祥;劉峻宇;李強(qiáng);;協(xié)議一致性測(cè)試數(shù)據(jù)包的構(gòu)造與解析[J];西南科技大學(xué)學(xué)報(bào);2013年04期
3 張敦行;張廣興;張大方;謝高崗;于真;;基于多空間內(nèi)存共享的高速網(wǎng)絡(luò)鏈路數(shù)據(jù)包捕獲方法[J];計(jì)算機(jī)應(yīng)用研究;2008年03期
4 閻冬;王玉龍;蘇森;楊放春;;基于協(xié)作交互的概率性數(shù)據(jù)包標(biāo)記溯源方法[J];北京郵電大學(xué)學(xué)報(bào);2012年01期
5 李虎雄;張文杰;;網(wǎng)絡(luò)交互平臺(tái)數(shù)據(jù)包的分析與處理[J];計(jì)算機(jī)工程與設(shè)計(jì);2007年08期
6 王鋼,劉暉,蘇雁泳;IP電話數(shù)據(jù)包優(yōu)先級(jí)設(shè)置及對(duì)QoS影響的研究[J];哈爾濱工業(yè)大學(xué)學(xué)報(bào);2002年04期
7 俞瑾;王偉明;;基于IXDP2401的轉(zhuǎn)發(fā)件間數(shù)據(jù)包處理信息傳輸方法的研究[J];現(xiàn)代電子技術(shù);2005年24期
8 韓曉非,王學(xué)光,楊明福;位并行數(shù)據(jù)包分類算法研究[J];華東理工大學(xué)學(xué)報(bào);2003年05期
9 金慶輝;王東;楊建華;謝高崗;;一種網(wǎng)絡(luò)入侵檢測(cè)中的數(shù)據(jù)包采樣方法[J];計(jì)算機(jī)應(yīng)用研究;2008年10期
10 ;風(fēng)河網(wǎng)絡(luò)加速平臺(tái)線速超過(guò)每秒2.1億個(gè)數(shù)據(jù)包[J];中國(guó)電子商情(基礎(chǔ)電子);2010年06期
相關(guān)會(huì)議論文 前2條
1 向曉明;歐陽(yáng)建權(quán);操璐;;基于Linux的802.11b WLAN捕包解析器的設(shè)計(jì)[A];虛擬運(yùn)營(yíng)與云計(jì)算——第十八屆全國(guó)青年通信學(xué)術(shù)年會(huì)論文集(上冊(cè))[C];2013年
2 查達(dá)仁;荊繼武;林t燂,
本文編號(hào):1629508
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/1629508.html