Adi Juliawan PawanaCollaborate

Home/Kaluza/Kaluza UPF-VPP

5G research testbed

Kaluza UPF-VPP

A 5G user plane on FD.io Vector Packet Processing (VPP), built for exact per-user control and fast recovery.

VPPVector Packet Processing: packets are handled in batches (vectors) rather than one at a time
10,000sessions back within about two seconds of an engine restart, with traffic resuming in about one (test machine, test traffic)
2roles: home and visited network
Realphones on air

How vector processing works

One batch of packets, a vector, moves through each step together

ReceiveVPP, DPDK from the cardRead Ethernet and IPVPP
Find the sessionby tunnel ID or user addressHand to its own coreApply the rulesgates, quota, rate limits, bufferingCount usageRemove or addthe tunnel header
Route and sendVPP, back to the card

FD.io VPP moves packets through a graph of small processing steps. Each step handles a whole batch before passing it on, instead of carrying one packet through every step. The steps inside the dashed box are Kaluza's own plugin; the rest is stock FD.io VPP. VPP's own GTP-U plugin is switched off: the Kaluza plugin does all the tunnel work.

Control part No privileges

Written in Go. Runs as a non-root user with every Linux capability dropped and a read-only filesystem. Talks to KaluzaCore and turns each session into rules.

rules down, usage counts and events back, through VPP's binary API

Packet engine Only what it needs

FD.io VPP with the Kaluza plugin. In its Kubernetes deployment it runs on four Linux capabilities instead of full root: locking memory, network setup, raw packet queues and one group setting.

user traffic, through DPDK

Network card

A virtual function of the server's card, driven by DPDK, which hands user traffic straight to the engine.

Security-first split

The part that faces the network holds no privileges, and the packet engine holds only the few it needs. A fault in the part that parses network messages cannot reach the machine's privileged operations.

The control part is shared with Kaluza eUPF, so KaluzaCore can use either engine in the same way.

Design highlights

Exact quotas

Each session is handled by one processor core, so its usage counts never race.

Quotas and usage numbers are exact, without locks.

Comes back on its own

If the packet engine restarts, the control part puts every session back without the core's help. If the control part restarts, the core re-sends them.

Base stations keep their tunnels through a restart.

No pause for rule changes

New rules are swapped in between batches of packets.

No packet ever sees half-old, half-new rules, and traffic never stops for an update.

Same controller as eUPF

Both engines answer KaluzaCore in the same way.

Either engine can stand in for the other.

Verified features

On real phonesOn real hardware
  • Has carried phones' browsing and VoNR calls, as the visited network's user planeOn real phones
  • IPv6 for phonesOn real phones
  • Recovers after a restartOn real hardware
  • Serves home and visited networksOn real hardware

Place in the network

Kaluza eUPF or UPF‑VPP. Carry each user's traffic and apply that user's rules: Kaluza eUPF with eBPF in the Linux kernel, or Kaluza UPF-VPP with Vector Packet Processing. Either engine can do the job.

Have a 5G security idea to test on a real network?

Kaluza is open to joint experiments with research groups and companies working on mobile network security.