基于SR-IOV技术的网卡虚拟化研究与实现
发布时间:2018-11-08 07:27
【摘要】:虚拟机技术早期的发展主要集中在CPU和内存的虚拟化方面。经过多年发展,CPU虚拟化和内存虚拟化技术已日趋成熟。然而,I/O虚拟化一直是虚拟化技术发展的瓶颈之一,影响着整个系统的性能。因此,提高I/O性能及I/O设备的利用率是当前虚拟化技术的研究重点之一。目前I/O虚拟化技术主要有设备仿真、半虚拟化、Passthrough I/O等几种。基于软件的I/O虚拟化通用性强,但是无法获得I/O的高性能;Passthrough I/O具有高性能,但是牺牲了设备的共享性。PCI-SIG组织提出的SR-IOV规范很好地解决了这个问题。SR-IOV技术不仅继承了Passthrough I/O的优势,同时还实现了设备的共享,具有较好的发展前景。本文在深入研究和分析SR-IOV的结构及原理的基础上,对基于SR-IOV的网卡虚拟化技术进行了研究;面向Lin J Hypervisor,设计实现了一种基于Intel 82576的以太网SR-IOV虚拟化系统,并与传统的设备仿真、半虚拟化的I/O技术进行了对比实验。本文还设计了一个虚拟网卡资源管理程序,主要针对SR-IOV网卡虚拟化系统在带宽分配上的灵活性不足的问题,为用户提供了一个带宽设置接口,该接口能够使用户根据自身需求来设置各个虚拟机的带宽。测试结果表明,使用SR-IOV网卡不仅能够提升I/O性能,而且在多虚拟机时能有效降低CPU的负载。带宽设置接口的实现能够改善带宽分配上的灵活性问题,用户通过该接口可以很方便地对虚拟机带宽进行设置。
[Abstract]:The early development of virtual machine technology focused on CPU and memory virtualization. After years of development, CPU virtualization and memory virtualization technology has become increasingly mature. However, I / O virtualization has always been one of the bottlenecks of virtualization technology, affecting the performance of the whole system. Therefore, improving the performance of I / O and the utilization of I / O devices is one of the focuses of virtualization technology. At present, I / O virtualization technology mainly includes device simulation, paravirtualization, Passthrough I / O and so on. I / O virtualization based on software has strong generality, but it can't get the high performance of I / O. Passthrough I / O has high performance, but at the expense of device sharing. The SR-IOV specification proposed by PCI-SIG solves this problem very well. SR-IOV technology not only inherits the advantages of Passthrough I / O, but also realizes the sharing of devices. It has a good development prospect. Based on the deep research and analysis of the structure and principle of SR-IOV, the virtualization technology of network card based on SR-IOV is studied in this paper. An Ethernet SR-IOV virtualization system based on Intel 82576 is designed and implemented based on Lin J Hypervisor, and compared with the traditional device simulation and paravirtualization I / O technology. This paper also designs a virtual network card resource management program, which aims at the lack of flexibility in bandwidth allocation of SR-IOV network card virtualization system, and provides a bandwidth setting interface for users. The interface enables users to set the bandwidth of each virtual machine according to their own requirements. The test results show that the use of SR-IOV Nic can not only improve I / O performance, but also reduce the load of CPU in multiple virtual machines. The implementation of bandwidth setting interface can improve the flexibility of bandwidth allocation. The user can easily set the bandwidth of virtual machine through the interface.
【学位授予单位】:中国舰船研究院
【学位级别】:硕士
【学位授予年份】:2015
【分类号】:TP391.9;TP302
本文编号:2317791
[Abstract]:The early development of virtual machine technology focused on CPU and memory virtualization. After years of development, CPU virtualization and memory virtualization technology has become increasingly mature. However, I / O virtualization has always been one of the bottlenecks of virtualization technology, affecting the performance of the whole system. Therefore, improving the performance of I / O and the utilization of I / O devices is one of the focuses of virtualization technology. At present, I / O virtualization technology mainly includes device simulation, paravirtualization, Passthrough I / O and so on. I / O virtualization based on software has strong generality, but it can't get the high performance of I / O. Passthrough I / O has high performance, but at the expense of device sharing. The SR-IOV specification proposed by PCI-SIG solves this problem very well. SR-IOV technology not only inherits the advantages of Passthrough I / O, but also realizes the sharing of devices. It has a good development prospect. Based on the deep research and analysis of the structure and principle of SR-IOV, the virtualization technology of network card based on SR-IOV is studied in this paper. An Ethernet SR-IOV virtualization system based on Intel 82576 is designed and implemented based on Lin J Hypervisor, and compared with the traditional device simulation and paravirtualization I / O technology. This paper also designs a virtual network card resource management program, which aims at the lack of flexibility in bandwidth allocation of SR-IOV network card virtualization system, and provides a bandwidth setting interface for users. The interface enables users to set the bandwidth of each virtual machine according to their own requirements. The test results show that the use of SR-IOV Nic can not only improve I / O performance, but also reduce the load of CPU in multiple virtual machines. The implementation of bandwidth setting interface can improve the flexibility of bandwidth allocation. The user can easily set the bandwidth of virtual machine through the interface.
【学位授予单位】:中国舰船研究院
【学位级别】:硕士
【学位授予年份】:2015
【分类号】:TP391.9;TP302
【参考文献】
相关期刊论文 前1条
1 王宇新;惠新忠;郭禾;刘玮;;XEN虚拟IO的调度优化[J];微电子学与计算机;2010年08期
相关博士学位论文 前1条
1 王晓静;I/O虚拟化的性能隔离和优化[D];华中科技大学;2012年
相关硕士学位论文 前1条
1 惠新忠;Xen虚拟I/O优化策略[D];大连理工大学;2010年
,本文编号:2317791
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2317791.html