Virtual Machine (VM) cloning is to create a replica of a source virtual machine (parent virtual machine); the replica, also called child virtual machine, owns exactly the same executing status as parent virtual machine. Fast live cloning guarantees that, during the period of cloning, the services running on the parent virtual machine observe no performance degradation. There are three important goals for fast live cloning: reducing the total cloning time, minimizing the suspension time of the parent virtual machine, and maximizing resource sharing between the parent virtual machine and the child virtual machine. This paper exploits Copy-on-Write (CoW) mechanism fully to minimize the time of duplicating active main memory and secondary storage of the parent virtual machine. As a result, out experiments show that the total cloning time of a virtual machine on Xen virtual machine monitor can be confined within several hundred milliseconds and the downtime of parent virtual machine is limited to tens of milliseconds, close to VMM’s scheduling interval. Experiments also show that the parent virtual machine highly shares memory with the child virtual machine as long as both virtual machines continue executing the same applications.
[1]
Zhendong Su,et al.
ExecRecorder: VM-based full-system replay for attack analysis and system recovery
,
2006,
ASID '06.
[2]
Michael Vrable,et al.
Scalability, fidelity, and containment in the potemkin virtual honeyfarm
,
2005,
SOSP '05.
[3]
Carl A. Waldspurger,et al.
Memory resource management in VMware ESX server
,
2002,
OSDI '02.
[4]
Andrew Warfield,et al.
Live migration of virtual machines
,
2005,
NSDI.
[5]
Andrew Warfield,et al.
Parallax: Managing Storage for a Million Machines
,
2005,
HotOS.
[6]
Jeff Dike,et al.
A user-mode port of the Linux kernel
,
2000,
Annual Linux Showcase & Conference.