News for hackers. Stuff that matters.
Re:QUIC Is Not Quick Enough over Fast Internet by amluto on Monday September 09, 2024 @09:35AM (#41488401)
Hi, Tailscale person! If you want a fairly straightforward improvement you could make: Tailscale, by default uses SOCK_RAW. And having any raw socket listening at all hurts receive performance systemwide:

https://lore.kernel.org/all/CALCETrVJqj1JJmHJhMoZ3Fuj685Unf=...

It shouldn’t be particularly hard to port over the optimization that prevents this problem for SOCK_PACKET. I’ll get to it eventually (might be quite a while), but I only care about this because of Tailscale, and I don’t have a ton of bandwidth.

Re:QUIC Is Not Quick Enough over Fast Internet by bradfitz on Monday September 09, 2024 @11:07AM (#41489217)
BTW, that code changed just recently:

https://github.com/tailscale/tailscale/commit/1c972bc7cbebfc...

It's now a AF_PACKET/SOCK_DGRAM fd as it was originally meant to be.

Re:QUIC Is Not Quick Enough over Fast Internet by raggi on Monday September 09, 2024 @11:03AM (#41489184)
Very interesting, thank you. We’ll take a look at this!