Difference Engine: Harnessing Memory Redundancy in Virtual Machines

被引:115
作者
Gupta, Diwaker [1 ]
Lee, Sangmin [1 ]
Vrable, Michael [1 ]
Savage, Stefan [1 ]
Snoeren, Alex C. [1 ]
Varghese, George [1 ]
Voelker, Geoffrey M. [1 ]
Vahdat, Amin [1 ]
机构
[1] Univ Calif San Diego, San Diego, CA 92103 USA
关键词
D O I
10.1145/1831407.1831429
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Virtual machine monitors (VMMs) are a popular platform for Internet hosting centers and cloud-based compute services. By multiplexing hardware resources among virtual machines (VMs) running commodity operating systems, VMMs decrease both the capital outlay and management overhead of hosting centers. Appropriate placement and migration policies can take advantage of statistical multiplexing to effectively utilize available processors. However, main memory is not amenable to such multiplexing and is often the primary bottleneck in achieving higher degrees of consolidation. Previous efforts have shown that content-based page sharing provides modest decreases in the memory footprint of VMs running similar operating systems and applications. Our studies show that significant additional gains can be had by leveraging both subpage level sharing (through page patching) and incore memory compression. We build Difference Engine, an extension to the Xen VMM, to support each of these-in addition to standard copy-on-write full-page sharing-and demonstrate substantial savings across VMs running disparate workloads (up to 65%). In head-to-head memory-savings comparisons, Difference Engine outperforms VMware ESX server by a factor 1.6-2.5 for heterogeneous workloads. In all cases, the performance overhead of Difference Engine is less than 7%.
引用
收藏
页码:85 / 93
页数:9
相关论文
共 15 条
[1]  
[Anonymous], 1999, P USENIX ANN TECHN C
[2]  
[Anonymous], 2005, P USENIX ANN TECHN C
[3]  
[Anonymous], P USENIX ANN TECHN C
[4]  
Barham P., SOSP 2003
[5]  
Broder Andrei Z., 2000, P 11 ANN S COMB PATT
[6]  
BUGNION E, 1997, P 16 ACM S OP SYST P
[7]  
CECCHET E, 2002, P 17 ACM C OBJ OR PR
[8]  
Douglis F., 2003, P USENIX ANN TECHN C
[9]  
DOUGTIS F, 1993, P USENIX WINT TECHN
[10]  
KLOSTER JF, 2006, THESIS AALBORG U