Linux VMM memory management subsystem and Implementation

Author
HuDong
Advisor
ZhouDong
School
University of Electronic Science and Technology
Major
Communication and Information System
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2006
Downloads
374
Citations
6

Request the full text

Abstract

This dissertation derives from the Intel China Software Lab’s Linux VMM project. The Linux VMM project is to implement a VMM integrated Xen with VT. It can make up the paravirtualization shortcoming of Xen and supply a full virtualization environment for the guest OS running over it. At the same time, the Linux VMM has a similar performance as Xen does.On the basis of deep research and analysis of Xen, this dissertation expatiates on the design of Linux VMM core modules. The focus is the memory management subsystem,which virtualizes IA32 Memory Management Unit for the guest OS. Through the analysis and test of the Xen implementation, page thrashing is found and verified in the VMM. This thesis put forwards the Virtual Page Cache to solve the "page thrashing" problem. And an efficient Virtual Page Cache replacement algorithm is also introduced.Meanwhile, this dissertation gives the Linux VMM MMU virtualization model, which neatly fulfills the virtualization of MMU. The MMU virtualization model is divided into two parts: one is platform independent, another is platform dependent, which ease the transplantation to other platform. In the end, the dissertation introduces the MMU virtualization performance test, the result shows that the performance of Linux VMM is beyond our plan.

Table of contents

Chapter Introduction 9-12 1.1 Background 9-10 1.2 Overview of the research 10-11 1.2.1 this topic major work 10-11 1.2.2 of this thesis organization 11 1.3 Chapter Summary 11-12 Chapter II VMM technical presentations 12-27 2.1 virtual technology and its development background the 12-17 2.1.1 virtual technology brief 12-14 2.1.2 VMM System Overview 14-15 2.1.3 virtual technology problems in 15-17 2.2 VT Technical Guide 17-19 2.3 memory Management Overview 19-23 2.3.1 IA32 MMU working principle the 19-22 2.3.2 Linux memory management subsystem 22-23 2.4 Xen introduces 23-25 ?? 2.5 Chapter Summary 25-27 Chapter LINUX VMM system analysis 27-45 3.1 System Overview 27-28 3.2 Linux VMM core modules 28-39 3.2.1 the hypervisor 28-34 3.2.1.1 VMX, initialization (VMX the Initialization) 29 3.2.1.2 VMX domain configuration and management (VMX Domain Config Mgmt) 29 3.2.1.3 virtual CPU (Virtual CPU) 29-32 3.2.1.4 Virtual the MMU (Virtual MMU) 32 3.2.1.5 VMX domain scheduling (VMX Domain Scheduling) 32 3.2.1.6 event handler (Event Handler) 32-34 3.2.1.7 I / O architecture (I / O Infrastructure) 34 3.2.2 control panel 34-35 <br / > 3.2.3 device model 35-37 3.2.4 virtual block / NIC drivers 37-39 3.2.5 client operating system BIOS 39 3.3 operation research the 39-42 3.4 other architectures Research 42-44 3.5 Chapter Summary 44-45 Chapter memory management subsystem design and implementation 45-85 4.1 Xen memory management system of research and analysis the 45-55 4.1.1 Xen memory management 45-47 < br /> 4.1.2 client operating system physical memory 47-49 4.1.3 the Xen / Xenolinux virtual MMU design 49-55 4.1.3.1 direct mode shows 49-52 4.1.3.2 the shadow mode shows 52-55 4.2 Linux VMM the MMU virtualization analysis and design 55-68 4.2.1 Basic Thought 55-56 4.2.2 the Xen shadow mode problematic analysis 56-57 4.2.3 shadow model-based design 57-63 4.2.3.1 initialization mapping 57-58 4.2.3.2 the hypervisor page table 58-60 in 4.2.3.3 a VMExit processing routines 60 < br /> 4.2.3.4 MMIO handling routine 60-61 4.2.3.5 video memory virtualization the 61-63 4.2.4 Virtual the Page Cache Design 63-68 4.2.4.1 VMM page jitter 63 4.2.4.2 VPC analysis and design the 63-66 4.2.4.3 VPC page replacement algorithm 66-68 4.3 system interface 68-82 4.3.1 VPC 68-71 4.3.2 memory reserved 71 - 74 4.3.3 MMIO 74-77 the the 4.3.4 and MMU hypercalls to 4.3.5 shadow page tables 77-79 79 -82 4.4 performance test 82-84 4.4.1 test environment 82 4.4.2 Test Method 82-83 4.4.3 Test Results 83-84 4.5 Chapter Summary 84-85 Chapter V Conclusion 85-88 5.1 This work summarizes 85-86 5.2 Features and Innovation 86 5.3 insufficient and Prospects 86-87 5.4 Chapter Summary 87-88 Acknowledgements 88-89 Reference 89-91 Appendix 91-95 during the attack Shuo research achievements 95

Related dissertations

  1. Strategy Management Analysis of Micron Technology,Inc
  2. Research on Personalized Information Service of Digital Library in the Cloud Computing Environment
    HuXiuYun ·Hubei University of Technology ·2014 ·Master's thesis
  3. The Influence of Network Communication to Real Interpersonal Communication
    GuoZuo ·Northwest Normal University ·2013 ·Master's thesis
  4. The Research of Media Leisure in the Age of We Media
    ZhangSongSong ·Zhejiang University ·2013 ·Master's thesis
  5. Desisn of Switch Based on Shared Structure
    ZuoFeiHu ·WRI ·2012 ·Master's thesis
  6. Research on Architecture of Network Processor for Deep Packet Processing
    YuanBo ·Tsinghua University ·2013 ·Doctoral dissertation
  7. Research of the Moving Object Detection and Tracking
    HanRui ·Hefei University of Technology ·2013 ·Master's thesis
  8. A Study on the Realization of Integrated Management of Multi-platform Virtualization Environment
    YangHuaWei ·University of Jinan ·2013 ·Master's thesis
  9. Game Anti Plug System Design and Implement
  10. Research on Cache Strategy for Distributed Object-Based File System
  11. Overcommitting Memory by Initiative Share from KVM Guests
  12. A Study on Brain Areas and Networks Related to Memory and Recognition Task of English and Chinese
    LuoLin ·Guangzhou University ·2013 ·Master's thesis
  13. Research on the problem of survival advantage of memory processing
    WangZuoQing ·Northwestern University ·2014 ·Master's thesis
  14. Study on Hume's Theory of Self
    SunYingYing ·Nankai University ·2013 ·Doctoral dissertation
  15. Digital Network and Human Virtual Existence
    YangShaoHui ·Huaqiao University ·2013 ·Master's thesis
  16. Modern Chinese national humiliation commemoration of problem analysis - with the relationship between China and Japan as the center
    PengFei ·Tianjin Normal University ·2013 ·Master's thesis
  17. The Ethereal Beauty
    WuJunMing ·Guangzhou University ·2013 ·Master's thesis
  18. Comparative study of expression - painting and poetry in the time expression in painting time case
    ZhouZuo ·Central Academy of Fine Arts ·2014 ·Master's thesis
  19. Chinese Animation and the Native Place Culture Relations Research
    MingZhu ·Dalian Polytechnic University ·2012 ·Master's thesis
  20. Analysis and Study on the Practical of3D Animation Short Film Creation
    LeiZiAng ·Xi'an Academy of Fine Arts ·2013 ·Master's thesis