| 研究生: |
游清權 Cing-Cyuan You |
|---|---|
| 論文名稱: |
I/O裝置虛擬化之效率研究-減少封包搬移 Performance study of I/O device virtualization – reducing packets movement |
| 指導教授: |
曾黎明
Li-Ming Tseng |
| 口試委員: | |
| 學位類別: |
碩士 Master |
| 系所名稱: |
資訊電機學院 - 資訊工程學系 Department of Computer Science & Information Engineering |
| 畢業學年度: | 98 |
| 語文別: | 中文 |
| 論文頁數: | 46 |
| 中文關鍵詞: | KVM 、虛擬技術 、虛擬機器 、I/O虛擬裝置 |
| 外文關鍵詞: | virtual machines, virtualization technology, i/o virtual device, KVM |
| 相關次數: | 點閱:8 下載:0 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
摘要
近年來隨著雲端計算的起步,虛擬機獨立、隔離、可搬移的種種特性有利於雲端計算的發展,但是由於虛擬機器的I/O overhead高,尤其網路效能上備受批評,是否能把一台虛擬機運算出來的結果即時的送達到其他虛擬機使其繼續運算,此為一大議題,若能克服此問題將可提升雲端計算中各節點之間結果交換效率。
實體機(physical machine )之上可以佈署許多部虛擬機器(virtual machine),彼此獨立運作,互相不影響干擾。虛擬環境(以QEMU-KVM為例)封包從實體網卡接收後,將封包遞送到虛擬橋接器(virtual bridge),再根據封包實體位址(Mac address)將封包遞送到對應的虛擬乙太網卡(TAP),再由QEMU定時輪詢TAP並將封包寫進QEMU虛擬網卡I/O port,封包於虛擬乙太網路密集收送的環境下,不必要的封包搬移對整體效能而言是很大的負擔。
本論文分析封包從實體網卡送至虛擬機器之虛擬網卡主要過程,找出可能的瓶頸,測量多台虛擬器同時運作時頻寬與延遲,並提出減少封包搬移次數可能的方案。
Abstract
Recent years, cloud computing technology is very popular. Some features of virtual machine, that like independence 、isolation、scalable and migration are helpful for computing environment deployment.
Every node in the system may need other VMs'' computing result. It is an important issue about data exchange efficiently between VMs. Improving network performances will make whole system become more efficiency. Virtual machine I/O overhead is a significant bottleneck, especially networking overhead.
We can deploy many virtual machines on a physical machine, each VM execute independently and not interfere each other. In virtual environment (Ex. QEMU-KVM) packets from physical network interface (NIC) will go through virtual bridge. According to destination Mac address, pass the packet to correspondence virtual Ethernet device (TAP).QEMU I/O handler will read packets form its own TAP, then TAP will copy packet data form kernel space to user space.
QEMU maintain a page table, base on this, I/O handler write packet data to VMs'' VNIC I/O port. It will become lots of work load in network intensive situation.
We analyze packet walkthrough form physical NIC to virtual NIC in virtual machine and found possible bottleneck. We measure network performance and latency in virtual machine. Propose a possible solution to eliminate overhead.
參考文獻
[1] R.P. Goldberg, "Survey of Virtual Machine Research," Computer, June 1974, pp. 34-45.
[2] J. Lakshmi,S. K. Nandy , "I/O Device Virtualization in the multi-core era a QoS perspective",2009 Workshops at the Grid and Pervasive Computing Conference GPC 2009,Pages: 128-135,May 2009
[3] Fumio Nakanjima,Hitoshi Oi , "Optimizations of Large Receive Offload in Xen",2009 Eighth IEEE International Symposium on Network Computing and Applications,page:314 - 318 ,July 2009
[4] Fabienne Anhalt, Pascale Vicat-Blanc Primet ,"Analysis and experimental evaluation of data plane virtualization with Xen",2009 Fifth International Conference on Networking and Services, Pages: 198-203,April 2009
[5] Zhuo Li, Limin Xiao, Li Ruan, "A Novel Hardware-assisted Virtualization Approach for Network Interface Card", Computer Science, 2009. ICRCCS ''09. International Conference,Pages:225 - 228 , Dec. 2009
[6] Jiang Zhao-long,Zhu Ming-fa, Xiao Li-min ,"An Approach to Implementing the NIC Virtualization by the Hybrids of Single System Image and Hardware-assisted Virtualization Technologies", Computing, Communication, Control, and Management, 2009. CCCM 2009. ISECS International Colloquium Volume: 4 ,Pages: 577 - 582 ,Aug. 2009
[7] Gerald J. Popek, Robert P. Goldberg ,“Formal Requirements for Virtualizable Third Generation Architectures“, Communications of the ACM Volume 17, Pages: 412 - 421 ,July 1974
[8] Uhlig, R.; Neiger, G.; Rodgers, D.; Santoni, A.L.; Martins, F.C.M.; Anderson, A.V.; Bennett, S.M.; Kagi, A.; Leung, F.H.; Smith, L “Intel virtualization technology,” IEEE Computer, Volume 38, Issue 5, May 2005 Page(s):48 – 56
[9] D. Abramson, J. Jackson, S. Muthrasanallur, G. Neiger, G. Regnier, R. Sankaran, I. Schoinas, R. Uhlig, B. Vembu, and J. Wiegert. Intel Virtualization Technology for Directed I/O. Intel Technology Journal, 10(3), Aug. 2006.
[10] Qemu ,Open source processors emulator, http://wiki.qemu.org/Index.html
[11] KVM, http://www.linux-kvm.org
[12] Xen, http://www.xen.org
[13] Xen Virtualization Architecture, http://www.novell.com/documentation/vmserver/virtualization_basics/?page=/documentation/vmserver/virtualization_basics/data/ba0khrq.html
[14] Vmware ESX Server, http://www.oriensoft.com/Services/Dedicated_Hosting/Virtualization_Software/Vmware_ESX_Server.aspx
[15] http://www.pds-site.com/vmware/ws/default.htm
[16] VMware,https://www.vmware.com.
[17] Windows Virtual PC,http://www.microsoft.com/windows/virtual-pc.
[18] Rich Uhlig,Gil Neiger,Dion Rodgers,Amy L.,Santoni,Fernando,C.M. Martins,Andrew V.,Anderson,Steven M.,Bennett,Alain Kägi,Felix H.,Leung,Larry Smith “Intel VirtualizationTechnology”
[19] Himanshu Raj, Karsten Schwan “High Performance and Scalable IO Virtualization via Self-Virtualized Devices”, High Performance Distributed Computing, Proceedings of the 16th international symposium on High performance distributed computing, SESSION: Scalability, Pages: 179 - 188, June 2007
[20] Darren Abramson, Jeff Jackson, Sridhar Muthrasanallur, Gil Neiger, Rjesh Sankaran, Ioannis Schoinas, Rich Uhlig, Balaji Vembu, John Wiegert,Intel “Virtualization Technology for Directed I/O”
[21] Danhua Guo, Guangdeng Liao and Laxmi N. Bhuyan, “Performance Characterization and Cache-Aware Core Scheduling in a Virtualized Multi-Core Server under 10GbE”, Workload Characterization, 2009. IISWC 2009, Page: 168 – 177, Oct. 2009.
[22] Qiang Li, Qinfen Hao, Limin Xiao, Zhoujun Li,”VM-based Architecture for Network Monitoring and Analysis”, Young Computer Scientists, 2008. ICYCS 2008. The 9th International Conference, Page: 1395 - 1400, Nov. 2008.
[23] NetFPGA, http://netfpga.org/
[24] Wei Jiang, Yisu Zhou, Yan Cui, Wei Feng, Yu Chen, Yuanchun Shi, Qingbo Wu,”CFS Optimizations to KVM Threads on Multi-Core Environment”, Proceedings of the 2009 15th International Conference on Parallel and Distributed Systems, Pages: 348-354, December 2009.
[25] Shan Zeng, Qinfen Hao, “Network I/O Path Analysis in the Kernel-based Virtual Machine Environment through Tracing”, Information Science and Engineering (ICISE), 2009 1st International Conference, Page: 2658 - 2661, Dec. 2009.
[26] VMware ESX server, http://www.abraxax.com/html/vmware_esx_server.html.
[27] Intel® I/O Controller Hub 8/9/10 and 82566/82567/82562V Software Developer’s Manual, http://www.intel.com/products/ethernet/resource.htm
[28] TUN/TAP, http://www.ibm.com/developerworks/cn/linux/l-tuntap/index.html
[29] 系統虛擬化-原理與實現 作者:Intel Coporation 2008、英特爾開源軟件技術中心、復旦大學並行處理研究所,民97,清華大學出版社 北京,ISBN 978-7-302-19372-2 page 45