this post was submitted on 15 Apr 2024
147 points (100.0% liked)

Selfhosted

44902 readers
1129 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I recently found this on Reddit while looking into why jellyfin is effected so much by latency. I found that this worked and thought I would share it because it is generally applicable, takes five minutes to setup, and helps a lot with bandwidth on higher latency connections. I admit I am not sure of the technical stuff behind this, so if anyone would like to chime in that would be much appreciated.

all 23 comments
sorted by: hot top controversial new old
[–] [email protected] 24 points 11 months ago* (last edited 11 months ago)

Cool! This seems like an good write up on it

https://atoonk.medium.com/tcp-bbr-exploring-tcp-congestion-control-84c9c11dc3a9

Bottleneck Bandwidth and Round-trip propagation time (BBR) is a TCP congestion control algorithm developed at Google in 2016. Up until recently, the Internet has primarily used loss-based congestion control, relying only on indications of lost packets as the signal to slow down the sending rate. This worked decently well, but the networks have changed. We have much more bandwidth than ever before; The Internet is generally more reliable now, and we see new things such as bufferbloat that impact latency. BBR tackles this with a ground-up rewrite of congestion control, and it uses latency, instead of lost packets as a primary factor to determine the sending rate.

[–] [email protected] 4 points 11 months ago (2 children)

I skimmed through it and have no idea what BBR stands for.

[–] [email protected] 9 points 11 months ago

It's an algorithm for determining how fast to upload packets. This article just talks about how to enable it.

Here's the Wikipedia section about it: https://en.wikipedia.org/wiki/TCP_congestion_control#TCP_BBR

The gist is that instead of only throttling upload rate based on packet loss, BBR constantly measures roundtrip delay (ping) to determine how much bandwidth is available.

[–] [email protected] 4 points 11 months ago (1 children)

Bottleneck Bandwidth and Round-trip propagation time (BBR)

[–] [email protected] 1 points 11 months ago (1 children)

Thank you! I hate unexplained acronyms

[–] [email protected] 2 points 11 months ago (1 children)

It is explained in the article though...

[–] [email protected] 6 points 11 months ago

Ahh yes, the first time it is defined is in the conclusion after being used 25 times previously in the article.

[–] [email protected] 3 points 11 months ago (1 children)

Cool writeup. I remember implementing BBR many years ago when I was trying to bypass the Great Firewall for an extended stay. Helped deal greatly with the huge congestion on Chinanet backbone at the time, but it's less of an issue these days now that foreigners can use CN2.

[–] [email protected] 2 points 11 months ago (1 children)

Sorry, what is CN2?

If it's any solution CCP provides, I wouldn't trust it anyway

The great firewall situation was always interesting, because if you would use a roaming Sim, then you will be able to access anything

[–] [email protected] 3 points 11 months ago

The great firewall situation was always interesting, because if you would use a roaming Sim, then you will be able to access anything

Roaming SIMs work because the APN sets a network routing path outside of China.

[–] [email protected] 1 points 11 months ago

I did this and I don't notice a difference

[–] [email protected] 1 points 11 months ago
[–] [email protected] 1 points 11 months ago* (last edited 11 months ago) (1 children)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
IP Internet Protocol
Plex Brand of media server package
TCP Transmission Control Protocol, most often over IP
UDP User Datagram Protocol, for real-time communications

[Thread #681 for this sub, first seen 15th Apr 2024, 22:15] [FAQ] [Full list] [Contact] [Source code]

[–] [email protected] 4 points 11 months ago

You didn't catch BBR bot :-)