Flexible Swapping for the Cloud
Milan Pandurov, Lukas Humbel, Dmitry Sepp, Adamos Ttofari, Leon Thomm,, Do Le Quoc, Siddharth Chandrasekaran, Sharan Santhanam, Chuan Ye, Shai, Bergman, Wei Wang, Sven Lundgren, Konstantinos Sagonas, Alberto Ros

TL;DR
This paper presents a customizable userspace memory management framework for VMs in cloud data centers that improves memory overcommit efficiency and performance over existing Linux-based solutions.
Contribution
It introduces a flexible, easy-to-deploy userspace API for VM memory management that supports custom policies, huge page swapping, and zero-copy I/O virtualization.
Findings
Outperforms Linux kernel baseline by up to 25% in efficiency.
Saves up to 10% additional memory with custom reclaimers and prefetchers.
Improves performance by 30% in limited memory scenarios.
Abstract
Memory has become the primary cost driver in cloud data centers. Yet, a significant portion of memory allocated to VMs in public clouds remains unused. To optimize this resource, "cold" memory can be reclaimed from VMs and stored on slower storage or compressed, enabling memory overcommit. Current overcommit systems rely on general-purpose OS swap mechanisms, which are not optimized for virtualized workloads, leading to missed memory-saving opportunities and ineffective use of optimizations like prefetchers. This paper introduces a userspace memory management framework designed for VMs. It enables custom policies that have full control over the virtual machines' memory using a simple userspace API, supports huge page-based swapping to satisfy VM performance requirements, is easy to deploy by leveraging Linux/KVM, and supports zero-copy I/O virtualization with shared VM memory. Our…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsPeer-to-Peer Network Technologies · Distributed systems and fault tolerance · Caching and Content Delivery
