基于SR-IOV技術(shù)的網(wǎng)卡虛擬化研究與實(shí)現(xiàn)
發(fā)布時(shí)間:2018-11-08 07:27
【摘要】:虛擬機(jī)技術(shù)早期的發(fā)展主要集中在CPU和內(nèi)存的虛擬化方面。經(jīng)過多年發(fā)展,CPU虛擬化和內(nèi)存虛擬化技術(shù)已日趨成熟。然而,I/O虛擬化一直是虛擬化技術(shù)發(fā)展的瓶頸之一,影響著整個(gè)系統(tǒng)的性能。因此,提高I/O性能及I/O設(shè)備的利用率是當(dāng)前虛擬化技術(shù)的研究重點(diǎn)之一。目前I/O虛擬化技術(shù)主要有設(shè)備仿真、半虛擬化、Passthrough I/O等幾種;谲浖腎/O虛擬化通用性強(qiáng),但是無法獲得I/O的高性能;Passthrough I/O具有高性能,但是犧牲了設(shè)備的共享性。PCI-SIG組織提出的SR-IOV規(guī)范很好地解決了這個(gè)問題。SR-IOV技術(shù)不僅繼承了Passthrough I/O的優(yōu)勢(shì),同時(shí)還實(shí)現(xiàn)了設(shè)備的共享,具有較好的發(fā)展前景。本文在深入研究和分析SR-IOV的結(jié)構(gòu)及原理的基礎(chǔ)上,對(duì)基于SR-IOV的網(wǎng)卡虛擬化技術(shù)進(jìn)行了研究;面向Lin J Hypervisor,設(shè)計(jì)實(shí)現(xiàn)了一種基于Intel 82576的以太網(wǎng)SR-IOV虛擬化系統(tǒng),并與傳統(tǒng)的設(shè)備仿真、半虛擬化的I/O技術(shù)進(jìn)行了對(duì)比實(shí)驗(yàn)。本文還設(shè)計(jì)了一個(gè)虛擬網(wǎng)卡資源管理程序,主要針對(duì)SR-IOV網(wǎng)卡虛擬化系統(tǒng)在帶寬分配上的靈活性不足的問題,為用戶提供了一個(gè)帶寬設(shè)置接口,該接口能夠使用戶根據(jù)自身需求來設(shè)置各個(gè)虛擬機(jī)的帶寬。測(cè)試結(jié)果表明,使用SR-IOV網(wǎng)卡不僅能夠提升I/O性能,而且在多虛擬機(jī)時(shí)能有效降低CPU的負(fù)載。帶寬設(shè)置接口的實(shí)現(xiàn)能夠改善帶寬分配上的靈活性問題,用戶通過該接口可以很方便地對(duì)虛擬機(jī)帶寬進(jìn)行設(shè)置。
[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.
【學(xué)位授予單位】:中國艦船研究院
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2015
【分類號(hào)】:TP391.9;TP302
本文編號(hào):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.
【學(xué)位授予單位】:中國艦船研究院
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2015
【分類號(hào)】:TP391.9;TP302
【參考文獻(xiàn)】
相關(guān)期刊論文 前1條
1 王宇新;惠新忠;郭禾;劉瑋;;XEN虛擬IO的調(diào)度優(yōu)化[J];微電子學(xué)與計(jì)算機(jī);2010年08期
相關(guān)博士學(xué)位論文 前1條
1 王曉靜;I/O虛擬化的性能隔離和優(yōu)化[D];華中科技大學(xué);2012年
相關(guān)碩士學(xué)位論文 前1條
1 惠新忠;Xen虛擬I/O優(yōu)化策略[D];大連理工大學(xué);2010年
,本文編號(hào):2317791
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/2317791.html
最近更新
教材專著