Settings

Theme

Satmux: 3.6x faster inflight Wi-Fi via BBR TCP multiplexing

github.com

174 points by joshcsimmons · 41 comments

Reader

11 threads
dapperdrake

Semi-related:

1. https://brr.fyi/posts/engineering-for-slow-internet

2. https://danluu.com/web-bloat/

3. https://danluu.com/slow-device/

4. https://news.ycombinator.com/item?id=9048947

EDIT:

5. https://intronetworks.cs.luc.edu/current2/html/newtcps.html#...

6. https://blog.tymscar.com/posts/studiodisplayethernet/

karlmedley

This is so cool. I always make the mistake of only thinking about these problems while I'm experiencing them, and then forgetting about them as soon as the plane lands.

devttyeu

If it doesn't already the proxy side could also buffer incoming data to send in larger bursts, satellite links suffer from incredible buffer bloat, but at the same time have quite low packet loss, meaning you can fetch the whole page on VM side and send the whole payload at some fixed rate pretty much disregarding lack of ACKs, odds are your data will still come; This is out of spec, but arguably having 200 seconds of buffers instead of just dropping packets also is.

  • lxgr

    Doesn’t BBR already address bufferbloat inherently? Other than that, this project seems to support doing just that, both at the TCP layer (i.e. as a PEP) and optionally at the HTTP layer as well (for which it has to open HTTPS).

cozzyd

I just always set my tcp congestion control algorithm to bbr via /etc/sysctl.d (helps on starlink and tethered LTE too)...

  • stephen_g

    That only affects traffic you send though as I understand it - anything you download is whatever congestion control the server decides to use.

    • p_l

      There's level of shenanigans that provider side can do to manipulate TCP congestion & window scaling algorithms as a middle box to improve performance without cooperation of server side.

      Search for Teclo networks ACK proxy for example

      • toast0

        Some of those middleboxes end up reducing performance (probably not on purpose). One of the nice things about early mobile ipv6 was fewer middleboxes doing who knows what well intentioned shenanigans that sometimes backfire.

        #notbitter

        • drewg123

          That's one of the reasons that QUIC encrypts its congestion control info so that middleboxes cannot mess with it.

        • gjvc

          are you referring to "bufferbloat" ?

          • p_l

            Lot's of ways other than bufferbloat to break performance in screwy middlebox

      • lxgr

        If the provider already uses a PEP, there’s no need for shenanigans, is there?

        The insight of this project seems to be that the PEP isn’t very good, so it’s replaced with a better one, but it’s still a PEP, which is a strict superset in terms of capabilities of meddling with parameters of an otherwise end to end TCP flow.

  • renehsz

    I do as well. Why has BBR not been made the default in at least some operating systems? It seems to outperform or at least match CUBIC in almost all benchmarks.

dayyan

Original announcement by @thomasmc on X on Nov 9:

https://x.com/thomasmc/status/2119102696280240176

wpietri

What a delight. I love it when somebody pays close attention to what's really going on. The Limits section was especially nice.

jmyeet

TCP in general is horrible in high latency as anyone in Australia or Africa knows all too well. I've done testing on this and 100ms RT latency gives you such a massive reduction in practical bandwidth over one connection (like 95%+).

But what really gets me is all these apps and websites clearly have never once in their lives tested themselves on high-latency connections and they have all sorts of weird behavior. One example: I have an app that when it hits a network timeout (which can happen in low-latency situations) it logs you out and then you have to go through a 2FA to log back in.

Some people on HN bemoan apps existing over websites. If you seriously say that, I'm sorry but you've never had to use a phone over a less-than-ideal connection. Apps are fantastic.

Anyway, re: BRR. There are so many parts of TCP that are showing their age. They were designed in very different times (eg subscription times in IPv4 multicast).

  • dapperdrake

    When I was in Australia the Internet had similar issues to rural US internet. Disabling TCP delayed ACK on my FreeBSD server worked well for even a crappy Linux ssh connection. (LKML decided that they want to stay bad at this about one or two years ago.) Even helped over LTE.

    On the MacBook TCP delayed ACK could also be disabled on the local client. Fixes most normal-person TCP issues I had.

    The distance the signal has to cross from Australia to us-west can only be fixed by having a server that is closer. Non- database transactions will still be slow, though.

    sh$ sudo sysctl net.inet.tcp.delayed_ack=0 ;

    https://brr.fyi/posts/engineering-for-slow-internet

ranger_danger

Would a UDP VPN to a VPS have a similar effect?

  • Wicher

    It would bypass the PEP proxy so indeed you can then run your own congestion algo such as, indeed, BBR. But it would not be quite the same performance-wise as this here proxy, because you'll suffer more latency from longer roundtrips during TLS setup.

    RFC 9000 Quic connections should also be unaffected, then.

  • lxgr

    It would remove the supposedly flawed PEP from the equation, but without adding either a better one in its place or at least ensuring that a reasonable (i.e. bufferbloat and LFN aware) flow control algorithm is used end to end, that seems like a bad idea.

iamjackg

> Latency floor (~580–650 ms): Speed-of-light propagation to geostationary orbit (35,786 km) does not change

I guess AGI is not here yet.

cowlevel

Did AI write this?

  • devttyeu

    Why, beyond personal/US politics, does that matter if the project is cool and works?

    • OscarDC

      I see it like one would be asking which language / tool is used.

      It may be motivated by personal feelings as well as just curiosity, but it shouldn't matter much. Isn't exchanging about the implementation as well as the product part of why HN is popular?

      To me replies like this one is more about politics than just letting people being passionate about not using AI or using it, about using some specific language (or not) etc.

      • brookst

        I don’t see why any of us are obligated to “let” others indulge their passion for not using AI or some specific language or whatever. People can have whatever quirks they enjoy, but it doesn’t create obligation for others.

        • asdff

          Now how do you feel about food labelling? Same situation really. I have salt that claims it was blessed by a rabbi. That helps some people out, I just ignore it.

    • jeroenhd

      I feel more interest in trying out an interesting project that someone has dedicated their own time and effort into than a vague that someone came up with on a whim that some code agent threw onto Github.

      People can slop together whatever projects they want or need, but if they're just something thrown together on a whim then I don't expect this to receive any attention in a week's time.

      Something could be interesting even if it doesn't work, but my interest in the technical merit behind the project dies immediately when it's just AI output.

      • phoghed

        If someone didn’t waste hours of their life on this random utility I don’t want to see it or use it

        • asdff

          It isn’t about demanding blood sacrifice. Imagine the most frat boy fast money jackass you can think of. What tool do they reach for to make their pump n dump? It is that simple really. Not all ai projects are sloppy crap, but all sloppy crap these days are ai projects. It is a good coarse filter for a lot of things.

        • jeroenhd

          Time an energy are an excellent indicator of willingness to maintain, yes.

          A slop script has the value of a random HN comment and most of them are indeed not very interesting.

rykam

has anyone given this a try yet?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection