Skip to main content

2020 | OriginalPaper | Buchkapitel

Exit-Less Hypercall: Asynchronous System Calls in Virtualized Processes

verfasst von : Guoxi Li, Wenhai Lin, Wenzhi Chen

Erschienen in: Algorithms and Architectures for Parallel Processing

Verlag: Springer International Publishing

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

search-config
loading …

Abstract

Many projects of virtualized processes are emerging for less overhead than traditional virtual machines and more isolation than containers. A virtualized process uses hardware virtualization to provide a process abstraction. The virtualized processes are deemed as inefficient compared against native processes using system calls since hypercalls they use cause high-overhead context switches.
However, current performance of system calls is severely damaged by Kernel Page Table Isolation (KPTI) while hypercalls are unaffected. Unexpectedly, that gives hopes for virtualized processes to reach competitive performance against native processes.
In this paper, we propose and implement Exit-Less Hypercall, a new style of execution framework in virtualized processes by introducing asynchronity, new thread models and adaptive migration.
We evaluate the prototype and make a detailed analysis on the impacts of context switches from the native and virtualized processes with KPTI. Moreover, the experiments also show that Exit-Less Hypercall achieves a good performance improvement of up to 121% on virtualized processes using legacy hypercalls and even outperforms native processes using legacy system calls with KPTI by 81%.

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
1.
Zurück zum Zitat Engler, D., et al.: Exokernel: an operating system architecture for application-level resource management. ACM SIGOPS Oper. Syst. Rev. 29(5), 251–266 (1995)CrossRef Engler, D., et al.: Exokernel: an operating system architecture for application-level resource management. ACM SIGOPS Oper. Syst. Rev. 29(5), 251–266 (1995)CrossRef
2.
Zurück zum Zitat Cheriton, D.R., Duda, K.J.: A caching model of operating system kernel functionality. In: Proceedings of the 1st USENIX Conference on Operating Systems Design and Implementation, p. 14. USENIX Association (1994) Cheriton, D.R., Duda, K.J.: A caching model of operating system kernel functionality. In: Proceedings of the 1st USENIX Conference on Operating Systems Design and Implementation, p. 14. USENIX Association (1994)
3.
Zurück zum Zitat Leslie, I.M., et al.: The design and implementation of an operating system to support distributed multimedia applications. IEEE J. Sel. Areas Commun. 14(7), 1280–1297 (1996)CrossRef Leslie, I.M., et al.: The design and implementation of an operating system to support distributed multimedia applications. IEEE J. Sel. Areas Commun. 14(7), 1280–1297 (1996)CrossRef
4.
Zurück zum Zitat Lipp, M., et al.: Meltdown: reading kernel memory from user space. In: 27th USENIX Security Symposium (USENIX Security 2018), pp. 973–990 (2018) Lipp, M., et al.: Meltdown: reading kernel memory from user space. In: 27th USENIX Security Symposium (USENIX Security 2018), pp. 973–990 (2018)
7.
Zurück zum Zitat Belay, A., et al.: Dune: safe user-level access to privileged CPU features. In: Presented as Part of the 10th USENIX Symposium on Operating Systems Design and Implementation (OSDI 2012), pp. 335–348 (2012) Belay, A., et al.: Dune: safe user-level access to privileged CPU features. In: Presented as Part of the 10th USENIX Symposium on Operating Systems Design and Implementation (OSDI 2012), pp. 335–348 (2012)
8.
Zurück zum Zitat Madhavapeddy, A., et al.: Unikernels: library operating systems for the cloud. In: Proceedings of the ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS), pp. 461–472 (2013) Madhavapeddy, A., et al.: Unikernels: library operating systems for the cloud. In: Proceedings of the ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS), pp. 461–472 (2013)
11.
Zurück zum Zitat Soares, L., Stumm, M.: FlexSC: flexible system call scheduling with exception-less system calls. In: OSDI, vol. 10, pp. 1–8 (2010) Soares, L., Stumm, M.: FlexSC: flexible system call scheduling with exception-less system calls. In: OSDI, vol. 10, pp. 1–8 (2010)
12.
Zurück zum Zitat Nikolaev, R., Back, G.: VirtuOS: an operating system with kernel virtualization. In: Proceedings of the Twenty-Fourth ACM Symposium on Operating Systems Principles, pp. 116–132. ACM (2013) Nikolaev, R., Back, G.: VirtuOS: an operating system with kernel virtualization. In: Proceedings of the Twenty-Fourth ACM Symposium on Operating Systems Principles, pp. 116–132. ACM (2013)
16.
Zurück zum Zitat Madhavapeddy, A., et al.: Unikernels: the rise of the virtual library operating system. Commun. ACM 57(1), 61–69 (2014)CrossRef Madhavapeddy, A., et al.: Unikernels: the rise of the virtual library operating system. Commun. ACM 57(1), 61–69 (2014)CrossRef
17.
Zurück zum Zitat Williams, D., et al.: Unikernels as processes. In: Proceedings of the ACM Symposium on Cloud Computing, pp. 199–211. ACM (2018) Williams, D., et al.: Unikernels as processes. In: Proceedings of the ACM Symposium on Cloud Computing, pp. 199–211. ACM (2018)
18.
Zurück zum Zitat Fromm, R., Treuhaft, N.: Revisiting the cache interference costs of context switching. Computer Science Division, University of California-Berkeley (1996) Fromm, R., Treuhaft, N.: Revisiting the cache interference costs of context switching. Computer Science Division, University of California-Berkeley (1996)
Metadaten
Titel
Exit-Less Hypercall: Asynchronous System Calls in Virtualized Processes
verfasst von
Guoxi Li
Wenhai Lin
Wenzhi Chen
Copyright-Jahr
2020
DOI
https://doi.org/10.1007/978-3-030-38991-8_12