Nothing Special   »   [go: up one dir, main page]

skip to main content
10.5555/2342821.2342846guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

An empirical study of memory sharing in virtual machines

Published: 13 June 2012 Publication History

Abstract

Content-based page sharing is a technique often used in virtualized environments to reduce server memory requirements. Many systems have been proposed to capture the benefits of page sharing. However, there have been few analyses of page sharing in general, both considering its real-world utility and typical sources of sharing potential. We provide insight into this issue through an exploration and analysis of memory traces captured from real user machines and controlled virtual machines. First, we observe that absolute sharing levels (excluding zero pages) generally remain under 15%, contrasting with prior work that has often reported savings of 30% or more. Second, we find that sharing within individual machines often accounts for nearly all (>90%) of the sharing potential within a set of machines, with inter-machine sharing contributing only a small amount. Moreover, even small differences between machines significantly reduce what little inter-machine sharing might otherwise be possible. Third, we find that OS features like address space layout randomization can further diminish sharing potential. These findings both temper expectations of real-world sharing gains and suggest that sharing efforts may be equally effective if employed within the operating system of a single machine, rather than exclusively targeting groups of virtual machines.

References

[1]
ARCANGELI, A., EIDUS, I., AND WRIGHT, C. Increasing memory density by using ksm. In OLS (July 2009).
[2]
BARHAM, P., DRAGOVIC, B., FRASER, K., HAND, S., HARRIS, T., HO, A., NEUGEBAUER, R., PRATT, I., AND WARFIELD, A. Xen and the art of virtualization. In SOSP (Oct. 2003).
[3]
BUGNION, E., DEVINE, S., AND ROSENBLUM, M. Disco: Running commodity operating systems on scalable multiprocessors. In TOCS (Nov. 1997).
[4]
CHANG, C.-R., WU, J.-J., AND LIU, P. An empirical study on memory sharing of virtual machines for server consolidation. In ISPA (May 2011).
[5]
The enhanced mitigation experience toolkit. http://support.microsoft.com/kb/2458544, 2011.
[6]
GUPTA, D., LEE, S., VRABLE, M., SAVAGE, S., SNOEREN, A. C., VARGHESE, G., VOELKER, G. M., AND VAHDAT, A. Difference engine: harnessing memory redundancy in virtual machines. In OSDI (Dec. 2008).
[7]
Kernel hardening roadmap. https://wiki.ubuntu.com/ SecurityTeam/Roadmap/KernelHardening, 2012.
[8]
Linux kernel aslr implementation. http://xorl.wordpress.com/2011/01/16/ linux-kernel-aslr-implementation/, 2011.
[9]
Mac os x lion security. http://www.apple.com/macosx/ whats-new/features.html#security, 2011.
[10]
How gdb disables aslr in mac os x lion. http://reverse.put.as/2011/08/11/ how-gdb-disables-aslr-in-mac-os-x-lion/.
[11]
Memory buddy trace repository. http://traces.cs. umass.edu/index.php/CpuMem/CpuMem, 2009.
[12]
MIŁÓS, G., MURRAY, D. G., HAND, S., AND FETTERMAN, M. A. Satori: enlightened page sharing. In USENIX ATC (June 2009).
[13]
Pax. http://pax.grsecurity.net/, 2012.
[14]
SHARMA, P., AND KULKARNI, P. Singleton: System-wide page deduplication in virtual environments. In HPDC (June 2012).
[15]
SINDELAR, M., SITARAMAN, R. K., AND SHENOY, P. Sharing-aware algorithms for virtual machine colocation. In SPAA (June 2011).
[16]
Dep/aslr implementation progress in popular third-party windows applications. White paper, Secunia Research, 2010.
[17]
VRABLE, M., MA, J., CHEN, J., MOORE, D., VANDEKIEFT, E., SNOEREN, A. C., VOELKER, G. M., AND SAVAGE, S. Scalability, fidelity, and containment in the potemkin virtual honey-farm. In SOSP (Oct. 2005).
[18]
Project vrc (virtual reality check). http://www. projectvrc.com/white-papers, 2010.
[19]
WALDSPURGER, C. A. Memory resource management in vmware esx server. SIGOPS Oper. Syst. Rev. 36 (Dec. 2002).
[20]
WHITHOUSE, O. An analysis of address space layout randomization on windows vista. White paper, Symantec Advanced Threat Research, http://www.symantec.com/ avcenter/reference/Address_Space_Layout_Randomization.pdf, 2007.
[21]
WOOD, T., TARASUK-LEVIN, G., SHENOY, P., DESNOYERS, P., CECCHET, E., AND CORNER, M. D. Memory buddies: exploiting page sharing for smart colocation in virtualized data centers. In VEE (Mar. 2009).
[22]
XIA, L., AND DINDA, P. A case for tracking and exploiting inter-node and intra-node memory content sharing in virtualized large-scale parallel systems. In VTDC (June 2012).

Cited By

View all
  • (2023)Towards Efficient Hugepage-aware Memory DeduplicationProceedings of the 4th Workshop on Resource Disaggregation and Serverless10.1145/3605181.3626285(15-21)Online publication date: 23-Oct-2023
  • (2019)USETLProceedings of the 10th ACM SIGOPS Asia-Pacific Workshop on Systems10.1145/3343737.3343750(23-30)Online publication date: 19-Aug-2019
  • (2019)CoWLightProceedings of the 8th International Workshop on Hardware and Architectural Support for Security and Privacy10.1145/3337167.3337170(1-8)Online publication date: 23-Jun-2019
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Guide Proceedings
USENIX ATC'12: Proceedings of the 2012 USENIX conference on Annual Technical Conference
June 2012
41 pages

Publisher

USENIX Association

United States

Publication History

Published: 13 June 2012

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 13 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2023)Towards Efficient Hugepage-aware Memory DeduplicationProceedings of the 4th Workshop on Resource Disaggregation and Serverless10.1145/3605181.3626285(15-21)Online publication date: 23-Oct-2023
  • (2019)USETLProceedings of the 10th ACM SIGOPS Asia-Pacific Workshop on Systems10.1145/3343737.3343750(23-30)Online publication date: 19-Aug-2019
  • (2019)CoWLightProceedings of the 8th International Workshop on Hardware and Architectural Support for Security and Privacy10.1145/3337167.3337170(1-8)Online publication date: 23-Jun-2019
  • (2018)Welcome to zombielandProceedings of the Thirteenth EuroSys Conference10.1145/3190508.3190537(1-12)Online publication date: 23-Apr-2018
  • (2018)Working Set Size Estimation Techniques in Virtualized EnvironmentsProceedings of the ACM on Measurement and Analysis of Computing Systems10.1145/31794222:1(1-22)Online publication date: 3-Apr-2018
  • (2017)DoubleDeckerProceedings of the 18th ACM/IFIP/USENIX Middleware Conference10.1145/3135974.3135992(235-247)Online publication date: 11-Dec-2017
  • (2017)Secure Page Fusion with VUsionProceedings of the 26th Symposium on Operating Systems Principles10.1145/3132747.3132781(531-545)Online publication date: 14-Oct-2017
  • (2017)PageforgeProceedings of the 50th Annual IEEE/ACM International Symposium on Microarchitecture10.1145/3123939.3124540(302-314)Online publication date: 14-Oct-2017
  • (2017)StopGapProceedings of the Symposium on Applied Computing10.1145/3019612.3019626(358-363)Online publication date: 3-Apr-2017
  • (2017)PDFSIEEE Transactions on Parallel and Distributed Systems10.1109/TPDS.2016.259407028:3(863-876)Online publication date: 1-Mar-2017
  • Show More Cited By

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media