虚拟交换机Open vSwitch的核心态研究及硬件实现
本文选题:数据中心 + 虚拟化 ; 参考:《北京邮电大学》2013年硕士论文
【摘要】:近年来,随着云计算数据中心技术的发展,虚拟化技术得到了广泛的应用,越来越多的公司或组织将自己的应用或服务部署在数据中心的虚拟机中,以虚拟机为单位进行管理并提供服务,这种虚拟化技术优点是可以整合服务器、提高服务器利用率,同时提高业务的连续性和弹性。但是,虚拟化技术同时也给数据中心的部署带来了新的挑战,即如何解决数据中心网络边缘虚拟机之间的通信问题。为了解决数据中心网络边缘虚拟机之间的通信问题,业界提出了VEB(Virtual Ethernet Bridge)机制,VEB机制的观点是在数据中心网络边缘物理结点内部部署虚拟交换机来解决数据中心网络边缘的通信问题。在数据中心服务器中以纯软件方式实现的VEB叫做vSwitch(虚拟交换机),如开源虚拟交换机Open vSwitch就是这类产品。vSwitch一般工作在系统的VMM (Virtual Machine Monitor)层,具有较好的数据包转发性能,能够在本地完成本地虚拟机之间的通信。但是由于运行时受到系统CPU、内存带宽等资源的限制,vSwitch也存在一些缺点,当系统可用资源较少时vSwitch对数据包的处理效率会比较低,而当系统可用资源比较多时,如果虚拟机之间有大量流量需要处理,vSwitch处理数据包时将会占用大量系统资源,影响宿主主机的资源分配弹性。随着数据中心中业务流量的增加,虚拟机之间的通信的数据流量越来越大,vSwitch的缺点导致其难以满足数据中心中虚拟机之间通信流量快速增加的要求,而且vSwitch过多的消耗宿主主机的系统资源也会对数据中心造成影响,无法满足数据中心发展要求。针对vSwitch运行时的缺点,本文以开源的虚拟交换机Open vSwitch作为vSwitch的研究对象,对vSwitch进行了研究分析。Open vSwitch分为用户态及核心态,其核心态是完成数据包处理的关键部分,影响着整体数据包处理性能,当有大量数据包需要处理时,核心态的工作机制也会导致其占用大量资源。针对以上分析,本文提出了使用硬件方式实现Open vSwitch核心态功能的方案,希望通过硬件加速数据包的处理。本文以NetFPGA为硬件基础,在NetFPGA中实现Open vSwitch核心态功能以替换Open vSwitch原有部分功能,并将Open vSwitch用户态与NetFPGA实现的核心态结合。最后通过对修改后的系统与原有的Open vSwitch性能及资源消耗的对比,验证了修改后的系统在性能及资源消耗方面的优势。
[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 齐建业;余祥;刘峻宇;李强;;协议一致性测试数据包的构造与解析[J];西南科技大学学报;2013年04期
2 张敦行;张广兴;张大方;谢高岗;于真;;基于多空间内存共享的高速网络链路数据包捕获方法[J];计算机应用研究;2008年03期
3 阎冬;王玉龙;苏森;杨放春;;基于协作交互的概率性数据包标记溯源方法[J];北京邮电大学学报;2012年01期
4 李虎雄;张文杰;;网络交互平台数据包的分析与处理[J];计算机工程与设计;2007年08期
5 王钢,刘晖,苏雁泳;IP电话数据包优先级设置及对QoS影响的研究[J];哈尔滨工业大学学报;2002年04期
6 俞瑾;王伟明;;基于IXDP2401的转发件间数据包处理信息传输方法的研究[J];现代电子技术;2005年24期
7 韩晓非,王学光,杨明福;位并行数据包分类算法研究[J];华东理工大学学报;2003年05期
8 金庆辉;王东;杨建华;谢高岗;;一种网络入侵检测中的数据包采样方法[J];计算机应用研究;2008年10期
9 ;风河网络加速平台线速超过每秒2.1亿个数据包[J];中国电子商情(基础电子);2010年06期
10 罗章琪;黄昆;张大方;关洪涛;谢高岗;;面向数据包处理的众核处理器核资源分配方法[J];计算机研究与发展;2014年06期
相关会议论文 前2条
1 向晓明;欧阳建权;操璐;;基于Linux的802.11b WLAN捕包解析器的设计[A];虚拟运营与云计算——第十八届全国青年通信学术年会论文集(上册)[C];2013年
2 查达仁;荆继武;林t燂,
本文编号:1786570
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/1786570.html