UPCommons. Portal del coneixement obert de la UPC
Publicación
Capítulo o parte de un libro (BookPart)
YOLO: Speeding Up VM and Docker Boot Time by Reducing I/O Operations
Although this comes as a surprise, the time to boot a Docker-based container can last as long as a virtual machine in high consolidated cloud scenarios. Because this time is critical as boot duration defines how an application can react w.r.t. demands’ fluctuations (horizontal elasticity), we present in this paper the YOLO mechanism (You Only Load Once). YOLO reduces the number of I/O operations generated during a boot process by relying on a boot image abstraction, a subset of the VM/container image that contains data blocks necessary to complete the boot operation. Whenever a VM or a container is booted, YOLO intercepts all read accesses and serves them directly from the boot image, which has been locally stored on fast access storage devices (e.g., memory, SSD, etc.). In addition to YOLO, we show that another mechanism is required to ensure that files related to VM/container management systems remain in the cache of the host OS. Our results show that the use of these two techniques can speed up the boot duration 2–13 times for VMs and 2 times for containers. The benefit on containers is limited due to internal choices of the docker design. We underline that our proposal can be easily applied to other types of virtualization (e.g., Xen) and containerization because it does not require intrusive modifications on the virtualization/container management system nor the base image structure., All experiments presented in this paper were carried out using the Grid'5000 testbed, supported by a scientific interest group hosted by Inria and including
CNRS, RENATER and several Universities as well as other organizations (see
https://www.grid5000.fr). This work is also a part of the BigStorage project,
H2020-MSCA-ITN-2014-642963, funded by the European Commission within the
Marie Skodowska-Curie Actions framework. This work was partially supported
by the Spanish Ministry of Science and Innovation under the TIN2015-65316
grant, the Generalitat de Catalunya under contract 2014-SGR-1051., Peer Reviewed