Comparing UPF Dataplane I/O Modes in a Cloud-Native 5G Core: AF_PACKET, AF_XDP, CNDP, and DPDK on SD-Core BESS-UPF
Abstract
The User Plane Function (UPF) carries all user-plane traffic in a 5G network, and its throughput depends on how packets move between the NIC and the application, that is, on the packet I/O mode. We compare four widely used modes, AFPACKET, AFXDP, the Cloud Native Data Plane (CNDP), and the Data Plane Development Kit (DPDK), on a single open-source UPF. Using SD-Core BESS-UPF deployed as a Charmed operator on Intel XXV710 NICs in Canonical Kubernetes, we run the same GTP-U/PDR/FAR/QER pipeline under each mode and change only the BESS port driver, so any difference is attributable to the I/O backend. For each mode we describe its architecture, datapath, memory model, and deployment requirements, and we measure throughput, latency, CPU usage, and stability; the deployment is also validated end-to-end against a disaggregated O-RAN 5G RAN with a commercial UE. On an XXV710/i40e testbed (NDR per RFC 2544) at 64 B, AFPACKET reaches 0.25 Mpps, CNDP 5.52 and AFXDP 6.47 Mpps at 2 workers, and DPDK 10.30 Mpps at 4 workers and 13.09 at 8, with the lowest latency (8.1 microseconds average). At matched worker counts the three kernel-bypass modes are within noise and AFXDP leads per core; DPDK's advantage is a scaling-ceiling effect, since its native PMD over vfio-pci escapes the per-netdev AFXDP socket limit that pins CNDP and AFXDP at two workers, not a per-packet efficiency win. CNDP and AFXDP are the cloud-native sweet spot when hugepages, vfio-pci, and isolated cores are unaffordable; DPDK is justified on dedicated hosts. We also document deployment pitfalls absent from synthetic benchmarks, including a Kubernetes limits.cpu mis-setting that silently halved DPDK throughput. The paper is a side-by-side reference for operators choosing a UPF dataplane mode in a cloud-native 5G deployment.
Create a lesson
Metadata
- Categories
- cs.NI, cs.CR
- Comments
- 34 pages, 19 figures
Related papers
Protection Switching in Hybrid Hollow-Core and Single-Mode Fiber Networks: Challenges, Analysis, and Mitigation Strategies
Shared title terminologycs.NIMd Ghulam Saber, Zhiping Jiang
DPDS: A DPDK-Based Packet Delayer and Spacer
Shared title terminologycs.NIEtienne Zink, Fabian Ihle, Michael Menth
Intent-Defined Radio: A Goal-Native Architecture for Next-Generation Wireless Networks
Shared title terminologycs.NIWencheng Yan, Binrui Xu, Yihao Shen et al.
Do LLMs Understand Network Traces? A Comparative Study of Reasoning over Raw and Filtered Traffic Data
Shared title terminologycs.NIIrene Gosálvez-White, Roberto Magán-Carrión, Carlota de la Vega-Soriano et al.
Prediction-Driven Contract Matching with Controlled Overbooking for Cloud-Edge DDoS Scrubbing Markets
Shared title terminologycs.NIYue Luo, Houyi Qi, Minghui Liwang et al.
Towards Reliable Cloud VR over Wi-Fi 7: Leveraging MLO and TXOP Sharing
Shared title terminologycs.NIHugo Sanz, Francesc Wilhelmi, Boris Bellalta