Swift Birth and Quick Death: Enabling Fast Parallel Guest Boot and Destruction in the Xen Hypervisor
The ability to quickly setup and tear down a virtual machine is critical for today’s cloud elasticity, as well as in numerous other scenarios: guest migration/consolidation, event-driven invocation of micro-services, dynamically adaptive unikernel-based applications, micro-reboots for security or stability, etc.
In this paper, we focus on the process of setting up/freeing the hypervisor and host control layer data structures at boot/destruction time, showing that it does not scale in current virtualization solutions. In addition to the direct overhead of long VM setup/destruction times, we demonstrate by experimentation indirect costs on real world auto scaling systems. Focusing on the popular Xen hypervisor, we identify three critical issues hindering the scalability of the boot and destruction processes: serialized boot, unscalable interactions with the Xenstore at guest creation time, and remote NUMA memory scrubbing at destruction time. For each of these issues we present the design and implementation of a solution in the Xen infrastructure: parallel boot with fine-grained locking, caching of Xenstore data, and local NUMA scrubbing. We evaluate these solutions using microbenchmarks, macrobenchmarks, and on real world traces. Results show that our work improves the current Xen implementation by a significant factor, for example macrobenchmarks indicate a speedup of more than 4X in loaded scenarios.
Sat 8 AprDisplayed time zone: Azores change
10:45 - 12:15 | |||
10:45 30mTalk | Swift Birth and Quick Death: Enabling Fast Parallel Guest Boot and Destruction in the Xen Hypervisor Session 1 Vlad Nitu Toulouse University, France, Pierre Olivier Virginia Tech, USA, Alain Tchana Toulouse University, France, Daniel Chiba Virginia Tech, USA, Antonio Barbalace Virginia Tech, USA, Daniel Hagimont Toulouse University, France, Binoy Ravindran Virginia Tech | ||
11:15 30mTalk | Unikernels Everywhere: The Case for Elastic CDNs Session 1 Simon Kuenzer NEC Europe Ltd., Anton Ivanov NEC Europe Ltd., Filipe Manco NEC Europe Ltd., Jose Mendes NEC Europe Ltd., Yuri Volchkov NEC Europe Ltd., Florian Schmidt NEC Europe Ltd., Kenichi Yasukata NEC Europe Ltd., Michio Honda NEC Europe Ltd., Felipe Huici NEC Europe Ltd. | ||
11:45 30mTalk | MigVisor: Accurate Prediction of VM Live Migration Behavior using a Working-Set Pattern Model Session 1 Jinshi Zhang Shanghai Jiao Tong University, Yaozu Dong Intel Asia-Pacific R&D Ltd, China, Li Jian , Haibing Guan Shanghai Jiao Tong University |