Optimizing the migration of virtual computers

被引:110
作者
Sapuntzakis, CP [1 ]
Chandra, R [1 ]
Pfaff, B [1 ]
Chow, J [1 ]
Lam, MS [1 ]
Rosenblum, M [1 ]
机构
[1] Stanford Univ, Dept Comp Sci, Stanford, CA 94305 USA
来源
USENIX ASSOCIATION PROCEEDINGS OF THE FIFTH SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION | 2002年
关键词
D O I
10.1145/1060289.1060324
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
This paper shows how to quickly move the state of a running computer across a network, including the state in its disks, memory, CPU registers, and I/O devices. We call this state a capsule. Capsule state is hardware state, so it includes the entire operating system as well as applications and running processes. We have chosen to move x86 computer states because x86 computers are common, cheap, run the software we use, and have tools for migration. Unfortunately, x86 capsules can be large, containing hundreds of megabytes of memory and gigabytes of disk data. We have developed techniques to reduce the amount of data sent over the network: copy-on-write disks track just the updates to capsule disks, "ballooning" zeros unused memory, demand paging fetches only needed blocks, and hashing avoids sending blocks that already exist at the remote end. We demonstrate these optimizations in a prototype system that uses VMware GSX Server virtual machine monitor to create and run x86 capsules. The system targets networks as slow as 384 kbps. Our experimental results suggest that efficient capsule migration can improve user mobility and system management. Software updates or installations on a set of machines can be accomplished simply by distributing a capsule with the new changes. Assuming the presence of a prior capsule, the amount of traffic incurred is commensurate with the size of the update or installation package itself. Capsule migration makes it possible for machines to start running an application within 20 minutes on a 384 kbps link, without having to first install the application or even the underlying operating system. Furthermore, users' capsules can be migrated during a commute between home and work in even less time.
引用
收藏
页码:377 / 390
页数:14
相关论文
共 28 条
[1]  
ARPACIDUSSEAU AC, 2001, P 18 ACM S OP SYST P, P43
[2]  
Awadallah A., 2002, 7 INT WORKSH WEB CON
[3]  
Bugnion E, 1997, ACM T COMPUT SYST, V15, P412, DOI 10.1145/269005.266672
[4]  
Chabaud F, 1998, LECT NOTES COMPUT SC, V1462, P56, DOI 10.1007/BFb0055720
[5]  
CHEN P., 2001, P 8 IEEE WORKSH HOT
[6]  
Deutsch Peter., 1996, Zlib compressed data format specification version 3.3
[7]   SURVEY OF VIRTUAL MACHINE RESEARCH [J].
GOLDBERG, RP .
COMPUTER, 1974, 7 (06) :34-45
[8]  
GRIMSHAW A, 1999, CS9912 U VIRG DEP CO
[9]  
*IBM CORP, 1972, IBM VIRT MACH 370 PL
[10]   Mobile computing with the Rover toolkit [J].
Joseph, AD ;
Tauber, JA ;
Kaashoek, MF .
IEEE TRANSACTIONS ON COMPUTERS, 1997, 46 (03) :337-352