论文部分内容阅读
随着云计算的发展,越来越多的公司开始部署自己的数据中心,虚拟化技术在数据中心中得到了广泛的应用,而虚拟交换机作为虚拟化中的一项重要技术,对数据中心中虚拟机间通信的性能起着重要作用。近些年以Open vSwitch为代表的一些软件实现的虚拟交换机逐渐发展了起来,Open vSwitch部署在系统内核的hypervisor层,与系统内核协同完成数据包交换功能,但是这种纯软件实现的交换机存在一些缺点,主要体现在运行期间占用过多的系统资源,影响了虚拟机的性能,另外由于受系统资源限制,导致数据包的处理效率比较低。本文提出了一种用NetFPGA硬件方式实现Open vSwitch核心态的方案,并实现了硬件中的功能模块的源码,即使用硬件处理的方式数据包处理的功能,这样既减少了处理数据包时的系统资源的消耗,同时也提高了数据包的处理速度,最后搭建环境对该硬件实现方案的功能做了简单的测试。
With the development of cloud computing, more and more companies are beginning to deploy their own data centers. Virtualization technologies are widely used in data centers. Virtual switches, as an important technology in virtualization, The performance of communication between virtual machines plays an important role. In recent years, some software-based virtual switches, represented by Open vSwitches, have been gradually developed. Open vSwitches are deployed on the hypervisor layer of the system kernel and cooperate with the system kernel to perform data packet switching. However, this purely software-implemented switch has some Disadvantages, mainly reflected in the operation of excessive system resources, affecting the performance of the virtual machine, the other due to system resource constraints, resulting in packet processing efficiency is relatively low. This paper presents a NetFPGA hardware implementation of the Open vSwitch core state of the program, and to achieve the hardware source code of the function module, that is, the use of hardware processing packet processing functions, thus reducing the system when processing data packets Resource consumption, but also improve the packet processing speed, and finally set up the environment to do a simple test of the hardware implementation of the program features.