Skip to main content

2019 | OriginalPaper | Buchkapitel

YOLO: Speeding Up VM and Docker Boot Time by Reducing I/O Operations

verfasst von : Thuy Linh Nguyen, Ramon Nou, Adrien Lebre

Erschienen in: Euro-Par 2019: Parallel Processing

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

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.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
2.
Zurück zum Zitat Bryant, R., et al.: Kaleidoscope: cloud micro-elasticity via VM state coloring. In: EuroSys 2011, pp. 273–286. ACM (2011) Bryant, R., et al.: Kaleidoscope: cloud micro-elasticity via VM state coloring. In: EuroSys 2011, pp. 273–286. ACM (2011)
6.
Zurück zum Zitat Harter, T., et al.: Slacker: fast distribution with lazy docker containers. In: FAST 2016, pp. 181–195 (2016) Harter, T., et al.: Slacker: fast distribution with lazy docker containers. In: FAST 2016, pp. 181–195 (2016)
7.
Zurück zum Zitat Jeswani, D., Gupta, M., De, P., Malani, A., Bellur, U.: Minimizing latency in serving requests through differential template caching in a cloud. In: IEEE CLOUD 2012, pp. 269–276. IEEE (2012) Jeswani, D., Gupta, M., De, P., Malani, A., Bellur, U.: Minimizing latency in serving requests through differential template caching in a cloud. In: IEEE CLOUD 2012, pp. 269–276. IEEE (2012)
8.
Zurück zum Zitat Knauth, T., Fetzer, C.: DreamServer: truly on-demand cloud services. In: ACM SYSTOR 2014. ACM (2014) Knauth, T., Fetzer, C.: DreamServer: truly on-demand cloud services. In: ACM SYSTOR 2014. ACM (2014)
9.
Zurück zum Zitat Lagar-Cavilla, H.A., et al.: SnowFlock: rapid virtual machine cloning for cloud computing. In: EuroSys 2009, pp. 1–12. ACM (2009) Lagar-Cavilla, H.A., et al.: SnowFlock: rapid virtual machine cloning for cloud computing. In: EuroSys 2009, pp. 1–12. ACM (2009)
10.
Zurück zum Zitat Mao, M., Humphrey, M.: A performance study on the VM startup time in the cloud. In: IEEE CLOUD 2012, pp. 423–430. IEEE (2012) Mao, M., Humphrey, M.: A performance study on the VM startup time in the cloud. In: IEEE CLOUD 2012, pp. 423–430. IEEE (2012)
11.
Zurück zum Zitat Merkel, D.: Docker: lightweight Linux containers for consistent development and deployment. Linux J. 2014(239), 2 (2014) Merkel, D.: Docker: lightweight Linux containers for consistent development and deployment. Linux J. 2014(239), 2 (2014)
12.
Zurück zum Zitat Nathan, S., Ghosh, R., Mukherjee, T., Narayanan, K.: CoMICon: a co-operative management system for docker container images. In: IEEE IC2E 2017, pp. 116–126 (2017) Nathan, S., Ghosh, R., Mukherjee, T., Narayanan, K.: CoMICon: a co-operative management system for docker container images. In: IEEE IC2E 2017, pp. 116–126 (2017)
13.
Zurück zum Zitat Nguyen, T.L., Lèbre, A.: Virtual machine boot time model. In: IEEE PDP 2017, pp. 430–437. IEEE (2017) Nguyen, T.L., Lèbre, A.: Virtual machine boot time model. In: IEEE PDP 2017, pp. 430–437. IEEE (2017)
14.
Zurück zum Zitat Nguyen, T.L., Lèbre, A.: Conducting thousands of experiments to analyze VMs, dockers and nested dockers boot time. Technical report (2018) Nguyen, T.L., Lèbre, A.: Conducting thousands of experiments to analyze VMs, dockers and nested dockers boot time. Technical report (2018)
17.
Zurück zum Zitat Razavi, K., Kielmann, T.: Scalable virtual machine deployment using VM image caches. In: SC 2013, p. 65. ACM (2013) Razavi, K., Kielmann, T.: Scalable virtual machine deployment using VM image caches. In: SC 2013, p. 65. ACM (2013)
18.
Zurück zum Zitat Razavi, K., Van Der Kolk, G., Kielmann, T.: Prebaked \(\mu \)VMs: scalable, instant VM startup for IAAS clouds. In: IEEE ICDCS 2015, pp. 245–255. IEEE (2015) Razavi, K., Van Der Kolk, G., Kielmann, T.: Prebaked \(\mu \)VMs: scalable, instant VM startup for IAAS clouds. In: IEEE ICDCS 2015, pp. 245–255. IEEE (2015)
19.
Zurück zum Zitat Vangoor, B.K.R., Tarasov, V., Zadok, E.: To FUSE or not to FUSE: performance of user-space file systems. FAST 2017, 59–72 (2017) Vangoor, B.K.R., Tarasov, V., Zadok, E.: To FUSE or not to FUSE: performance of user-space file systems. FAST 2017, 59–72 (2017)
20.
Zurück zum Zitat Vrable, M., et al.: Scalability, fidelity, and containment in the Potemkin virtual honeyfarm. In: ACM SOSP 2005, vol. 39, pp. 148–162. ACM (2005) Vrable, M., et al.: Scalability, fidelity, and containment in the Potemkin virtual honeyfarm. In: ACM SOSP 2005, vol. 39, pp. 148–162. ACM (2005)
21.
Zurück zum Zitat Wu, R., et al.: A reference model for virtual machine launching overhead. IEEE Trans. Cloud Comput. 4(3), 250–264 (2016)CrossRef Wu, R., et al.: A reference model for virtual machine launching overhead. IEEE Trans. Cloud Comput. 4(3), 250–264 (2016)CrossRef
22.
Zurück zum Zitat Zhang, I., Denniston, T., Baskakov, Y., Garthwaite, A.: Optimizing VM checkpointing for restore performance in VMware ESXi. In: USENIX Annual Technical Conference, pp. 1–12 (2013) Zhang, I., Denniston, T., Baskakov, Y., Garthwaite, A.: Optimizing VM checkpointing for restore performance in VMware ESXi. In: USENIX Annual Technical Conference, pp. 1–12 (2013)
23.
Zurück zum Zitat Zhang, Z., Li, D., Wu, K.: Large-scale virtual machines provisioning in clouds: challenges and approaches. Front. Comput. Sci. 10(1), 2–18 (2016)CrossRef Zhang, Z., Li, D., Wu, K.: Large-scale virtual machines provisioning in clouds: challenges and approaches. Front. Comput. Sci. 10(1), 2–18 (2016)CrossRef
Metadaten
Titel
YOLO: Speeding Up VM and Docker Boot Time by Reducing I/O Operations
verfasst von
Thuy Linh Nguyen
Ramon Nou
Adrien Lebre
Copyright-Jahr
2019
DOI
https://doi.org/10.1007/978-3-030-29400-7_20