mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-20 16:51:18 -08:00
leanbench.sh runs tailscale.com's new lean data plane benchmark, which compares wireguard-go, tswg, the kernel's WireGuard and no tunnel between two QEMU VMs on a host bridge with vhost-net, without natlab, over IPv4 and IPv6. With -smoke it runs the quick correctness test instead. The results overturn the natlab ones, which natlab's userspace network had capped: kernel WireGuard (and tswg, identically) gets about a third of wireguard-go's bulk TCP throughput, at 1.5x to 2.5x the CPU per byte, without being CPU-bound. So outer UDP GSO/GRO and finding where the kernel serializes are now the critical performance work. Updates #426 Signed-off-by: Brad Fitzpatrick <[email protected]> Change-Id: I2a24de8d82370fc8dfb6a9af0971da20831ea307