Virtio-mem: Paravirtualized memory hot(un)plug

David Hildenbrand, Martin Schulz

Publikation: Beitrag in Buch/Bericht/KonferenzbandKonferenzbeitragBegutachtung

3 Zitate (Scopus)

Abstract

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.

OriginalspracheEnglisch
TitelVEE 2021 - Proceedings of the 17th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments
Redakteure/-innenBen L. Titzer, Harry Xu, Irene Zhang
Herausgeber (Verlag)Association for Computing Machinery, Inc
Seiten1-14
Seitenumfang14
ISBN (elektronisch)9781450383943
DOIs
PublikationsstatusVeröffentlicht - 16 Apr. 2021
Veranstaltung17th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments, VEE 2021 - Virtual, Online, USA/Vereinigte Staaten
Dauer: 16 Apr. 202116 Apr. 2021

Publikationsreihe

NameVEE 2021 - Proceedings of the 17th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments

Konferenz

Konferenz17th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments, VEE 2021
Land/GebietUSA/Vereinigte Staaten
OrtVirtual, Online
Zeitraum16/04/2116/04/21

Fingerprint

Untersuchen Sie die Forschungsthemen von „Virtio-mem: Paravirtualized memory hot(un)plug“. Zusammen bilden sie einen einzigartigen Fingerprint.

Dieses zitieren