Principles and Performance Characteristics of Algorithms for Live VM Migration

Petter Svärd, Benoît Hudzia, Steve Walsh, Johan Tordsson, Erik Elmroth

ACM SIGOPS Operating Systems Review · 2015 · 41 citations · 37 references

Concepts

TL;DR

Live migration of virtual machines, first demonstrated by Clark et al. in 2005, has become a standard hypervisor feature and a research focus largely on performance improvements of Clark‑style techniques. This work seeks to move beyond incremental optimizations by gaining a deeper understanding of the fundamental principles underlying live migration. The authors identify five core properties of live migration, use them to analyze and compare precopy, postcopy, and hybrid approaches—including Clark‑derived and RDMA in‑kernel variants—and validate the analysis with experiments on large‑memory VMs with high dirty‑page rates.

Abstract

Since first demonstrated by Clark et al. in 2005, live migration of virtual machines has both become a standard feature of hypervisors and created an active field of research. However, the rich ongoing research in live migration focusmainly on performance improvements to well-known techniques, most of them being variations of the Clark approach. In order to advance live migration beyond incremental performance improvements, it is important to gain a deeper understanding of the live migration problem itself and its underlying principles. To address this issue, this contribution takes a step back and investigates the essential characteristics of live migration. The paper identifies five fundamental properties of live migration and uses these to investigate, categorize, and compare three approaches to live migration: precopy, postcopy and hybrid. The evaluated algorithms include well-known techniques derived from that of Clark as well as novel RDMA in-kernel approaches. Our analysis of the fundamental properties of the algorithms is validated by a set of experiments. In these, we migrate virtual machines with large memory sizes hosting workloads with high page dirtying rates to expose differences and limitations of the different approaches. Finally, we provide guidelines for which approach to use in different scenarios.

References

37