TY - JOUR
T1 - Performance Modeling and Analysis of P4 Programmable Devices With General Service Times
AU - Kroger, Nicolai
AU - Harkous, Hasanin
AU - Mehmeti, Fidan
AU - Kellerer, Wolfgang
N1 - Publisher Copyright:
© 2004-2012 IEEE.
PY - 2024
Y1 - 2024
N2 - In our digitized society, emerging applications require highly-performing and flexible networks that can adapt to satisfy varying connectivity needs. P4 as a domain-specific programming language for data plane pipelines introduces the required flexibility through easy-to-use programmability. However, the performance of P4-capable devices is still an open question that has not yet been completely addressed. Understanding whether a P4-enabled device can meet the performance requirements for a specific network function pipeline is key for planning as well as for the selection of the proper deployment scenarios in a network. To bridge this gap, we propose a simple analytical model that can predict the performance of network functions written in P4 for a given device. The programmable data plane of P4 devices is modeled as a forward queueing system with a variable service rate that depends on the complexity of the configured data path program. On top of the data plane model, the controller's interaction is modeled as a feedback queueing system. In terms of the analysis, we first assume exponentially distributed service times in the data plane and control plane. In a second step, we extend the analysis to generally distributed service times using approximations. In order to cover a wide rang of possible behavior of the control plane, three types of distributions with different coefficients of variation are inspected: Erlang, exponential, and hyperexponential. We evaluate the accuracy of our model for different scenarios and show that the discrepancy between actual results and our analytical predictions does not exceed 8.7%. We also validate the model with a commercial P4 hardware switch.
AB - In our digitized society, emerging applications require highly-performing and flexible networks that can adapt to satisfy varying connectivity needs. P4 as a domain-specific programming language for data plane pipelines introduces the required flexibility through easy-to-use programmability. However, the performance of P4-capable devices is still an open question that has not yet been completely addressed. Understanding whether a P4-enabled device can meet the performance requirements for a specific network function pipeline is key for planning as well as for the selection of the proper deployment scenarios in a network. To bridge this gap, we propose a simple analytical model that can predict the performance of network functions written in P4 for a given device. The programmable data plane of P4 devices is modeled as a forward queueing system with a variable service rate that depends on the complexity of the configured data path program. On top of the data plane model, the controller's interaction is modeled as a feedback queueing system. In terms of the analysis, we first assume exponentially distributed service times in the data plane and control plane. In a second step, we extend the analysis to generally distributed service times using approximations. In order to cover a wide rang of possible behavior of the control plane, three types of distributions with different coefficients of variation are inspected: Erlang, exponential, and hyperexponential. We evaluate the accuracy of our model for different scenarios and show that the discrepancy between actual results and our analytical predictions does not exceed 8.7%. We also validate the model with a commercial P4 hardware switch.
KW - Jackson networks
KW - P4
KW - control plane
KW - performance modeling
KW - programmable data plane
UR - http://www.scopus.com/inward/record.url?scp=85194096536&partnerID=8YFLogxK
U2 - 10.1109/TNSM.2024.3404813
DO - 10.1109/TNSM.2024.3404813
M3 - Article
AN - SCOPUS:85194096536
SN - 1932-4537
VL - 21
SP - 4543
EP - 4562
JO - IEEE Transactions on Network and Service Management
JF - IEEE Transactions on Network and Service Management
IS - 4
ER -