Real-Time Flow Statistics Collection Using RDMA and P4 Programmable Data Planes
Measuring network traffic in real time is essential for applications such as traffic profiling, anomaly detection, resource allocation, and network performance improvement. As network speeds and traffic volumes increase, traditional solutions (e.g., NetFlow, sFlow, Zeek) face challenges in processing and summarizing traffic efficiently, often leading to incomplete measurements. This paper introduces a system that summarizes network traffic and provides per-flow measurements in real time by leveraging P4 Programmable Data Planes (PDPs). The system computes per-flow traffic statistics directly in the data plane at line rate. The statistics are then transmitted to a server using the low-latency, high-throughput RDMA over Converged Ethernet (RoCEv2) protocol. On the server, worker threads process the received reports and update a global data structure that maintain the flows. The system was implemented and tested using an Intel Tofino-based PDP and an RDMA-capable SmartNIC (NVIDIA BlueField-2). Experiments on real packet traces show that the system is capable of analyzing traffic at scale without compromising the accuracy of the measurements, outperforming traditional Network Security Monitors (NSMs).
Authors
- Elie Kfoury (ORCID: https://orcid.org/0000-0003-1236-6168)
- Jose Gomez (ORCID: https://orcid.org/0009-0005-2705-7095)
- Jorge Crichigno (ORCID: https://orcid.org/0000-0002-6705-5300)
- Ali AlSabeh (ORCID: https://orcid.org/0000-0001-7063-4840)
- Ali Mazloum (ORCID: https://orcid.org/0009-0003-9734-8061)
Institutions
- Fort Lewis College (US)
- University of South Carolina (US)
- Computing Center (RU)
- University of South Carolina Aiken (US)
Publication Details
- Published
- 2025-06-08
- DOI
- https://doi.org/10.1109/icc52391.2025.11160924
- Citations
- 2
- Primary Topic
- Traffic Prediction and Management Techniques
- Type
- article
- Field-Weighted Citation Impact
- 2.01