Distributed Program Deployment for Resource-Aware Programmable Switches
作者:Fuliang Li, Songlin Chen, Xingxin Jia, Chengxi Gao, Pengfei Wang, Xingwei Wang, Jiannong Cao · 发表于:IEEE Transactions on Computers · 年份:2024 · DOI:10.1109/tc.2024.3355786 · 被引用次数:5 · 研究领域:Software-Defined Networks and 5G、Interconnection Networks and Systems、Cloud Computing and Resource Management
Programmable switches allow data plane to program how packets are processed, which enables flexibility for network management tasks, e.g., packet scheduling and flow measurement. Existing studies focus on program deployment at a single switch, while deployment across the whole data plane is still a challenging issue, especially manifested in the difficulty in joint correct implementation of P4 programs, resource load balancing of network devices, and optimization of network performance. In this paper, we present RED, a Resource-Efficient and Distributed program deployment solution for programmable switches. First of all, we analyze data plane programs to estimate the resource utilization and divide them into two categories for further processing. Then, the proposed merging and splitting algorithms are selectively applied to merge or split the pending programs. Finally, we consolidate the scarce resources of the whole data plane for distributed program deployment. Extensive experiments with both testbed and large-scale simulations are conducted and comparison results show that 1) RED achieves network-wide resource balancing in a distributed way and the latency of processing packets within the switch was reduced by 16.7%. 2) RED improves the speedup by two orders of magnitude compared to P4Visor in merging program and merges more 18% tables than SPEED; 3) If the resources required to run a P4 program exceed the resource limit of the switch, it cannot be deployed on the switch. ...