DOI QR코드

DOI QR Code

Effect of ASLR on Memory Duplicate Ratio in Cache-based Virtual Machine Live Migration

  • Received : 2014.02.03
  • Accepted : 2014.04.30
  • Published : 2014.08.31

Abstract

Cache based live migration method utilizes a cache, which is accessible to both side (remote and local), to reduce the virtual machine migration time, by transferring only irredundant data. However, address space layout randomization (ASLR) is proved to reduce the memory duplicate ratio between targeted migration memory and the migration cache. In this pager, we analyzed the behavior of ASLR to find out how it changes the physical memory contents of virtual machines. We found that among six virtual memory regions, only the modification to stack influences the page-level memory duplicate ratio. Experiments showed that: (1) the ASLR does not shift the heap region in sub-page level; (2) the stack reduces the duplicate page size among VMs which performed input replay around 40MB, when ASLR was enabled; (3) the size of memory pages, which can be reconstructed from the fresh booted up state, also reduces by about 60MB by ASLR. With those observations, when applying cache-based migration method, we can omit the stack region. While for other five regions, even a coarse page-level redundancy data detecting method can figure out most of the duplicate memory contents.

Keywords

References

  1. A. Kochut, H. Shaikh. "Desktop to cloud transformation planning," Proceedings of IEEE International Symposium on IPDPS, 2009.
  2. T. Das, P. Padala, V.N. Padmanabhan, R. Ramjee, K.G. Shin, "LiteGreen: Saving Energy in Networked Desktops Using Virtualization," Proceedings of USENIX Annual Technical Conference, 2010.
  3. J. Reich, M. Goraczko, A. Kansal, J. Padhye, "Sleepless in Seattle No Longer." Proceedings of USENIX Annual Technical Conference, 2010.
  4. R. Chandra, N. Zeldovich, C. Sapuntzakis, L.S. Lam, "The Collective: A Cache-Based Systems Management Architecture," Proceedings of USENIX Symposium on Networked Systems Design and Implementation, 2005.
  5. C. Clark, K. Fraser, S. Hand, J. Hanseny, E. July, C. Limpach, I. Pratt, A. Warfield, "Live Migration of Virtual Machines," Proceedings of USENIX Symposium of on Networked Systems Design and Implementation, 2005.
  6. A. Rai, R. Ramjee, A. Anand, "MiG: Efficient Migration of Desktop VMs using Semantic Compression," Proceesing of USENIX Annual Technical Conference, 2013.
  7. S. Barker, T. Wood, P. Shenoy, R. Sitaraman, "An Empirical Study of Memory Sharing in Virtual Machines," Proceesings of USENIX Annual Technical Conference, 2012.
  8. O. Whitehouse, "An Analysis of Address Space Layout Randomization on Windows Vista", Symantec Advanced Threat Research, 2007.
  9. H. Shacham, M. Page, B. Pfaff, E.J. Goh, N. Modadugu, D. Boneh, "On the Effectiveness of Address-space Randomization," Proceedings of ACM Conference on Computer and Comm. Security, pp. 298-307, 2004.