The Design and Implementation of hardware virtual machine

Author
ZhengShaoHui
Advisor
ZhouMingTian
School
University of Electronic Science and Technology
Major
Computer Software and Theory
Classification
TP303 The overall structure of the system structure
Degree
Master's thesis
Year
2008
Downloads
398
Citations
5

Request the full text

Abstract

In computer science, the virtualization technology can be combined or split existing computer resources, so that the performance of these resources for one or more of the operating system environment, which provides a new technique is superior to the original allocation of resources. Virtualization technology is the re-allocation of computer resources, improve the utilization of computer resources. The simulator is a collection of early virtualization technology, which only simulate the physical machine minimum instruction. Since this is a complete software solution for a Guest OS instruction translation execution need to monitor program performance has been low, but can support a wide range of operating systems. The the contrast, Pan virtualization technology has been relatively mature, stable start the modified guest OS has better performance tested. However, the Guest OS must be supported by the Pan virtualization technology has been modified. Only those open-source operating system can be used as a Guest OS, the commercial OS was shut out. Of this study hardware virtualization technology is a kind of simulator and Pan virtualization technology combined, not only to get close to the real physical machine performance, we should also support broader guest OS successfully start has not been modified. Guest OS. This article first introduced the significance of virtualization technology research and study the situation at home and abroad on the virtualization technology research. Summed up the basic theory of virtualization technology. Virtualization technology characteristics of its classification, compared the advantages and disadvantages of various types of virtualization technology, as well as the field of application. The article focuses on the virtual machine that supports hardware-based instruction. We predict that the type of virtual machine has a relatively good performance. This article elaborated the design and implementation of such virtual machine, including virtual machine CPU virtualization involves physical CPU VCPU mapping and scheduling;, we use the shadow page table memory virtualization. By reading this article, the reader can fully understand the hardware virtual machine work, following the steps described in this article, with reference readers can complete a simple virtual machine. Virtualization technology matured technically in recent years, and began to move toward diversification. A wide range of applications, and plays an important role, especially in the area of ??server and storage virtualization technology will play a decisive role. Due to space limitations, only gave a brief description of common applications. Finally, we successfully start has not been modified guest OS. Performance test reports to prove, we designed and implemented a virtual machine performance is close to the real physical machine successfully achieve our desired objectives.

Table of contents

Abstract 4-5 Abstract 5-14 Chapter Introduction 14-19 1.1 topics background 14-15 1.2 at home and abroad virtualization technology Research 15-16 1.3 I did research 16 1.4 this innovation 16-17 1.5 paper structure 17-19 The chapter virtualization Technical Overview 19-36 2.1 the basic concepts of virtualization technology 19-20 2.2 virtualization theoretical foundation 20-24 2.3 recognize virtualization technology 24-25 2.4 virtualization technology classification 25-29 2.4.1 hardware layer 26-27 2.4.2 hardware abstraction layer 27 2.4.3 instruction set architecture layer 27-28 2.4.4 operating system layer 28 2.4.5 library function layer 28-29 2.4.6 application layer 29 2.5 virtualization technology compared 29-30 2.6 Specification and standardization 30-31 2.7 designed virtual machine should consider several factors 31-32 2.8 at home and abroad virtualization progress 32-34 2.8.1 VMware 32-33 2.8.2 KVM 33-34 2.8.3 container virtualization technology 34 Typical applications 2.9 virtual machine 34-35 2.10 This chapter Summary 35-36 Chapter III processor virtualization 36-52 3.1 Pan virtual technology CPU virtualization 36-39 3.2 virtualization technology hardware support 39-42 3.2.1 virtual machine lifecycle 39-40 3.2.2 virtual machine control structure (VMCS) 40-41 3.2.3 virtual machine instructions 41-42 3.3 hardware virtual machine CPU virtualization 42-46 3.3.1 the HVM architecture model 42-44 3.3.2 HVM works 44-46 3.4 the HVM symmetric multi-processor support 46-51 3.4.1 UP and SMP interrupt system 47-48 3.4.2 hardware virtual machine SMP architecture 48 3.4.3 multi-processor resource configuration and testing 48-49 3.4.4 interrupt handling 49-50 3.4.5 multiprocessor start 50-51 3.5 This chapter Summary 51-52 Chapter memory virtualization 52-69 4.1 operating system, memory management REVIEW 52-54 4.2 memory virtualization common 54-56 4.2.1 implementation of memory virtualization causes 54-55 4.2.2 memory virtualization common method 55-56 4.3 shadow page table theoretical foundation 56-60 4.3.1 shadow page table 56-57 4.3.2 shadow page table works 57 4.3.3 LA to the HPA conversion process 57-59 the the 4.3.4 shadow page tables create 59-60 4.4 shadow page table implementation 60-65 4.4.1 virtual TLB mechanism 60-62 4.4.2 page fault handling 62-64 4.4.3 INVLPG instruction simulation 64- 4.4.4 CR3 switching simulation 64-65 4.5 shadow page tables to optimize 65-68 4.5.1 optimization algorithm design 65-67 4.5.2 GPT and SPT synchronization 67-68 4.6 This chapter Summary 68-69 the virtual machine performance optimization and test 69-77 5.1 performance test program design 69-70 5.1.1 determine the test points 69 5.1.2 Design test program 69-70 5.2 determine performance bottlenecks 70-72 5.2.1 test program improvement 70-71 5.2.2 Test results analysis 71-72 5.3 solution 72 5.4 hardware virtual machine performance test report 72-76 5.4.1 benchmark tool select 73 5.4.2 test environment 73-74 5.4.3 Performance test reports 74-75 5.4.4 performance scalability test reports 75-76 5.5 This chapter Summary 76-77 Chapter 6 Conclusions 77-79 6.1 Conclusion 77 6.2 next job outlook 77-79 Acknowledgements 79-80 the References 80-83 curriculum vitae and research 83

Related dissertations

  1. RT-Hypervisor: A Real Time Hypervisor for Embedded System
    LiuXiaoFen ·Fudan University ·2008 ·Master's thesis
  2. The Study and Design of Management System of Cloud Computing
  3. Implementation of Windows File System Virtualization Based on Sandbox Technology
  4. Design and Realization of Server Virtualization on Public Service Cloud Platform of China Mobile
    TianFeng ·Tianjin University ·2012 ·Master's thesis
  5. Research on Resource Virtualization in Cloud Manufacturing
    HuZhiNan ·Huaqiao University ·2013 ·Master's thesis
  6. The Research and Implementation of Resource Adaptive Allocation in a Virtual Environment
  7. Management Model and Running Mechanisms of Dualistic Coordination for Virtual Enterprise’s Harmonious Interaction
    TangKuiYu ·Harbin Institute of Technology ·2009 ·Doctoral dissertation
  8. Design and Implementation of Hadoop Architecture Full-Textsearch Engine Based on Virtualisation Technology
  9. Design and Implementation of the Virtualization Resource Pool in Commercial Banks
    XuKeZhou ·Xiamen University ·2014 ·Master's thesis
  10. Research of Virtualized Data Management Platform
  11. Analysis and Improvement of Video Transmission in SPICE
    QiaoYong ·Shandong University ·2013 ·Master's thesis
  12. Research and Application of Research Teaching Platform Based on Cloud Computing
    YangHua ·Hunan University ·2013 ·Master's thesis
  13. Research on an Open and Reusable Experimental Platform for Computer Science
  14. Design and Implementation of the Solution for Introducing Cloud Computing into the Information System of Shanghai Railway Bureau
    WangXueBin ·Shanghai Jiaotong University ·2013 ·Master's thesis
  15. Design and Implementation of Management Module of Virtual Desktop System
    HuangChao ·Sun Yat-sen University ·2013 ·Master's thesis
  16. Design and Implementation of Cloud Desktop System’s Desktop Managing Module Base on Cloudstack
    HuangChao ·Sun Yat-sen University ·2013 ·Master's thesis
  17. Reseach on Marching-on In-time Scheme and the Fast Algorithm of Time Domain Integral Equation
  18. KVM-based Cloud Computing Management Platform Design and Implementation
  19. Design and Implementation of Cloud Computing Platform for Municipal Tobacco Company
    ChenHaiYong ·Xiamen University ·2013 ·Master's thesis
  20. Design and implementation of plant phenology observation system in cloud environment
    SunYong ·Yunnan University ·2013 ·Master's thesis