utmem: Towards Memory Elasticity in Cloud Workloads

In environments where multiple virtual machines are colocated on the same physical host, the semantic gap between the host and the guests leads to suboptimal memory management. Solutions such as ballooning are unable to modify the amount of memory available to the guest fast enough to avoid performance degradation. Alternatives such as Transcendent Memory allow the guest to use host memory instead of swapping to disk. All these techniques are applied at the memory management subsystem level, resulting in cases where abrupt changes in memory utilization cause unnecessary guest-side swapping. We propose Userspace Transcendent Memory (utmem), a version of Transcendent Memory that can be directly utilized by applications without interference from the guest OS. Our results demonstrate that our approach succeeds in allowing the guests to rapidly adjust the amount of memory they use more efficiently than both ballooning and Transcendent Memory.

[1]  Qi Zhang,et al.  MemFlex: A Shared Memory Swapper for High Performance VM Execution , 2017, IEEE Transactions on Computers.

[2]  Gustavo Alonso,et al.  Application level ballooning for efficient server consolidation , 2013, EuroSys '13.

[3]  Hai Jin,et al.  Hotplug or Ballooning: A Comparative Study on Dynamic Memory Management Techniques for Virtual Machines , 2015, IEEE Transactions on Parallel and Distributed Systems.

[4]  Ki-Woong Park,et al.  HyperDealer: Reference-Pattern-Aware Instant Memory Balancing for Consolidated Virtual Machines , 2010, 2010 IEEE 3rd International Conference on Cloud Computing.

[5]  Chengzhong Xu,et al.  iBalloon : Self-Adaptive Virtual Machines Resource Provisioning , 2010 .

[6]  Chris Mason,et al.  Transcendent Memory and Linux , 2006 .

[7]  Rusty Russell,et al.  virtio: towards a de-facto standard for virtual I/O devices , 2008, OPSR.

[8]  Y. C. Tay,et al.  Ex-Tmem: Extending Transcendent Memory with Non-volatile Memory for Virtual Machines , 2014, 2014 IEEE Intl Conf on High Performance Computing and Communications, 2014 IEEE 6th Intl Symp on Cyberspace Safety and Security, 2014 IEEE 11th Intl Conf on Embedded Software and Syst (HPCC,CSS,ICESS).

[9]  H. Howie Huang,et al.  Mortar: filling the gaps in data center memory , 2013, SoCC.