EUVIMEDEUVIMED entdecken
Crossref

Kernel vs. User-Level Networking: Don't Throw Out the Stack with the Interrupts

Peter Cai, Martin Karsten

Proceedings of the ACM on Measurement and Analysis of Computing Systems · 07.12.2023 · 7 (3) · 1-25

DOI: 10.1145/3626780 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Proceedings of the ACM on Measurement and Analysis of Computing Systems, online erschienen am 12.12.2023. Verfasst von Peter Cai und 1 weiteren Autor:innen. Die Arbeit wurde bisher 7-mal zitiert (Crossref) und nennt 48 Literaturangaben. Gefördert von: Natural Sciences and Engineering Research Council of Canada.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

This paper reviews the performance characteristics of network stack processing for communication-heavy server applications. Recent literature often describes kernel-bypass and user-level networking as a silver bullet to attain substantial performance improvements, but without providing a comprehensive understanding of how exactly these improvements come about. We identify and quantify the direct and indirect costs of asynchronous hardware interrupt requests (IRQ) as a major source of overhead. While IRQs and their handling have a substantial impact on the effectiveness of the processor pipeline and thereby the overall processing efficiency, their overhead is difficult to measure directly when serving demanding workloads. This paper presents an indirect methodology to assess IRQ overhead by constructing preliminary approaches to reduce the impact of IRQs. While these approaches are not suitable for general deployment, their corresponding performance observations indirectly confirm the conjecture. Based on these findings, a small modification of a vanilla Linux system is devised that improves the efficiency and performance of traditional kernel-based networking significantly, resulting in up to 45% increased throughput without compromising tail latency. In case of server applications, such as web servers or Memcached, the resulting performance is comparable to using kernel-bypass and user-level networking when using stacks with similar functionality and flexibility.

Förderung

  • Natural Sciences and Engineering Research Council of Canada

Zitieren

APA

Cai, P., & Karsten, M. (2023). Kernel vs. User-Level Networking: Don't Throw Out the Stack with the Interrupts. Proceedings of the ACM on Measurement and Analysis of Computing Systems, 7(3), 1-25. https://doi.org/10.1145/3626780

Vancouver

Cai P, Karsten M. Kernel vs. User-Level Networking: Don't Throw Out the Stack with the Interrupts. Proceedings of the ACM on Measurement and Analysis of Computing Systems. 2023;7(3):1-25. doi:10.1145/3626780

BibTeX
@article{Cai2023,
  author = {Cai, Peter and Karsten, Martin},
  title = {Kernel vs. User-Level Networking: Don't Throw Out the Stack with the Interrupts},
  journal = {Proceedings of the ACM on Measurement and Analysis of Computing Systems},
  year = {2023},
  volume = {7},
  number = {3},
  pages = {1--25},
  doi = {10.1145/3626780}
}
Kostenlos starten →