mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-20 08:41:19 -08:00
df191a119937557f2e174c187facea129a0be442
subnetbench.sh runs tailscale.com's TestLeanSubnetRouter on the EC2 instances for each router CPU count given. ec2.sh now turns off source and destination checks on its instances, so that one can forward as a subnet router does, and installs nftables (for the router's masquerade). DESIGN.md records the results: with 4 clients, tswg as the subnet router forwards 2.1x (4 CPUs) to 3.2x (8 CPUs) what wireguard-go does, which uses about 3 CPUs however many it has, at the least CPU per byte of any tunnel, and reaches the 25 Gbps link at 16 CPUs. Zero-copy receive was tried there and was 7% worse, so isn't in. Updates #426 Signed-off-by: Brad Fitzpatrick <[email protected]> Change-Id: I6b1da8bb8eaa17f9b20cbe36896426411b8b905f
Languages
Go
96.5%
C
1.2%
TypeScript
0.8%
Shell
0.5%
Swift
0.3%
Other
0.3%