跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 密码学与安全

arXiv:2201.13160 (cs)
[提交于 2022年1月31日]

标题:AnyCall: Fast and Flexible System-Call Aggregation

作者:Luis Gerhorst, Benedict Herzog, Stefan Reif, Wolfgang Schröder-Preikschat, Timo Hönig
查看论文《AnyCall: Fast and Flexible System-Call Aggregation》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Operating systems rely on system calls to allow the controlled communication of isolated processes with the kernel and other processes. Every system call includes a processor mode switch from the unprivileged user mode to the privileged kernel mode. Although processor mode switches are the essential isolation mechanism to guarantee the system's integrity, they induce direct and indirect performance costs as they invalidate parts of the processor state. In recent years, high-performance networks and storage hardware has made the user/kernel transition overhead the bottleneck for IO-heavy applications. To make matters worse, security vulnerabilities in modern processors (e.g., Meltdown) have prompted kernel mitigations that further increase the transition overhead. To decouple system calls from user/kernel transitions we propose AnyCall, which uses an in-kernel compiler to execute safety-checked user bytecode in kernel mode. This allows for very fast system calls interleaved with error checking and processing logic using only a single user/kernel transition. We have implemented AnyCall based on the Linux kernel's eBPF subsystem. Our evaluation demonstrates that system call bursts are up to 55 times faster using AnyCall and that real-world applications can be sped up by 24% even if only a minimal part of their code is run by AnyCall.
主题: 密码学与安全 (cs.CR); 操作系统 (cs.OS); 程序设计语言 (cs.PL)
引用方式: arXiv:2201.13160 [cs.CR]
  (或者 arXiv:2201.13160v1 [cs.CR] 对于此版本)
  https://doi.org/10.48550/arXiv.2201.13160
期刊参考: PLOS'21: Proceedings of the 11th Workshop on Programming Languages and Operating Systems. 2021. Association for Computing Machinery (ACM), New York, NY, USA, Pages 1-8
相关 DOI: https://doi.org/10.1145/3477113.3487267

提交历史

来自:Luis Gerhorst
[v1] 2022年1月31日 星期一 12:13:17 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.CR
< 上一篇   |   下一篇 >
最新 | 近期 | 2022-01
切换浏览方式为:
cs
cs.OS
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站