Kernel-Level Per-Slice UPF Latency Measurement in Containerised 5G Core Networks

Akhil Dev Mishra, Mayank Pandey · 2026

Read Kernel-Level Per-Slice UPF Latency Measurement in Containerised 5G Core Networks by Akhil Dev Mishra, Mayank Pandey (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2605-28185.txt.

Introduction

Akhil Dev Mishra and Mayank Pandey measure 5G core forwarding delay slice by slice in a containerized testbed. Their namespace-aware instrumentation attributes latencies to individual network functions across three concurrent slices and roughly twenty-eight million matched delay pairs. Broadband delay grows with load while ultra-reliable delay stays flat, confirming isolation, and control-plane latency leaves ample headroom.

Catalog record

CREATORAkhil Dev Mishra, Mayank Pandey
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE15656
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2605.28185

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Kernel-Level Per-Slice UPF Latency Measurement in Containerised 5G Core Networks Akhil Dev Mishra, Mayank Pandey Abstract The 5G Core User Plane Function is responsible for packet forwarding, GTP-U decapsulation, and quality of service enforcement for every user data session. How the UPF behaves under simultaneous multi-slice workloads remains empirically uncharacterised in the open literature. Specifically, how its forwarding latency responds to load, how well it isolates one slice from another, and what timing budgets remain available for intelligent control are all open questions. This paper presents a measurement study conducted on a containerised open5GS deployment with three concurrent network slices. We design and implement a namespace-aware TC-BPF instrumentation framework that resolves the fundamental obstacle preventing existing tools from attributing latency observations to individual containerised network functions. We deploy eMBB, URLLC, and mMTC slices with realistic application traffic under light, medium, and heavy load conditions and collect approximately 28 million matched N3 to N6 forwarding delay pairs. The gathered results reveal that eMBB forwarding delay is load-sensitive with the 99th percentile growing from 574 to 1 243 µs across load conditions. URLLC delay is load-insensitive, confirming per-UPF process isolation. mMTC exhibits wide-tail TCP behaviour. On this platform, N4 PFCP session modification latency remains consistently below 200 µs regardless of data-plane load, suggesting substantial timing headroom within the two-millisecond budget assumed by AI-driven UPF orchestration designs. The instrumentation framework, experiment scripts, and dataset schema are released at https://github.com/MP-Akhil-5G/open5gs-slice-measurement . I Introduction The 5G Core is designed as a Service Based Architecture where the User Plane Function (UPF) sits at the centre of every data session. In a network slicing deployment, the Session Management Function (SMF) assigns each traffic class to a dedicated UPF instance and may dynamically re-anchor sessions via the Uplink Classifier (ULCL) architecture to steer traffic toward Multi-access Edge Computing (MEC) hosts [ 1 ] . These capabilities require the SMF to make UPF selection decisions within tight latency budgets. How long those decisions can take depends on how long PFCP session modification itself takes. This value has not been empirically measured in open-source 5G Core deployments. Measuring UPF behaviour in a containerised 5G Core (5GC) deployment presents a fundamental instrumentation obstacle. Each network function runs inside a dedicated Linux network namespace. Standard host-level eBPF probes cannot be scoped to individual containers because the interfaces inside a container are not visible from the host namespace. This is the key reason no published measurement study has reported per-slice forwarding delay distributions from a containerised 5GC deployment with simultaneous multi-slice traffic. This paper makes four contributions. First , a namespace-aware TC-BPF instrumentation framework that attaches measurement programs to each UPF network namespace via nsenter , resolving the container attribution problem without modifying 5GC software. Second , documentation of nineteen instrumentation obstacles encountered during development and their resolutions, providing a reproducible methodology for the community. Third , a dataset of approximately 28 million matched N3 to N6 forwarding delay pairs across three slice types and three load conditions on open5GS v2.7.6 with UERANSIM v3.2.7. Fourth , empirical characterisation of N4 PFCP session modification latency suggesting a sub-200 µs lower bound with substantial headroom relative to the two-millisecond budget assumed by AI-driven UPF orchestration designs. The instrumentation framework, experiment scripts, analysis code, and dataset schema are released publicly at https://github.com/MP-Akhil-5G/open5gs-slice-measurement . II Related Work UPF performance has been studied primarily from a throughput and acceleration perspective. Bose et al. [ 3 ] evaluated DPDK-based and SmartNIC-based UPF prototypes and reported mean forwarding latency of 176 µs for synthetic traffic. AccelUPF [ 4 ] offloaded PFCP processing to Intel Tofino hardware, achieving 4.3 million messages per second. A community benchmark [ 13 ] compared open5GS, free5GC, eUPF, and UPG-VPP under single-slice synthetic traffic. None of these works report per-slice forwarding delay distributions under simultaneous multi-slice realistic workloads. Cloud-native 5GC deployment has been studied by Paul et al. [ 12 ] , who evaluated a Kubernetes-based 5GC and quantified control-plane registration overhead. Deshpande and Bera [ 6 ] analysed eBPF-based vulnerability surfaces in containerised open5GS. MakeMyTechnology MMT Studio [ 10 ] is a recent open-source 5G Core written in Go with 545 control plane test cases and a DPDK UPF. It provides no data plane forwarding delay measurement capability. NWDAF-driven observability has been studied by Moreira et al. [ 11 ] , who measured application round-trip time for edge gaming slices. Chakraborty [ 5 ] developed RAN-layer telemetry using OAI and FlexRIC. Neither work measures UPF forwarding delay at the kernel level. Ardestani et al. [ 2 ] note that the UPF Event Exposure Service is largely absent from existing NWDAF deployments, further motivating independent kernel-level instrumentation. Network slicing theory for concurrent eMBB, URLLC, and mMTC has been characterised by Popovski et al. [ 14 ] and Liu et al. [ 9 ] but without empirical UPF forwarding delay validation. The indigenous Indian 5G testbed [ 8 , 7 ] demonstrates 5GC operation but reports no forwarding delay or PFCP latency measurements. To the best of our knowledge no existing work simultaneously measures per-slice N3 to N6 forwarding delay distributions under simultaneous eMBB, URLLC, and mMTC traffic, resolves the container namespace attribution problem for per-UPF measurement, and establishes N4 PFCP modification latency as an empirical budget for AI-driven orchestration on a reproducible open-source platform. III Measurement Platform The platform deploys open5GS v2.7.6 and UERANSIM v3.2.7 as Incus containers on a single host running Ubuntu 22.04.5 LTS with kernel 6.8.0-111-generic. Five containers are interconnected via a Linux bridge br5gc at 10.45.0.0/24 . Three UPF containers are deployed with dedicated slice assignments as shown in Table I . Each UPF runs a separate open5gs-upfd process and exposes two interfaces. eth0 faces the gNB over N3 GTP-U. ogstun serves as the TUN device for N6 IP delivery. Traffic generators run inside the gnb-ue container over GTP-U tunnels on three UE tunnel interfaces ( uesimtun0 , uesimtun1 , uesimtun2 ). The complete platform architecture is depicted in Fig. 1 . TABLE I: Platform Configuration Container IP Slice DNN Traffic upf1 10.45.0.11 eMBB internet iperf3 UDP upf2 10.45.0.12 URLLC voip SIPp \to Asterisk upf3 10.45.0.13 mMTC streaming curl \to Nginx amf-smf 10.45.0.10 — — open5GS CP gnb-ue 10.45.0.14 — — UERANSIM Three load conditions are evaluated. Light load sets iperf3 at 5 Mbps and SIPp at 2 calls/s. Medium load sets iperf3 at 20 Mbps and SIPp at 4 calls/s. Heavy load sets iperf3 at 50 Mbps and SIPp at 8 calls/s. Each experiment runs for 600 seconds. All measurements are uplink direction only (UE \to UPF). Fig. 1: Measurement platform. Five Incus containers on br5gc . TC-BPF probes M1 ( eth0 ingress) and M3 ( ogstun ingress) attach inside each UPF namespace via nsenter . Probe M2 measures N4 PFCP RTT on open5gs-smfd . Dotted lines denote N4 control path. IV Instrumentation Framework IV-A Measurement Points The framework instruments three measurement points. M1 is a TC-BPF program attached to the eth0 ingress hook inside each UPF network namespace. It timestamps GTP-U packet arrival using bpf_ktime_get_ns . M3 is a TC-BPF program attached to the ogstun ingress hook in the same namespace. It timestamps decapsulated IP packet delivery. Forwarding delay is M3.ts - M1.ts on the same CLOCK_MONOTONIC_RAW source. M2 is

Read the complete text