虛擬交換機Open vSwitch的核心態(tài)研究及硬件實現(xiàn)
本文選題:數(shù)據(jù)中心 + 虛擬化; 參考:《北京郵電大學》2013年碩士論文
【摘要】:近年來,隨著云計算數(shù)據(jù)中心技術的發(fā)展,虛擬化技術得到了廣泛的應用,越來越多的公司或組織將自己的應用或服務部署在數(shù)據(jù)中心的虛擬機中,以虛擬機為單位進行管理并提供服務,這種虛擬化技術優(yōu)點是可以整合服務器、提高服務器利用率,同時提高業(yè)務的連續(xù)性和彈性。但是,虛擬化技術同時也給數(shù)據(jù)中心的部署帶來了新的挑戰(zhàn),即如何解決數(shù)據(jù)中心網(wǎng)絡邊緣虛擬機之間的通信問題。為了解決數(shù)據(jù)中心網(wǎng)絡邊緣虛擬機之間的通信問題,業(yè)界提出了VEB(Virtual Ethernet Bridge)機制,VEB機制的觀點是在數(shù)據(jù)中心網(wǎng)絡邊緣物理結點內(nèi)部部署虛擬交換機來解決數(shù)據(jù)中心網(wǎng)絡邊緣的通信問題。在數(shù)據(jù)中心服務器中以純軟件方式實現(xiàn)的VEB叫做vSwitch(虛擬交換機),如開源虛擬交換機Open vSwitch就是這類產(chǎn)品。vSwitch一般工作在系統(tǒng)的VMM (Virtual Machine Monitor)層,具有較好的數(shù)據(jù)包轉發(fā)性能,能夠在本地完成本地虛擬機之間的通信。但是由于運行時受到系統(tǒng)CPU、內(nèi)存帶寬等資源的限制,vSwitch也存在一些缺點,當系統(tǒng)可用資源較少時vSwitch對數(shù)據(jù)包的處理效率會比較低,而當系統(tǒng)可用資源比較多時,如果虛擬機之間有大量流量需要處理,vSwitch處理數(shù)據(jù)包時將會占用大量系統(tǒng)資源,影響宿主主機的資源分配彈性。隨著數(shù)據(jù)中心中業(yè)務流量的增加,虛擬機之間的通信的數(shù)據(jù)流量越來越大,vSwitch的缺點導致其難以滿足數(shù)據(jù)中心中虛擬機之間通信流量快速增加的要求,而且vSwitch過多的消耗宿主主機的系統(tǒng)資源也會對數(shù)據(jù)中心造成影響,無法滿足數(shù)據(jù)中心發(fā)展要求。針對vSwitch運行時的缺點,本文以開源的虛擬交換機Open vSwitch作為vSwitch的研究對象,對vSwitch進行了研究分析。Open vSwitch分為用戶態(tài)及核心態(tài),其核心態(tài)是完成數(shù)據(jù)包處理的關鍵部分,影響著整體數(shù)據(jù)包處理性能,當有大量數(shù)據(jù)包需要處理時,核心態(tài)的工作機制也會導致其占用大量資源。針對以上分析,本文提出了使用硬件方式實現(xiàn)Open vSwitch核心態(tài)功能的方案,希望通過硬件加速數(shù)據(jù)包的處理。本文以NetFPGA為硬件基礎,在NetFPGA中實現(xiàn)Open vSwitch核心態(tài)功能以替換Open vSwitch原有部分功能,并將Open vSwitch用戶態(tài)與NetFPGA實現(xiàn)的核心態(tài)結合。最后通過對修改后的系統(tǒng)與原有的Open vSwitch性能及資源消耗的對比,驗證了修改后的系統(tǒng)在性能及資源消耗方面的優(yōu)勢。
[Abstract]:In recent years, with the development of cloud computing data center technology, virtualization technology has been widely used. More and more companies or organizations deploy their applications or services in the virtual machine of data center. This virtualization technology has the advantages of integrating servers, increasing server utilization, and improving business continuity and flexibility. However, virtualization technology also brings new challenges to the deployment of data centers, that is, how to solve the problem of communication between virtual machines at the edge of the data center network. In order to solve the problem of communication between virtual machines on the edge of data center network, The idea of VEB(Virtual Ethernet bridge mechanism is that virtual switch is deployed inside the physical node of data center network to solve the communication problem of data center network edge. The VEB implemented in a data center server in a pure software way is called vSwitch (virtual switch, such as open source virtual switch Open vSwitch, which generally works in the system's VMM Virtual Machine Monitor) layer, and has good packet forwarding performance. Ability to communicate locally between local virtual machines. However, because the runtime is limited by the system CPU, memory bandwidth and other resources, VSwitch also has some disadvantages. When the system has less available resources, the processing efficiency of vSwitch to data packets will be lower, but when the system has more available resources, the system will have more available resources. If there is a lot of traffic between virtual machines to deal with data packets, it will take up a lot of system resources, which will affect the flexibility of resource allocation of host host. With the increase of traffic in the data center, the data traffic between the virtual machines becomes larger and larger, which makes it difficult to meet the requirement of the rapid increase of the traffic between the virtual machines in the data center. Moreover, the excessive consumption of host host system resources by vSwitch will also affect the data center, which can not meet the requirements of data center development. Aiming at the shortcomings of vSwitch runtime, this paper takes Open vSwitch, an open source virtual switch, as the research object of vSwitch, and analyzes vSwitch as user state and kernel state of mind. The kernel mentality is the key part of data packet processing. When there are a large number of packets to be processed, the working mechanism of the kernel mentality will lead to a large amount of resources. In view of the above analysis, this paper puts forward a scheme of using hardware to realize the kernel mentality function of Open vSwitch, hoping to speed up the processing of data packets by hardware. Based on NetFPGA, this paper implements the kernel mentality function of Open vSwitch in NetFPGA to replace some of the original functions of Open vSwitch, and combines the Open vSwitch user state with the kernel mentality realized by NetFPGA. Finally, by comparing the modified system with the original Open vSwitch performance and resource consumption, the advantages of the modified system in performance and resource consumption are verified.
【學位授予單位】:北京郵電大學
【學位級別】:碩士
【學位授予年份】:2013
【分類號】:TP302
【相似文獻】
相關期刊論文 前10條
1 齊建業(yè);余祥;劉峻宇;李強;;協(xié)議一致性測試數(shù)據(jù)包的構造與解析[J];西南科技大學學報;2013年04期
2 張敦行;張廣興;張大方;謝高崗;于真;;基于多空間內(nèi)存共享的高速網(wǎng)絡鏈路數(shù)據(jù)包捕獲方法[J];計算機應用研究;2008年03期
3 閻冬;王玉龍;蘇森;楊放春;;基于協(xié)作交互的概率性數(shù)據(jù)包標記溯源方法[J];北京郵電大學學報;2012年01期
4 李虎雄;張文杰;;網(wǎng)絡交互平臺數(shù)據(jù)包的分析與處理[J];計算機工程與設計;2007年08期
5 王鋼,劉暉,蘇雁泳;IP電話數(shù)據(jù)包優(yōu)先級設置及對QoS影響的研究[J];哈爾濱工業(yè)大學學報;2002年04期
6 俞瑾;王偉明;;基于IXDP2401的轉發(fā)件間數(shù)據(jù)包處理信息傳輸方法的研究[J];現(xiàn)代電子技術;2005年24期
7 韓曉非,王學光,楊明福;位并行數(shù)據(jù)包分類算法研究[J];華東理工大學學報;2003年05期
8 金慶輝;王東;楊建華;謝高崗;;一種網(wǎng)絡入侵檢測中的數(shù)據(jù)包采樣方法[J];計算機應用研究;2008年10期
9 ;風河網(wǎng)絡加速平臺線速超過每秒2.1億個數(shù)據(jù)包[J];中國電子商情(基礎電子);2010年06期
10 羅章琪;黃昆;張大方;關洪濤;謝高崗;;面向數(shù)據(jù)包處理的眾核處理器核資源分配方法[J];計算機研究與發(fā)展;2014年06期
相關會議論文 前2條
1 向曉明;歐陽建權;操璐;;基于Linux的802.11b WLAN捕包解析器的設計[A];虛擬運營與云計算——第十八屆全國青年通信學術年會論文集(上冊)[C];2013年
2 查達仁;荊繼武;林t燂,
本文編號:1786570
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1786570.html