Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Meta VR Glasses(meta.com)
    87comments
  2. Linux support is coming to Snapdragon X2 Series(qualcomm.com)
    55comments
  3. Claude discovers a novel enzyme system with CRISPR-like repeats(anthropic.com)
    511comments
  4. VSCode's SSH Agent Is Bananas (2025)(fly.io)
    78comments
  5. ArXiv receives multiyear commitments to support it as an independent nonprofit(arxiv.org)
    5comments
  6. We just shipped support for the ugliest part of HTTP: Vary(cloudflare.com)
    7comments
  7. The "Windows XP Box" (2003)(mini-itx.com)
    5comments
  8. Fixing the Portobello Police Station Clock(pointinthecloud.com)
    85comments
  9. Mercury 2.5 LLM hits 770 tokens per second(artificialanalysis.ai)
    15comments
  10. LensVLM: Compressing long context as images, expanding only relevant pages(huggingface.co)
    6comments
  11. Italian parliament votes for return to nuclear energy(apnews.com)
    365comments
  12. The mystery animal on an ancient god's head(signoregalilei.com)
    15comments
  13. A brief history of Windows scroll bar shortcuts(devblogs.microsoft.com/oldnewthing)
    47comments
  14. Gemini 3.8 text-to-speech(blog.google)
    119comments
  15. Making Tailscale Faster(tailscale.com)
    19comments
  16. Radicle: Disclosure of Vulnerability in the Network Protocol(radicle.dev)
    47comments
  17. The Curious Power of Punctuation(newyorker.com)
    3comments
  18. Augustofaces: Pareidolia Fine Art(augusto.at)
    discuss
  19. Tokens too cheap to meter(jyn.dev)
    178comments
  20. I don't want the details(michaelheap.com)
    193comments
  21. A refined phylochronology of the second plague pandemic in Western Eurasia(pnas.org)
    discuss
  22. Swap, ZRAM, Zswap and Hibernate on NixOS(matthewbrunelle.com)
    6comments
  23. Z80 REPL (2018)(abagames.github.io)
    18comments
  24. Claude Code reads AGENTS.md only when telemetry is on [fixed](szypowi.cz)
    254comments
  25. Show HN: I built a post-mortem debugger for native Windows x64/x86 crashes(forensicdbg.com)
    4comments
  26. 28% of job postings on company career sites have been open over 90 days(unlisted.careers)
    295comments
  27. Once Claude can measure something, it can make it faster(claude.dev)
    98comments
  28. Seattle City Council votes to ban surveillance pricing in sale of groceries(consumerreports.org)
    191comments
  29. GPT-6 Sol and Luna(openai.com)
    822comments
  30. QuestDB (YC S20) Is Hiring a Sales Engineer(questdb.com)
    discuss

Making Tailscale Faster

55 pointsby 7h agotailscale.com
19 comments
3h agoHN ↗

I wonder if the post's focus on Linux/Android is just because that's where they started, or because they're leveraging techniques that are only possible on Linux/Android?

2h agoHN ↗

it sounds like they’re leveraging Linux features that may not exist 1:1 on Darwin and NT

3h agoHN ↗

Leaves them where they landed. Slop check : yes +++ATH

2h agoHN ↗

Also makes it sound like they were the first to do stuff like NAT traversal, which goes WAY back.

1h agoHN ↗

I like to think of them like Docker. None of Docker's functionality was new, they just wrapped it in a smooth enough DX for it to reach escape velocity.

2h agoHN ↗

In our use case latency went parabolic at 250 sessions pumping just 60 mb/s through a tunnel.

2h agoHN ↗

I would like less battery usage with exit node.

1h agoHN ↗

I used to LOVE tailscale. Then I put wireguard on my home network exposed to the internet with a dynamic DNS provider and it immediately became irrelevant. Not only is raw wireguard more stable (I don't have to fight the DNS issues on my mobile phones) it feels faster and is amazingly simple to set up.

1h agoHN ↗

Care to share your setup? I did some research into self hosting my own wireguard for my nuc and rpi, before ultimately settling on Tailscale because of how much simpler and plug-and-lay it was to add/remove devices compared to self hosting wireguard, not dealing with certificates, maintenance, etc.

1h agoHN ↗

There are no certificates to share with Wireguard. Nothing to rotate if you don't want to. Once it works, it works.

I've even got a backup wireguard server running on a Pi 1b. Works fine. We currently run wireguard on our router (and it seems more and more routers are supporting it).

There are keys to configure for each client, but once you have the configuration for one client, the rest come very quickly and easily.

I should add that I don't have any experience with Tailscale, but compared to OpenVPN and other VPN solutions, Wireguard is lightweight, simple, and easy to setup/configure.

We use it on all our mobile devices (phones, laptops, tablets) to tunnel our traffic through our home network with all the filtering it offers (along side access to private services we host).

1h agoHN ↗

My favorite thing about Tailscale is how it lets you SSH/RDP INTO servers without having to open any ports.

1h agoHN ↗

In my opinion, this is Tailscale's largest issue.

It is slow. It cannot achieve speeds of greater than 1Gbps on clients systems (Windows & Mac), where you'd normally see it being used. On Linux, it struggles to achieve 10Gbps even when using a synthetic large packet benchmark [1]. With an IMIX benchmark, it would not be competitive whatsoever.

This problem is fixable. WireGuard achieves higher performance (Kernel vs Userspace implementation) and IPsec implementations can achieve 100Gbps/400Gbps (DPDK/XDP). Zero-copy networking.

From this blog post, I can say Tailscale still seems to not have the appetite for that, which is a shame.

[1] https://tailscale.com/blog/more-throughput

1h agoHN ↗

Tailscale's netstack is barely even WireGuard and they aren't compatible whatsoever. It's all marketing at this point.

So it's not that simple: it's impossible for Tailscale to use any existing kernel or accelerated WireGuard implementation. They could derive inspiration, but a kernel module for Linux won't fix Windows & Mac. With that said, I feel they have enough funding to maintain a few platforms (:

36m agoHN ↗

(Tailscale cofounder) That’s a good callout on DoH support, thanks.

That said, note that if you run your own DNS server on your tailnet, the regular UDP DNS is automatically private because it’s carried over Tailscale. That’s the most common setup for non-SaaS DNS servers. DoH doesn’t really add anything in that arrangement.

24m agoHN ↗

Kernel networking is not automatically faster then userspace.

10m agoHN ↗

You're correct, kernel isn't faster by default. With that said, the following is true:

1) the WireGuard kernel implementation, despite not even being zero-copy, exceeds the performance of the userspace implementation

2) implementations utilizing the userspace network stack have a maximum potential performance (context switch + memcpy is very slow, and that affects UDP disproportionately)

51m agoHN ↗

(Tailscale cofounder) I see a few comments here that using kernel wireguard would make it faster; it’s not really that simple. In fact, for a while (and we wrote a blog post about it), our optimizations made wireguard-go faster than kernel wireguard because it was better optimized. They adopted some of those improvements and now we’re on to the next order of magnitude together.

For really high bandwidth cases, things like DPDK are the long term best choice and are primarily userspace, for good reasons. Kernel mode is not the pure benefit it once was (if it ever was).

Separately, wireguard itself has a problem that the crypto suite it uses is not supported by hardware accelerators. So if we want to get into the hundreds of gigabits range, we will possibly need to switch packet formats entirely. (But, wireguard also needs to update to support post-quantum so maybe they’ll fix both problems at the same time and we can join in.)

7m agoHN ↗

Wireguard with PQ won't be Wireguard, anymore. It'll just be a rehash of IKE+IPsec. What made Wireguard better was the very simple handshake and minimal state, but no PQ algorithms can support that simplicity because the keys are too large and/or not as simple to use as ECC.

Might as well switch to IPsec. Everything is already in place, including hardware acceleration. But most people won't, and we'll live in a world with duck-tape hacks built around a compromised Wireguard-ish layer.