Skip to content
LATEST
Technology

Userspace IPsec reaches 8.39 Gbit/s in ranet3 lab test

Self-published Oct. 15 benchmarks compare the SD-WAN project with WireGuard and kernel IPsec, but the two-host lab setup limits conclusions.

Userspace IPsec reaches 8.39 Gbit/s in ranet3 lab test

ranet3 said benchmarks measured Oct. 15 showed its userspace ESP-over-UDP dataplane reached 8.39 Gbit/s in one one-way TCP stream, versus 6.77 Gbit/s for wireguard-go, on its project website.

The ranet3 website said the Oct. 15 result equaled 95% of the 10 GbE payload limit, a figure that would narrow the usual gap between userspace and kernel networking if reproduced.

ranet3 describes the project as a policy-routed IPsec mesh SD-WAN. ESP, or Encapsulating Security Payload, is the IPsec format used to protect packets; userspace means packet handling runs in an application process rather than inside the operating-system kernel.

The page said ranet3 uses IKEv2 for handshakes, hybrid ML-KEM key exchange, Babel routing with round-trip-time metrics and SRv6 steering by source and destination prefix. Babel is a routing protocol, while SRv6 uses IPv6 segment headers to send traffic through selected waypoints.

In the full throughput table, ranet3 reported 14.87 Gbit/s received for one stream in both directions, compared with 10.78 Gbit/s for wireguard-go, 7.46 Gbit/s for kernel WireGuard and 4.67 Gbit/s for kernel IPsec. For 8 streams in both directions, it reported 15.79 Gbit/s, versus 10.33 Gbit/s, 7.41 Gbit/s and 4.10 Gbit/s for those same alternatives.

Latency results were more mixed. ranet3 reported p99 round-trip times under saturation of 1.91 milliseconds to 4.96 milliseconds across six tests, while the kernel dataplanes ranged from 0.85 milliseconds to 2.51 milliseconds.

The project page said interoperability was checked against strongSwan for IKEv2 and ESP sessions, BIRD for Babel routes and the Linux kernel for SRv6 header handling. It said other routers or switches supporting IKEv2 with Ed25519 keys, Babel and SRv6 should also interoperate.

The evidence is self-published. The setup page said the tests used two Dell PowerEdge C6420 hosts with Intel X710 network cards on the same Dell switch, running Debian 13 and Linux 6.12.111, with medians from three 10-second runs. That setup is narrower than ranet3's broader mesh SD-WAN claim, which involves routing among peers and policy-chosen waypoints.

The page links to the ranet3 GitHub repository, lists FSL-1.1-ALv2 and Apache-2.0 licensing, and says the software is powering AS10779 and AS18932.

Source: project website, ranet3, Oct. 18; benchmarks measured Oct. 15.

More stories

Latest news