Research on Key Technologies of On-demand Deployment of Virtual Machines in Distributed Environments

Author
ChenBin
Advisor
WangZuo , XiaoZuo
School
National University of Defense Science and Technology
Major
Computer Science and Technology
Classification
TP302 Design and Performance Analysis
Degree
Doctoral dissertation
Year
2010
Downloads
616
Citations
2

Request the full text

Abstract

As an important virtualization technology, system virtual machine (VM) has many good characteristics, such as cross-platform, strong isolation, legacy application support and mobility, etc, and has bee increasingly applied to many distributed computing fields, such as grid computing, cloud computing, cluster computing and mobile computing, etc to solve those problems difficult to be solved by traditional approaches, such as system migration, security and isolation, system management, etc.To successfully apply the VM technology to distributed computing environments, the VMs must be able to be deployed fast to the target computing nodes and to run with low performance penalty on them. VM deployment is a process of distributing the VM images which include the VM state to the target computing nodes and then starting/resuming the VMs on them. Since a VM image usually has a large size, traditional VM technologies and deployment mechanisms will cause high deploying cost in distributed environments, and are difficult to achieve fast VM deployment and efficient VM running at user sides, especially in large-scale computing environments or low-bandwidth and high-latency network environments.This thesis proposes an on-demand VM deployment mechanism based on fine-grained splitting of VM image. The mechanism deploys part of the VM image rather than the whole so as to achieve fast and efficient VM deployment in distribute environments. The work of this thesis mainly involves four aspects: the VMM (Virtual Machine Monitor) support for on-demand VM deployment, the VM image and software management mechanism, the on-demand VM image distributing mechanism, and the mechanism for efficient VM running at user sides. Specifically, the thesis makes the following contributions:Firstly, the thesis designs a new COW virtual block device (VBD) for the block device virtualization layer in VMM to solve the problem of disk access performance degrading linearly with the depth of COW disk hierarchy in traditional COW VBDs. The new VBD optimizes the block addressing approach and the block storing granularity in the traditional COW VBDs, for which it can split the traditional monolithic large-sized VM image into many small-sized COW disk images without impairing the access performance of virtual disk. To better support on-demand VM deployment in distributed environments, the new COW VBD is also extended to support demand-fetch and shared memory management functions. Theoretical analysis and experiments show that the new COW VBD has better performance than the traditional COW VBDs, especially in the case of deep COW disk hierarchy.Secondly, long-term or frequent software management in VM environments may result in large numbers of COW disk images, causing disk space wastage and making the management of VM images difficult. Based on the generic COW disk model, the thesis proposes two COW disk reclamation mechanisms to reclaim the reclaimable disk space in the old-version COW disks and to maintain the number of COW disks in a specific range. Experiments show that the two mechanisms can effectively reclaim the old-version COW disks and control the number of COW disks so as to greatly reduce the disk space wastage and to ease the management of VM images, supporting long-term or frequent COW VBD-based software management in VM environments.Thirdly, the thesis proposes an on-demand VM deployment mechanism based on fine-grained splitting of VM image to support fast and efficient VM deployment in distributed environments. The mechanism utilizes the new COW VBD to split the traditional monolithic large-sized VM image into multiple small-sized COW disk images at the basic granularity of a single kind of software, and then distributes them to the user sides on demand so as to achieve fast VM image distributing. Since most disk access requests can be satisfied locally and demand-fetch technique is only used for a few missing blocks, the VM can run efficiently at user sides. An effective working set-based optimization approach is also proposed to reduce the deploying cost of those kinds of large-scale software. Experiments show that the on-demand VM deployment mechanism can greatly reduce the VM deployment cost and can better satisfy the VM deployment requirements for fast VM image distributing over the network and efficient VM running at user sides, supporting fast, on-demand VM deployment in distributed environments.Finally, to reduce the waiting time and also to achieve better VM performance at user sides, the thesis proposes a demand-driven VM image prefetch mechanism to further optimize the on-demand VM deployment process. The prefetch mechanism reduces the waiting time at user sides via demand-fetch technique, and improves the VM performance by prefetching the COW disks of those kinds of software being used at user sides. The thesis proposes an access frequency and dynamic priority-based prefetch target recognition algorithm to improve the accuracy of recognizing the prefetch target, and a dynamic adjustment mechanism to adjust the prefetch amount dynamically during the prefetching process so as to reduce the effect on the prefetching process caused by factors such as network condition, etc. The thesis also proposes a P2P-based prefetch mechanism based on an extended BitTorrent protocol to speed up the prefetching process. Experiments show that the prefetch mechanism, especially the P2P-based prefetch mechanism, can greatly reduce the waiting time and can also obviously improve the VM performance at user sides.

Table of contents

Abstract 10-12 Abstract 12-14 first chapter 14-36 1.1 Background 14-22 1.1.1 virtualization and virtual machine technology 14-19 1.1.2 virtual machine-based distributed computing technology 19-20 1.1.3 distributed virtual machine environment deployment 20-22 1.2 Research 22-30 1.2.1 China Research 22-28 1.2.2 domestic research 28-30 1.3 virtual machine deployment challenges 30-31 1.4 research 31-32 1.5 main innovations 32-33 1.6 papers organizational structure 33-36 Chapter II virtual machine image fine-grained segmentation mechanism 36-52 2.1 Overview 36-37 2.2 COW virtual block devices general model 37-40 2.2.1 Redirection mode write disk write 38-39 2.2.2 based the retrospective tracing method disk read 39-40 2.3 COW virtual block device optimization and expansion 40-47 2.3.1 global block bitmap file gbf 40-41 2.3.2 COW disk blocks 41-45 2.3.3 demand fetch block shared memory area management 45-46 2.3.4 gbf based disk read 46-47 2.4 implementation and performance evaluation 47-51 2.4.1 QEMU About 47 2.4.2 COW virtual block the equipment mcow 47-48 2.4.3 Performance Evaluation 48-51 2.5 This chapter Summary 51-52 software management mechanism based on virtual machine image segmentation Chapter 52-72 3.1 Overview 52-54 3.2 COW disk image recovery mechanisms 54-67 3.2.1 RPD recovery mechanisms 54-60 3.2.2 RMD recovery mechanism 60-66 3.2.3 Comparison and optimization 66-67 3.3 based the COW virtual block device software management 67 3.4 Implementation and performance evaluation 67-70 3.4.1 recovery tool 67-68 3.4.2 Performance Evaluation 68-70 3.5 This chapter Summary 70-72 Chapter image segmentation based on a virtual machine, the virtual machine demand deployment mechanism 72-96 4.1 Overview 72-74 4.2 the split virtual machine virtual machine images demand deployment 74-89 4.2.1 VMOD demand deployment model 75-76 4.2.2 virtual machine image segmentation of granularity and strategy 76-81 4.2.3 virtual machine image storage pool 81-82 4.2.4 virtual machine-demand deployment mechanism VMOD 82-87 4.2.5 COW disk set-based optimization deployment 87-88 4.2.6 based prefetch optimization deployment 88-89 4.3 prototype and performance evaluation 89-94 4.3.1 VMOD prototype realization 89 4.3.2 Performance Evaluation 89-94 4.4 This chapter Summary 94-96 the virtual machine on-demand deployment prefetch mechanism 96-122 5.1 Overview 96-98 5.2 based virtual machine prefetch demand deployment optimization 98-100 5.3 the prefetching performance indicators 100 5.4 pre-fetch mechanism components 100-103 5.4.1 prefetch client 101-102 5.4.2 prefetch service program 102 5.4.3 shared memory area 102-103 5.4.4 prefetch 103 5.5 prefetching strategies and algorithms 103-108 5.5.1 take target recognition algorithm based on access frequency and dynamic priority pre- 104-107 5.5.2 prefetching dynamic adjustment mechanism 107-108 5.6 based on peer-to-peer mode pre-fetch 108-112 5.6.1 standard BitTorrent protocol analysis 108-110 5.6.2 to expand BitTorrent protocol 110-111 5.6.3 prefetch mechanism based on P2P 111-112 5.7 implementation and performance evaluation 112-119 5.7.1 achieve 112-114 5.7.2 Performance Evaluation 114-119 5.8 This chapter Summary 119-122 Chapter Summary and Outlook 122-126 6.1 work summarizes 122-123 6.2 the next step of the work 123-126 Acknowledgements 126-128 the References 128-140 the author achieved academic achievements during the study period 140-142 the author research work to participate in the study period 142

Related dissertations

  1. Research on Key Technology of Device Virtualization
  2. The Research on Virtual Machine Based-on Xen
  3. Research on Performance and Availability Evaluation Methods of Virtualization Systems
    CheJianHua ·Zhejiang University ·2010 ·Doctoral dissertation
  4. A Virtual Machine Environment Based on Xen
  5. Techniques Based on Virtual Machine in Anti-Rootkit
  6. Based SmartVMM of I / O architecture design and implementation
    LiangEnGuang ·Zhejiang University ·2011 ·Master's thesis
  7. Research on Technology of CPU Virtualization Based on VT-x
  8. Research on Performance Monitoring Technique of Cluster Management of the Virtual System
    WangXiaoJuan ·Xi'an University of Petroleum ·2013 ·Master's thesis
  9. Research on Attacks and Prevention Technology Based on ARP and PPPoE
    ZhangWen ·Sichuan Normal University ·2013 ·Master's thesis
  10. Based on I/O Performance of Virtual Machine Resource Scheduling Algorithm Research
  11. The virtual system self-healing analysis model research and Application
  12. A Data Persistence System for Virtual Ma-chines in Cloud Environment
  13. A Comprehensive Checkpoint Mechanism for Virtual Disk Image
  14. Design and Optimization Method of Distributed COW Disk on Network Computing Environment
    LuoZheng ·Hunan University ·2013 ·Master's thesis
  15. Overcommitting Memory by Initiative Share from KVM Guests
  16. Research on Techniques of Bandwidth Controlling of Virtual Machine in Data Center
  17. Research of Optimizing Virtual Machine Checkpoint
  18. Research on the Optimization Mechanisms for Hot Standby Based on Remus
  19. Research on Live Migration of Virtual Machine across the Datacenter
    YangPengZuo ·Northwest Normal University ·2013 ·Master's thesis
  20. The Research of Dynamic Double-Level Layers VM Scheduler Strategies