Charting the Complexity Landscape of Compiling Packet Programs to Reconfigurable Switches

被引:0
|
作者
Vass, Balazs [1 ,2 ,3 ]
Berczi-Kovacs, Erika R. [4 ,5 ]
Fraknoi, Adam [4 ]
Raiciu, Costin [6 ]
Retvari, Gabor [1 ,2 ]
机构
[1] Budapest Univ Technol & Econ BME, Fac Elect Engn & Informat VIK, Dept Telecommun & Artificial Intelligence, H-1111 Budapest, Hungary
[2] HUN REN BME Informat Syst Res Grp, H-1111 Budapest, Hungary
[3] Babes Bolyai Univ, Fac Math & Comp Sci, Cluj Napoca 400347, Romania
[4] Eotvos Lorand Univ, H-1053 Budapest, Hungary
[5] HUN REN ELTE Egervary Res Grp Combinatorial Optimi, H-1053 Budapest, Hungary
[6] Univ Politehn Bucuresti, Bucharest 060042, Romania
基金
芬兰科学院; 匈牙利科学研究基金会;
关键词
Pipelines; Throughput; Program processors; Computer architecture; Clocks; Technological innovation; Task analysis; Reconfigurable switches; packet programs; pipeline embedding; P4; compilation; algorithmic complexity; constant approximations; BIN-PACKING; APPROXIMATION;
D O I
10.1109/TNET.2024.3424337
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
P4 is a widely used Domain-specific Language for Programmable Data Planes. A critical step in P4 compilation is finding a feasible and efficient mapping of the high-level P4 source code constructs to the physical resources exposed by the underlying hardware, while meeting data and control flow dependencies in the program. In this paper, we take a new look at the algorithmic aspects of this problem, with the motivation to understand the fundamental theoretical limits and obtain better P4 pipeline embeddings, and to speed up practical P4 compilation times for RMT and dRMT target architectures. We report mixed results: we find that P4 compilation is computationally hard even in a severely relaxed formulation, and there is no polynomial-time approximation of arbitrary precision (unless =), while the good news is that, despite its inherent complexity, P4 compilation is approximable in linear time with a small constant bound even for the most complex, nearly real-life models.
引用
收藏
页码:4519 / 4534
页数:16
相关论文
共 1 条
  • [1] Compiling Packet Programs to dRMT Switches: Theory and Algorithms
    Vass, Balazs
    Fraknoi, Adam
    Berczi-Kovacs, Erika
    Retvari, Gabor
    PROCEEDINGS OF THE 5TH INTERNATIONAL WORKSHOP ON P4 IN EUROPE, EUROP4 2022, 2022, : 26 - 32