mTSL:使mTCP栈对网络应用透明

Dong Liu, Xiaohui Luo, Fengyuan Ren
{"title":"mTSL:使mTCP栈对网络应用透明","authors":"Dong Liu, Xiaohui Luo, Fengyuan Ren","doi":"10.1109/ISCC.2018.8538626","DOIUrl":null,"url":null,"abstract":"Network applications are widely distributed nowadays, most of which have steep demand on response time. Deploying multi-threaded design on multicore systems is beneficial of scaling applications’ performance, but also requires an efficient TCP stack to support. mTCP is a highly scalable userlevel TCP stack fruitful in promoting scalability and improving performance, therefore adopted by more and more applications. However, the original mTCP APIs are not compatible with the in-kernel function calls in form, thus impeding the transparent employment as well as the convenient transplant of mTCP stack for users. To overcome the deficiency, we propose a transparent socket layer for mTCP (mTSL), which overrides the native mTCP APIs and redirects original system calls to our customized versions. Finally, mTSL not only achieves mTCP stack’s thorough transparency to applications, but maintains the high performance of mTCP and outperforms Linux kernel stack by 8.9× with respect to throughput on a message benchmark as well as 1.44×∼6.49× in terms of transaction rate for a real application.","PeriodicalId":233592,"journal":{"name":"2018 IEEE Symposium on Computers and Communications (ISCC)","volume":"6 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"mTSL: Making mTCP Stack Transparent to Network Applications\",\"authors\":\"Dong Liu, Xiaohui Luo, Fengyuan Ren\",\"doi\":\"10.1109/ISCC.2018.8538626\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Network applications are widely distributed nowadays, most of which have steep demand on response time. Deploying multi-threaded design on multicore systems is beneficial of scaling applications’ performance, but also requires an efficient TCP stack to support. mTCP is a highly scalable userlevel TCP stack fruitful in promoting scalability and improving performance, therefore adopted by more and more applications. However, the original mTCP APIs are not compatible with the in-kernel function calls in form, thus impeding the transparent employment as well as the convenient transplant of mTCP stack for users. To overcome the deficiency, we propose a transparent socket layer for mTCP (mTSL), which overrides the native mTCP APIs and redirects original system calls to our customized versions. Finally, mTSL not only achieves mTCP stack’s thorough transparency to applications, but maintains the high performance of mTCP and outperforms Linux kernel stack by 8.9× with respect to throughput on a message benchmark as well as 1.44×∼6.49× in terms of transaction rate for a real application.\",\"PeriodicalId\":233592,\"journal\":{\"name\":\"2018 IEEE Symposium on Computers and Communications (ISCC)\",\"volume\":\"6 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2018-06-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2018 IEEE Symposium on Computers and Communications (ISCC)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ISCC.2018.8538626\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2018 IEEE Symposium on Computers and Communications (ISCC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISCC.2018.8538626","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

摘要

当今网络应用广泛分布,大多数应用对响应时间的要求都很高。在多核系统上部署多线程设计有利于扩展应用程序的性能,但也需要一个高效的TCP栈来支持。mTCP是一种高度可扩展的用户级TCP协议栈,在提高可扩展性和性能方面卓有成效,因此被越来越多的应用所采用。但是,原有的mTCP api在形式上与内核内函数调用不兼容,阻碍了用户对mTCP栈的透明使用和便捷移植。为了克服这个缺陷,我们提出了一个透明的mTCP套接字层(mTSL),它覆盖了本地的mTCP api,并将原始系统调用重定向到我们的定制版本。最后,mTSL不仅实现了mTCP堆栈对应用程序的完全透明,而且保持了mTCP的高性能,在消息基准测试上的吞吐量比Linux内核堆栈高8.9倍,在实际应用程序的事务率方面比Linux内核堆栈高1.44× ~ 6.49×。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
mTSL: Making mTCP Stack Transparent to Network Applications
Network applications are widely distributed nowadays, most of which have steep demand on response time. Deploying multi-threaded design on multicore systems is beneficial of scaling applications’ performance, but also requires an efficient TCP stack to support. mTCP is a highly scalable userlevel TCP stack fruitful in promoting scalability and improving performance, therefore adopted by more and more applications. However, the original mTCP APIs are not compatible with the in-kernel function calls in form, thus impeding the transparent employment as well as the convenient transplant of mTCP stack for users. To overcome the deficiency, we propose a transparent socket layer for mTCP (mTSL), which overrides the native mTCP APIs and redirects original system calls to our customized versions. Finally, mTSL not only achieves mTCP stack’s thorough transparency to applications, but maintains the high performance of mTCP and outperforms Linux kernel stack by 8.9× with respect to throughput on a message benchmark as well as 1.44×∼6.49× in terms of transaction rate for a real application.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信