Loading…
KVM Forum 2021 has ended
Virtual Event | September 15-16, 2021
View More Details

The Sched app allows you to build your schedule but is not a substitute for your event registration. In addition, you must be registered for KVM Forum to participate in the sessions. If you have not registered but would like to join us, please go to the event registration page to purchase a registration.

This schedule is automatically displayed in Coordinated Universal Time (UTC)Please select from the drop-down menu to the right to see the schedule in your preferred timezone above "Filter by Date."
Wednesday, September 15 • 14:35 - 15:00
Lessons Learned Building a Production Memory-Overcommit Solution - Florian Schmidt & Ivan Teterevkov, Nutanix

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
Linux is a great hypervisor platform, but it does not yet provide a complete solution for overcommitting VM memory efficiently. We present lessons learned from implementing a self-adapting memory-overcommit solution based on QEMU/kvm and libvirt. We discuss the drawbacks of different memory backends, such as hugetlbfs and memfd, the challenges of coordinating memory ballooning and hypervisor swap via cgroups, and how out-of-the-box live-migration performance can be catastrophic without careful per-page reclamation hints. In addition, we describe how to collect VM memory stats to estimate memory needs, especially in the absence of metrics provided by balloon drivers. This includes leveraging idle page tracking to obtain insights into VM memory usage, using sampling to avoid excessive CPU overhead. Finally, we explain how to tie those input metrics and output knobs together to produce a complete solution for adaptively overcommitting VM memory efficiently in production systems.

Speakers
avatar for Florian Schmidt

Florian Schmidt

Staff Engineer, Nutanix
Florian is a software engineer working on Nutanix's AHV hypervisor suite. Before that, he was one of the main developers of the Unikraft unikernel. During his Ph.D. work, he focused on network protocols and Xen virtualisation. Technical conferences he has spoken at include previous... Read More →
IT

Ivan Teterevkov

Senior Member of Technical Staff, Nutanix
Currently working at Nutanix on memory overcommit for Acropolis Hypervisor, a KVM and QEMU based product. Previously worked on various IoT and SaaS projects and has more than ten years of software development experience in Linux.



Wednesday September 15, 2021 14:35 - 15:00 UTC
TBA
  KVM Track 2
  • Presentation Slides Attached Yes