{"title":"Memory-efficient programmable packet parsing for multi-tenant terabit networks","authors":"Xuetan Cheng , Yingwen Chen , Xiangrui Yang, Huan Zhou, Lailong Luo, Deke Guo","doi":"10.1016/j.comnet.2025.111240","DOIUrl":null,"url":null,"abstract":"<div><div>Programmable data plane architectures such as RMT and dRMT obtain great attention due to their flexibility in processing packets on demand without modifying the switch chip design. Unfortunately, the packet parser, as a crucial component, suffers from low processing performance and large logic usage. Existing programmable packet parser design utilizes a Finite State Machine (FSM) to parse the packet header vector (PHV) in a loop manner, or enumerates all possible protocol paths to extract the packet header vector in parallel, which leads to low throughput or significant consumption of T-CAM resources.</div><div>This paper proposes the partition parser (PParser), a novel programmable parser design, working in multi-tenant networks, that makes the best trade-offs between the parsing performance and the resource usage as far as we are concerned. To maximize the performance, PParser initiates the protocol path analysis in compile-time and parses packets in parallel using T-CAM. To avoid the path explosion without reducing performance, PParser efficiently partitions the parsing graph into sub-graphs and leverages a multi-stage T-CAM for cascade parsing. The performance, flexibility, and resource usage of PParser are excessively evaluated using real-world protocols on the FPGA prototype. The result shows that PParser achieves 3.98<span><math><mo>×</mo></math></span> throughput compared with the FSM-based parser and 87% compression rate and a similar throughput compared with HyperParser.</div></div>","PeriodicalId":50637,"journal":{"name":"Computer Networks","volume":"264 ","pages":"Article 111240"},"PeriodicalIF":4.4000,"publicationDate":"2025-03-25","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/S1389128625002087","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
Programmable data plane architectures such as RMT and dRMT obtain great attention due to their flexibility in processing packets on demand without modifying the switch chip design. Unfortunately, the packet parser, as a crucial component, suffers from low processing performance and large logic usage. Existing programmable packet parser design utilizes a Finite State Machine (FSM) to parse the packet header vector (PHV) in a loop manner, or enumerates all possible protocol paths to extract the packet header vector in parallel, which leads to low throughput or significant consumption of T-CAM resources.
This paper proposes the partition parser (PParser), a novel programmable parser design, working in multi-tenant networks, that makes the best trade-offs between the parsing performance and the resource usage as far as we are concerned. To maximize the performance, PParser initiates the protocol path analysis in compile-time and parses packets in parallel using T-CAM. To avoid the path explosion without reducing performance, PParser efficiently partitions the parsing graph into sub-graphs and leverages a multi-stage T-CAM for cascade parsing. The performance, flexibility, and resource usage of PParser are excessively evaluated using real-world protocols on the FPGA prototype. The result shows that PParser achieves 3.98 throughput compared with the FSM-based parser and 87% compression rate and a similar throughput compared with HyperParser.
期刊介绍:
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.