Efficient Checkpointing of Live Virtual Machines

被引:9
作者
Egger, Bernhard [1 ]
Cho, Younghyun [1 ]
Jo, Changyeon [1 ]
Park, Eunbyun [1 ]
Lee, Jaejin [1 ]
机构
[1] Seoul Natl Univ, Sch Comp Sci & Engn, Seoul, South Korea
基金
新加坡国家研究基金会;
关键词
Virtualization; Checkpointing; Xen;
D O I
10.1109/TC.2016.2519890
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The ability to save the state of a running virtual machine (VM) for later restoration is an important tool for home, server, and virtual desktop cloud (VDC) environments in order to achieve optimal and balanced hardware utilization. With guest memory sizes of four to eight gigabytes being the norm the time-and space-overhead of storing VM checkpoints still prevents an effective use of the technique. This work presents a method for fast and space-efficient checkpointing of VMs. Based on the observation that operating systems cache disk blocks in memory, the proposed technique transparently intercepts I/O operations and maintains an up-to-date mapping of memory pages and disk blocks containing identical data. At a checkpoint, those memory pages are excluded from the checkpoint image leading to a significant reduction of both the time and space required to take a checkpoint of a running VM. The broad applicability and good performance of the proposed method is demonstrated by an extensive set of experiments. We have implemented the technique for para-virtualized (PV), PVHVM, and fully-virtualized (HVM) guests in the Xen hypervisor. In comparison with an unmodified Xen hypervisor, experiments with Linux and Windows guests, on average, achieve a 86, 76, 53, and 47 percent reduction in the stored data and a 73, 62, 47, and 38 percent shorter time required to take a checkpoint for PV, PVHVM, HVM Linux, and HVM Windows guests, respectively.
引用
收藏
页码:3041 / 3054
页数:14
相关论文
共 30 条
[1]  
[Anonymous], 2006, USENIX ANN TECHN C A
[2]  
[Anonymous], 2009, DEP ELECT ENG COMPUT
[3]  
[Anonymous], 2003, ACM SIGOPS OPERATING
[4]  
[Anonymous], 2007, USENIX C NETW SYST D
[5]   Accelerating two-dimensional page walks for virtualized systems [J].
Bhargava, Ravi ;
Serebrin, Benjamin ;
Spadini, Francesco ;
Manne, Srilatha .
ACM SIGPLAN NOTICES, 2008, 43 (03) :26-35
[6]  
Bovet D. P., 2005, Understanding The Linux Kernel, V3rd
[7]   Hypevisor-based fault-tolerance [J].
Bressoud, TC ;
Schneider, FB .
ACM TRANSACTIONS ON COMPUTER SYSTEMS, 1996, 14 (01) :80-107
[8]  
Bugnion E, 1997, ACM T COMPUT SYST, V15, P412, DOI [10.1145/265924.265930, 10.1145/269005.266672]
[9]  
Clark C, 2005, USENIX ASSOCIATION PROCEEDINGS OF THE 2ND SYMPOSIUM ON NETWORKED SYSTEMS DESIGN & IMPLEMENTATION (NSDI '05), P273
[10]  
Cully B., 2008, P S NETW SYST DES IM, P161