Inicio  /  IoT  /  Vol: 1 Par: 2 (2020)  /  Artículo
ARTÍCULO
TITULO

Analysis of P4 and XDP for IoT Programmability in 6G and Beyond

David Carrascal    
Elisa Rojas    
Joaquin Alvarez-Horcajo    
Diego Lopez-Pajares and Isaías Martínez-Yelmo    

Resumen

Recently, two technologies have emerged to provide advanced programmability in Software-Defined Networking (SDN) environments, namely P4 and XDP. At the same time, the Internet of Things (IoT) represents a pillar of future 6G networks, which will be also sustained by SDN. In this regard, there is a need to analyze the suitability of P4 and XDP for IoT. In this article, we aim to compare both technologies to help future research efforts in the field. For this purpose, we evaluate both technologies by implementing diverse use cases, assessing their performance and providing a quick qualitative overview. All tests and design scenarios are publicly available in GitHub to guarantee replication and serve as initial steps for researchers that want to initiate in the field. Results illustrate that currently XDP is the best option for constrained IoT devices, showing lower latency times, half the CPU usage, and reduced memory in comparison with P4. However, development of P4 programs is more straightforward and the amount of code lines is more similar regardless of the scenario. Additionally, P4 has a lot of potential in IoT if a special effort is made to improve the most common software target, BMv2.

Palabras claves

IoT -  programmability -  P4 -  XDP -  SDN -  5G -  6G -  edge computing