{"title":"MoTor: Resource-efficient cloud-native network acceleration with programmable switches","authors":"Hongyang Chen , Pengfei Chen , Zilong He , Zibin Zheng , 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%.
期刊介绍:
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.