【24h】

Making Userspace TCP Stacks Transparent to Applications

机译:使用户空间TCP堆栈对应用程序透明

获取原文
获取原文并翻译 | 示例

摘要

Previous studies have shown that userspace TCP stacks have higher performance than the kernel version. One conventional wisdom is that using native APIs instead of system calls can reduce the context switching overheads. However, due to the non-compatible APIs, countless existing BSD-based applications have not benefited from the userspace TCP stacks yet. There is a gap between existing BSD-based applications and the userspace TCP stack. We propose a transparent socket layer (TSL) that allows applications transparently using the userspace TCP stacks. TSL consists of three components: (i) The transplant layer redirects original system calls into TSL's customized versions. (ii) The function call entry table holds the immediate state of function calls. (iii) The backend interacts with the table and executes the rest of TCP processing. In our evaluation, TSL has 2.3X~2.8X request rate compared with the kernel. We also show that TSL can benefit real applications, such as Netperf and Nginx.
机译:先前的研究表明,用户空间TCP堆栈比内核版本具有更高的性能。一种传统的看法是,使用本机API代替系统调用可以减少上下文切换的开销。但是,由于不兼容的API,无数现有的基于BSD的应用程序尚未从用户空间TCP堆栈中受益。现有的基于BSD的应用程序和用户空间TCP堆栈之间存在差距。我们提出了一个透明套接字层(TSL),它允许使用用户空间TCP堆栈透明地应用程序。 TSL由三个组件组成:(i)移植层将原始系统调用重定向到TSL的自定义版本。 (ii)函数调用条目表保存函数调用的即时状态。 (iii)后端与表交互并执行其余的TCP处理。在我们的评估中,TSL的请求速率是内核的2.3X〜2.8X。我们还表明,TSL可以使Netperf和Nginx等实际应用受益。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号