User-space protocols deliver high performance to applications on a low-cost Gb/s LAN

Aled Edwards, G. Watson, J. Lumley, D. Banks, Costas Calamvokis, Chris R. Dalton
{"title":"User-space protocols deliver high performance to applications on a low-cost Gb/s LAN","authors":"Aled Edwards, G. Watson, J. Lumley, D. Banks, Costas Calamvokis, Chris R. Dalton","doi":"10.1145/190314.190316","DOIUrl":null,"url":null,"abstract":"Two important questions in high-speed networking are firstly, how to provide Gbit/s networking at low cost and secondly, how to provide a flexible low-level network interface so that applications can control their data from the instant it arrives. We describe some work that addresses both of these questions. The Jetstream Gbit/s LAN is an experimental, low-cost network interface that provides the services required by delay-sensitive traffic as well as meeting the performance needs of current applications. Jetstream is a combination of traditional shared-medium LAN technology and more recent ATM cell- and switch-based technology. Jetstream frames contain a channel identifier so that the network driver can immediately associate an incoming frame with its application. We have developed such a driver that enables applications to control how their data should be managed without the need to first move the data into the application's address space. Consequently, applications can elect to read just a part of a frame and then instruct the driver to move the remainder directly to its destination. Individual channels can elect to receive frames that have failed their CRC, while applications can specify frame-drop policies on a per-channel basis. Measured results show that both kernel- and user-space protocols can achieve very good throughput: applications using both TCP and our own reliable byte-stream protocol have demonstrated throughputs in excess of 200 Mbit/s. The benefits of running protocols in user-space are well known- the drawback has often been a severe penalty in the performance achieved. In this paper we show that it is possible to have the best of both worlds.","PeriodicalId":142337,"journal":{"name":"Proceedings of the conference on Communications architectures, protocols and applications","volume":"481 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1994-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"91","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the conference on Communications architectures, protocols and applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/190314.190316","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 91

Abstract

Two important questions in high-speed networking are firstly, how to provide Gbit/s networking at low cost and secondly, how to provide a flexible low-level network interface so that applications can control their data from the instant it arrives. We describe some work that addresses both of these questions. The Jetstream Gbit/s LAN is an experimental, low-cost network interface that provides the services required by delay-sensitive traffic as well as meeting the performance needs of current applications. Jetstream is a combination of traditional shared-medium LAN technology and more recent ATM cell- and switch-based technology. Jetstream frames contain a channel identifier so that the network driver can immediately associate an incoming frame with its application. We have developed such a driver that enables applications to control how their data should be managed without the need to first move the data into the application's address space. Consequently, applications can elect to read just a part of a frame and then instruct the driver to move the remainder directly to its destination. Individual channels can elect to receive frames that have failed their CRC, while applications can specify frame-drop policies on a per-channel basis. Measured results show that both kernel- and user-space protocols can achieve very good throughput: applications using both TCP and our own reliable byte-stream protocol have demonstrated throughputs in excess of 200 Mbit/s. The benefits of running protocols in user-space are well known- the drawback has often been a severe penalty in the performance achieved. In this paper we show that it is possible to have the best of both worlds.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
用户空间协议在低成本Gb/s LAN上为应用程序提供高性能
高速网络面临的两个重要问题是:如何以低成本提供Gbit/s的网络;如何提供灵活的底层网络接口,使应用程序能够从数据到达的那一刻起对其进行控制。我们描述了一些解决这两个问题的工作。Jetstream Gbit/s LAN是一种实验性的低成本网络接口,可提供对延迟敏感的流量所需的服务,并满足当前应用的性能需求。Jetstream是传统的共享介质局域网技术与最近的基于ATM单元和交换机的技术的结合。射流帧包含一个通道标识符,以便网络驱动程序可以立即将传入帧与其应用程序关联起来。我们已经开发了这样一个驱动程序,使应用程序能够控制如何管理它们的数据,而不需要首先将数据移动到应用程序的地址空间中。因此,应用程序可以选择只读取帧的一部分,然后指示驱动程序将其余部分直接移动到目的地。各个通道可以选择接收CRC失败的帧,而应用程序可以在每个通道的基础上指定丢帧策略。测量结果表明,内核空间和用户空间协议都可以实现非常好的吞吐量:使用TCP和我们自己的可靠字节流协议的应用程序已经证明吞吐量超过200 Mbit/s。在用户空间中运行协议的好处是众所周知的——缺点往往是性能上的严重损失。在本文中,我们证明了两全其美是可能的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Making greed work in networks: a game-theoretic analysis of switch service disciplines Wide-area traffic: the failure of Poisson modeling Proceedings of the conference on Communications architectures, protocols and applications Highly dynamic Destination-Sequenced Distance-Vector routing (DSDV) for mobile computers A methodology for designing communication protocols
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1