The Community for Technology Leaders
Green Image
Issue No. 09 - Sept. (2017 vol. 66)
ISSN: 0018-9340
pp: 1645-1652
Qi Zhang , School of Computer Science, Georgia Institute of Technology, Atlanta, GA
Ling Liu , School of Computer Science, Georgia Institute of Technology, Atlanta, GA
Gong Su , IBM Thomas J. Watson Research, Yorktown Heights, NY
Arun Iyengar , IBM Thomas J. Watson Research, Yorktown Heights, NY
ABSTRACT
Ballooning is a popular solution for dynamic memory balancing. However, existing solutions may perform poorly in the presence of heavy guest swapping. Furthermore, when the host has sufficient free memory, guest virtual machines (VMs) under memory pressure is not be able to use it in a timely fashion. Even after the guest VM has been recharged with sufficient memory via ballooning, the applications running on the VM are unable to utilize the free memory in guest VM to quickly recover from the severe performance degradation. To address these problems, we present MemFlex , a shared memory swapper for improving guest swapping performance in virtualized environment with three novel features: (1) MemFlex effectively utilizes host idle memory by redirecting the VM swapping traffic to the host-guest shared memory area. (2) MemFlex provides a hybrid memory swapping model, which treats a fast but small shared memory swap partition as the primary swap area whenever it is possible, and smoothly transits to the conventional disk-based VM swapping on demand. (3) Upon ballooned with sufficient VM memory, MemFlex provides a fast swap-in optimization, which enables the VM to proactively swap in the pages from the shared memory using an efficient batch implementation. Instead of relying on costly page faults, this optimization offers just-in-time performance recovery by enabling the memory intensive applications to quickly regain their runtime momentum. Performance evaluation results are presented to demonstrate the effectiveness of MemFlex when compared with existing swapping approaches.
INDEX TERMS
Memory management, Optimization, Virtualization, Degradation, Estimation, Instruction sets, Virtual machining,Virtualization, shared memory, memory swap
CITATION
Qi Zhang, Ling Liu, Gong Su, Arun Iyengar, "MemFlex: A Shared Memory Swapper for High Performance VM Execution", IEEE Transactions on Computers, vol. 66, no. , pp. 1645-1652, Sept. 2017, doi:10.1109/TC.2017.2686850
176 ms
(Ver 3.3 (11022016))