Hasty Briefsbeta

Bilingual

Making Tailscale Faster

6 hours ago
  • Tailscale has made significant performance improvements in NAT traversal and data plane throughput.
  • They reduced memory overhead for small packets on Linux and Android by avoiding unnecessary copies, yielding a ~5% speed-up.
  • They implemented a multi-queue system for subnet routers, app connectors, and exit nodes, increasing aggregate capacity and lowering latency.
  • Using Linux's writev allows passing multiple packet pieces to the kernel in one operation, improving throughput.
  • Netmap caching speeds up device startup by using a cached network map, beneficial in poor connectivity conditions or for latency-sensitive workloads.
  • Performance improvements are planned for specific releases, with netmap caching expected to be default in v1.104.
  • Tailscale is developing Tailscale-aware monitoring and testing tools to help users diagnose performance issues.