Using P4 and RDMA to collect telemetry data

Open Access
Authors
Publication date 2020
Book title Proceedings of INDIS 2020
Book subtitle Innovating the Network for Data-Intensive Science : held in conjunction with SC 2020: The International Conference for High Performance Computing, Networking, Storage and Analysis
ISBN
  • 9781665404556
ISBN (electronic)
  • 9781665404549
  • 9780738110684
Event 7th IEEE/ACM Innovating the Network for Data-Intensive Science, INDIS 2020
Pages (from-to) 1-9
Publisher Los Alamitos, CA: IEEE Computer Society
Organisations
  • Faculty of Science (FNWI) - Informatics Institute (IVI)
Abstract

Telemetry data can be carried within network packets as they transit through the network. This in-band telemetry requires in turn to have efficient means for the collection and processing of these data. We show how the P4 language can be used to extract telemetry data from incoming packets, as it allows for efficient controlling of the data plane of network devices. Furthermore, we exploit remote direct memory access (RDMA) as this allows for direct placement of data into the memory of an external machine. We implemented the RDMA over Converged Ethernet (RoCE) protocol in a switch using a P4 program. The program keeps the state of the variables required to perform a write-only operation from the switch to a collector machine. The telemetry data is stored on persistent storage in the machine using memory mapping. Experiments with our implementation show that the telemetry data is saved to the designated addresses. We were able to achieve a rate of around 20 million packets per second without any packet loss.

Document type Conference contribution
Language English
Published at https://doi.org/10.1109/INDIS51933.2020.00006
Other links http://www.proceedings.com/57365.html https://www.scopus.com/pages/publications/85100948945
Downloads
Permalink to this page
Back