Summary: | 碩士 === 國立清華大學 === 資訊工程學系 === 102 === The four abilities of virtual machines (VMs): emulation, consolidation, isolation, and migra-tion, have made virtualization an important technique in cloud computing and resource provision-ing. Among them, the ability of migration that can move a VM among different physical machines without disrupting the running services on it has many applications, such as dynamic resource real-location.
In this thesis, we proposed a technique, called wormhole migration, which allows a VM to be fast migrated between two physical machines back and forth frequently. Such mechanism can be very useful in some applications, three of which were presented here. The first is the fast failover, which switches the running services to a redundant machine when the original machine fails. The second one is the communication cost reduction for the parallel programs running on cloud plat-forms. The wormhole migration can move the frequent communicating VMs together with little overhead. The third one is for saving of power rate by migrating VMs to the zones of cheaper power rate periodically.
We have implemented the wormhole migration on the hypervisor QEMU/KVM (Kernel Vir-tual Machine) by modifying the live migration mechanism of libvirt. A wormhole tunnel between two physical machines is built in the first migration, and used to transmit the VM later. Unlike the ordinary VM live migration, the wormhole migration only needs to transmit the new dirty pages, which saves the migration duration and network bandwidth. We also investigate the wormhole migration with snapshot, which can further save the computational resources for physical machines. Experiments showed that by using wormhole migration, the duration time can be reduced 4x and the network bandwidth usage can be saved by 90% for best case.
|