mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-20 16:51:18 -08:00
The plain routing baseline used jumbo frames (165 Gbps). Clamped to MTU 1280, the same size packets as through the tunnels, it gets 88.9 Gbps through the same c6in.32xlarge router with 37 clients, and tswg 70.9 (0.80x), wireguard-go 6.2, kernel WireGuard 8.5. So the platform's per-packet costs limit routing at normal MTUs with or without a tunnel. Also record that CPU figures before now came from /proc/stat, which on Ubuntu's AWS kernels counts softirq work on otherwise idle CPUs as idle, understating plain routing and kernel WireGuard most. With idle-state residency accounting, tswg uses 0.76x wireguard-go's CPU per GB here. Updates #426 Signed-off-by: Brad Fitzpatrick <[email protected]> Change-Id: I104bec537a1dcc2c1f460d287245e5ab448442c5