IE網(wǎng)絡測速的實現(xiàn)及操作
本文選題:流量生成 切入點:軟硬件協(xié)同 出處:《湖北工業(yè)大學》2017年碩士論文 論文類型:學位論文
【摘要】:網(wǎng)絡測試又是保證整個網(wǎng)絡系統(tǒng)的設備與功能以及運行狀態(tài)的手段。在網(wǎng)絡測試中,流量生成是至關重要的一項技術,結(jié)果的正確性誤差程度均決定于此。網(wǎng)絡技術不斷發(fā)展,日新月異,網(wǎng)絡數(shù)據(jù)交換速率越來越快,對精度的要求越來越高,流量越來越大,對于一個萬兆級的網(wǎng)絡來說,現(xiàn)在已有的測試方法都難以滿足需要。所以,面對新形勢下的新需求,研究針對以萬兆級網(wǎng)絡為代表的高速網(wǎng)絡的測試方法,是十分迫切和必須的。在進行網(wǎng)絡測試時,流量可以來源于回放,真正的流量是被根據(jù)不斷回放歷史捕捉到的一些數(shù)據(jù)來實現(xiàn)的;同時,還可以對流量進行模擬,這種并非還原真實,而是根據(jù)統(tǒng)計到的特點,自主的模仿出一些流量。兩種方法沒有很確定的優(yōu)劣之分,只是在某些給定的條件下,某一方會有優(yōu)勢。在分析了上述目前廣泛應用的兩種方法,論文對基于FPGA對兩種方案進行了修正與改進,詳細的描述如下:1、根據(jù)已有的回放的方案,加入硬件因素,形成軟硬件聯(lián)動的方案。該方案理論上解決了以萬兆級網(wǎng)絡為代表的高速網(wǎng)絡的流量生成問題。此方法將回放中的文件大小提高到了GB級,現(xiàn)有的方法只有64MB,這有賴于FPGA與主機存儲優(yōu)勢的結(jié)合。為提高底層數(shù)據(jù)傳輸速度,采用了輪詢的方式,并利用映射優(yōu)化內(nèi)存訪問。同時從新設計了傳輸引擎,實現(xiàn)網(wǎng)絡與主機本地數(shù)據(jù)交換速度達到16Gbps。此外,結(jié)合隨機存取硬盤和主機內(nèi)存的特點,還設計了幾種新的回放方式:無拷貝利用靜態(tài)緩沖的回放,基于隨機存取硬盤的高速GB級回放模式和已經(jīng)達到TB級的針對硬盤的低俗回放。對內(nèi)存的優(yōu)化使得數(shù)據(jù)拷貝有了將近70%的性能提高。在誤差控制方面,利用FPGA設計基于令牌的方案,大大提高精度,相對誤差不超過10E-5.2、結(jié)合硬件特點改進流量模擬的方法,先分析網(wǎng)絡中的數(shù)據(jù)的特征,根據(jù)各部件自身所特有的功能,最終形成一種標志各部件的特征序列流,最后根據(jù)已有的特征序列,利用FPGA模擬生成流量數(shù)據(jù)。并且設計了對用戶友好的借口,流的配置根據(jù)具體的動態(tài)與靜態(tài)的特征描述確定。用戶可以自主的配置數(shù)據(jù)頭部不超過256字節(jié)的基于各種網(wǎng)絡協(xié)議的數(shù)據(jù)包格式。相關測試結(jié)果表明此方案能正確穩(wěn)定的運行,實現(xiàn)了模擬萬兆級網(wǎng)絡流量數(shù)據(jù)的預期功能。
[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.
【學位授予單位】:湖北工業(yè)大學
【學位級別】:碩士
【學位授予年份】:2017
【分類號】:TP393.06
【相似文獻】
相關期刊論文 前10條
1 AnilTelikepalli;數(shù)據(jù)包處理方法和解決方案[J];今日電子;2002年07期
2 齊建業(yè);余祥;劉峻宇;李強;;協(xié)議一致性測試數(shù)據(jù)包的構造與解析[J];西南科技大學學報;2013年04期
3 張敦行;張廣興;張大方;謝高崗;于真;;基于多空間內(nèi)存共享的高速網(wǎng)絡鏈路數(shù)據(jù)包捕獲方法[J];計算機應用研究;2008年03期
4 閻冬;王玉龍;蘇森;楊放春;;基于協(xié)作交互的概率性數(shù)據(jù)包標記溯源方法[J];北京郵電大學學報;2012年01期
5 李虎雄;張文杰;;網(wǎng)絡交互平臺數(shù)據(jù)包的分析與處理[J];計算機工程與設計;2007年08期
6 王鋼,劉暉,蘇雁泳;IP電話數(shù)據(jù)包優(yōu)先級設置及對QoS影響的研究[J];哈爾濱工業(yè)大學學報;2002年04期
7 俞瑾;王偉明;;基于IXDP2401的轉(zhuǎn)發(fā)件間數(shù)據(jù)包處理信息傳輸方法的研究[J];現(xiàn)代電子技術;2005年24期
8 韓曉非,王學光,楊明福;位并行數(shù)據(jù)包分類算法研究[J];華東理工大學學報;2003年05期
9 金慶輝;王東;楊建華;謝高崗;;一種網(wǎng)絡入侵檢測中的數(shù)據(jù)包采樣方法[J];計算機應用研究;2008年10期
10 ;風河網(wǎng)絡加速平臺線速超過每秒2.1億個數(shù)據(jù)包[J];中國電子商情(基礎電子);2010年06期
相關會議論文 前2條
1 向曉明;歐陽建權;操璐;;基于Linux的802.11b WLAN捕包解析器的設計[A];虛擬運營與云計算——第十八屆全國青年通信學術年會論文集(上冊)[C];2013年
2 查達仁;荊繼武;林t燂,
本文編號:1629508
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/1629508.html