研究生: |
林長融 Lin, Chang-Jung |
---|---|
論文名稱: |
ARMvisor IO 效能最佳化及分析,以 Virtio 及 irqchip 為例 IO Performance Optimization and Analysis for ARMvisor using Virtio and Irqchip |
指導教授: |
鍾葉青
Chung, Yeh-Ching |
口試委員: |
劉廣治
Liu, Kuang-Chih 李哲榮 Lee, Che-Rung |
學位類別: |
碩士 Master |
系所名稱: |
電機資訊學院 - 資訊工程學系 Computer Science |
論文出版年: | 2012 |
畢業學年度: | 100 |
語文別: | 英文 |
論文頁數: | 26 |
中文關鍵詞: | 虛擬化 、內核虛擬機 、I/O 虛擬化框架 |
外文關鍵詞: | KVM, Virtio, irqchip |
相關次數: | 點閱:3 下載:0 |
分享至: |
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
虛擬化技術在大型電腦及個人電腦上的應用以十分成熟,因此我們可在同一硬體上執行多個作業系統,是現今雲端運算中很常使用到的技術。而在嵌入式硬體上,早期因為硬體設備較差,處理器運算能力較差、記憶體較小 … 等等因素,導致在這部份的發展一直受到限制,隨著嵌入式硬體的運算能力提昇、智慧型手機的出現,將嵌入式硬體的使用推進至一個新的境界。更進一步ARM也提出了要進入伺服器市場的遠景,訂定了新一代ARM處理器規格。在此種種因素下,虛擬化技術得到了實現的可能性,同時也變得越來越重要。在ARM推出硬體輔助的平台之前,我們在原有的Linux KVM架構上,提供了ARM系列處理器的支援,以實現在嵌入式平台上運行多個作業系統的可能性,我們將此成果命名為ARMvisor。而在這當中I/O的效能對整個系統運作佔了不少的影響,從周邊裝置如網路卡、記憶卡等,到中斷控制器、間隔定時器,皆為I/O虛擬化所需要負責的部份。在這篇論文中我們將討論如何去做這部份的虛擬化,以及要如何將它針對效能進行最佳化。此外也會使用一些系統及I/O方面的檢測程式,去評估此作法的成效。
System Virtualization is getting mature in servers and personal computers, so we can run multiple operating systems on the same hardware at the same time by leverage the benefit of Virtualization. It is used commonly in cloud computing technology. However, there are some restrictions in embedded systems, such as worse computing power, less memory, and so on. Nowadays, the computing power of embedded processor becomes more powerful. In addition, ARM Company also plans to provide processor for server usage, and design a new specification of processor in advance. Therefore, the virtualization technology becomes more important and possible in embedded systems. We purpose an approach to implement system virtualization for ARM based on Linux module KVM, before ARM provides hardware-assistance platform. We named this approach ARMvisor. We find out the performance of I/O virtualization plays an important role. There are many devices may have an influence, such as network communication, block device access, interrupt controller … etc. We use Virtio and in-kernel-irqchip to improve the performance. In the thesis, we will also use some system benchmark (e.g., LMBench), and I/O benchmark (e.g., iperf) to evaluate the performance of ARMvisor.
1. VMWare. http://www.vmware.com/.
2. Xen. http://www.xen.org/.
3. KVM. http://www.linux-kvm.org/page/Main_Page.
4. OKL4 Microvisor. Open Kernel Labs.
http://www.ok-labs.com/products/okl4-microvisor.
5. The OKL4 Microvisor: Convergence Point of Microkernels and Hypervisors. Gernot Heiser, and Ben Leslie. New York : APSys '10 Proceedings of the first ACM asia-pacific workshop on Workshop on systems, 2010.
6. KVM for ARM. Christoffer Dall and Jason Nieh. Ottawa, Canada : s.n., June 2010. In Proceedings of the Ottawa Linux Symposium.
7. ARMvisor: System Virtualization for ARM. Jiun-Hung Ding, Chang-Jung Lin, Ping-Hao Chang, Chieh-Hao Tsang, Wei-Chung Hsu and Yeh-Ching Chung. Ottawa, Canada : s.n., July 2012. Linux Symposium.
8. Formal Requirements for Virtualizable Third Generation Architectures. Gerald J. Popek and Robert P.Goldberg. 1974. Communications of the ACM. pp. 17(7):412-421.
9. QEMU - Opensource processor emulator. http://wiki.qemu.org/Main_Page.
10. virtio: towards a de-facto standard for virtual I/O devices. Rusty Russell. New York : ACM SIGOPS Operating Systems Review, July 2008. pp. 95-103.
11. IBM. Virtio: An I/O virtualization framework for Linux.
http://www.ibm.com/developerworks/linux/library/l-virtio/index.html?ca=dgr-lnxw97Viriodth-LX&S_TACT=105AGX59&S_CMP=grlnxw97.
12. Intel® Virtualization Transforms It.
http://www.intel.com/technology/virtualization/.
13. ARM. AMBA Open Specifications.
http://www.arm.com/products/system-ip/amba/amba-open-specifications.php.
14. lmbench: portable tools for performance analysis. Larry McVoy and Carl Staelin. 1996. ATEC '96 Proceedings of the 1996 annual conference on USENIX Annual Technical Conference.
15. HDParm. http://sourceforge.net/projects/hdparm/.
16. Iperf. http://sourceforge.net/projects/iperf/.
17. MiBench: A free, commercially representative embedded benchmark suite. M. R. Guthaus, J. S. Ringenberg, D. Ernst, T. M. Austin, T. Mudge, and R. B. Brown. s.l. : WWC '01 Proceedings of the Workload Characterization, 2001.
18. Performance Measuring and Comparing of Virtual Machine Monitors. Jianhua Che, Qinming He, Qinghua Gao, Dawei Huang. 2008. Embedded and Ubiquitous Computing. pp. 381-386 .
19. ARM. ARM v8 White Paper.
http://www.arm.com/files/downloads/ARMv8_white_paper_v5.pdf.