操作系统
计算机科学
上下文切换
核(代数)
表(数据库)
背景(考古学)
子程序
图层(电子)
堆栈(抽象数据类型)
嵌入式系统
数据库
材料科学
生物
组合数学
古生物学
复合材料
数学
作者
Xiaohui Luo,Liu Bin,Wu Xing,Xunli Fan,Fengyuan Ren
标识
DOI:10.1109/bdcloud.2018.00100
摘要
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.
科研通智能强力驱动
Strongly Powered by AbleSci AI