簡易檢索 / 詳目顯示

研究生: 陳昱穎
Chen, Yuying
論文名稱: Improve 3D performance of the Qemu-Spice
在虛擬機器和虛擬桌面架構下優化其3D程式效能
指導教授: 鍾葉青
口試委員: 李哲榮
劉廣治
學位類別: 博士
Doctor
系所名稱: 電機資訊學院 - 資訊工程學系
Computer Science
論文出版年: 2012
畢業學年度: 100
語文別: 英文
論文頁數: 34
中文關鍵詞: 虛擬機器虛擬桌面3D
外文關鍵詞: Qemu, SPICE, 3D
相關次數: 點閱:2下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 隨著虛擬化技術的成熟,虛擬機器的應用範圍也越來越廣。從過去系統開發者的工具,到現在成為雲端內部的服務單位,虛擬化技術已開始面對一般使用者,變得越來越普遍。
    加上虛擬桌面的出現,以及手持式裝置的普及,可以想像未來人手一機操作著遠端個人系統的可能性。也因此,如何提供更流暢的虛擬系統效能來滿足遠端使用者的需求也成為一熱門話題。
    本篇論文的探討的部份是:與遠端虛擬機器互動時3D程式效能的問題與改善。研究的虛擬機器是Qemu-Kvm,分析其3D程式效能不彰的原因,並以API remoting的方法實作了一套完整的機制來加速其3D程式效能;同時結合了虛擬桌面Spice,讓使用者也能從遠端感受到流暢的3D效能。最後實驗顯示,3D程式在我們的實作後保持了流暢的視覺效果之餘,也能達到趨近於實體機器的效能。


    With the development of the technology of virtualization, the range of virtual machines’ usage becomes more and more widely. From being a tool of system developers in the past, virtual machines are now also the service unit in the cloud. They have come to the front of end users and becoming more and more popular.
    Coupled with the virtual desktop, and the popularity of handheld devices, it is possible that everyone uses a smart phone to operate their own personal system far in the cloud in the future. Therefore, how to improve the performance of virtual machines to meet the request of end users from afar is now a hot topic.
    The aim of this study is to improve the 3D performance of a remote virtual machine. The virtual machine we talked about in this paper is Qemu-Kvm. We analyzed the limited 3D performance in Qemu-Kvm, and provided an API-remoting approach to improve its performance. We also combined our work with Spice, which is a virtualized desktop, so end users can also enjoy the 3D performance from afar. Finally, experiments have shown that 3D applications can achieve not only smoothly visual effect but also good performance in our work.

    ABSTRACT II 誌謝……….. III LIST OF CONTENTS IV LIST OF FIGURES VI LIST OF TABLES VII Chapter 1 Introduction 1 1.1 The problem 2 Chapter 2 Related Work 4 Chapter 3 Background information 5 3.1 Qemu 5 3.2 Spice 6 3.3 Display system 8 3.3.1 X11 8 3.3.2 DRI 10 3.4 OpenGL 10 Chapter 4 Design and Implementation 12 4.1 Improve the 3D performance of the Qemu 12 GPU virtualization 12 4.1.1 Pass the OpenGL APIs from the guest to the host 13 4.1.2 Operate the real GPU 14 Security issue 14 API remoting 14 4.1.3 Push the result image back 16 4.1.4 Result 16 4.2 combine with the Spice 19 Chapter 5 Experiments and Optimization 22 5.1 Reduce the display overhead of the Spice 24 5.2 Reduce unnecessary traps 26 5.3 Optimize the display system with more accuracy 29 Chapter 6 Conclusion and Future Work 31 REFERENCE 33

    [1] J. LeVasseur, V. Uhlig, J. Stoess, and S. Gotz. “Unmodied device driver reuse and improved system dependability via virtual machines.” In OSDI'04: Proceedings of the 6th conference on Symposium on Opearting Systems Design & Implementation, pages 2-2, Berkeley, CA, USA, 2004. USENIX Association
    [2] G. Humphreys, M. Houston, R. Ng, R. Frank, S. Ahern, P. D. Kirchner, and J. T. Klosowski. “Chromium: a streamprocessing framework for interactive rendering on clusters.” In Proc. 29th Annual Conference on Computer Graphics and Interactive Techniques, pages 693–702, New York, NY, USA, 2002.
    [3] G. Humphreys, M. Eldridge, I. Buck, G. Stoll, M. Everett, and P. Hanrahan. “Wiregl: a scalable graphics system for clusters.” In SIGGRAPH '01: Proceedings of the 28th annual conference on Computer graphics and interactive techniques, pages 129-140, New York, NY, USA, 2001. ACM.
    [4] H. A. Lagar-Cavilla. “Vmm-independent graphics acceleration.” In Virtual Execution Environments, 2007.
    [5] VirtualGL. Homepage. 2010
    [6] B. Zhang, X. Wang, R. Lai, L. Yang, Y. Luo, X. Li, and Z. Wang, “A survey on i/o virtualization and optimization,” in ChinaGrid Conference (ChinaGrid), 2010 Fifth Annual, july 2010, pp. 117 –123.
    [7] SUGERMAN, J., VENKITACHALAM, G., AND LIM, B.-H. “Virtualizing I/O devices on VMware Workstation's hosted virtual machine monitor.” In USENIX Annual Technical Conference, General Track (2001), Y. Park, Ed., USENIX, pp. 1-14.
    [8] A. Weggerle, T. Schmitt, C. Low, C. Himpel, and P. Schulthess. “VirtGL - a lean approach to accelerated 3D graphics virtualization.” In Cloud Computing and Virtualization 2010, CCV ’10, 2010.

    無法下載圖示 全文公開日期 本全文未授權公開 (校內網路)
    全文公開日期 本全文未授權公開 (校外網路)

    QR CODE