Swift Birth and Quick Death
Authors:
Open Access
- 8 April 2017
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-14
Abstract
The ability to quickly set up 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 set-up/destruction times, we demonstrate by experimentation the 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 micro-benchmarks, macro-benchmarks, and real world datacenter traces. Results show that our work improves the current Xen implementation by a significant factor, for example macro-benchmarks indicate a speedup of more than 4X in high-load scenarios.Keywords
This publication has 18 references indexed in Scilit:
- Picocenter2016
- DreamServer2014
- A Performance Study on the VM Startup Time in the Cloud2012
- Breaking up is hard to do2011
- Early Observations on the Performance of Windows AzureScientific Programming, 2011
- A Performance Analysis of EC2 Cloud Computing Services for Scientific Computing2010
- OXenstored2009
- VMPlants: Providing and Managing Virtual Machine Execution Environments for Grid Computing2005
- Denali2002
- The Nas Parallel BenchmarksThe International Journal of Supercomputing Applications, 1991