Key Technologies of Performance Optimization for Virtual Machine Live Migration
- Author
- LiuHaiKun
- Advisor
- JinHai
- School
- Huazhong University of Science and Technology
- Major
- Computer System Architecture
- Classification
- TP302 Design and Performance Analysis
- Degree
- Doctoral dissertation
- Year
- 2012
- Downloads
- 690
- Citations
- 1
- Virtual machine migration
- pre-copy
- live checkpointing
- non-deterministic events record/replay
- fuzzy synthetic discrimination
Abstract
Live migration of virtual machines (VM) can seamlessly and transparently relocate a VM from physical machine to another machine. It is widely used for load balancing, power saving, fault tolerance and online maintenance, thus provides a significant benefit for administrators of data centers and clusters. VM live migration has became a key technology of virtualization, it provide significant advantages to construct flexible, scalable, and resource-efficiency large green datacenters. The research on virtual machine live migration is emerging in recent years, however, it have quickly attracted a lot of interest in research comites of virtualization technology. By now, there are still many issues that need to be further studied. First, there is still lack of performance prediction model for VM migration to guide migration decision making. Second, VM checkpointing, the technical support for VM migration, need to save a whole operation system, so the cost is relatively high. It needs optimizing techniques to develop a lightweight and transparent checkpointing mechanism. Third, the widely used pre-copying algorithm is not suit for all scenarios, for example, a memory intensive workload may lead to pre-copy inapplicable. At last, the performance of VM migration is mainly determined by the characteristic of applications and the selection of migration algorithms. There is still lack of a synthesized decision-making scheme to adaptively map different applications and different migration algorithms. This dissertation targets to the performance optimization of VM live migration, studies the key technologies of VM migration from four aspects.First, we propose the performance and energy prediction models for VM live migration. As migration costs may vary significantly for different workloads due to the variety of VM configurations and workload characteristics. Current study on VM placement mostly focus on the issue of trigger conditions (when) and destination selections (where), however, migration decision-making still lack model-guided methodologies to predict the migration cost. To make an optimal migration decision, we investigate design methodologies to minimize the migration overhead by quantitatively predicting the migration performance and energy cost. We thoroughly analyze the key parameters that affect the migration cost from theory to practice, and design two application-oblivious models for the cost prediction by using learning technique such as linear regression. To the best of our knowledge, this is the first kind of work to estimate VM live migration cost in terms of both performance and energy in a quantitative approach. The models should be one of criterias for migration decision making and foundation for algorithm design of VM placement. It can also guide the performance optimazation of VM live migration algorithm.Second, we propose free page evication, copy-on-write and increamental mechanism to optimize the performance of VM checkpointing, and implement a prototype for lightweight and live VM checkpointing, called VMckpt. Because the virtualization layer has little semantic knowledge about the operation system and the applications running atop, VM-layer checkpointing requires saving the entire operating system state rather than a single process. The overhead may render the approach impractical. To reduce the size of VM checkpoint, in this paper we propose a page eviction scheme and an incremental checkpointing mechanism to avoid saving unnecessary VM pages in the checkpoint. This scheme can significantly reduce the size of VM checkpoint, and thus decrease the time and space cost for saving and restoring a VM checkpoint. To keep the VM online transparently, we propose a live checkpointing mechanism by saving the memory image in a Copy-On-Write (COW) manner. The checkpointing downtime can be reduced to an imperceptible level.Third, we propose a novel algorithm of VM live migration based on VM live checkpointing and full-system logging/replay techiques, called CR/TR-Motion. Although previous memory-to-memory approaches demonstrate the effectiveness of live VM migration in local area networks (LAN), they are not applicable for all workloads and scenarios, especially for some memory-intensive workloads. Moreover, they would cause a long period of downtime in wide area network (WAN) environments. In this paper, we design and implement a novel approach, namely CR/TR-Motion, which adopts checkpointing/recovery and trace/replay technologies to provide fast, transparent VM migration for both LAN and WAN environments. In contrast to pre-copying algorithm, CR/TR-Motion synchronizes the migrated VM’s state using execution trace logged on the source host instead of dirty memory pages, and the destination host replays the logs till the target VM gets a consistent state with the source VM. As the data volume of log transferred during synchronization is much less than dirty pages, CR/TR-Motion can greatly reduce the migration downtime and network bandwidth consumption compared to pre-copy algorithm. Moreover, because CR/TR-Motion algorithm only requires a litter network bandwidth, it is espercially applicable for VM migration in WAN environment.At last, we propose a decision-making model for adaptive migration algorithm seclection based on application characteristics. The performance of live VM migration is mainly determined by the characteristic of applications and the seclection of migration algorithms. Currently, there is still neck of a synthetic mechanism for migration decision making to adaptively map different migration algorithms and different types of workloads or application scenarioes. After a thorough analysis of features of different migration algorithms, we choose three typical migration algorithms in this model, which are pre-copying, post-copying and CR/TR-Motion. We first construct the performance prediction models for each migration algorithm, and then online sample and analyse the application features, which may directly guide the migration algorithm selection. For some instance, the requirement of migration performance is non-deterministic or vague, we design a mapping algorithm between different applications and migration algorithms based on fuzzy theory. A case study shows that the fuzzy synthetic decision making can always choose the optimal migration algorithm for a typical application.
Table of contents
Summary 4-6
Abstract 6-11
1 Introduction 11-30
1.1 Background 11-16 <br / > 1.2 domestic and foreign research status 16-24
1.3 research 24-28
1.4 organizational Structure paper 28-30
2 virtual machine online performance and energy consumption prediction model migration 30-55
2.1 background 30-32
2.2 virtual machine migration performance prediction model 32-39 <br / > 2.3 virtual machine migration energy forecasting model 39-45
2.4 model validation system 45-48
2.5 model evaluation 48-54 <br / > 2.6 Summary 54-55
3 lightweight virtual machine online checkpoint technology 55-81
3.1 background 55-62
3.2 Save and restore complete checkpoint 62-63
3.3 memory-based optimization nbsp exclude empty checkpoint performance ; 63-67
3.4 nbsp saving mechanism based replication checkpoint write ; incremental saving mechanism 67-69
3.5 checkpoint 69-71
3.6 performance Evaluation 71-79
3.7 Summary 79 -81
4 based checkpoint and recording / playback technology of virtual machine live migration 81-109
4.1 background 81-83
4.2 uncertain events the record / playback 83-86
4.3 CR / TR-Motion migration algorithm design 86-94
4.4 CR / TR-Motion migration algorithm 94 - 99
4.5 performance Evaluation 99-108
4.6 Summary 108-109
5 application -aware adaptive characteristics of migration algorithm selection decision model 109 - 125
5.1 background 109-112
5.2 migration algorithm selection decision-making framework 112
5.3 migration algorithm performance analysis and modeling 112-115
5.4 adaptive migration algorithm selection instance 115-118
5.5 fuzzy comprehensive decision model analysis 118-121
5.6 performance Evaluation 121 - 124
5.7 summary 124-125
6 summary and Outlook 125-129
Thanks 129-131
References published 131-143
during a study for a doctorate in Appendix academic applications for invention patents and software copyright works nbsp doctorate during 143-146
Appendix 2 study ; 146-147
Appendix 3 major research projects to pursue a doctorate participate during 147-148
Appendix 4 CVs 148
Related dissertations
- Research on Trusted Security Technology in Cloud Computing Based on Virtual Machine
- Research and Implementation of Resource Scheduling Method Based on Openstack
- Cloud Data Centers Energy-saving Scheduling Algorithm Based on CPU Frequency Scaling
- Research on Some Issues of Data Security in Cloud Computing Services
- Research and Design on Load Balancing Technology in Virtual Computing Environment
- Research on the Efficient Resource Scheduling in Cloud Data Centers
- A Study and Optimization of Xcn Virtual Machine Migration for Telecommunications Services
- Research of Virtual Machine Incremental Migration in Cloud Computing Environment
- Research of Live Virtual Machine Migration Based on Dirty Page Probability Forecasting
- Research on Scene Migration of Computer Forensics in Cloud Computing Environment
- Research on Creating Virtual Private Networks for Enterprise Virtual Private Cloud Computing
- Study on Weight Analysis in Period Risk Assessment of Hydropower Project
- The Research on Multi-VM Fast Deployment Mechanism
- Research on Architecture and Algorithm of Live Migration in Xen Environment
- The Xen Dynamic Migration of Optimization and Research under the Excalibur System
- Research on Key Techniques of Virtual Server Consolidation
- Parallel Virtual Machine domain communication system