Write a Blog >>
VEE 2021
Fri 16 Apr 2021
Fri 16 Apr 2021 08:30 - 09:00 - Virtualized Compute Chair(s): Irene Zhang

The ability to dynamically increase or reduce the amount of memory available to a virtual machine is getting increasingly important: as one example, cloud users want to dynamically adjust the memory assigned to their virtual machines to optimize costs. Traditional memory hot(un)plug, such as hot(un)plugging emulated DIMMs, and memory ballooning can dynamically resize virtual machine memory. However, existing approaches provide limited flexibility, are incompatible with important technologies like vNUMA and fast operating system reboots, or are unsuitable when hosting untrusted virtual machines. To overcome these limitations, we introduce virtio-mem, a VIRTIO-based paravirtualized memory device, designed for fine-grained, NUMA-aware memory hot(un)plug in cloud environments. To showcase the adaptions needed in a hypervisor and a guest operating system to support virtio-mem, we describe our implementation in the QEMU/KVM hypervisor and Linux guests. We evaluate virtio-mem against traditional memory hot(un)plug and memory ballooning, showing that our approach enables assignment of memory in substantially smaller granularity per NUMA node than traditional memory hot(un)plug, such as 4 MiB on x86-64. In contrast to memory ballooning, virtio-mem is fully NUMA-aware and supports fast operating system reboots by design, while guaranteeing that malicious virtual machines, which try using more memory than agreed upon, can be detected reliably. We conclude that using paravirtualized memory devices for dynamically resizing virtual machine memory significantly increases flexibility and usability compared to state-of-the-art. A first version of virtio-mem for x86-64 has been integrated into upstream Linux and QEMU.

Fri 16 Apr

Displayed time zone: Pacific Time (US & Canada) change

08:30 - 10:00
Virtualized ComputeResearch Papers
Chair(s): Irene Zhang Microsoft Research
08:30
30m
Talk
virtio-mem: Paravirtualized Memory Hot(Un)Plug
Research Papers
David Hildenbrand Technical University of Munich, Martin Schulz Technical University of Munich
DOI
09:00
30m
Talk
Efficient LLVM-Based Dynamic Binary Translation
Research Papers
Alexis Engelke Technical University of Munich, Dominik Okwieka , Martin Schulz Technical University of Munich
DOI
09:30
30m
Talk
(No)Compromis: Paging Virtualization Is Not a Fatality
Research Papers
Boris Teabe , Peterson Yuhala , Alain Tchana Toulouse University, France, Fabian Hermenier , Daniel Hagimont Toulouse University, France, Gilles Muller Inria
DOI