{"title":"st-SFC: Optimizing Dynamic Deployment of Stateful SFCs on P4-Based PDP Switches","authors":"Tingyu Li;Zhihuang Ma;Zuqing Zhu","doi":"10.1109/TNSM.2024.3439515","DOIUrl":null,"url":null,"abstract":"With the rapid development of network function virtualization (NFV), there is an increasing trend of implementing virtual network functions (vNFs), especially the stateful ones, on high-performance programmable data plane (PDP) switches (e.g., the P4-based PDP switches based on Tofino ASICs), and forming stateful service function chains (SFCs) with them. However, the capability of PDP switches on supporting stateful SFCs is still restricted by the limited hardware resources in them. In this work, we study how to optimize the deployment of stateful SFCs in P4-based PDP switches and design the system of st-SFC, so as to not only utilize the hardware resources on switches efficiently but also minimize the overhead of interactions between control and data planes. We first consider the deployment of stateful SFCs on a single PDP switch. Specifically, we propose to abstract each stateful vNF as a state machine and design a stateful SFC building algorithm to merge the state machines of vNFs for reducing redundant resource usages, and for the vNFs whose operations involve interactions with the control plane, we develop a PktIn-Table to reduce the resource usage in PDP switches and the interaction latency. Then, we propose an SFC deployment algorithm that realizes stateful SFCs on PDP switches on demand, aiming to optimize the resource usages across all the switches in runtime. We prototype st-SFC with PDP switches based on Tofino ASICs and demonstrate its effectiveness experimentally.","PeriodicalId":13423,"journal":{"name":"IEEE Transactions on Network and Service Management","volume":"21 6","pages":"6658-6669"},"PeriodicalIF":5.4000,"publicationDate":"2024-08-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Network and Service Management","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/10623834/","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0
Abstract
With the rapid development of network function virtualization (NFV), there is an increasing trend of implementing virtual network functions (vNFs), especially the stateful ones, on high-performance programmable data plane (PDP) switches (e.g., the P4-based PDP switches based on Tofino ASICs), and forming stateful service function chains (SFCs) with them. However, the capability of PDP switches on supporting stateful SFCs is still restricted by the limited hardware resources in them. In this work, we study how to optimize the deployment of stateful SFCs in P4-based PDP switches and design the system of st-SFC, so as to not only utilize the hardware resources on switches efficiently but also minimize the overhead of interactions between control and data planes. We first consider the deployment of stateful SFCs on a single PDP switch. Specifically, we propose to abstract each stateful vNF as a state machine and design a stateful SFC building algorithm to merge the state machines of vNFs for reducing redundant resource usages, and for the vNFs whose operations involve interactions with the control plane, we develop a PktIn-Table to reduce the resource usage in PDP switches and the interaction latency. Then, we propose an SFC deployment algorithm that realizes stateful SFCs on PDP switches on demand, aiming to optimize the resource usages across all the switches in runtime. We prototype st-SFC with PDP switches based on Tofino ASICs and demonstrate its effectiveness experimentally.
随着网络功能虚拟化(network function virtualization, NFV)技术的快速发展,在高性能PDP (programmable data plane)交换机(如基于Tofino asic的PDP交换机p4)上实现虚拟网络功能,特别是有状态网络功能,并与其形成有状态业务功能链(stateful service function chain, sfc)的趋势越来越多。然而,PDP交换机支持有状态sfc的能力仍然受到硬件资源有限的限制。在本工作中,我们研究了如何在基于p4的PDP交换机中优化有状态sfc的部署,并设计了st-SFC系统,以有效地利用交换机上的硬件资源,并最大限度地减少控制平面和数据平面之间交互的开销。我们首先考虑在单个PDP交换机上部署有状态sfc。具体来说,我们建议将每个有状态vNF抽象为一个状态机,并设计一个有状态SFC构建算法来合并vNF的状态机,以减少冗余资源的使用;对于vNF的操作涉及到与控制平面的交互,我们开发了PktIn-Table来减少PDP交换机中的资源使用和交互延迟。然后,我们提出了一种SFC部署算法,该算法在PDP交换机上按需实现有状态SFC,旨在优化所有交换机在运行时的资源使用。我们基于Tofino asic设计了PDP开关的st-SFC原型,并通过实验验证了其有效性。
期刊介绍:
IEEE Transactions on Network and Service Management will publish (online only) peerreviewed archival quality papers that advance the state-of-the-art and practical applications of network and service management. Theoretical research contributions (presenting new concepts and techniques) and applied contributions (reporting on experiences and experiments with actual systems) will be encouraged. These transactions will focus on the key technical issues related to: Management Models, Architectures and Frameworks; Service Provisioning, Reliability and Quality Assurance; Management Functions; Enabling Technologies; Information and Communication Models; Policies; Applications and Case Studies; Emerging Technologies and Standards.