MoTor: Resource-efficient cloud-native network acceleration with programmable switches

IF 4.4 2区 计算机科学 Q1 COMPUTER SCIENCE, HARDWARE & ARCHITECTURE
Hongyang Chen , Pengfei Chen , Zilong He , Zibin Zheng , Kaibin Fang
{"title":"MoTor: Resource-efficient cloud-native network acceleration with programmable switches","authors":"Hongyang Chen ,&nbsp;Pengfei Chen ,&nbsp;Zilong He ,&nbsp;Zibin Zheng ,&nbsp;Kaibin Fang","doi":"10.1016/j.comnet.2025.111335","DOIUrl":null,"url":null,"abstract":"<div><div>With the rapid increase in the number of services and the frequency of service invocations in distributed cloud-native applications, the volume of inter-service communication traffic in these applications has grown significantly over the years. As a result, cloud-native network, especially, inter-service communication, is crucial for maintaining the overall performance of cloud-native applications. However, our study indicates that extra intricate network processing induced by packet transmission imposes substantial overhead on inter-service communication. Therefore, we propose <span>MoTor</span>, a programmable switch-assisted network solution to accelerate cloud-native network in a resource-efficient way. The core idea of <span>MoTor</span> is to minimize network processing overhead by offloading essential network functions from the CPU to programmable switches. <span>MoTor</span> utilizes eBPF to enable non-intrusive network bypassing and forward inter-service traffic to the switch directly. The switch is then leveraged to perform critical network functions required for inter-service communication. To address the memory constraints of programmable switches, <span>MoTor</span> introduces a table entry prediction algorithm and a no memory-cost per connection consistency (PCC) preservation strategy. The evaluation results show that <span>MoTor</span> achieves salient performance and resource gains while maintaining PCC. Specifically, <span>MoTor</span> improves application’s throughput by up to 1.66<span><math><mo>×</mo></math></span> and reduces latency by up to 62.3% without any code modifications. Although other programmable switch-assisted solutions offer performance improvement comparable to <span>MoTor</span>, they require additional host or switch resources. In contrast, the PCC preservation strategy and prediction algorithm in <span>MoTor</span> enable simultaneous reductions in both host and switch resource consumption. Specifically,it reduces CPU and memory usage by up to 55% and up to 70%, respectively, compared to existing network solutions, while lowering the switch’s memory consumption by 60%.</div></div>","PeriodicalId":50637,"journal":{"name":"Computer Networks","volume":"266 ","pages":"Article 111335"},"PeriodicalIF":4.4000,"publicationDate":"2025-05-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Networks","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1389128625003020","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0

Abstract

With the rapid increase in the number of services and the frequency of service invocations in distributed cloud-native applications, the volume of inter-service communication traffic in these applications has grown significantly over the years. As a result, cloud-native network, especially, inter-service communication, is crucial for maintaining the overall performance of cloud-native applications. However, our study indicates that extra intricate network processing induced by packet transmission imposes substantial overhead on inter-service communication. Therefore, we propose MoTor, a programmable switch-assisted network solution to accelerate cloud-native network in a resource-efficient way. The core idea of MoTor is to minimize network processing overhead by offloading essential network functions from the CPU to programmable switches. MoTor utilizes eBPF to enable non-intrusive network bypassing and forward inter-service traffic to the switch directly. The switch is then leveraged to perform critical network functions required for inter-service communication. To address the memory constraints of programmable switches, MoTor introduces a table entry prediction algorithm and a no memory-cost per connection consistency (PCC) preservation strategy. The evaluation results show that MoTor achieves salient performance and resource gains while maintaining PCC. Specifically, MoTor improves application’s throughput by up to 1.66× and reduces latency by up to 62.3% without any code modifications. Although other programmable switch-assisted solutions offer performance improvement comparable to MoTor, they require additional host or switch resources. In contrast, the PCC preservation strategy and prediction algorithm in MoTor enable simultaneous reductions in both host and switch resource consumption. Specifically,it reduces CPU and memory usage by up to 55% and up to 70%, respectively, compared to existing network solutions, while lowering the switch’s memory consumption by 60%.
马达:具有可编程开关的资源高效云原生网络加速
随着分布式云原生应用程序中服务数量和服务调用频率的快速增加,这些应用程序中的服务间通信流量在过去几年中显著增长。因此,云原生网络,特别是服务间通信,对于维护云原生应用程序的整体性能至关重要。然而,我们的研究表明,由分组传输引起的额外复杂的网络处理给业务间通信带来了巨大的开销。因此,我们提出了MoTor,一个可编程的交换机辅助网络解决方案,以资源高效的方式加速云原生网络。电机的核心思想是通过将基本的网络功能从CPU卸载到可编程交换机来最大限度地减少网络处理开销。电动机利用eBPF实现非侵入式网络旁路,并将业务间流量直接转发到交换机。然后利用交换机来执行服务间通信所需的关键网络功能。为了解决可编程开关的内存限制问题,MoTor引入了表项预测算法和每连接无内存成本一致性(PCC)保存策略。评估结果表明,在保持PCC的同时,电机获得了显著的性能和资源收益。具体来说,在不修改任何代码的情况下,MoTor将应用程序的吞吐量提高了1.66倍,并将延迟降低了62.3%。虽然其他可编程开关辅助解决方案提供了与MoTor相当的性能改进,但它们需要额外的主机或开关资源。相比之下,电机中的PCC保存策略和预测算法可以同时减少主机和交换机资源消耗。具体来说,与现有的网络解决方案相比,它将CPU和内存的使用分别减少了55%和70%,同时将交换机的内存消耗降低了60%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Computer Networks
Computer Networks 工程技术-电信学
CiteScore
10.80
自引率
3.60%
发文量
434
审稿时长
8.6 months
期刊介绍: Computer Networks is an international, archival journal providing a publication vehicle for complete coverage of all topics of interest to those involved in the computer communications networking area. The audience includes researchers, managers and operators of networks as well as designers and implementors. The Editorial Board will consider any material for publication that is of interest to those groups.
×
引用
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学术文献互助群
群 号:481959085
Book学术官方微信