Nimble: Scalable TCP-Friendly Programmable In-Network Rate-Limiting

Vineeth Sagar Thapeta, Komal Shinde, Mojtaba MalekpourShahraki, Darius Grassi, Balajee Vamanan, Brent E. Stephens
{"title":"Nimble: Scalable TCP-Friendly Programmable In-Network Rate-Limiting","authors":"Vineeth Sagar Thapeta, Komal Shinde, Mojtaba MalekpourShahraki, Darius Grassi, Balajee Vamanan, Brent E. Stephens","doi":"10.1145/3482898.3483361","DOIUrl":null,"url":null,"abstract":"There is an emerging need for scalable high-performance in-networkrate-limiting because rate-limiters can be used to provide performance isolation. However, existing approaches to in-network rate-limiting are not scalable or TCP-friendly. This paper presents the design of Nimble, a new approach to in-network rate-limiting that is scalable, high performance, and TCP-friendly. Nimble uses meters to scalably provide hardware rate-limiting without any dedicated queuing or buffering resources, and Nimble uses ECN-Shaping for TCP-friendly rate-limit enforcement. Nimble also introduces the first algorithm for configuring in-network rate-limiters to enforce network-wide isolation policies. Through a P4 implementation and experiments with a 100Gbps Barefoot Tofino switch, we find that Nimble is immediately usable and can operate even with high bandwidth rate-limits without needing to recirculate packets or rely on hardware packet generators to generate token refill packets. This overcomes the scalability limitations of prior approaches. Experiments with Apache and Redis show that Nimble can reduce application-level latency by an order of magnitude when compared to not using in-network rate-limiting, and ns-3 simulations demonstrate that Nimble behaves well in larger clusters. We find that Nimble can scale to 100K rate-limiters perswitch when implemented on a Barefoot Tofino switch, and our new rate allocation algorithm reduces rate-limiter updates by a factor of 10x-24x and improves network utilization by 24%.","PeriodicalId":161157,"journal":{"name":"Proceedings of the ACM SIGCOMM Symposium on SDN Research (SOSR)","volume":"77 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-10-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"7","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the ACM SIGCOMM Symposium on SDN Research (SOSR)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3482898.3483361","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 7

Abstract

There is an emerging need for scalable high-performance in-networkrate-limiting because rate-limiters can be used to provide performance isolation. However, existing approaches to in-network rate-limiting are not scalable or TCP-friendly. This paper presents the design of Nimble, a new approach to in-network rate-limiting that is scalable, high performance, and TCP-friendly. Nimble uses meters to scalably provide hardware rate-limiting without any dedicated queuing or buffering resources, and Nimble uses ECN-Shaping for TCP-friendly rate-limit enforcement. Nimble also introduces the first algorithm for configuring in-network rate-limiters to enforce network-wide isolation policies. Through a P4 implementation and experiments with a 100Gbps Barefoot Tofino switch, we find that Nimble is immediately usable and can operate even with high bandwidth rate-limits without needing to recirculate packets or rely on hardware packet generators to generate token refill packets. This overcomes the scalability limitations of prior approaches. Experiments with Apache and Redis show that Nimble can reduce application-level latency by an order of magnitude when compared to not using in-network rate-limiting, and ns-3 simulations demonstrate that Nimble behaves well in larger clusters. We find that Nimble can scale to 100K rate-limiters perswitch when implemented on a Barefoot Tofino switch, and our new rate allocation algorithm reduces rate-limiter updates by a factor of 10x-24x and improves network utilization by 24%.
灵活:可扩展的tcp友好的可编程网络限速
由于速率限制器可用于提供性能隔离,因此出现了对可扩展的高性能网络内速率限制的新需求。然而,现有的网络内速率限制方法不具有可扩展性或tcp友好性。本文介绍了一种可扩展、高性能和tcp友好的网络内速率限制新方法Nimble的设计。灵活使用仪表来可扩展地提供硬件速率限制,而不需要任何专用的队列或缓冲资源,灵活使用ECN-Shaping来执行tcp友好的速率限制。Nimble还引入了第一个用于配置网络内速率限制器的算法,以强制执行网络范围内的隔离策略。通过P4实现和100Gbps赤脚Tofino交换机的实验,我们发现Nimble可以立即使用,即使在高带宽速率限制下也可以运行,而无需再循环数据包或依赖硬件数据包生成器来生成令牌重新填充数据包。这克服了先前方法的可伸缩性限制。与Apache和Redis的实验表明,与不使用网络内速率限制相比,Nimble可以将应用级延迟减少一个数量级,ns-3模拟表明,Nimble在更大的集群中表现良好。我们发现,当在Barefoot Tofino交换机上实现时,Nimble可以扩展到100K速率限制器切换,我们的新速率分配算法将速率限制器更新减少了10 -24倍,并将网络利用率提高了24%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
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学术官方微信