跳到主要內容

臺灣博碩士論文加值系統

(3.235.120.150) 您好!臺灣時間:2021/08/06 02:55
字體大小: 字級放大   字級縮小   預設字形  
回查詢結果 :::

詳目顯示

我願授權國圖
: 
twitterline
研究生:胡佩君
研究生(外文):Pei-Chun Hu
論文名稱:虛擬機器監控程式效能改善之研究
論文名稱(外文):Research on the Performance Improvement of Virtual Machine Monitor
指導教授:馮立琪馮立琪引用關係
指導教授(外文):Li-Chi Feng
學位類別:碩士
校院名稱:長庚大學
系所名稱:資訊管理研究所
學門:電算機學門
學類:電算機一般學類
論文種類:學術論文
論文出版年:2005
畢業學年度:93
語文別:中文
論文頁數:93
中文關鍵詞:虛擬化伺服器整固虛擬機器監控程式分頁錯誤
外文關鍵詞:VirtualizationServer ConsolidationVMMPage Fault
相關次數:
  • 被引用被引用:0
  • 點閱點閱:240
  • 評分評分:
  • 下載下載:0
  • 收藏至我的研究室書目清單書目收藏:0
所謂系統虛擬化的設計,是以軟體實作出一虛擬層,透過該虛擬層管理與分配系統資源,使單一硬體平台上可同時執行多個虛擬系統,而各虛擬系統亦像在真正的硬體環境上執行一般。今日,由於處理器的運算能力已大幅超越軟體執行時所需之效能,因此藉由系統虛擬化的設計,將可有效提昇系統資源的使用率,協助企業達成伺服器整固(Server Consolidation)的目的,以提昇資訊架構的可管理性。
虛擬機器監控程式,為系統虛擬化實作中,介於底層硬體與上層作業系統間之虛擬層,其擁有系統整合與集中管理的能力,並提供彈性的作業環境與安全保護等特性,因而成為發展迅速的資訊技術之一,然而其執行效能低落的問題,也成為刻不容緩的研究議題。
本論文以Xen虛擬機器監控程式作為虛擬化系統中效能改善的實作對象。我們著眼於系統中頻繁發生的分頁錯誤,將分頁錯誤處理中與作業系統獨立的部份卸載至Xen處理,使Xen有能力協同上層作業系統處理分頁錯誤,以減少上下兩層來回溝通的次數。根據初步的系統效能測試,我們實作的Enhanced Xen在處理分頁錯誤上,其執行效能相較於一般Xen,已有明顯的改善。
The idea of “Virtualization” is to divide the system resources into multiple execution environments, by applying a concept of “Virtualization Layer”. Virtualization allows a platform to run multiple operating system images simultaneously and each one would behave as it was on the real machine. Since modern computers are sufficiently powerful, using virtualization will be the cost-effective solution to increase the utilization of the computer resources, and provide the “Server Consolidation” scenarios to make IT architecture more manageable.
A Virtual Machine Monitor (VMM) is the virtualization layer that abstracts the hardware resources for use by the operating systems running on it. While implementing the VMM has brought many noticeable benefits such as system integration, centralized control, operational flexibility and security etc., it is highly possible that this IT technology will be the new trend in the next few years. Therefore, issues of how to improve the execution performance of the VMM will be crucial in the future researches.
In this thesis, we attempt to improve the execution performance of “Xen VMM”. Due to the frequently occurred exception of page fault is the main factor that is enough to affect system performance, we offload the page fault handling routine from the upper guest OS, enhancing Xen to have capability of dealing with page fault exceptions generated by guest OSes, and achieve the performance improvement by effectively reducing the number of invoked hypercalls. According to the micro-benchmark evaluations, our system performance is better than the original Xen VMM.
誌謝 iii
中文摘要 iv
Abstract v
目 錄 vi
圖目錄 viii
表目錄 x
第一章 緒論 1
1.1 研究動機 1
1.2 研究貢獻 6
第二章 相關文獻探討 7
2.1 虛擬機器監控程式之發展沿革 7
2.2 虛擬機器監控程式於安全保護與驅動程式之研究 11
第三章 虛擬機器監控程式 15
3.1 虛擬機器與虛擬機器監控程式 16
3.2 虛擬機器監控程式之實作方式 19
3.2.1 Full System Virtualization 19
3.2.2 Para-virtualization 20
3.3 Xen虛擬機器監控程式 20
3.3.1 記憶體管理 23
3.3.2 CPU 28
3.3.3 Device I/O 29
第四章 XenLinux之分頁錯誤處理機制 30
4.1 do_page_fault() 30
4.2 Demand Paging 36
4.3 Copy On Write 46
4.4 Xen分頁處理機制對於系統效能之影響 48
第五章 系統設計與實作 51
5.1 系統規劃 51
5.2 系統需求 55
5.3 系統架構 56
5.4 系統流程 58
5.5 系統實作 60
5.5.1 Shared Memory 60
5.5.2 Modified XenLinux Kernel 62
5.5.3 Enhanced Xen Kernel 66
第六章 系統效能分析 70
6.1 實驗環境 70
6.2 實驗方法 71
6.3 實驗結果與分析 73
6.3.1 Context Switching Latency 73
6.3.2 Process Creation Latency 74
6.3.3 VM System Latency 75
6.3.4 Signal Handling Latency & System Call Overhead 77
第七章 結論與未來展望 78
參考文獻 80
[1] D. Aloni, “Cooperative Linux”, Proceedings of the Linux Symposium, July 2004.
[2] J. Andresen, “Virtual Machine Monitors”, 4th August 2004.
[3] A. Awadallah, M. Rosenblum, “The vMatrix: A Network of Virtual Machine Monitors for Dynamic Content Distribution”, 7th International Workshop on Web Content Caching and Distribution (WCW 2002), Boulder, Colorado, August 2002.
[4] P. Barham, B. Dragovic, K. Fraser, S. Hand, T. Harris, A. Ho, R. Neugebauer, I. Pratt, A. Warfield, “Xen and the Art of Virtualization “, Symposium on Operating Systems Principles, 2003.
[5] P. Bovet and M. Cesati, “Understanding the Linux Kernel”, O’Reilly, 2002.
[6] L. Breslau, P. Cao, L. Fan, G. Phillips, and S. Shenker, “Web Caching and Zip-like Distribution: Evidence and Implications”, in INFOCOM (1), 1999, pp. 126 – 134.
[7] K. Buchacker, H.J. Hoxer and V. Sieh, “Implementing a User Mode Linux with Minimal Changes from Original Kernel”, 9th International Linux System Technology Conference, September 4-6, 2002.
[8] J. Buzen, P. Chen, and R. Goldberg, “A Note on Virtual Machines and Software Reliability”, Proceedings of the workshop on virtual computer systems”, 1973.
[9] P. Chen, B. Noble, “When virtual is better than real”, Proceedings of the 2001 Workshop on Hot Topics in Operating Systems (HotOS), May 2001.
[10] E. Cheong, “Survey of Virtual Machine Research”, Aug. 2001, http://ptolemy.eecs.berkeley.edu/~celaine/osprelim/summaries/survey_of_virtual_machine_research.html
[11] A. Chou, J. Yang, B. Chelf, S. Hallem, and D. Engler, “An empirical study of operating system errors”, In Proc. of the 18th ACM Symposium on Operating System Principles, Banff, Canada, Oct. 2001.
[12] J. Creasy, “The Origin of the VM/370 Time-Sharing System”, IBM Journal of Research and Development, vol. 25, no. 5, p. 483, 1981.
[13] J. Duda and R. Cheriton, “Borrowed-Virtual-Time (BVT) scheduling: supporting latency-sensitive threads in a general-purpose scheduler”, In Proceedings of the 17th ACM SIGOPS Symposium on Operating Systems Principles, volume 33(5) of ACM Operating Systems Review, pages 261–276, Kiawah Island Resort, SC, USA, Dec. 1999.
[14] G. Dunlap, S. King, S. Cinar, M. Basray, P. Chen, “ReVirt: enabling intrusion analysis through virtual-machine logging and replay”, Proceedings of the 5th symposium on Operating systems design and implementation, 2002.
[15] R. Figueiredo, P. Dinda and J. Fortes, “A Case for Grid Computing on Virtual Machines”, ICDCS, 2003.
[16] K. Fraser, S. Hand, R. Neugebauer, I. Pratt, A. Warfield, M. Williamson, “Safe Hardware Access with the Xen Virtual Machine Monitor”, Published at the OASIS ASPLOS 2004 workshop, 2004.
[17] T. Garfinkel, B. Pfaff, J. Chow, M. Rosenblum, D. Boneh, “Terra: A Virtual Machine-based Platform for Trusted Computing”, The 9th Workshop on Hot Topics in Operating System, 2003.
[18] M. Gorman, “Understanding the Linux Virtual Memory Manager”, Prentice Hall PTR, 2004.
[19] H. Gum, “System/370 Extended Architecture: Facilities for Virtual Machines,” IBM Journal of Research and Development, vol. 27, no. 6, p. 530, 1983.
[20] M. Hand, “Self-Paging in the Nemesis Operating System”, University of Cambridge Computer Laboratory, 2004.
[21] X. Jiang, D. Xu, “SODA: a Service-On-Demand Architecture for Application Service Hosting Utility Platforms”, HPDC-12, 2003.
[22] I. Krsul, A. Ganguly, J. Zhang, J. Fortes, R. Figueiredo, “VMPlants: Providing and Managing Virtual Machine Execution Environments for Grid Computing”, SC 2004, 2004.
[23] N. Lawson, “Designing and Attacking Virtual Machine”, Cryptography Research, Inc., 2004.
[24] J. LeVasseur, V. Uhlig, J. Stoess, S. Gotz, “Unmodified Device Driver Reuse and Improved System Dependability via Virtual Machines”, 6th Symposium on Operating System Design and Implementation, OSDI 2004.
[25] L. McVoy, C. Staelin, “lmbench: Portable Tools for Performance Analysis”, Proceedings of the USENIX 1996 Annual Technical Conference San Diego, California, January 1996.
[26] J. Phelps, “CIO Update: Server Consolidation Can Offer a Range of Benefits”, Gartner, March 2004.
[27] M. Rosenblum and T. Garfinkel, “Virtual Machine Monitors: Current Technology and Future Trends”, the Flagship Publication of IEEE Computer Society, Vol. 38, No.5, pp.39-47, May 2005.
[28] R. Rose, “Survey of System Virtualization Techniques”, Technical report, 2004.
[29] S. Shankland, “Announcement of Xen’s inclusion in Fedora”, Feb. 2005, http://news.zdnet.co.uk/0,39020330,39187943,00.htm
[30] S. Shankland, “Novell to ship Xen in next Linux”, March 2005, http://www.zdnet.com.au/news/software/0,2000061733,39184207,00.htm
[31] J. Smith and R. Nair, “An Overview of Virtual Machine Architectures”, Morgan Kaufmann Publisher, 2004.
[32] W. Stallings, “Operating Systems, Forth Edition”, Prentice Hall, 2001.
[33] T. Vleck, “The IBM 360/67 and CP/CMS”, Nov. 2000, http://www.multicians.org/thvv/360-67.html
[34] A. Whitaker, M. Shaw, and S. Fribble., “Denali, Lightweight Virtual Machines for Distributed and Networked Applications”, Techinical Report, University of Washington, 2002.
[35] 邱國政,《利用虛擬機監控程式強化作業系統安全之研究》,長庚大學資訊管理研究所碩士論文,2004.
[36] Cooperative Linux, http://www.colinux.org/
[37] Computer Laboratory – Xen Virtual Machine Monitor,
http://www.cl.cam.ac.uk/Research/SRG/netos/xen/
[38] Computer Laboratory – Xenoservers,
http://www.cl.cam.ac.uk/Research/SRG/netos/xeno/
[39] IBM Research – Secure Hypervisor, http://www.research.ibm.com/secure_systems_department/projects/hypervisor/
[40] Lmbench – Tools for Performance Analysis, http://www.bitmover.com/lmbench/
[41] Microsoft Virtual Server 2005, http://www.microsoft.com/windowsserversystem/virtualserver/default.mspx
[42] Short History of IBM’s Virtual Machine,
http://www.cap-lore.com/CP.html
[43] The Plex86 Project, http://plex86.sourceforge.net
[44] User-Mode Linux, http://user-mode-linux.sourceforge.net/
[45] VMware, http://www.vmware.com/
[46] Vmware Virtaul Center, http://www.championsg.com/Champions_InnSite_V10.nsf/pages/VMware_VirtualCenter
[47] VirtualPC, http://www.microsoft.com/windows/virtualpc/default.mspx
[48] VM, http://web.yl.is.s.u-tokyo.ac.jp/meeting/wikipages/fswiki/wiki.cgi?page=VM%CE%D8%B9%D6
[49] http://www.digitimes.com.tw/Ext/Ext.asp
[50 http://taiwan.cnet.com/enterprise/technology/0,2000062852,20093625,00.htm
[51] http://taiwan.cnet.com/news/software/0,2000064574,20096601,00.htm
QRCODE
 
 
 
 
 
                                                                                                                                                                                                                                                                                                                                                                                                               
第一頁 上一頁 下一頁 最後一頁 top